NOTE: The input voltage (voltage to be measured) is restricted to 25V.
Because Arduino AVR chips used in 10 AD, the resolution of the analog module is 0.00489V (5V / 1023), and the voltage detection module detects a minimum input voltage of 0.00489V × 5 = 0.02445V.
Size: 3.50*1.50*1.00cm
Voltage input range: DC0-25V
Voltage detection range: DC0.02445V-25V
Voltage Analog Resolution: 0.00489V
DC input connector: GND negative, VCC positive
Output interface: "+" 5V/3.3V
"-" GND
"S" Arduino AD pins
Package included:
5 X Voltage Detection Sensor
Referent Code:
#include
int val11;
int val2;
void setup()
{
pinMode(LED1,OUTPUT);
Serial.begin(9600);
Serial.println("Emartee.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);
}
Because Arduino AVR chips used in 10 AD, the resolution of the analog module is 0.00489V (5V / 1023), and the voltage detection module detects a minimum input voltage of 0.00489V × 5 = 0.02445V.
Size: 3.50*1.50*1.00cm
Voltage input range: DC0-25V
Voltage detection range: DC0.02445V-25V
Voltage Analog Resolution: 0.00489V
DC input connector: GND negative, VCC positive
Output interface: "+" 5V/3.3V
"-" GND
"S" Arduino AD pins
Package included:
5 X Voltage Detection Sensor
Referent Code:
#include
int val11;
int val2;
void setup()
{
pinMode(LED1,OUTPUT);
Serial.begin(9600);
Serial.println("Emartee.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);
}