Auto-watering System

 You will need:

Attaching the 3V battery source to the micro:bit, connect the circuit following the diagram below:

The Python code is uploaded to my Github page.

This work is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

Credits

Images of the Octopus breakout board and moisture sensor are from the Elecfreaks website. Image of the micro:bit is from BBC. Images of the water pump and relay are from The Noun Project.