20

Presumably, one powers an Arduino board with car batteries for long-term operation away from the power grid.

How can this be done, and what are the most (1) economic, and (2) reliable ways to do this? Specifically, do any additional risks to short the board with an extraneous discharge exist?

Peter Mortensen
  • 435
  • 3
  • 12
0xF2
  • 542
  • 2
  • 8
  • 19

6 Answers6

18

Use a switching regulator such as the LM2596. You can get a ready board from eBay for about US$1.

Enter image description here

Just set the output voltage to 5 V and feed the Vcc input of Arduino; this bypasses the onboard regulator.

The benefit is that unlike the linear onboard regulator, a switching regulator is very efficient which means less consumption and less generated heat on the regulator. An additional benefit is that it can withstand a higher input voltage (about 35 V for the specified regulator), just in case the circuit is used in a vehicle that has 24 V batteries.

The regulator has already several protections like for short circuiting, overheating, etc.

Peter Mortensen
  • 435
  • 3
  • 12
alexan_e
  • 1,860
  • 1
  • 13
  • 16
3

I'm a big fan of USB car chargers for things like this, or USB buck converter boards that you get from ebay.

EternityForest
  • 377
  • 1
  • 4
2

There is also the higher-end Akafugu breadboard power supply - takes input from 7V all the way to 35V, but costs 11$ apiece in the bargain.

enter image description here

Akafugu

0xF2
  • 542
  • 2
  • 8
  • 19
2

"Practical Arduino book" has a very interesting circuit for this purpose: http://www.practicalarduino.com/projects/vehicle-telemetry-platform

Here is how I've recreated it:

It uses LM2940CT and huge electrolytic cap - even if supply voltage drops, you'll have about a second to shut down your Arduino gracefully (close files on SD properly, and so on).

"Arduino Cookbook" (2nd ed.) has a chapter with examples on how to reduce Arduino's power consumption to absolute minimum - have a look at it, too.

Alexander
  • 101
  • 1
  • 5
2

Two more options - battery pack with convenient pre-made screw holes for Arduino, Raspberry.PI, and Beagle Board:

Smart Power Base

Smart Power Base

Kicking it up a notch - using a cordless drill's 18V battery. The project is meant for R.PI, but it would work just as well on Arduino, as the power supply is USB

Portable PI Power

Portable PI Power

0xF2
  • 542
  • 2
  • 8
  • 19
1

Standard car batteries are 12.6 volts there are 6 2.1V cells. AGM batteries (i.e. Optima batteries, some interstates, and many other brands make AGM), in my experience with AGM batteries they are around 12.8 volts (I do not know the technical voltage). Without the car running you do not need to worry about voltage spikes AS LONG AS THE WIRES TO AND FROM THE BATTERY ARE SHORT. When the car is running the serpentine belt turns the alternator which is an AC generator. The alternator is connected to a rectifier to change it back to DC and the unit has a voltage regulator. When the car is running the alternator runs the electrical system and charges the battery. When you connect to the battery while the car is running you are actually connected to the alternator. When connected to the alternator there is a ton of electrical noise, voltage spikes, etc.

I have always had success connecting straight from the battery to the Arduino through its barrel jack connector, I have not tried any analog read function when the car is running. On the Arduino website it recommends 7-12V, however the limits (as listed on the Arduino website below the recommended) are 6-20. I have actually experienced problems with lower input voltages. If you feel uncomfortable just buy a 5 volt regulator and power through the usb.

Joel
  • 523
  • 3
  • 15