Battery Tester and Charge Monitor

by Eslam Eldeknawy in Circuits > Arduino

4973 Views, 44 Favorites, 0 Comments

Battery Tester and Charge Monitor

Image5.jpg

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 .

The Schematic

Untitled.png

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

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

Downloads

Parts

Image4.jpg

The Pcb

Image3.jpg
152227382_.png
152227903_.png

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

Burn Bootloader and Upload the Code

isp-Recovered.jpg

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

Source Code

Image6.jpg

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

here

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

Downloads

Videos

Battery Tester open source project part#1
battery tester open source project part#2

battery tester part 1 and 2