DC Voltage Sensor Module

----

The DC Voltage Sensor is based on principle of resistive voltage divider design and can measure DC Voltages in the range of 0.025 – 25.0 V with a step resolution of 25mV in input voltage.

Out of stock

Join Waitlist

Description

DC Voltage Sensor works with Arduino analog input voltages up to 5 v, the voltage detection module input voltage should not exceed 5Vx5=25V (if using 3.3V systems, input voltage should not exceed 3.3Vx5=16.5V). Most AVR chips have 10-bit AD, so this module simulates a resolution of 0.00489V (5V/1023), so the minimum voltage of input voltage detection module is 0.00489Vx5=0.02445V.

DC Voltage Sensor Specifications

  • Voltage input range : DC 0-25 V
  • Voltage detection range : DC 0.02445 V – 25 V
  • Voltage analog resolution : 0.00489 V
  • Output Interface : “+ ” connected 5/3.3V, “-” connected GND, “s” connected Arduino AD pins
  • DC input interface : Vcc terminal positive with VCC, GND negative with GND

Connecting

  • Pin Vcc in the Sensor –> +5V in Arduino
  • Pin GND in the Sensor –> GND in the Arduino
  • Pin S in the Sensor –> Analog pin in Arduino such as A1

Code

int val11;
int val2;

void setup()
{
pinMode(LED1,OUTPUT);
Serial.begin(9600);
Serial.println(“www.tdegypt.com”);
Serial.println(“Voltage: “);
Serial.print(“V”);
}

void loop()
{
float temp;
val11=analogRead(1);
temp=val11/4.092;
val11=(int)temp;
val2=((val11%100)/10);
Serial.println(val2);
delay(1000);
}

Additional information

Weight5 g