Using an External Power Supply to Power Servos

I’m currently trying to connect a servo motor to an Arduino UNO but I know that it won’t have enough power to power both itself and the motor properly.

I’m aware that I can use the individual wires to connect an external power supply to the servo but I’m unsure as to how I would go about doing it. I have attached two images as to how I presume it would be wired but I’m unsure which way to do it, or maybe I’m completely wrong.

Also, would it be possible to do this with multiple servos, or am I making this too much of a problem (including breadboards for more ground pins and whatnot)?

Any help would be appreciated.

Justin


Connect the External supply Gnd to the Arduino Gnd to keep everything at the same reference level.

For example, I have a 7 servo setup running now with a separate 5V, 10A supply. No issues.

Sorry, I have 7 stepper motors.

Sorry, I think I get the idea of what you said, but wouldn’t I run out of GND pins on my UNO if I wanted to connect 6 servos to it?

justcunn:
Sorry, I think I get the idea of what you said, but wouldn’t I run out of GND pins on my UNO if I wanted to connect 6 servos to it?

So use a breadboard for the power connections when testing, but be careful that the breadboard can handle the current. If the project is to be used permanently then a PCB or at least soldering to a suitable length of stripboard should be considered

Unfortunately we are under a bit of pressure with time as we are to enter our project in a national science competition in about a month’s time, so soldering with PCBs may be out of the question. We are to showcase our project for 3 days and what we would be doing wouldn’t be very intensive so we may be able to get away with the breadboard if it’s suitable. Unfortunately that problem is on me but I do appreciate your help very much.

You don't need a purpose made PCB. A bit of old-fashioned stripboard/Veroboard will do very well, much better than any breadboard.

But it does depend on what servo(s) and how many you have.

Steve

1 Like

Oh, that would be manageable I’d say. It would probably be our best option because we’d be activating and deactivating the servos multiple times over a short period of time so that could be a strain on the breadboard.

Thanks for that!

Connect all the servo GNDs together at the power supply Gnd. Connect the Arduino Gnd there also.

You really don't need much more than some hookup wires and solder for wiring up the servos. I use a wire interference fit on the servo connector just pushing the wires into the connector holes and securing in place with a little hot glue (easily removable). The below is a good wiring schematic. Note the servo wire colors, red is + power, black is ground, and white/yellow is control.

https://forum.arduino.cc/index.php?action=dlattach;topic=326266.0;attach=127558

Hi,
Another possibility that makes the wiring easy (Just plug servos in) is to use a "Sensor Shield" that plugs on top of your Arduino and gives you 3-pin servo type connectors on every I/O pin.

BUT there are several versions. YOU want one that allows a separate 5V or 6V power supply to power ALL the power pins for ALL the servos. The type you want has an external power terminal block and a jumper you can remove to isolate 5V from the arduino and the sensor shield.

You want one that looks like THIS:
http://www.yourduino.com/sunshop/index.php?l=product_detail&p=407

Like THESE..(AMAZon)

All the wiring DONE for you!...

Sorry, I don't have any in stock in USA or I'd send you one....