รหัสสินค้า | S0031 |
หมวดหมู่ | เซ็นเซอร์วัดโวลต์วัดกระแส |
ราคาปกติ | |
ลดเหลือ | 35.00 บาท |
น้ำหนัก | 3 กรัม |
สถานะสินค้า | พร้อมส่ง |
ลงสินค้า | 13 ธ.ค. 2560 |
อัพเดทล่าสุด | 14 ธ.ค. 2560 |
คงเหลือ | 7 ชิ้น |
จำนวน | ชิ้น |
product description :
This module is based on the principle of resistor divider designed to reduce the input voltage of the terminal interface 5 times, Arduin analog input voltage of 5V maximum, then the voltage detection module input voltage can not be greater than 5V × 5 = 25V (if used 3.3V System, the input voltage can not be greater than 3.3Vx5 = 16.5V). Because the Arduino AVR chip used for the 10-bit AD, so the module's analog resolution of 0.00489V (5V / 1023), so the voltage detection module detects the 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
DC input interface: the positive terminal of the terminal is connected to VCC and the negative terminal is connected to GND
Output interface: "+" then 5 / 3.3V, "-" connected to GND, "s" then Arduin the AD pin
ตัวอย่างโค้ด
#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);
}
หน้าที่เข้าชม | 419,689 ครั้ง |
ผู้ชมทั้งหมด | 257,597 ครั้ง |
เปิดร้าน | 5 มิ.ย. 2560 |
ร้านค้าอัพเดท | 4 ก.ย. 2568 |