This simple project is intended to help you in answering the lifelong question "Does this battery have any juice left?". Although popularity of single cell batteries (such as AA, AAA, C and D cell) is diminishing, there are still many small devices like TV remotes, flashlights, and other small portable electronics that run on these forms of power.

Step 1: Hardware required

In order to make a battery tester, there are a few things you will need:

-Three 560 ohm resistors
-One 2.2k ohm resistor
-One green LED
-One yellow LED
-One red LED
-a breadboard
-various jumpers (connecting wires)
-One Arduino Uno R3 Microcontroller with usb cable

This project will cost somewhere in the $30-$40 range, however the most expensive part is the Microcontoller (~$30), which is of course re-programmable so this cost can be displaced over future projects.

These items can be found on easily on Amazon.com or Sparkfun.com

<p>for what reason are we using 2 Kohm Resistor ? <br><br>thanks </p>
<p>for what reason are we using 2 Kohm Resistor ? <br><br>thanks </p>
<p>I wonder how can I change the circuit so that there will be charging/discharging cycle, and it will be as simple as this circuit?</p>
<p>Can i use this application in some locally available Arduino clone? </p>
<p>Hi I'm new in this arduino world and I would like to know why are you multiplying 0.0048*analogValue.</p><p>Thank you! :D</p>
<p>because analogRead return a value between 0 and 1023. </p><p>1023 = 5V</p><p>0 = 0V</p><p>so to convert the analogRead's value to volt you need to multiply analogValue by 5/1023 (0.00488)</p><p>:)</p>
Just be careful not to use a battery with high voltage or high amps
<p>High amps doesn't hurt Arduino, because of the resistor, and high internal impedance of ADC module, so these &quot;high amps&quot; won't go out the battery.<br>But high voltage is some kind of problem. For that I'd use zener diode, just like in my comment below ;)</p>
<p>I would add one zener diode after the A0 resistor just to be sure, that if some genius connects 12V battery (car or little from flashlight) it won't burn your arduino ;)<br>But despite this it's simple and great project ;) Hope there will be more like this on i'bles.</p>
<p>Excellent idea!</p>
This is a nice project. If you want to make it even less expensive, this project can be made with a single chip (plus rwsistors and leds) like the attiny85, which costs under $1 (you will need some way of programming it, though)
<p>Arduino can be easily used for programming ;) But if someone doesn't have one, STK200 is veery cheap option, and USBasp is quite cheaper than Arduino, and can be widely used ;)</p>

About This Instructable


35 favorites

More by azabonik: Arduino Uno R3 Battery Tester
Tags: Arduino
Add instructable to: