Rain Detection Sensor Module + สาย Jumper
รายละเอียดสินค้า
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:
- It monitors the digital output from the module and...