Motor Shield Ladyada

Adafruit Ethernet, Motor, Proto, Wave, Datalogger, GPS Shields - etc!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
luckyo
 
Posts: 22
Joined: Thu Feb 17, 2011 12:18 pm

Motor Shield Ladyada

Post by luckyo »

Hi

I would like to know if there is a step-by-step tutorial for the servos from the Adafruit motor party package.
I know the ladyada site(http://ladyada.net/make/mshield/use.html)
I know the arduino site(http://arduino.cc/en/Tutorial/Sweep)

But since the Motor party servo comes with 3 color connector and the tutorial on arduino (which I tried and did not work) comes with another setup (without motorshield), it would be fantastic if there is somewhere a simple tutorial on how to make the servo move.

Any answer would be fantastic.

Thanks

L. :D

User avatar
adafruit_support_bill
 
Posts: 88089
Joined: Sat Feb 07, 2009 10:11 am

Re: Motor Shield Ladyada

Post by adafruit_support_bill »

Did you try the Lady Ada Tutorial too?

Both tutorials do work. Post a photo showing how you have things connected.

luckyo
 
Posts: 22
Joined: Thu Feb 17, 2011 12:18 pm

Re: Motor Shield Ladyada

Post by luckyo »

Thanks for the quick reply.
I managed to make it work now! Yeah!
My error was on the motorshield there are two servo connectors and after I plugged it in the other one it did work.
It seems the second connector, connects it just like in the arduino tutorial to pin 9.

For some strange reason my LED on the motorshield does not do anything.
Does anyone know when it should be blinking? (Upload, motor running..)
I hope I did everything correct.

But this was only a test anyway.

Now I would like to get my ultimate goal the stepper motor going.

User avatar
adafruit_support_bill
 
Posts: 88089
Joined: Sat Feb 07, 2009 10:11 am

Re: Motor Shield Ladyada

Post by adafruit_support_bill »

The LED on th emotor shield indicates motor power to the H-bridge chips. It is not related to servo operation, but you will need it for running steppers.
Read "How to set up the Arduino + Shield for powering motors" on this page.

aerosam
 
Posts: 10
Joined: Sun Mar 20, 2011 2:11 am

Re: Motor Shield Ladyada

Post by aerosam »

Hi

I connect the servo supplied by the motor party kit to the second servo 3 pin connector and run the Sweep example found in Arduino-0022/libraries/servo
I can hear the motor making some noise, but it doesn't move.

I am using an external 5V power source for the servos.
The Arduino uno is powered by the usb cable?

The sweep sketch assumes the servo is connected to pin 9.
How do we know the motor-shield has done that?
For some reason, nothing works(not even sound) if i connect the servo to the first servo connector(the one at the edge of the board)? Is it connected to some other pin? Some details would be useful.

Thanks
Sam

User avatar
adafruit_support_bill
 
Posts: 88089
Joined: Sat Feb 07, 2009 10:11 am

Re: Motor Shield Ladyada

Post by adafruit_support_bill »

I am using an external 5V power source for the servos.
The Arduino uno is powered by the usb cable?
It is not possible to power the servos with external power without modifying the board. The 3-pin servo terminals draw power from the Arduino 5v regulated supply. Since you are powering it with USB, it will be limited to about 500mA, which may not be enough to drive some servos. If your external 5v source is regulated and can supply more current, you might have better luck using that to power the Arduino.
The sweep sketch assumes the servo is connected to pin 9.
How do we know the motor-shield has done that?
The motorshield servo ports are connected to pins 9 and 10 as described in the FAQ and shown in the schematic:

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino Shields from Adafruit”