Beginner to Intermediate

Build a Digital Voltmeter

A digital voltmeter (DVM) accurately measures electrical voltage and displays the result on an LED, LCD or OLED display. It is one of the most useful instruments in any electronics workshop and is commonly integrated into bench power supplies, battery chargers and laboratory equipment. This project explains how to build a digital voltmeter using a microcontroller with an analogue-to-digital converter (ADC) or a dedicated voltmeter integrated circuit.

Digital Voltmeter

Project Overview

A digital voltmeter converts an analogue voltage into a digital value using an ADC.

The measured voltage is processed by a microcontroller or dedicated IC and displayed numerically, providing higher accuracy and easier reading than an analogue voltmeter.

Project Difficulty

ItemValue
Difficulty⭐⭐ Beginner–Intermediate
Build Time2–4 Hours
Supply Voltage5 V DC
Measurement Range0–30 V (Expandable)
DisplayLED, LCD or OLED

Main Sections

Section Function
Input Terminals Connect the voltage to be measured.
Voltage Divider Reduces higher voltages to a safe ADC level.
ADC Converts analogue voltage into digital data.
Microcontroller Calculates the actual voltage.
Display Shows the measured voltage.
Power Supply Provides regulated operating voltage.

How the Digital Voltmeter Works

The input voltage first passes through a voltage divider if it exceeds the maximum ADC input voltage.

The ADC samples the voltage and converts it into a digital value.

The microcontroller applies the calibration factor, calculates the actual voltage and continuously updates the display.

Typical Components

ComponentTypical Choice
MicrocontrollerArduino Nano, ATmega328P, ESP32 or STM32
Display16×2 LCD, OLED or 7-Segment LED Module
Voltage DividerPrecision Metal Film Resistors
Reference VoltageInternal or External Precision Reference
Voltage Regulator7805 or AMS1117
PCBSingle or Double-Sided

Typical Measurement Ranges

Range Typical Application
0–5 V Microcontroller Projects
0–12 V Small Electronic Circuits
0–30 V Bench Power Supplies
0–100 V Industrial Equipment
0–500 V High-Voltage Measurement (with suitable divider)

Applications

  • Bench power supplies.
  • Battery chargers.
  • Battery voltage monitoring.
  • Solar energy systems.
  • Automotive electronics.
  • Industrial control systems.
  • Laboratory instruments.
  • DIY electronic projects.

Testing

  1. Inspect all solder joints.
  2. Verify the power supply voltage.
  3. Measure a known reference voltage.
  4. Compare the displayed value with a calibrated multimeter.
  5. Adjust the calibration constant if necessary.
  6. Test several voltages across the measurement range.
  7. Verify display stability.

Troubleshooting

Problem Possible Cause
No display No power supply or incorrect wiring.
Incorrect voltage reading Incorrect voltage divider or calibration.
Display flickers Unstable power supply or noisy input.
Reading always zero ADC input disconnected or software fault.
Reading unstable Poor grounding or excessive electrical noise.

Project Improvements

  • Add automatic range selection.
  • Measure both AC and DC voltage.
  • Include Bluetooth monitoring.
  • Add data logging to an SD card.
  • Display minimum and maximum values.
  • Add USB communication.
  • Use a colour TFT display.
  • Integrate a digital ammeter for a complete power monitor.

Skills Learned

  • Voltage measurement.
  • Analogue-to-digital conversion.
  • Voltage divider design.
  • Microcontroller programming.
  • Display interfacing.
  • Instrument calibration.

Safety Notes

  • Never exceed the maximum input voltage rating.
  • Use precision resistors for the voltage divider.
  • Verify polarity before connecting the meter.
  • Use proper insulation for high-voltage measurements.
  • Calibrate the meter using a known accurate reference.

Key Points

  • A digital voltmeter provides accurate numerical voltage measurements.
  • The ADC converts analogue voltage into digital data.
  • A voltage divider allows higher voltages to be measured safely.
  • Calibration improves measurement accuracy.
  • A digital voltmeter is an essential instrument for every electronics laboratory.

Next Project

Continue by building a Digital Ammeter, where you'll learn how to measure current using shunt resistors, Hall-effect sensors and analogue-to-digital conversion.

Next Project → Digital Ammeter