Cytron Technologies
Giờ làm việc: 8:00 - 17:00
Thứ 2 - Thứ 6 (trừ ngày lễ)
Hotline 0362917357
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”.
References:
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.“