Micro:bit Soil Moisture Sensor
£9.99 excl VAT
This simple soil moisture sensor uses the BBC micro:bit to estimate the amount of moisture content and display it on the LED matrix screen. The sensor works by measuring a voltage related to the conductance of the soil and using it to estimate the amount of moisture in the soil.
The kit comes with the code you need to make the BBC micro:bit measure the moisture level, however, you can edit it to suit your own needs, or encourage your students to work out how to programme it themselves from scratch.
- 2 x 100 mm nails
- 1 x 500mm green input cable
- 1 x 500mm red/black power cable
- 1 x 500mm black GND cable
- 2 x crocodile clip connectors
- 2 x acrylic spacers
Click the links below to download the code for this product. The download is a zip folder containing a PDF and images of the code as well as the hex file that can be opened in the micro:bit code editor at www.pxt.io
Measuring the Soil Moisture Level Zip
Measuring the Soil Moisture Level PDF
This code uses the micro:bit soil moisture sensor to display the moisture level of the soil as a percentage on the micro:bit LED matrix.
Plant Watering System Zip
This code uses the micro:bit soil moisture sensor and the micro:bit water pump to maintain a healthy soil moisture level of a plant. Use the buttons to control the water pump a view the soil moisture level.