Skip to main content

Sugar Soil Moisture Sensor

Soil moisture sensor, used to detect soil humidity. The Miaoji soil module uses capacitive soil sensing technology, which is corrosion-resistant. When the humidity increases, the analog value returned becomes larger.
soil.png

Parameters


Size24 x 24 x 70 mm
Weight6.7 g
SignalAnalog Input
Range0~3.3V Corresponds to Micro:bit 0~1023
Detection targetSoil

Wiring


Connect the light sensor module to P1 on the Robotbit Edu using a 3-pin terminal cable.

(Only P0, P1, and P2 pins can be connected, as they support analog read functionality.)

After turning on the Robotbit power, you will see the red light at the bottom of the soil module illuminate (indicating the module is powered normally).
![image.png](方糖 土壤传感器.assets/1634634849400-80cfdda4-b29b-483f-99b8-14ce5faf4b40.png)

Programming

#Plant Watering Reminder

When the soil is relatively dry, display a crying face; normally display a smiling face.
image.png