View larger
0104110000083234
New product
Voltage Sensor Module
0 Item Items
This product is no longer in stock
Warning: Last items in stock!
Availability date:
This module is designed based on the principle of resistive voltage division, which can reduce the input voltage of the terminal interface by 5 times. The maximum analog input voltage of Arduino is 5V, so the input voltage of the voltage detection module cannot be greater than 5V×5=25V (if 3.3V is used system, the input voltage cannot be greater than 3.3Vx5=16.5V). Because the AVR chip used by Arduino is 10-bit AD, the analog resolution of this module is 0.00489V (5V/1023), so the minimum input voltage detected by the voltage detection module is 0.00489V×5=0.02445V.
#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);
}
Don't delay. Buy today.
This 5 x 5 mm flexible coupling coupler is used...
$1.44
This is a XL4015 5A adjustable step-down DC-DC...
$4.08
This small SD card slot breakout board allows...
$1.05
$1.68
Micro USB Black Cable 1 m
$0.96
ESP32 Development Board with WiFi and Bluetooth...
$8.40
This is a 0 - 30 V green panel voltmeter...
$2.64
Double Adhesive Tape (2.2 cm width)
$1.20
T8 Nuts and Damping Spring (8mm diameter, 2mm...
$2.57
Electrolytic Capacitor 33 uF, 35 V
$0.12