# arduino battery monitor

So I come up with a solution. I made a small capacity tester based on Arduino Nano today I will show you how you can make a capacity tester like this first go through the schematic. I have done this on. Freezing the main circuit is consists of a lithium ion battery load register and a n channel MOSFET Arduino check the battery condition. First. If the battery condition is good, then it will provide 5 volt to the gate of the MOSFET it conducts. That means current will flow from battery positive terminal to the load and MOSFET and finally goes back to the negative terminal. These discharge, the battery over a period of time, already no measure the voltage across the load register. By using these two voltage divider Network, the voltage divider network is connected to analog, pin a 0 and a 1 voltage divided by this resistance. We will get current. That means I is equals to V Y R by using milli function. We can calculate the time also so Q or capacity is equals to current into time. A piece of buzzer is used to give different alert or a world in I to see o le d display is hooked to display different weighted parameters. Now we can move to make the final circuit on a prototype board. Let’S get started.

# arduino battery monitor Social

official.arduino
2019-10-02T19:32:52+0000

👋 Want to bring Tony Stark-like gesture control to your projects? Learn how with the BLE-enabled MKR WiFi 1010 and Nano 33 BLE Sense boards using the ArduinoBLE library.
official.arduino
2019-10-02T19:08:01+0000

Arduin-yo ho ho! A fairground favorite, the pirate ship is a fun way to explore the oscillation of a pendulum. How much fun, you ask? Access our Science Kit Physics Lab preview and see for yourself: http://bit.ly/2oC6L0Q

🔬 Now that you’ve gotten your feet wet, dive into the kit and enjoy all nine experiments. Order yours today: http://bit.ly/2MnQ7fr

Control_Arduino
Mon Jan 02 19:44:44 +0000 2017

Battery charge level – Monitor de batería https://t.co/h3fGCqFENy

https://t.co/h3fGCqFENy

todo_arduino
Thu Dec 03 17:14:44 +0000 2015

Battery charge level – Monitor de batería https://t.co/9kQHWWZQhi

https://t.co/9kQHWWZQhi

Thermistor Circuit

2016-04-15T14:35:45

2016-04-15T14:35:40

2016-04-15T14:35:36

(Visited 39 times, 1 visits today)

## Comment (29)

1. Simple Electronic says:

there is an error mistake in code

2. Luciano Serejo says:

Great project! I have tons of 18650 cells and only two imax b6 to test their capacities, i need more capacity testers, can i use arduino pro mini to build this circuit?

1. Open Green Energy says:

+Luciano Serejo Yes it will work

2. Luciano Serejo says:

Great, brilliant project. Subscribed! I just build one using a 5V Arduino pro mini and a IRF3205 mosfet, and is working flawless. Can you tweak the code to show the discharge time? I have no skills for doing that…

3. Luciano Serejo says:

Open Green Energy
if i leave the circuit discharging and not monitoring, when finishes the display shows Low-V! and i cant see the capacity measured, did i something wrong?

4. Bartek d says:

Tel me what IT is in code ” // Vcc = readVcc()/1000.0; // Conevrrt mV to Volt

// Voltage devider Out = Bat_Volt * R2/(R1+R2 ) // R1 =10K and R2 =10K ”
10ohm resistor. what is the discharge current

5. Jimmy King says:

It was mentioned that the current changes over time with the resistor. I think that it might be more accurate if a constant current source connected to the Drain of the Mosfet might improve the accuracy assuming the temperature of the current source can be temperature regulated. Sourcing current that is constant through the resistor will ensure a constant level over time. But may involve intermittent measurements of voltage drop from the current source to keep an accurate reading over time as well as a thermistor to read resistor temperature and cut off the Mosfet temporarily to let the resistor cool down and then continue measurements. I like this project and it is professional. Also was wondering if the code within arduino is being saved or if it is just being sent to the display? Thanks for sharing…

6. Sachin ET says:

can i use 0.91 Inch 128×32 oled display for this? if yes what changes should i make in the program ?

7. hardWebric says:

Heh it uses energy to burn energy 😀

8. Emrah ÇALIŞKAN says:

Bat_Volt = 2 * sample1 * Vcc / 1024.0;
why multiply by two

8.16v Warning High-V!
actually measured : 4,085

9. TMF uv says:

can we check any type of batterys? i mean 9v,6v,12v somthing like batterys also can we check de capacity?

10. Techie Ganesh says:

hiii bro, i cant compile code to arduino nano it says that error compiling for board arduino nano plz help me man i really want your help :)))

11. TingYu Yan says:

Can I use MOSFET IRF730？

12. Tanmay islam says:

can i see by serial monitor without OLED?

13. J.E.L. says:

Nice…must make one
thanks

1. Open Green Energy says:

Good luck.

2. J.E.L. says:

Thanks

14. gilbert caringal says:

1. Ryan George says:

What is the exact error message

2. gilbert caringal says:

@Ryan George got it already forget to put ground in resistor

3. Ryan George says:

@gilbert caringal great!

4. gilbert caringal says:

@Ryan George thanks

15. gilbert caringal says:

redefinition of void setup

16. NinjaGamerow says:

Can i use mosfet irl3034? I have 1 lying around…

17. UnrealWaifu - FrankPro says:

I think that is better to put an heatsink on that mosfet…

1. Open Green Energy says:

Thank you for suggestion.
I have not used as the MOSFET was not heat up during the discharging.

18. Yogendra Bohra says:

Hi sir how should I add liquid crystal display and add code