รถเข็นของคุณว่างเปล่า!
![Automatic Dustbin Using REKA:BIT Automatic Dustbin Using REKA:BIT](https://static.cytron.io/image/tutorial/automatic-dustbin-using-rekabit/Rekabit-Automatic-Dustbin.jpg)
Automatic Dustbin Using REKA:BIT
- Idris Zainal Abidin
- 23 Jun 2021
- 1327
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.
- REKA:BIT - Simplifying Robotics with micro:bit
- Grove - Ultrasonic Ranger
- RC Servo Motor (Metal Gear)
- Aluminum 25T Servo Horn Arm (Red)
Sample Program
This sample program is using MakeCode. Before that you need to add the extension of "rekabit" and "grove".
![makecode](https://static.cytron.io/image/tutorial/automatic-dustbin-using-rekabit/MakeCode-1024x576.png)
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."
สินค้าที่เกี่ยวข้อง
RC Servo Motor (Metal Gear)
Discontinued
x 1 หน่วย
Aluminum 25T Servo Horn Arm (Red)
Discontinued
x 1 หน่วย
REKA:BIT (with micro:bit V2 included) - Simplif...
ไม่สามารถใช้ได้
x 1 หน่วย
Grove - Ultrasonic Ranger
ไม่สามารถใช้ได้
x 1 หน่วย