Society of Robots - Robot Forum

General Misc => Misc => Topic started by: Siretu on July 09, 2009, 07:03:49 AM

Title: Servos and Arduino Duemilanove
Post by: Siretu on July 09, 2009, 07:03:49 AM
I just bought a http://arduino.cc/en/Main/ArduinoBoardDuemilanove (http://arduino.cc/en/Main/ArduinoBoardDuemilanove), however I'm wondering where to connect my servos. There's 6 pins but it doesn't seem to fit and I don't want to force it.

Did I miss something? If so, what? If not, where do I connect the servo? Can I take some metal pins and insert in between the servo contact and the slots on the microcontroller.
Title: Re: Servos and Arduino Duemilanove
Post by: SmAsH on July 09, 2009, 07:42:14 AM
to connect a servo you will need something called a shield.
the arduino has a female header with no power bus. the shield makes it so there is a male header with a power bus.

alternatively for a quick fix, you can stick wires down the servo connector and jumper it over to the female headers...
you will take the yellow (signal) wire from the servo to a digital pwm output on the arduino (pin 9/10/11)
the red wire will go to unregulated power (make sure your battery pack isn't higher than 7.2V)
the black wire will go to gnd on the arduino.
Title: Re: Servos and Arduino Duemilanove
Post by: airman00 on July 09, 2009, 08:27:48 AM
heh heh, precisely why I created the Roboduino

I personally would get a perforated circuit board and make my own shield . A servo shield is probably the simplest one possible.
Title: Re: Servos and Arduino Duemilanove
Post by: Siretu on July 09, 2009, 09:43:19 AM
Thanks for the replies, I'll try it with wires and I'll order a shield as quickly as possible.
Title: Re: Servos and Arduino Duemilanove
Post by: SmAsH on July 09, 2009, 03:52:51 PM
for the mean time you can use jumpers from the servo cable to the arduino..
this is why im glad to have a roboduino!