Brazy
Tools
Back
API
Precision Engineering
ADC
Calculator
Voltage ↔ ADC Value · Resolution · Voltage Divider
Voltage → ADC
ADC → Voltage
Voltage Divider
Input Voltage
*
Volts (V)
Reference Voltage
*
Volts (V)
Resolution
*
8-bit (0-255)
10-bit (0-1023)
12-bit (0-4095)
16-bit (0-65535)
24-bit (0-16777215)
Bit depth
Arduino (10-bit, 5V)
ESP32 (12-bit, 3.3V)
STM32 (12-bit, 3.3V)
3.3V on 10-bit, 5V ref
2.5V on ESP32 (12-bit, 3.3V)
Calculate
—
ADC value
Voltage → ADC
ADC Value
—
Resolution
—
bits
Max Value
—
LSB (Volts/bit)
—
V
66%
0
Mid: 50%
Max
ADC Value
*
Counts
Reference Voltage
*
Volts (V)
Resolution
*
8-bit (0-255)
10-bit (0-1023)
12-bit (0-4095)
16-bit (0-65535)
24-bit (0-16777215)
Bit depth
ADC 512 on 10-bit, 5V ref
ADC 2048 on ESP32 (12-bit, 3.3V)
Calculate
—
V
Input voltage
ADC → Voltage
Voltage
—
V
Resolution
—
bits
Max Value
—
LSB (Volts/bit)
—
V
50%
0V
Mid: 50%
Ref
Input Voltage (Vin)
*
Volts (V)
R1 (Top)
*
Ohms (Ω)
R2 (Bottom)
*
Ohms (Ω)
ADC Reference
*
Volts (V)
ADC Resolution
*
8-bit (0-255)
10-bit (0-1023)
12-bit (0-4095)
16-bit (0-65535)
Bit depth
12V → 1.09V, 10-bit ADC
24V → 2.18V, 12-bit ADC
Calculate
—
V
ADC input voltage and value
Divider
Vout (ADC Input)
—
V
ADC Value
—
Gain (Vout/Vin)
—
Max Vin (safe)
—
V
Vin
12V
→
R1
10kΩ
→
Vout
1.09V
→
R2
1kΩ
→
GND