Skip to content

dapsanz/SmartSort

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

10 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

SmartSort: AI-Powered Recycling Bot SmartSort is an AI-driven recycling assistant that automatically detects recyclable items like plastic bottles and aluminum cans, helping promote smarter and cleaner recycling.

๐Ÿ“š Inspiration Walking around campus, we noticed many recyclable items being tossed into the trash. We wanted to create a system that uses AI to recognize recyclable materials and sort them correctly, making recycling easier for everyone.

๐Ÿš€ What It Does Uses a camera and a trained YOLOv8 model to detect objects.

Classifies items as:

Plastic Bottle

Aluminum Can

General Waste

Activates a servo mechanism to direct items into the recyclable bin.

Lights up an LED indicator when a recyclable item is detected.

๐Ÿ› ๏ธ How We Built It Dataset: Collected custom images + used online datasets.

Model Training: Trained a YOLOv8 model on the Mason Hopper Cluster.

Deployment: Deployed the model to a Raspberry Pi connected to a camera.

Hardware: Used servos and an Arduino to display a welcome message.

๐Ÿง  Challenges We Ran Into Difficulties in reliable communication between Raspberry Pi and Arduino (sending signals).

Mechanical challenges: initial design with a rotating platform using a stepper motor failed due to torque issues; had to redesign for stability and simplicity.

๐Ÿ† Accomplishments Successfully trained and deployed an accurate object detection model.

Built a real-world AI-powered sorting mechanism.

Integrated real-time LED feedback for users.

Overcame major technical and mechanical obstacles to deliver a working prototype.

๐Ÿ“– What We Learned Persistence matters โ€” things rarely go exactly as planned.

Adaptability is crucial โ€” sometimes redesigning is the best path forward.

Team collaboration โ€” combining AI, hardware, and mechanical design required strong cross-functional teamwork.

๐Ÿ”ฎ What's Next Add multiple servo mechanisms to sort into three separate bins (bottles, cans, waste).

Refine the design for better durability and aesthetics.

Further fine-tune the model for real-world conditions.

Deploy SmartSort in public spaces like universities, airports, and parks.

๐Ÿ› ๏ธ Built With Python

Raspberry Pi

Arduino

Roboflow

YOLOv8

๐ŸŽฏ Try It Out Want to build your own SmartSort? Here's how you can get started:

Requirements Raspberry Pi (any 4GB+ model recommended) Raspberry Pi Camera Module (or compatible USB camera) Arduino (Uno, Nano, or similar) Servo motors LED (optional for feedback) Jumper wires, breadboard, power supply 3D printed or cardboard frame (for building the sorting mechanism)

Installation

  1. Clone the Repository

git clone https://github.com/cheyennebejj123/smartsort.git

  1. Install Required Python Libraries

pip install -r requirements.txt

  1. Set Up the Camera

  2. Enable camera support on Raspberry Pi (raspi-config).

  3. Test the camera using raspistill or a simple OpenCV script.

  4. Upload Arduino Code and rasbperry PI

  5. Run SmartSort

python smartsort.py

  1. Place an Item

Hold a plastic bottle, can, or trash item in front of the camera.

Watch SmartSort detect the item and automatically sort it into the correct bin

About

Smart sorting trash can that detects cans and bottles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages