Shopping Cart

Your cart is empty.

Your cart is empty.

Voltage Sensor Dc0-25v for Arduino with Code(Pack of 2pcs)

Free shipping on orders over $29.99

$5.49

$ 1 .99 $1.99

In Stock

About this item

  • Voltage input range: DC0-25V
  • Voltage detection range: DC0.02445V-25V
  • Voltage Analog Resolution: 0.00489V
  • DC input connector: Terminal cathode connected to VCC, GND negative pole
  • Output interface: "+" then 5/3.3V, "-" then GND, "s" then the Arduino AD pins



Product Description

Description:

This module is based on a resistive divider principle design, make the interface terminal input voltage reduced 5 times, Arduino analog input voltage up to 5V, then the input voltage of the voltage detection module can not be greater than 5V × 5 = 25V (if used 3.3V system, the input voltage can not exceed 3.3Vx5 = 16.5V). Because Arduino AVR chips used in 10 AD, so the resolution of the analog module is 0.00489V (5V / 1023), so the voltage detection module detects a minimum input voltage of 0.00489V × 5 = 0.02445V.

Voltage input range: DC0-25V

Voltage detection range: DC0.02445V-25V

Voltage Analog Resolution: 0.00489V

DC input connector: Terminal cathode connected to VCC, GND negative pole

Output interface:

+ 5V or 3.3V

- GND

S Arduino AD pins

Package included:

2 X Voltage Sensor

DC0-25V Voltage Sensor Tester Terminal for Arduino Raspberry Pi

VCC: Positive terminal of the voltage to be measured (0-25V)

GND: Negative terminal of the voltage to be measured

S : Analog Input of Arduino

+ : Not connected (N/C)

- :GND of Arduino

DC0-25V Voltage Sensor Tester Terminal for Arduino Raspberry Pi

DC0-25V Voltage Sensor Tester Terminal for Arduino Raspberry Pi


BikerBud
2025-09-02 12:47:32
Fairly accurate (+/- 0.10v). It's hard to find anything on the net about this sensor if you are new to Arduino. But after searching the interwebs, and experimenting, this is my final result on an Arduino UNO:- pin hooks to ground+ pin not useds pin hooked to pin A0 (Analog 0)Then I tinkered with the following code:int analogInput = A0; //Change if not connected to pin A0float vout = 0.0; //do not changefloat vin = 0.0; //do not changefloat R1 = 30000.0; //onboard resistor 1 valuefloat R2 = 7500.0; //onboard resistor 2 valueint svalue = 0; //do not changevoid setup(){ pinMode(analogInput, INPUT); Serial.begin(9600); } void loop(){ svalue = analogRead(analogInput); //this reads the value from the sensor vout = (svalue * 5.0) / 1024.0; vin = vout / (R2/(R1+R2)); Serial.print(vin,2); // prints the voltage Serial.println(" volts DC"); // prints the words "volts DC" delay(1000); //delay loop for 1 sec }This code will give you results in the serial monitor. Make sure to set your baud to 9600.I haven't figured out how to calibrate the module yet. I'm assuming I'll just add or subtract some from the vin variable depending on which way I the sensor is off.Hope this helps anyone else out there,
J. Singer
2025-07-04 11:57:03
The are ok and somewhat accurate.
SpeedD408
2025-06-23 09:46:33
I bought this for one of my first Arduino designs. As part of my first program it works great.
JAdcock
2025-06-03 12:23:48
These are good voltage sensors. Easy to use and seem to be reliable.
Steve in Monterey
2025-05-17 15:17:33
And the internal voltage varies.If you use your Arduino only for voltage measurements, and your power supply is stable, you will get consistent results. However, if you do anything which requires output the results can be quite unreliable. I am controlling a small relay (one of the blue ones you see from a dozen different Amazon sellers). Just turning the relay on and off changes a voltage reading of 13.06 V to 13.33 V. The error of 0.27 V is 55 times bigger than the claimed precision!Yes, precision is not accuracy, but this was still a bit of a shock. To be clear, the relay's power output is NOT drawing anything from the Arduino. Just switching the relay creates this effect.As you can see in the code from BikerBud (thank you for that!), any error in reference voltage is multiplied by 5. In my case the bottom-line error of 0.27V would have been caused by just a 0.054 drop in voltage on the Arduino.I plan to solve this by using an LM4040-based voltage reference and comparing the two voltages. My mistake for not looking at this product more carefully. It doesn't "sense" voltage. It's just a voltage divider which relies on the Arduino to do the voltage comparison.
Chao Yang
2025-04-13 18:48:16
I like it so much
Flower
2025-03-10 15:29:26
works as described, accurate enough for battery low voltage sensor.
ian Drone
2025-01-27 13:26:09
Easy to use with Raspberry via ADC but for need for programmatical corrections. Now, I can collect real time measures of voltage with decent accuracy while collecting multiple sensory data.
Customer
2025-01-03 14:23:18
Perfectly worked.
harish
2024-12-03 18:20:10
Good product
Anandan MS
2024-11-29 17:56:47
If u are selling just 1 unit of the module stop confusing ppl with 2 units in the pic. Seller hasnt mentioned anywhere that the price is for single module. Most ppl wont mind it after acceptung delivery. But what a terrible way to exploit customers.