Building a Voltmeter Using Voltage Divider and ADC
1. AIM
To design and build a digital voltmeter using a voltage sensor (or voltage divider) and an Analog-to-Digital Converter (ADC) to measure and display voltage.
2. What is a Voltmeter
A voltmeter is an electronic instrument used to measure the potential difference (voltage) between two points in an electrical circuit .
A digital voltmeter converts analog voltage into digital value that can be displayed on screen.
3. Components Required
| Component | Function |
|---|---|
| Voltage Divider | Reduce the input voltage to a safe level |
| ADC | Converts analog voltage into digital volatage |
| Resistors | Used to construct the voltage divider |
4. Block Diagram
flowchart TD
A["Input DC Voltage"] --> B["Voltage Divider"]
B --> C["ADC(Analog-to-Digital Converter)"]
C --> D["Microntroller"]
D --> E["Digital Voltage Display"]
5. Working Principle
- The input voltage is connected to the voltage sensor or voltage divider
- The voltage divider reduces the voltage to a safe range for the ADC
- The ADC converts the analog voltage into a digital number
- The microcontroller reads the digital value
- The microcontroller calculates the original input voltage
6. Voltage Divider
A voltage divider consists of two resisters connected in series.

The output is calculated using:
- = input voltage
- = voltage sent to the ADC
- = upper resistor
- = lower resistor
For example, using and
7 Analog-to-Digital Converter (ADC)
An ADC converts to a continuous analog voltage into a digital number.
For a 10-bit ADC:
For an ideal 10-bit ADC using 5V reference, the approximate ADC input voltage is:
The original input voltage can be calculated as:
For the resistor values above:
8 Applications
Digital voltmeters using ADCs are used in battery monitoring systems, power supplies etc. I use this in my flight controller for a model rocket (ongoing).
Connections
Linked from