Volts (V)
Volts (V)
Bit depth
3.3V on 10-bit, 5V ref 2.5V on ESP32 (12-bit, 3.3V)
—
ADC value
Voltage → ADC
66%
0 Mid: 50% Max
Counts
Volts (V)
Bit depth
ADC 512 on 10-bit, 5V ref ADC 2048 on ESP32 (12-bit, 3.3V)
— V
Input voltage
ADC → Voltage
50%
0V Mid: 50% Ref
Volts (V)
Ohms (Ω)
Ohms (Ω)
Volts (V)
Bit depth
12V → 1.09V, 10-bit ADC 24V → 2.18V, 12-bit ADC
— V
ADC input voltage and value
Divider
Vin 12V → R1 10kΩ → Vout 1.09V → R2 1kΩ → GND