# Will this work?

**URL:** <https://forum.arduino.cc/t/will-this-work/1295843>\
**Category:** General Guidance\
**Created:** [August 27, 2024, 3:41pm UTC](https://forum.arduino.cc/t/will-this-work/1295843 "2024-08-27T15:41:10Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![cubingjulian](https://avatars.discourse-cdn.com/v4/letter/c/c37758/32.png) [@cubingjulian](https://forum.arduino.cc/u/cubingjulian)\
**Post date:** [August 27, 2024, 3:41pm UTC](https://forum.arduino.cc/t/will-this-work/1295843/1 "2024-08-27T15:41:10Z")

</div>

Hi guys, sorry I'm a newbie and I'm trying to make a working RC car, that recieves signals from my raspberry pi using the HC-05 module. would this work? The cable plugging in is connected to 4 AA batteries (6v) but I don't know if that is enough. the motors are 3-6v.

 ![Screen Shot 2024-08-27 at 11.37.42 AM](https://europe1.discourse-cdn.com/arduino/original/4X/6/9/0/690310961478e8e88bf4e556562d15fdf3d98193.png)  
Sorry, I know you guys are probably tired of dumb questions but if anyone can help me out that would be great. Cheers

---

<div class="post-metadata">

**Author:** ![anon94801460](https://avatars.discourse-cdn.com/v4/letter/a/278dde/32.png) [@anon94801460](https://forum.arduino.cc/u/anon94801460)\
**Post date:** [August 27, 2024, 3:46pm UTC](https://forum.arduino.cc/t/will-this-work/1295843/2 "2024-08-27T15:46:57Z")

</div>

Power the Arduino and radio separately from the motors and servos, and don't forget to connect all the grounds.

4xAA may not be able to provide enough current for two motors and two servos, but it is worth a try.

Example connections for one servo:

 ![servo_pwr](https://europe1.discourse-cdn.com/arduino/original/4X/2/8/4/284f634578aa3d13aa3f9977801d67e275067e8a.png)

---

<div class="post-metadata">

**Author:** ![LarryD](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/larryd/32/215550_2.png) [@LarryD](https://forum.arduino.cc/u/LarryD)\
**Post date:** [August 27, 2024, 3:58pm UTC](https://forum.arduino.cc/t/will-this-work/1295843/3 "2024-08-27T15:58:08Z")

</div>

- The motor driver 5v terminal should not connect to the Arduino 5v pin.

> [@cubingjulian](#):
>
> the motors are 3-6v.

- Since the motor controller is getting its motor voltage from the Arduino Vin pin and the motors are 3 to 6v, you need to rethink the driver connection to the motor voltage terminal.  
Arduino Vin needs to be 7 to 9v, hence you will need an external power supply.

- If you make the driver motor voltage 6v, the on board 5v voltage regulator will not work properly. You would then need to remove the driver 5v jumper and power the driver 5v to the Arduino 5v pin.

- You cannot, should not, just throw a wiring schematic at the wall thinking you will end up with a successful project.

---

<div class="post-metadata">

**Author:** ![cubingjulian](https://avatars.discourse-cdn.com/v4/letter/c/c37758/32.png) [@cubingjulian](https://forum.arduino.cc/u/cubingjulian)\
**Post date:** [August 27, 2024, 5:27pm UTC](https://forum.arduino.cc/t/will-this-work/1295843/4 "2024-08-27T17:27:02Z")

</div>

do you have another way/idea to connect those parts? I didn't come up with this schematic or the wiring, a website called circuitio did. I just need those parts; 2 servo motors, L298N module with 2 DC motors, Hc-05 module all connected to the arduino, if I could know any other ways, preferably with 1 power supply, that would be great thanks  
@LarryD @anon94801460

---

<div class="post-metadata">

**Author:** ![xfpd](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/xfpd/32/1120236_2.png) [@xfpd](https://forum.arduino.cc/u/xfpd)\
**Post date:** [August 27, 2024, 5:43pm UTC](https://forum.arduino.cc/t/will-this-work/1295843/5 "2024-08-27T17:43:20Z")

</div>

> [@cubingjulian](#):
>
> circuitio

These "AI" web sites are a fraud.

Start with writing a program to make ONE servo work, see Post #2. Then, make the program run two servos.

Put that aside and write another program to run one DC motor. Then make the program run two DC motors.

Penultimate step: write code for the HC-05 to communicate... probably blink the LED\_BUILTIN.

The final step is to introduce one device at a time to your HC-05 code and control each device as it is added.

Be sure to provide enough power for all devices to work properly.

---

<div class="post-metadata">

**Author:** ![cubingjulian](https://avatars.discourse-cdn.com/v4/letter/c/c37758/32.png) [@cubingjulian](https://forum.arduino.cc/u/cubingjulian)\
**Post date:** [August 27, 2024, 5:49pm UTC](https://forum.arduino.cc/t/will-this-work/1295843/6 "2024-08-27T17:49:37Z")

</div>

thanks, the only thing i don't understand is the providing enough power tho... how??

the motors are 3-6v

---

<div class="post-metadata">

**Author:** ![Brazilino](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/brazilino/32/1198404_2.png) [@Brazilino](https://forum.arduino.cc/u/Brazilino)\
**Post date:** [August 27, 2024, 6:02pm UTC](https://forum.arduino.cc/t/will-this-work/1295843/7 "2024-08-27T18:02:47Z")

</div>

Hi! Welcome to the forum!

> [@cubingjulian](#):
>
> would this work?

Do you already have this setup or you´re starting from scratch?

---

<div class="post-metadata">

**Author:** ![cubingjulian](https://avatars.discourse-cdn.com/v4/letter/c/c37758/32.png) [@cubingjulian](https://forum.arduino.cc/u/cubingjulian)\
**Post date:** [August 27, 2024, 6:03pm UTC](https://forum.arduino.cc/t/will-this-work/1295843/8 "2024-08-27T18:03:06Z")

</div>

starting from scratch.. still waiting for parts to arrive  
@Brazilino

---

<div class="post-metadata">

**Author:** ![xfpd](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/xfpd/32/1120236_2.png) [@xfpd](https://forum.arduino.cc/u/xfpd)\
**Post date:** [August 27, 2024, 6:11pm UTC](https://forum.arduino.cc/t/will-this-work/1295843/9 "2024-08-27T18:11:56Z")

</div>

> [@cubingjulian](#):
>
> providing enough power

List your devices and read their datasheets (search: device datasheet power required)

1. Arduino, 5v, 500 mA
2. HC-05, (hopefully less than 40mA)
3. Servo, SG90, 3.5-6VDC, Current max: 600 mA, Stall Torque:1.6kg/cm @ 6V
4. Servo, same
5. L298N, 3.2V ~ 40Vdc, 20W (about 2A)
6. DC motor, TT, 3-6VDC, 160mA @ 250 RPM, 1.5 Amps stalled
7. DC motor, same

Arduino needs 5vdc at 500mA (0.5A).  
HC-05 will use Arduino's power (3v3 or 5v)  
Servos need 5vdc at 600mA each, so 1.2A.  
DC motors get power from the L298N.  
L298N can use up to 40VDC at 2A and will supply 5vdc at 2A.  
Servos and L298N add up to 3.5A... so call that 4A.

---

<div class="post-metadata">

**Author:** ![cubingjulian](https://avatars.discourse-cdn.com/v4/letter/c/c37758/32.png) [@cubingjulian](https://forum.arduino.cc/u/cubingjulian)\
**Post date:** [August 27, 2024, 6:12pm UTC](https://forum.arduino.cc/t/will-this-work/1295843/10 "2024-08-27T18:12:41Z")

</div>

sorry i'm a lil confused...

---

<div class="post-metadata">

**Author:** ![cubingjulian](https://avatars.discourse-cdn.com/v4/letter/c/c37758/32.png) [@cubingjulian](https://forum.arduino.cc/u/cubingjulian)\
**Post date:** [August 27, 2024, 6:13pm UTC](https://forum.arduino.cc/t/will-this-work/1295843/11 "2024-08-27T18:13:14Z")

</div>

so do i need 1 power supply or multiple? @xfpd

---

<div class="post-metadata">

**Author:** ![xfpd](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/xfpd/32/1120236_2.png) [@xfpd](https://forum.arduino.cc/u/xfpd)\
**Post date:** [August 27, 2024, 6:15pm UTC](https://forum.arduino.cc/t/will-this-work/1295843/12 "2024-08-27T18:15:27Z")

</div>

> [@cubingjulian](#):
>
> 1 power supply or multiple

You can use one power supply to power them all (probably 5v at 4A).  
BUT  
You can use two (5v Arduino, HC-05, Servo x 2, other p.s. L298N)... ensure every device and power supply have the same ground potential/point.

[edit] The L298N take about 2V out of your power supply just to operate... so to power two 6vdc motors, you might want a P.S. around 8 to 9 vdc.

---

<div class="post-metadata">

**Author:** ![cubingjulian](https://avatars.discourse-cdn.com/v4/letter/c/c37758/32.png) [@cubingjulian](https://forum.arduino.cc/u/cubingjulian)\
**Post date:** [August 27, 2024, 6:19pm UTC](https://forum.arduino.cc/t/will-this-work/1295843/13 "2024-08-27T18:19:13Z")

</div>

> @xfpd  
> probably 5v at 4A

so can the 4xAA batteries work or what? and what is a P.S?

edit: oh ok power supply..

---

<div class="post-metadata">

**Author:** ![LarryD](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/larryd/32/215550_2.png) [@LarryD](https://forum.arduino.cc/u/LarryD)\
**Post date:** [August 27, 2024, 6:20pm UTC](https://forum.arduino.cc/t/will-this-work/1295843/14 "2024-08-27T18:20:51Z")

</div>

- Do the two 3-6v motors need to be bidirectional ?

---

<div class="post-metadata">

**Author:** ![xfpd](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/xfpd/32/1120236_2.png) [@xfpd](https://forum.arduino.cc/u/xfpd)\
**Post date:** [August 27, 2024, 6:40pm UTC](https://forum.arduino.cc/t/will-this-work/1295843/15 "2024-08-27T18:40:13Z")

</div>

> [@cubingjulian](#):
>
> 4xAA

Read a datasheet for AA (also U7/D14) battery... it will be close enough to use in calculations  
AA = 1.5v x 4 = 6vdc at 2A  
Rechargeable AA = 1.2v x 4 = 4.8vdc at 2A.

---

<div class="post-metadata">

**Author:** ![Brazilino](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/brazilino/32/1198404_2.png) [@Brazilino](https://forum.arduino.cc/u/Brazilino)\
**Post date:** [August 27, 2024, 6:45pm UTC](https://forum.arduino.cc/t/will-this-work/1295843/16 "2024-08-27T18:45:16Z")

</div>

> [@cubingjulian](#):
>
> still waiting for parts to arrive

Ok, so you´ve already bought them. If it was not the case, I would suggest you to choose another development board that already has all-in-one integrated features.

6V are the worst choice in my opinion because it´s too much to feed Arduino and HC-05 directly on its 5V pin and too low to feed the Arduino through its Vin pin.

I would add 1 or 2 more AA batteries (to get 7.5V or 9V) or change them to 2x18650 batteries to get 7.4V. They can feed Arduino (jack or Vin) and the L293N. You would need also a buck converter to get the 5V to the servos and choose to feed the HC-05 through the Arduino 5V pin or through the buck converter.

---

<div class="post-metadata">

**Author:** ![b707](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/b707/32/854321_2.png) [@b707](https://forum.arduino.cc/u/b707)\
**Post date:** [August 27, 2024, 7:11pm UTC](https://forum.arduino.cc/t/will-this-work/1295843/17 "2024-08-27T19:11:01Z")

</div>

> [@xfpd](#):
>
> Arduino, 5v, 500 mA

Isn't it too much? I see Uno In the picture, it consumes less than 100mA

---

<div class="post-metadata">

**Author:** ![LarryD](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/larryd/32/215550_2.png) [@LarryD](https://forum.arduino.cc/u/LarryD)\
**Post date:** [August 27, 2024, 7:14pm UTC](https://forum.arduino.cc/t/will-this-work/1295843/18 "2024-08-27T19:14:08Z")

</div>

- If it's coming for the USB connector no, however, that means the Arduino power trace needs to be designed to carry the current and there may be an EMI situation.

- As always, the Arduino is not a power supply.

---

<div class="post-metadata">

**Author:** ![xfpd](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/xfpd/32/1120236_2.png) [@xfpd](https://forum.arduino.cc/u/xfpd)\
**Post date:** [August 27, 2024, 7:16pm UTC](https://forum.arduino.cc/t/will-this-work/1295843/19 "2024-08-27T19:16:08Z")

</div>

> [@b707](#):
>
> Isn't it too much?

Probably... I got that value off a ~~datasheet~~ results of testing as max current consumed by the Arduino board, not sourcing power to external devices. It was on the Arduino.cc web site for load testing the hardware/boards.

The official datasheet says "XX mA"... yes... "xx"

---

<div class="post-metadata">

**Author:** ![cubingjulian](https://avatars.discourse-cdn.com/v4/letter/c/c37758/32.png) [@cubingjulian](https://forum.arduino.cc/u/cubingjulian)\
**Post date:** [August 27, 2024, 7:29pm UTC](https://forum.arduino.cc/t/will-this-work/1295843/20 "2024-08-27T19:29:01Z")

</div>

@Brazilino @xfpd  
if u guys want the full voltage chart here it is.. from waht i know... these are from the amazon pages of the items

HC-05: 3.6-6v  
DC motor: 3-6v  
Servos: 6v  
keep in mind I have 2 dc motors and 2 servos.  
so my options are either to use 4x AA batteries for 6v or just plug in this adapter (or whatever its called) thats connected to my 9v battery... and what do I need to fix for the HC-05???

[Next page](https://forum.arduino.cc/t/will-this-work/1295843.md?page=2)
