Micro:bit Automatic Trash Bin
- Chris Wong
- Aug 16, 2022
- 1 min read
Stay away from germs and build an automatic trash bin using Arduino/Microbit. The bin opens its lid once sensing your approaching at a set distance. The NeoPixel color effects show different the status of the bin. Install a LCD screen for some extra flair.

Age: 8+;
Category: Robotics;
Language: Microsoft Makecode;
What to learn:
Using a Servo Motor;
Measure Distance with Micro:bit;
Code a NeoPixel Ring;
Write a code to control the servo to open a trash bin when a user is detected.
Hardware assembly & wiring
Comments