Simple DC Voltage Sensor, VDC 0-25V
Simple DC Voltage Sensor, VDC 0-25V
Simple DC Voltage Sensor, VDC 0-25V

Simple DC Voltage Sensor, VDC 0-25V

Regular price
$2.95
Sale price
$2.95
Shipping calculated at checkout.
Quantity must be 1 or more

Simple DC Voltage Sensor, VDC 0-25V

This DC voltage sensor can detect a voltage from 0 to 25V. The sensor is based on the resistance points pressure principle, and it can make the input voltage of the terminal you read reduce 5 times from the original voltage.

See the sample Arduino sketch below.

Material: Mixture

Model Number: Sens-SimpVoltage-VDC25V
Brand Name: RobotDyn
Type: Vibration Sensor
is_customized: Yes
Output: Switching Transducer
VDC: 0-25V
Voltage analog resolution: 0.00489V
VCC: 5V/3.3V

 
The max Arduino analog input voltage is 5 V, so the input voltage of this module should be not more than 5 V x 5 = 25 V ( if for 3.3 V system, the input voltage should be not more than 3.3 V x 5 = 16.5 V ). 
 
Because the Arduino AVR chip has 10 bit AD, this module simulation resolution is 0.00489 V (5 V / 1023), and the input voltage of this module should be more than 0.00489 V x 5 = 0.02445 V.

Sketch:

int analogInput = A1;
float vout = 0.0;
float vin = 0.0;
int value = 0;
float R1 = 30000.0; 
float R2 = 7500.0;
 
void setup(){
   pinMode(analogInput, INPUT);
   Serial.begin(9600);
   Serial.print("DC VOLTMETER");
}
 
void loop(){
   // read the value at analog input
   value = analogRead(analogInput);
   vout = (value * 5.0) / 1023.0; // see text
   vin = vout / (R2/(R1+R2)); 
   
Serial.print("INPUT V= ");
Serial.println(vin,2);
delay(500);
}
Shipping $2 to most countries via Standard or ePacket: Estimated delivery time 16-26 days Review at checkout.