Effect Demonstration Example for micro:bit
The micro:bit dot matrix screen displays temperature and humidity data in real time. Place your finger on the temperature and humidity sensor to simulate the temperature rise inside the compost bin. When the temperature exceeds the set value, the compost bin will rotate automatically. When the temperature drops below the set value, the compost bin will stop rotating.
Demonstration Video
Hardware Diagram
| SENSOR | PIN |
|---|---|
| Temperature Interface | P0 |
| Humidity Interface | P1 |
| 360° Servo (Geekservo) | M1 |
Example Code
Mind+ Upload Mode User Library Link for Building Block Expansion Board

Download the Example Code
Composting Tumbler for microbit.mpcode
Was this article helpful?

