พร้อมส่ง-Soil Moisture Sensor Module เซ็นเซอร์วัดความชื้นในดิน
ข้อมูลสินค้า
ราคา
30.00 บาท
ขายแล้ว
241 ชิ้น
ร้านค้า
พร้อมส่ง-Soil Moisture Sensor Module เซ็นเซอร์วัดความชื้นในดิน
Descriptions
1. This is a simple moisture sensor that can be used to detect soil moisture. When the soil is short of water, the module outputs a high level, and vice versa. Use this sensor to create an automatic watering device that allows plants in your garden to be left unmanaged.
2. Sensitivity adjustable (blue digital potentiometer adjustment in the figure)
3. Working voltage 3.3V-5V
4. Module dual output mode, digital output is simple, analog output is more accurate.
5. Fixed bolt hole for easy installation
6. small board PCB size: 3cm * 1.6cm
7. Power indicator (red) and digital switch output indicator (green)
8. Comparator adopts LM393 chip, stable operation
Two small board interface description (4-wire system)
1. VCC external 3.3V-5V
2. GND External GND
3. DO small board digital output interface (0 and 1)
4. AO small board analog output interface
Three instructions
1 The soil moisture module is most sensitive to environmental humidity and is generally used to detect soil moisture.
2 Module When the soil moisture does not reach the set threshold, the DO port outputs a high level, when the soil moisture exceeds the set threshold, the module D0 outputs a low level;
3 small-plate digital output D0 can be directly connected with the single-chip microcomputer, and the high-low level is detected by the single-chip microcomputer, thereby detecting the soil moisture;
4 small board digital output DO can directly drive the stores relay module, buzzer module, etc., which can form a soil moisture alarm device;
5 small plate analog output AO can be connected with AD module, through AD conversion, you can get more accurate values of soil moisture;
// Example Sketch Arduino UNO Connect Soil Moisture Sensor Module
// 3.3-5V --> Vcc
// Gnd --> Gnd
// A0 --> A0
int sensorPin = A0; // select the input pin for the potentiometer
int sensorValue = 0; // variable to store the value coming from the sensor
void setup() {
// declare the ledPin as an OUTPUT:
Serial.begin(9600);
}
void loop() {
// read the value from the sensor:
sensorValue = analogRead(sensorPin);
delay(1000);
Serial.print("sensor = " );
Serial.println(sensorValue);
}