Description
Moisture Sensor for micro:bit
The moisture sensor allows your micro:bit to detect moisture, so if your plant is thirsty you'll know about it! or how about using one and a couple of micro:bit s to tell you when your bath has reached the correct level?
To hook this up to your micro bit you will require alligator cables alternatively you can solder headers or a screw terminal to the board to make hooking it up to your other micro-controller projects a dream.
micro:bit Sample code:
- Plant watering code (micropython)
- We've updated the code to show a raindrop on the micro:bit display when it's watering the plant and also shows a count of how many times the plant has been watered
1 Review
-
Title of review 29934
Got this for a family plant watering project during lock-down, perfect for teaching coding as well as a bit of horticulture. Beware that the feedback obtained from the moisture sensor when dry usually around 200 units off of a wet reading. The trick is to set up the loop to water when the moisture sensor reads between these two numbers!