Components / Sensors / Voltage sensor module (0 to 25 V)

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.

MeasuresDC voltage
Range0 to 25 V on 5 V boards, 0 to 16.5 V on 3.3 V boards
InterfaceAnalog
Watch out forNot isolated: grounds are shared
SensorsReviewedMPN Voltage sensor 25VUsed in 9 projects
VOLTAGE
In short

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.

How it works

Two resistors divide the input voltage by five so it fits the ADC range.

Key specifications

Sensor specValue
MeasuresDC voltage
Range0 to 25 V on 5 V boards, 0 to 16.5 V on 3.3 V boards
InterfaceAnalog
Watch out forNot isolated: grounds are shared

Pinout

VCC (input side)Voltage to measure, up to 25 V
GND (input side)Ground of the measured circuit
SDivided output to the ADC
+Not used on most modules
−Ground

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

Alternatives

Buy at

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.