0
\$\begingroup\$

I used 6 rechargeable AA batteries (total 7.2V) to power my Arduino (UNO R3) Car's two DC Motors (using L293D IC as motor driver). I used separate 9V battery to power Arduino itself. But I want to share same 6 battery pack to power my Arduino via barrel jack. Please suggest me how can I do this? What precautions should I take? Like decoupling capacitors or any other?

\$\endgroup\$

1 Answer 1

1
\$\begingroup\$

It is possible to do what you are asking about, but there are some potential problems.

First, motors generate voltage spikes. You will want to prevent those from getting into your Arduino and possibly causing damage. Capacitors are a good start but you should put some additional protection on the power lines like a varistor or TVS to knock the voltage spikes down.

The second issue is the voltage selection. The Arduino runs on 5V. Your battery is 6V. Voltage regulators require something called “head room”. This is the minimum voltage above the regulator output voltage. Depending on the type of regulator, this might be .5V or so, on up to 1.5V. If the input voltage is not high enough, the regulator won’t work. A 6V battery does not give much head room for a 5V regulator.

A 6V motor will probably work pretty well down around 5V in many applications, as the battery becomes discharged. The Arduino will stop working well before the motor is the issue. You are likely to find that you don’t get very good battery life before the project stops working unless your 6V battery is very large and your motor does not draw much current.

\$\endgroup\$
4
  • \$\begingroup\$ The OP said there was 7.2 volts. \$\endgroup\$
    – Marla
    Jan 22, 2016 at 23:29
  • \$\begingroup\$ The regulator on an Uno needs about 1.5 to 2 Volts drop out, so that's pushing it anyway. \$\endgroup\$
    – Passerby
    Jan 22, 2016 at 23:47
  • \$\begingroup\$ @Passerby I understand. Just wanted first time garysxt to realize what OP said. (BTW, the OP posted same exact question on Arduino S.E , which I earlier answered there) \$\endgroup\$
    – Marla
    Jan 22, 2016 at 23:50
  • \$\begingroup\$ Yes, with 6 rechargeable batteries average voltage I get is around 7.2V. As I have said I used L293D IC for motor drive, doesn't it protect some spikes? and how do I prevent voltage spikes with capacitors? \$\endgroup\$
    – palash
    Jan 23, 2016 at 8:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.