Voltage sensor module (0 to 25 V)
A 30 k / 7.5 k divider that scales up to 25 V down to 5 V for an analog pin.
What is the Voltage sensor module (0 to 25 V) and what is it used for?
A 30 k / 7.5 k divider that scales up to 25 V down to 5 V for an analog pin. Makers use it for reading battery voltage.
Two resistors divide the input voltage by five so it fits the ADC range.
Key specifications
| Sensor spec | Value |
|---|---|
| Measures | DC voltage |
| Range | 0 to 25 V on 5 V boards, 0 to 16.5 V on 3.3 V boards |
| Interface | Analog |
| Watch out for | Not isolated: grounds are shared |
Pinout
How to use it
It is a 30 kΩ and 7.5 kΩ divider, so multiply the ADC voltage by 5. On a 3.3 V board the maximum input is about 16.5 V. The measured circuit's ground becomes your board's ground.
Applications
Builds that use it
Servo needle voltmeter
Battery voltage checker
RC car telemetry over LoRa
Lead-acid battery health checker
Motor thrust test stand
Adjustable bench supply from an LM317
Frequency to voltage tachometer
Battery voltage data logger
Alternatives
- INA226 current and power monitorMeasures voltage and current precisely up to 36 V
- ADS1115 16-bit ADC moduleHigher-resolution ADC for the divided signal
Common questions
What is the Voltage sensor module (0 to 25 V) used for?
In maker projects: reading battery voltage.
How does the Voltage sensor module (0 to 25 V) work?
Two resistors divide the input voltage by five so it fits the ADC range.
How do I connect the Voltage sensor module (0 to 25 V) to an Arduino or ESP32?
Analog. Pins: VCC (input side) (Voltage to measure, up to 25 V), GND (input side) (Ground of the measured circuit), S (Divided output to the ADC), + (Not used on most modules), − (Ground).
What can I use instead of the Voltage sensor module (0 to 25 V)?
INA226 current and power monitor and ADS1115 16-bit ADC module.
