Description :
This module is based on resistance points pressure principle, and it can make the input voltage of red terminal reduce 5 times of original voltage.
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 have 10 bit AD, so 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.
Voltage measuring module
$5.00Price
- Special Parameters :
1、Voltage input range : DC0-25 V
2、Voltage detection range : DC0.02445 V-25 V
3、Voltage analog resolution : 0.00489 V
4、DC input interface : red terminal positive with VCC, negative with GND
Referrence Test Code :
#include <Wire.h>
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);
}