Drew Appnotes PDF
Drew Appnotes PDF
Drew Appnotes PDF
Abstract: This note describes a method of using a LM117 regulator to power the Arduino
platform using a deep cycle battery. The design assumes high voltage and ambient temperatures
which results in a flexible and robust design. Chassis requirements are also described.
Introduction and Objectives
The main objective of this application note is to describe a method of powering an Arduino
microcontroller using a battery. Additionally, the power requirements of peripheral hardware, in
this case a GSM shield, were taken into account when designing this supply. This flexibility
incorporated into the design allows this power supply to be used in most any Arduino/Shield
application.
Through experimentation, the Arduino with GSM shield were found to draw 500mA with a peak
draw of 1.5A on the rare occasions when the shield is first trying to establish connection to the
network. A deep cycle 12V battery was used as a power supply (simulated using a wall power
supply). Due to low power demands, a LM117 voltage regulator can be used.
The high end of the typical current draw from the Arduino and shield combination is 500mA.
During periods where a battery may be charging, a 12V deep cycle battery can have a voltage in
the range of 14V. Using these stipulations as worse case scenarios, the power dissipated by the
LM117 can be calculated. Additionally, assuming that a worse case ambient temperature of 32 C
can be obtained, the equivalent thermal resistance of the LM117 can be calculated. The TO-220
package was used for the below calculations.
When choosing a heat sink, one must also consider the thermal resistance due to the junction to
case connection. For the TO-220 package, this is 4 C/W. Thus, a heat sink with a thermal
resistance less than this will suffice.
Aavid Thermalloy produces an aluminum heat sink with a thermal resistance of 13.4°C/W. This
will be more than adequate for this supply. With the battery voltage and ambient temperature
chosen, this design will work for most any scenario where an Arduino needs to be powered.
Chassis Requirements
To ensure that proper grounding is possible when wiring this circuit, an aluminum enclosure
should be used as the chassis. The one chosen for this design was 1.65” 2.63” ”. To ensure
proper air flow, it is advised that some ventilation holes are drilled in the top of the enclosure.
Below is a rough suggestion for size and placement of holes for mounting the circuit board in the
enclosure and creating grommet holes for the voltage input and output wires.
Evaluation
After running the circuit for several runs of an hour or more, no appreciable accumulation of heat
was observed. The ventilation holes placed in the chassis will allow for enough natural airflow to
cool the circuit. At the time of writing this note, a full 8 hour run at an ambient temperature of
32°C was not possible but the supply should operate correctly given the theoretical verification
described above.
References