Grove Moisture Sensor Sen92355p PDF
Grove Moisture Sensor Sen92355p PDF
Introduction This Moisture Sensor can be used to detect the moisture of soil or judge if there is water around the sensor, let the plants in your garden reach out for human help. They can be very to use, just insert it into the soil and then read it. with help of this sensor, it will be realizable to make the plant remind you : hey, i am thirsty now, please give me some water.
Specification
Item Voltage Current Min Typical Max Unit 3.3 0 / / 5 V
35 mA
Mechanic Dimensions
Schematic
Usage Hardware Installation Connect this module to one of analog connectors (eg. A0&A1) of Grove - Base Shield with the 4 pin Grove cable, and then insert the Sensor into the soil or place it anywhere you want.
Programming Includes important code snippet. Demo code like : int sensorPin = A0; // select the input pin for the potentiometer int sensorValue = 0; // variable to store the value coming from the sensor
void loop() { // read the value from the sensor: sensorValue = analogRead(sensorPin); delay(1000); Serial.print("sensor = " ); Serial.println(sensorValue); } result in different condition