รหัสสินค้า | A57 |
หมวดหมู่ | ความชื้นในดิน / ฝน / ระดับน้ำ |
ราคา | 25.00 บาท |
สถานะสินค้า | พร้อมส่ง |
ลงสินค้า | 25 มิ.ย. 2560 |
อัพเดทล่าสุด | 3 พ.ค. 2567 |
คงเหลือ | 91 ชิ้น |
จำนวน | ชิ้น |
Rain Detection Sensor Module + สาย Jumper
เซนเซอร์ตรวจจับน้ำฝนพร้อมสาย Jumper สามารถอ่านค่าเป็น Digital หรือ Analog ได้Pin, Control, or Indicator | Description |
---|---|
VCC | +5 Volts Power Source |
GND | Ground or negative power source |
DO | Digital Output. Goes low when moisture exceeds set threshold. |
A0 | Analog Output - Zero to five volts. The lower the voltage, the greater the moisture. |
Power LED | Indicates that power is applied |
Output LED | Illuminates when moisture has exceeded threshold set by sensitivity adjustment. |
Sensitivity Adjustment | Clockwise is more sensitive. Counterclockwise is less sensitive. |
The sketch below does a couple of things:
Copy and paste the sketch below and upload it into your Arduino.
int nRainIn = A1; int nRainDigitalIn = 2; int nRainVal; boolean bIsRaining = false; String strRaining; void setup() { Serial.begin(9600); pinMode(2,INPUT); } void loop() { nRainVal = analogRead(nRainIn); bIsRaining = !(digitalRead(nRainDigitalIn)); if(bIsRaining){ strRaining = "YES"; } else{ strRaining = "NO"; } Serial.print("Raining?: "); Serial.print(strRaining); Serial.print("\t Moisture Level: "); Serial.println(nRainVal); delay(200); }
ชำระเงินค่าสินค้าโดยการโอนเงินเข้าบัญชีด้านล่าง โดยลูกค้าสามารถโอนเงินหลังทำรายการสั่งซื้อได้ทันทีไม่ต้องรอยืนยัน
หลังจากโอนเงินแล้วสามารถแจ้งชำระเงินได้ที่ เมนูแจ้งชำระเงิน
หรือชำระเงินผ่าน PayPal โดยคลิกที่ ชำระเงินออนไลน์
หน้าที่เข้าชม | 1,830,165 ครั้ง |
ผู้ชมทั้งหมด | 799,165 ครั้ง |
เปิดร้าน | 12 ธ.ค. 2558 |
ร้านค้าอัพเดท | 8 ก.ย. 2568 |