Close
0%
0%

EWNA Hackathon Team Trash

Sustainability

Similar projects worth following

Hi, welcome. We are Team 11 or known as Team Trash. You might be wondering why we are called that, well we are currently in the Embedded World North America hackathon challenge and our challenge is to detect different types of waste and categorize them into 3 different categories (recycle, compost, and waste). 

Our design, using the innovative and powerful AI-capable Arduino UNO Q with a Logitech webcam is capable of detecting trash and using machine vision and learning to correctly categorize the incoming trash that brought by  a conveyor belt. Our design closely mimics real-world problems and solutions of sorting trash where sustainability is brought into the question.

As engineering and computer science students from the University of California, Irvine, we used previous taught techniques and methods from our classes to solve this challenge. Leveraging previous coding and AI assignments, and utilizing experiences from past personal projects.

final project.jpg

final build

JPEG Image - 2.47 MB - 09/23/2026 at 21:09

Preview

machine vision detection (plastic).jpg

an instance of where the webcam with a machine vision code was detecting plastic on the conveyor belt

JPEG Image - 259.81 kB - 09/23/2026 at 18:38

Preview

testing ai vision.jpg

Cory and Ruize testing out the machine vision and seeing the results on Ruize's laptop.

JPEG Image - 916.40 kB - 09/23/2026 at 18:34

Preview

software flowchart.png

flowchart of the code that shows the entire process and run-down of the code and the machine vision

Portable Network Graphics (PNG) - 79.19 kB - 09/23/2026 at 18:36

Preview

arduino breadboard setup.jpg

this is the real-life build of the oled display with the arduino uno q

image/jpeg - 1.58 MB - 09/23/2026 at 18:27

Preview

View all 8 files

  • 1 × Arduino UNO Q Main Microcontroller
  • 1 × Conveyor Belt A servo-controlled conveyor belt to actively move items.
  • 1 × Adafruit SSD1306 OLED Display A 128x64 OLED display that will display the detected components.
  • 1 × Logitech C270 HD Webcam
  • 1 × Breadboard Electronic Components / Misc. Electronic Components

View all 6 components

  • Final Steps

    Isaac Meyer5 hours ago 0 comments

    1:30PM

    We are reaching the end of the allocated time we have for this project. We have chosen a model and tuned our outputs to vary a bit depending on the parameters we are reading from the image so we can get a slightly more accurate reading/prediction of the trash we are sorting.

    We have had Ruize and Isaac working on the model's vision and determination of class of trash that we are presenting it with. They also worked on getting the python code files to successfully launch the camera and call on the bridge functions to start the communication channel between the MPU and MCU.

    Cory and Matthew worked on the hardware side of things by setting up the physical connection between the board and external components as well as setting up our conveyer belt and camera to get the best angle we could find to look over the trash we were putting onto the display.

    Currently we are done with all the individual components of the project and it is just the connection of the pieces that we are currently working on.

  • Integration and Testing

    Cory Tsana day ago 0 comments

    4:54 PM - A few hours after the initial log, the separate pieces of our project have moved forward.

    On the software side, Isaac and Ruize are testing different Roboflow datasets between an Identification and Classification model.  They ran the training for our YOLO model, and the initial validation metrics partially work. Matthew decided that downloading and combining multiple datasets may help with accuracy.  While waiting, we looked into other potential methods for recognition and came across Vision Language Models such as Moondream and SmolVLM.  Given our hardware specifications, it was decided that we would stick with the CNN.  During training, Ruize determined the model would take too much time to train with extra datasets so we’ve decided on a pre-trained model with slight modifications on accuracy readings.  

    Meanwhile, Cory is finalizing the serial communication between our Python environment and the Arduino UNO Q with the OLED graphic display.  The screen did not display anything for a while until Cory burned his finger on the screen.  A minute later, we were able to finally display a message.

    Our next step will be tuning the confidence levels for our readings before flashing the trained model onto the Arduino.

  • The Early Stages

    Cory Tsana day ago 0 comments

    Once the clock hit 11:05, our team immediately opened up the box and all read the challenge. After reading the prompt, we all knew what we needed to do and that was to begin researching how to accomplish this challenge that was put in front of us.

    Our team:
    Cory: Started to build the conveyor belt contraption.

    Isaac, Matthew, Ruize: Looked into different methods to achieve decent accuracy for the machine vision detection.

    Ruize: Setup the Arduino UNO Q, configuring the IDE and downloading all the necessary resources.

    While researching about the different models we could implement to solve this challenge, some of the previous knowledge from past classes had been brought up. Whether or not we used a  (CNN) or a standard LLM was a debated discussion within our team. We also were thinking on whether or not it would be a good idea to divide the R&D into two implementations and exploring whether or not it would be beneficial given the limited time-frame had. 

    We opted to go with one path, the CNN approach using Ultralytic's You Only Look Once (YOLO) vision model. By using that vision model in conjunction with different datasets from Roboflow, Ruize, Matthew, and Isaac was successful in setting up a working detection script in Python, using the webcam provided by the challenge to detect everyday items.

    On the other hand, Cory was looking at ways to improve on the conveyor belt design and placement of the webcam for the optimal viewing angle and extraction time. While also working on the logistics for the team.

    Currently, the team is still in processing of getting a good dataset and testing the of the model, while for hardware, designs are being sketched up and implemented.

View all 3 project logs

Enjoy this project?

Share

Discussions

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates