pyupm_grovemoisture module

class pyupm_grovemoisture.GroveMoisture(pin)[source]

Bases: object

API for the Grove Moisture Sensor.

Deprecated This class is being replaced by Moisture

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.

C++ includes: grovemoisture.hpp

value()[source]

int value()

Gets the moisture value from the sensor

Moisture reading