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.
Parameters
| Size | 24 x 24 x 70 mm |
|---|---|
| Weight | 6.7 g |
| Signal | Analog Input |
| Range | 0~3.3V Corresponds to Micro:bit 0~1023 |
| Detection target | Soil |
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).

Programming
#Plant Watering Reminder
When the soil is relatively dry, display a crying face; normally display a smiling face.