[Holiday Notice] Please be informed that our office will be closed on September 16 in observance of a public holiday. Kindly note that all orders placed after 12:00 PM (GMT +8) on September 13 will be processed on September 17. Thank you for your understanding, and we apologize for any inconvenience caused.
Automatic Dustbin Using REKA:BIT

Automatic Dustbin Using REKA:BIT

Introduction

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.

Video

This video shows how automatic dustbin works with REKA:BIT.

Hardware Preparation

This is the list of items used in the video.

Sample Program

This sample program is using MakeCode. Before that you need to add the extension of "rekabit" and "grove".

makecode

Thank You

References:

  • 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 a better application."

Related Products

RC Servo Motor (Metal Gear) -50%
x 1 unit(s)