2. INTRODUCTION
• This circuit presents the remaining level of battery on a 16 by 2
LCD panel.
• The remaining battery level is presented in percentage and bar
forms.
3. WHY BATTERY LEVEL IS IMPORTANT
• Have you experienced building a battery-operated project then
suddenly it won't work because it needs to be charged?.
• We all know that batteries come with a certain voltage limit.
Exceeding or completely losing the battery’s voltage can lead to
a lot of frustration, component damage, or data loss. So
wouldn't it be nice to be able to monitor the battery’s level so
you can decide whether it needs to be charged or replaced?
That’s what this battery level tester will do for you!.
5. PRINCIPLE
• Arduino is basically the heart of the system. It takes the analog
signal/battery voltage and then display it into LCD in the form
of percentage and bars.
6. WORKING
• The Arduino's analog pin acts as a simple voltmeter where the
voltage value is retrieved. Then, we can convert the analog
value into a digital voltage value by using the ADC conversion
formula.
• The Arduino Uno ADC is of 10-bit resolution. The ADC
converter will map input voltages between 0 and 5 volts into
integer values between 0 and 1023. So if we multiply input
analogValue to (5/1024), then we get the digital value of input
voltage.
7. CONTINUED…
• unsigned int value = analogRead(0);
• Reading from the input analog pin is recorder into the “value” variable.
• float voltage = value * (5.0 / 1023.0);
• Then that value is converted in to voltage using the above command.
• Percent = (value/1024.0)*100;
• Then that voltage value is converted in to percentage and displayed on
LCD
9. CONCLUSION
• The goal of this project was to design battery level tester. This
project addressed the deep understanding of devices and
proteus implementation of the battery level tester along with
the Arduino coding for LCD which displays voltage level,
percentage battery remaining and bar graph for the battery.