Effect Demonstration Example for micro:bit
This is an intelligent drip irrigation system.Pour water into the rainwater collection tank to simulate the process of collecting rainwater on rainy days.The micro:bit dot matrix screen displays the water level.When the water volume in the tank exceeds the set water level and the soil moisture is below the set value, the water pump starts working.Water drips from the dropper until the soil reaches the set moisture level. Then the pump stops and the drip irrigation is completed.
Demonstration Video
Hardware Diagram
| SENSOR | PIN |
|---|---|
| Water Level Sensor | P0 |
| Soil Moisture Sensor | P1 |
| Water Pump | M1 |
Example Code
Mind+ Upload Mode User Library Link for Building Block Expansion Board

Download the Example Code
Drip Irrigation Example code for microbit.mp
Was this article helpful?

