Our webstore uses cookies to offer a better user experience and we recommend you to accept their use to fully enjoy your navigation.
0104110000083234
New product
Voltage Sensor Module
35 Item Items
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.
The small size development board with the...
$7.20
This battery case can hold 2 x 18650 3.7 V...
$0.96
Ideal wires for making connections for...
$1.44
M118 Relay Module (24 V) See description for...
$2.40
MQ-4 is a highly sensitive gas sensor to...
$2.40
Ideal wires for making connections between...
$1.68
See description for more details about the...
$9.60
These M3x10 mm hexagon pillar nut fits...
$0.14
3.75mm 8x8 Red and Green Bicolor LED Matrix
$4.08
This bearing can be used to provide accurate...
$0.84