Project tutorial
Battery charge checker

Battery charge checker

A battery charge checker on the base of Arduino

  • 2,482 views
  • 0 comments
  • 5 respects

Components and supplies

Apps and online services

About this project

Based on Arduino Uno, simple voltage checker for batteries 0-10 Volts with LCD display. 

Code

Battery chargeArduino
#include <LiquidCrystal.h>

#define DIODE_DROP  0.7 

LiquidCrystal lcd(13, 12, 11, 10,  9,  8);
 
void setup() 
{

  lcd.begin(16, 2);

  lcd.print("Battery voltage:");
}
 
void loop() 
{
  float voltage = analogRead(A0) / 1024.0 * 10.0;
  
  if (voltage > 0.1)
    voltage += DIODE_DROP;
 
  lcd.setCursor(0, 1);
  
  lcd.print(voltage, 2);
  
  lcd.print(" Volts");
}

Schematics

Checker
Battery%20checker.fzz

Comments

Similar projects you might like

Solar Charged Battery Powered Arduino Uno

Project in progress by Igor Fonseca Albuquerque

  • 60,690 views
  • 46 comments
  • 124 respects

Arduino Kitchen Timer

Project tutorial by Team I and myself

  • 54,453 views
  • 37 comments
  • 77 respects

Programmable Pocket Power Supply with OLED Display

Project tutorial by Shahariar

  • 6,541 views
  • 6 comments
  • 32 respects

Refrigerator Checker

Project tutorial by Hipo Shun

  • 1,671 views
  • 0 comments
  • 4 respects

Electronic Piano Keyboard With Preset Songs

Project tutorial by Lindsay Fox

  • 78,004 views
  • 60 comments
  • 150 respects
Add projectSign up / Login