Go Down

Topic: Controlling Multiple Servos (Read 350 times) previous topic - next topic

CodeRedCardinal

I plan on creating a servo robotic arm using arduino. Since it cannot handle six servos I know I have to use another power supply. If I was to get a 6v power supply how would I go about hooking it everything up. Would I connect the positive ends on the servos to the positive terminals of the battery then the grounds of the battery and arduino get connected together correct? Lastly the signal of a servo get connected to a pin on arduino? Is this correct? If I do this would I be able to control all the servos using the arduino board?

MarkT

#1
May 03, 2014, 11:31 pm Last Edit: May 03, 2014, 11:33 pm by MarkT Reason: 1
Yes.

Connect up the high current wiring first, then have a single path linking the motor
ground to arduino ground - you don't want high currents travelling through the Arduino
board.

The Servo library supports upto 12 servos on an Uno and similar, and 48 on a Mega.
[ I will NOT respond to personal messages, I WILL delete them, use the forum please ]

zoomkat

Google forum search: Use Google Advanced Search and use Http://forum.arduino.cc/index in the "site or domain:" box.

TomGeorge

That diagram is legend, zoomkat do you have a copywrite?
Tom....... :)
Everything runs on smoke, let the smoke out, it stops running....

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy