Skip to main content

Soil Moisture Sensor

Back to article list

Sample Code

Hardware Connection: Connect the Soil Moisture Sensor to the Analog1 port of the MATRIX Mini R4.

Result: The Soil Moisture Sensor value will be shown on the OLED from 0 to 1023 (from low moisture to high moisture).