Battery Capacity Tester (Arduino)

8,640

94

26

Hi friends,

This is my first trying on arduino and it is my engineering design project. This is pretty simple to make.

First of all, you need to know how you can measure analog and digital value on Arduino. Atfter you read these values, you can achive SOC (state of charge) and mAH (mili Amper Hour) by writting some codes. (I used 1.5 Volt Battery, so I design a code according to it.)

There are some constant values on the code.

Maximum voltage value is 1.5 V

Minimum voltage value is 0.9 V

Maximum mAH value is 1500 (mAH)

In other words;

When your battery level is 1.5 Volt, your SOC value is %100 and your capacity is 1500 mAH.

When your battery level is 0.9 Volt, your SOC value is %0 and your capacity is 0 mAH.

This is my SOC formula, SOC=(voltage-0.9)*(100/0.6); (voltage= Analog value of battery)

And this is my mAH formula, mAH= ((voltage-0.9)/0.6)*1500;


Materials!

1) Arduino Uno

2) LCD display (16x2)

3) IRF510

4) 10K resistor

5) 2.2 resistor (1 Watt) (This is important for your Arduino not to burn!)


This is easy project. But it helped me to improve my Arduino knowledge. I hope, it helps you, too.


Share

    Recommendations

    • Arduino Contest 2019

      Arduino Contest 2019
    • Trash to Treasure

      Trash to Treasure
    • Tape Contest

      Tape Contest

    26 Discussions

    0
    None
    viktormalenkov7

    Question 1 year ago on Introduction

    Ты можешь добавить код, а то я ещё не очень разбираюсь в ардуино.

    0
    None
    Ardu1

    1 year ago

    Where is the code ?

    0
    None
    johnnyjihn

    2 years ago

    codes pls cant start the work :(

    0
    None
    andreaswabbes

    2 years ago

    Hey, where can i find the code please?

    0
    None
    juliocr1

    2 years ago

    boa tarde Burak Tutal, por favor me envie o link onde eu possa pegar o código do arduino. desde já agradeço.

    0
    None
    adungr

    2 years ago

    code please

    0
    None
    HeyitsA

    2 years ago

    Where is the code please ?

    0
    None
    Bakerd1

    2 years ago

    please provide a code for me plzzzzzzzz

    0
    None
    Bakerd1

    2 years ago

    it would be nice if you provided a sketch.

    0
    None
    Reivach777

    3 years ago

    Hi, is the code available? I'd really appreaciate it.

    0
    None
    holidayv

    4 years ago

    We really do need the arduino code you used to easily replicate what you have done.

    2 replies
    0
    None
    halilbaris

    4 years ago on Introduction

    Yaptigin program iyi gibi gorunuyor.Buna Batarya test cihazi demek dogru olmaz. Cunku denenecek herhangi bir batarya(Ni-Cad , Li-ion , .......) ile farkli akim degerleri alirsin bu sekilde ayarlanmasinin imkani olmaz . Ama su sekilde yapabilirsin
    (R1) (R2)
    (Batarya +) ----------[[[[[]]]]]]]]----- |-----[[[[[[[[]]]]]]]]----------(Batarya - GND )
    |-------------- Analog
    daha sonra R2nin uzerine dusen elektirigi bul .... ve bataryanin doluluk olanini bu sekilde cikarabilirsin
    http://www.arduinom.org/projeler/arduino-ile-voltmetre

    Yaptiginiz elektronik devre duzenegi Battery Drainer gibi bisey ... Bu sekilde olculmesi Uygun degil ...
    Basarilar

    1 reply
    0
    None
    BurakTutalhalilbaris

    Reply 4 years ago on Introduction

    Yorumunuz için teşekkür ederim. Evet dediğinize baktımda benim ki "Battery Drainer" dediğinize daha çok benziyor. Vermiş olduğunuz linkteki proje gerçekten iyi. Proje yapım aşamamda görmüş olsaydım, muhtemelen referans olarak o projeyi göz önünde alırdım. :)

    Yorumlarınız için tekrardan teşekkür ederim.