《AI Garbage Sorting Robot》

The Project

My project is divided into four parts. The first part introduces why garbage sorting is necessary via PPT-style format. The second part introduces the types of garbage classification and how to dispose of them properly. The third part is a test with 11 questions to check if you can correctly determine the type of each garbage. The fourth part is a small game where you can control an AI cleaning robot to collect garbage on the street. I noticed that although there are classified garbage bins in the community, neighbors are unable to properly dispose of their garbage. They explained that it was because they didn't know exactly how to divide it? Although our school has held multiple "garbage sorting starts with me" activities, when I asked my classmates how to deal with broken thermometers, they replied that it's the same as dealing with plastic bottles. So I want to create an interesting project to help everyone understand how to properly dispose of garbage in daily life. My project uses many characters and backgrounds, so I first need to use mind mapping tools to organize their inter-connections, and the sequence of their appearance and disappearance. Then I begin to design the main page style, especially the buttons, including their links and effects as clicked. After that, I start searching for images, GIFs, and music corresponding to the theme, upload them one by one to Scratch. The preparation period reaches the end. The most difficult part of coding is the garbage classification mini test. Eleven pieces of garbage need to appear randomly at the start, and has to be determined whether it is correct when the user drag it to the trash can.I initially used variables to record the costume name of the choosed garbage, and then used nested IFs to examine whether the garbage bin that dragged into is correct. If not, a note indicating the correct classification of this garbage should appear. By testing, two major errors occurred: 1) the popping note mismatch with choosed garbage, and 2) a type of garbage that may appear several times. My teacher suggested lists may be more suitable under this circumstance. Icreated a total of 5 lists, including 4 garbage classification lists and 1 question list. The question list is used to control what kind of garbage appears. Once a garbage appears, it will be deleted from the list. If the classification is incorrect, the question list will determine which note to be shown . Next, I will improve the AI garbage sorting robot. The initial design was,instead of boxes, different types of garbage should randomly appear on the streets, and AI robots needed to determine which type of garbage it was, and then put it into the corresponding garbage bin.

Scratch
Art
Education
Community

Team Comments

I chose to make this project because...

I noticed that although there are classified garbage bins in the community, neighbors are unable to properly dispose of their garbage. They explained that it was because they didn't know exactly how to divide it……

What I found difficult and how I worked it out

My project uses many characters and backgrounds, so I first need to use mind mapping tools to organize their inter-connections, and the sequence of their appearance and disappearance. Then I begin to design the main page style, especially the buttons, including their links and effects as clicked……

Next time, I would...

Next, I will improve the AI garbage sorting robot. The initial design was,instead of boxes, different types of garbage should randomly appear on the streets, and AI robots needed to determine which type of garbage it was, and then put it into the corresponding garbage bin.

About the team

  • China

Team members

  • xuanyu