Servo motors not working with external power supply

Hi. I am making a robotic arm from a design I found on printables.com, I hooked up all of the servos, but they are not responding even with a 5A power supply that is also 5V. The project uses 5 SG90 micro servo motors, that should be enough amps, right? Power supply is two 2.4A usb cords combined together measured amps is 5A. The servos refuse to even move.

Hello! Welcome to the Arduino forum!

Show us how you, not some web page, have the servos wired to the Arduino and the power supply. Have you actually measured the voltage right at each servo to ensure it is 5 volts? Do you have a program to test each servo individually?

1 Like

schematic. code. please.

1 Like


Yeah I have.

#include <Servo.h>
Servo lightservo1

void setup() {
  lightservo1.attach(4);
  Serial.begin(9600);
  // put your setup code here, to run once:

}

void loop() {
  lightservo1.write(0);
  delay(500);
  lightservo1.write(45);
  delay(500);
  lightservo1.write(90);
  delay(500);
  lightservo1.write(135);
  delay(500);
  lightservo1.write(180);
  delay(500);
  // put your main code here, to run repeatedly:

}

Common negative installed??

Rats nest photos like this are next to being a waste of time.

Learn how to draw a circuit diagram showing all terminal numbers and connections anx power supplies.

Not Fritzing......

1 Like

Yes I have a common ground from the external power to the arduino GND pin

How did you measure "5A"?

You must post photos that are useful. Draw and post your wiring diagram (fourth request).

How?

Also a servo works if I plug it into the 5v pin on the arduino and gnd into the arduino

How do you have 2 power supplies wired together?

If you want help draw a circuit diagram.

Aksing how is just a cop out.

Hi, @mobilesweat123484

Can you please post a copy of your circuit, a picture of a hand drawn circuit in jpg, png?
Hand drawn and photographed is perfectly acceptable.
Please include ALL hardware, power supplies, component names and pin labels.

Do you have a DMM? (Digital MultiMeter)

Thanks.. Tom.. :smiley: :+1: :coffee: :australia:

Hi,
You have more wires than your code needs.
All you need from the controller protoboard is a gnd and servo signal connection.
What are all the other connections?

The image is not too clear, you have got the header pins soldered to the Nano board?

Thanks.. Tom... :smiley: :+1: :coffee: :australia:

Reading between the lines…
Common ground is good, but where are you drawing the servo 5V from ?

Not from the Arduino I hope.

No not from the arduino, from the power supply

Yes I do have a miltimeter

I stripped the wires on two usbs and then twisted them together

Hi,
Can you post some images of your single servo setup?
So we can see your component layout.

Tom.... :smiley: :+1: :coffee: :australia: