Automatic Intelligent Garbage Classification Bin
![](images/trash bin/01.jpg)
![](images/trash bin/02.jpg)
![](images/trash bin/03.jpg)
![](images/trash bin/04.jpg)
Project Source
Xingke Yang and his teammates participated in the biennial "Engineering Practice and Innovation Ability Competition of Chinese College Students" in 2020. Based on the functional requirements of the "Intelligent Garbage Classification Project", they invented an intelligent garbage classification bin.
Project Description
Utilizing intelligent image recognition and control algorithms, along with an infinite-degree-of-freedom flap structural design, this intelligent garbage classification bin can intelligently identify, compress, classify, and store common household garbage. In addition, it has a full-load warning function and is equipped with a high-brightness display that supports video and picture playback in multiple formats and displays various data in the garbage bin. Garbage is categorized into "recyclable waste, kitchen waste, hazardous waste and other waste".
Project Work Structure
■External Device Design■Control Algorithm
- Initialized the configuration for the above peripherals, request the camera to obtain the recognition result, utilized two recognitions to de-jitter, and selected and judged the returned ID value to determine the type of garbage to execute the corresponding function of the throwing function.
- Stored the key information in the EEPROM memory for recording and storage and sent different garbage corresponding character messages to the Raspberry Pi for display through the serial port.
- Utilized the relevant library functions to call the video file, played the garbage classification propaganda video in a loop, and monitored the serial port data.
- Called the prepared audio files in different garbage execution functions for voice broadcast prompts.
- Completed the garbage dumping by controlling the lowering of the telescopic push rod and controlling the angle of the steering gear.
- Sent information to the upper computer display, stored the information in the EEPROM memory and judged whether the trash can was fully loaded by querying the distance value returned by the ultrasonic sensor after delivery.
Project Result
In the actual application scenario, the accuracy of recognizing and classifying 30 kinds of common household garbage can reach 95%, and a piece of garbage can be classified and put away in about 2.5 seconds. At the same time, when the capacity of the garbage bin exceeds 80%, it will trigger a full-load alert.