รู้จักสินค้านี้
DC 0-25V Standard Voltage Sensor Module Test Electronic Bricks Smart Robot for arduino Diy Kit
Introduction:
This module is based on a resistive divider principle design, make the interface terminal input voltage reduced 5 times, Arduino analog input voltage up to 5V, then the input voltage of the voltage detection module can not be greater than 5V × 5 = 25V (if used 3.3V system, the input voltage can not exceed 3.3Vx5 = 16.5V). Because A rduino AVR chips used in 10 AD, so the resolution of the analog module is 0.00489V (5V / 1023), so the voltage detection module detects a minimum input voltage of 0.00489V × 5 = 0.02445V.
Parameter:
Voltage input range: DC0-25V
Voltage detection range: DC0.02445V-25V
Voltage analog resolution: 0.00489V
Wiring:
DC input connector:
the positive terminal connected to VCC,
the negative connected toGND
Output interface:
"+" is 5 / 3.3V,
"-" then GND,
"s" Arduino connected to the AD pin
Reference 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);
}
Before purchase:
1.All the goods are ready stock, we will arrange the shipment at once if we receive the order.
2.Please read the item description, if you have any question, do not hesitate to contact us.
3.Use the vouchers for more saving.
Shipment:
1.1-2 days to ship(except for the pro-order item)
2.If you have not received the item after 15 days shipment,Please contact us.
After purchase:
1.If you are satisfied,please give us 5 stars praise.
2.Please contact us before you are going to give us bad review. We are helpful and will solve the problems.
if you receive a defect item,please contact us at once with item picture or vide
#DC #0-25V #Standard #Voltage #Sensor #Module #Test #Electronic #Bricks #Smart #Robot #for #arduino #Diy #Kit