Example Code for micro:bit-Seed Germinator
This article provides comprehensive example code for using micro:bit to create a seed germinator, including hardware and software preparation, wiring diagrams, and sample programs using Mind+ and MakeCode, illustrating how sensors can help automate plant growth conditions.
Hardware Preparation
![]() |
![]() |
![]() |
|---|---|---|
| BOS0041 Air Moisture Sensor | BOS0038 Soil Moisture Sensor | BOS0011 Temperature Sensor |
![]() |
![]() |
![]() |
| BOS0017 LED Module | BOS0040 micro:bit BOSON Expansion Board | MBT0039 micro:bit |
Software Preparation
Mind+ or MakeCode
Wiring Diagram
Connection:

Other Preparation Work
Flowchart:

- Note: the preset range should be adjusted according to the specified environmental conditions.
Was this article helpful?






