This project will let you add an servo motor controller to your self-watering micro:bit project. The servo can be used to raise a flag or some sort of sign to indicate the status of your plant, and can even be located a few metres away from your self-watering plant!
The project can be run as a group activity, with one person programming the first micro:bit and their lab partner programming the second micro:bit. Alternatively, one person could program both micro:bits by having separate code in tabs within mu or Thonny editors.
In this tutorial, you'll learn to:
- Use Python to read the output from a moisture sensor
- Use mu or Thonny editors to debug your micro:bit code
- Calibrate your code to detect the right amount of moisture