ข้อมูล
น้ำหนัก
บาร์โค้ด
ลงสินค้า
อัพเดทล่าสุด
รายละเอียดสินค้า

Rain Detection Sensor Module + สาย Jumper

เซนเซอร์ตรวจจับน้ำฝนพร้อมสาย Jumper สามารถอ่านค่าเป็น Digital หรือ Analog ได้

Specifications:

-The working voltage of 3.3 V to 5 V
-The output format: digital switch output (0 and 1) and analog AO voltage output;
-Has a fixed bolt hole, convenient installation
-Small board PCB size: Approx. 3.2 cm x 1.5 cm
-The LM393, use of wide voltage comparator

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.

Rain Sensor Module Arduino Sketch

The sketch below does a couple of things:

  1.  It monitors the digital output from the module and makes the decision that it is raining if the digital output goes low.
  2. It measures the analog output and provides a moisture level, where 1023 is high and where 0 is very wet.

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);

}
เงื่อนไขอื่นๆ
Tags

วิธีการชำระเงิน

ธนาคารออมสิน สาขาเกษตรสมบูรณ์ เผื่อเรียก
บมจ. ธนาคารกสิกรไทย สาขาถนนสนามบิน (โลตัสชัยภูมิ) ออมทรัพย์
ธนาคารกรุงเทพ จำกัด (มหาชน) สาขาชัยภูมิ สะสมทรัพย์
บมจ. ธนาคารกรุงไทย สาขาถนนหฤทัย ออมทรัพย์
พร้อมเพย์ สาขา- -
Scan this!
นันทวัฒน์ รัตนมงคล
065-xxxxxx-9
Accept All Banks | รับเงินได้จากทุกธนาคาร
รายการสั่งซื้อของฉัน
เข้าสู่ระบบด้วย
เข้าสู่ระบบ
สมัครสมาชิก

ยังไม่มีบัญชีเทพ สร้างบัญชีใหม่ ไม่มีค่าใช้จ่าย
สมัครสมาชิก (ฟรี)
รายการสั่งซื้อของฉัน
ข้อมูลร้านค้านี้
ร้านAR Robot
AR Robot
จำหน่ายอุปกรณ์ อิเล็กทรอนิกส์ , ระบบไฟฟ้า , ระบบกล้องวงจรปิด ติดตั้งระบบไฟฟ้าและเครือข่ายคอมพิวเตอร์ อุปกรณ์คอมพิวเตอร์ ระบบนิวเมติกส์ จำหน่ายอุปกรณ์หุ่นยนต์ ชิ้นส่วน 3D
เบอร์โทร : 0879185008
อีเมล : ์Nantawat21rat@gmail.com
ส่งข้อความติดต่อร้าน
เกี่ยวกับร้านค้านี้
สินค้าที่ดูล่าสุด
ดูสินค้าทั้งหมดในร้าน
สินค้าที่ดูล่าสุด
บันทึกเป็นร้านโปรด
Join เป็นสมาชิกร้าน
แชร์หน้านี้
แชร์หน้านี้

TOP เลื่อนขึ้นบนสุด
พูดคุย-สอบถาม