Ramji Patel
Published © GPL3+

Arduino Volt Meter

Digital Voltmeter with Arduino And HD44780 LCD

IntermediateFull instructions provided1,014
Arduino Volt Meter

Things used in this project

Hardware components

Arduino Nano R3
Arduino Nano R3
×1
Alphanumeric LCD, 16 x 2
Alphanumeric LCD, 16 x 2
×1
Solderless Breadboard Full Size
Solderless Breadboard Full Size
×1
Jumper wires (generic)
Jumper wires (generic)
×1
Trimmer Potentiometer, Square
Trimmer Potentiometer, Square
×1
Resistor 100 ohm
Resistor 100 ohm
×1
Rotary Potentiometer, 10 kohm
Rotary Potentiometer, 10 kohm
×1
USB-A to Mini-USB Cable
USB-A to Mini-USB Cable
×1

Software apps and online services

Arduino IDE
Arduino IDE

Hand tools and fabrication machines

Multitool, Screwdriver
Multitool, Screwdriver

Story

Read more

Schematics

Arduino Digital Volt meter

Download PDF

Code

Arduino Digital Volt meter

C/C++
Copy that
#include <LiquidCrystal.h>

LiquidCrystal lcd(5,6,7,8,9,10);

float voltage;
float val;
const int Vref = 5.0;
const int resolution = 1024.0;

void setup() {
  // put your setup code here, to run once:
lcd.begin(16,2);
lcd.setCursor(0,0);
lcd.print("Voltage:");

}

void loop() {
  // put your main code here, to run repeatedly:
val = analogRead(A3);
voltage = (val*Vref)/resolution;
lcd.setCursor(0,1);
lcd.print(voltage);
delay(90);
}

Credits

Ramji Patel

Ramji Patel

26 projects • 18 followers
Myself Ramji Patel. I am an Engineering student and pursuing my B-Tech from Institute of engineering and rural Technology Prayagraj, India.

Comments