GroveMoisture Class
- ID: grovemoisture
- Name: Moisture Sensor
- Category: liquid
- Manufacturer: seeed
- Connection: analog
- Kit: eak hak
UPM module for the Grove Moisture Sensor. This sensor can be used to detect the moisture content of soil or whether there is water around the sensor. As the moisture content increases, so does the value that is read. Note: this sensor is not designed to be left in soil nor to be used outdoors.
Item Index
Methods
Methods
GroveMoisture
(
Number
-
pin
Grove analog moisture sensor constructor
Parameters:
-
pin
NumberAnalog pin to use
Returns:
Number:
value
()
Number
Gets the moisture value from the sensor
Returns:
Number:
Moisture reading