Connecting both DC motor and Servo Motor to Arduino When There is Only One 5V Pin in Arduino Uno

I am working on a project that requires me to connect multiple wires to a single 5V port. Can you provide guidance on how to properly do this?

You should not use the arduino 5v pin to drive a motor… power them directly from the power supply. Make sure it can provide enough current for your motors

...and the same for servo...

Thanks.

but before i stop. What is this? (The one i am holding?

That thing Connected To The 5V pin on Arduino. What is it?

What I see on the picture is Arduino Uno, but I don't think that you ask about it.
So I dont understand your question.

look like some kind of handmade pin splitter. But I strongly advise against connecting motors and servos to the arduino 5v pin, even if you find a way to combine several wires on one pin

1 Like

You're going to burn up your board or the USB on your PC. DO NOT CONNECT 2 motors to the 5v pin on your Arduino.

There is a 5V pin on the ICSP (6pin connector) on the short side.

You don't think that running those off of the 500mA from the USB plug or the 1A 5v regulator is too risky?

Risky, Shmisky. What if OP uses the 'splitter' jumper?
It's an on-board 5V pin (terminal) that's "overlooked".

I also ask, How then should I power A motor Driver externally without using 5V pin in Arduino?

I also add, is this wrong when the red and black wires are combined to be connected to the motor driver as output 1?
IMG_20221228_205256

IMG_20221228_205420

It is OK to extend (splice) wires.
And - tape is a good resource.

Bread boards are a possibility.

Servo stuff

Power externally.

power distribution blocks.


There are several ways to power a motor driver externally without using the 5V pin on the Arduino:

Use a separate power supply: You can use a separate power supply to power the motor driver and the motors, and connect the power supply to the motor driver's power input terminals. Make sure the voltage of the power supply matches the voltage rating of the motor driver and the motors.

Use a voltage regulator: You can use a voltage regulator, such as a 7805, to convert a higher voltage to the 5V needed by the motor driver. Connect the input of the voltage regulator to the higher voltage power supply, and connect the output of the voltage regulator to the motor driver's power input terminal.

Use a battery: You can use a battery, such as a 9V battery or a lithium-ion battery pack, to power the motor driver and the motors. Connect the positive terminal of the battery to the motor driver's power input terminal and the negative terminal to the ground terminal of the motor driver.

It's important to note that you should not connect the motor driver's power input terminal to the 5V pin on the Arduino, as the Arduino's 5V pin is not capable of providing enough current to power the motor driver and the motors.

Source: ChatGPT

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.