Introduction: Battery Tester and Charge Monitor

Hello guys

For long time I was harvesting lithium ion batteries for powering my projects BUT…

Sometimes I was getting bad batteries that look fine …

So… I’ve made battery tester device that can test the battery and tells you the output voltage and current.

Also identify the battery type and measure the real capacity .

Step 1: The Schematic

the schematic is little complicated because we create a standalone arduino board

so here it is and it should made on 2 layers pcb

Attachments

Step 2: Parts

Step 3: The Pcb

for this people who used to make 2 layers pcb it will be easy

or you can ask some manufacturer to make it for you

https://www.pcbway.com/project/shareproject/Battery_capacity_tester_discharge_charge_monitor.html

Step 4: Burn Bootloader and Upload the Code

After soldering all components

we have one more step before start working with our project

The microcontroller here is blank and it needs a firmware

So as you know! our project is based on arduino

First thing we need arduino board and jumper wires

Connect pin number10 from arduino to reset pin on the pcb

By connecting the arduino you can now Burn the bootloader on your board

Let’s ee how?!

Open your IDE and

From examples choose Arduino ISP

Then upload the code normally to your arduino board

From Tools Menu choose Programmer Arduino as ISP

And again from tools choose burn bootloader and make sure there is no errors after uploading

Now your microcontroller is ready for uploading your arduino code

wait …!! don’t take off your jumper wires

You still need to upload your code to the microcontroller

Open the battery tester sketch

and from Sketch menu choose upload using programmer

Showing the pcb

Now you can takeoff the jumper wires, and start using this project

Step 5: Source Code

the code is pen source and anyone want's to improve it is welcomed

here

https://github.com/EslamEldeknawy/battery-tester

Step 6: Videos

battery tester part 1 and 2

Arduino Contest 2017

Participated in the
Arduino Contest 2017