Octopus Soil Moisture Sensor Brick can read the amount of moisture present in the soil surrounding it. It's a low tech sensor, but ideal for monitoring an urban garden, or your pet plant's water level. This is a must have tool for a connected garden!
This sensor uses the two probes to pass current through the soil, and then it reads that resistance to get the moisture level. More water makes the soil conduct electricity more easily (less resistance), while dry soil conducts electricity poorly (more resistance).
It will be helpful to remind you to water your indoor plants or to monitor the soil moisture in your garden. The Freaduino Sensor Shield is the perfect shield to connect this senor to Arduino. Or Freaduino UNO which we had pre-stray Octopus Brick interface.
Power supply: 3.3v or 5v
Output voltage signal: 0~4.2v
Analog output(Yellow wire)
|Moisture sensor Brick||1|
|Analog Sensor Cable||1|
Connection note:Connect this module to the P1 port on OCTOPUS:BIT.
Click the "Advanced" selection in the Makecode to check more coding selections.
We need to add a package for the coding. Click "Add package" from the bottom of the page and search"Tinker-kit" in the dialog box, then download the equivalent package.(Pointed by the red arrows below)
Program links You can also download it directly from below:
Insert this module into the soil, the value of the soil moisture content can be seen on the micro:bit.