#23 Trash Tech Project With micro:bit
13 Jun 2025
Categories
Recent Post
16 June 2025
13 June 2025
12 June 2025
Featured Products
PicoBricks Pi Pico W Main Board: Meet Robotic Coding
PicoBricks Base Kit: Robotics Project Starter Kit
The Trash Tech Kit is an educational robotics programming kit designed to gain environmental awareness in children.
The Trash Tech is a fun kit that allows you to assemble the wooden pieces, sensors, and PicoBricks modules included in the set as specified in the installation guide. The goal of the project is to create an electronic trash bin that opens its lid by detecting objects using the HC-SR04 distance sensor located at its front.
In this project, we detect the distance of our hand using the HCSR04 distance sensor and move the servo motor connected to the motor driver to the desired angle. This way, the lid of the trash bin opens.
You can prepare this project by breaking the PicoBricks modules at suitable points.
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
#Trash Tech Project from microbit import * from picobricks import * # Function Initialization motor = motordriver() display.show(Image.HAPPY) while True: distance = measure_distance() if distance<9 and distance>1: display.show(Image.YES) motor.servo(1,90) sleep(2000) motor.servo(1,180) sleep(200) else: motor.servo(1,180) display.show(Image.HAPPY) sleep(200)
Thanks for subscribing!
This email has been registered!
Edit Option
Back In Stock Notification
Compare
Product | SKU | Rating | Description | Collection | Availability | Product Type | Other Details |
---|