EARTH unit is a Soil Moisture Sensor for measuring the moisture in soil and similar materials.
The soil moisture sensor usage is pretty straight forward, the two large exposed pads function as probes for the sensor, together acting as a variable resistor.
The higher moisture that is in the soil means the better the conductivity between the two so that the sensor will result in a lower resistance, and a higher SIG out.
You can read the moisture in soil by using the ADC. Inside this Unit we've added an extra potentiometers to change the measurement range.
Product Features
Adjustable threshold, including 10K adjustable resistor
1.EasyLoader is a simple and fast program burner. Every product page in EasyLoader provides a product-related case program. It can be burned to the master through simple steps, and a series of function verification can be performed. .
After downloading the software, double-click to run the application, connect the M5 device to the computer through the data cable, select the port parameters, click "Burn" to start burning. (For M5StickC burning, please Set the baud rate to 750000 or 115200)
PinMap
M5Core(GROVE B)
GPIO36
GPIO26
5V
GND
EARTH Unit
AnalogSignal Pin
DigitalSignal Pin
5V
GND
Schematic
Mdouel Size
Example
Arduino
The code below is incomplete. To get the complete code, please click
here