Maybe this is the first tutorial using REKA:BIT. 😁 So I decide to build a simple automatic dustbin. When the sensor detects an object distance of less than 10cm, the servo motor will open the cover for 5 seconds.
This video shows how automatic dustbin works with REKA:BIT.
This is the list of items used in the video.
This sample program is using MakeCode. Before that you need to add the extension of “rekabit” and “grove”.
- REKA:BIT – Simplifying Robotics with micro:bit
Thanks for reading this tutorial. If you have any technical inquiries, please post at Cytron Technical Forum.
“Please be reminded, this tutorial is prepared for you to try and learn.
You are encouraged to improve the code for better application.“