This project focuses on a network of interconnected smart bins designed to optimize urban waste collection using IoT and AI technologies. The system uses a YOLOv8 custom model to classify waste items in real-time and control which bin compartment opens. The data is transmitted via LoRa from the nodes (bins) to the gateway and via Wi-Fi from the gateway to Firebase. A web-based dashboard provides insights into the fullness of all bins.
- YOLOv8: Custom object detection model for classifying waste items (plastic, metal, paper).
- ESP32: Microcontroller handling bin compartment decisions based on classification.
- LoRa: Long-range communication for data transmission between bins and the gateway.
- Wi-Fi: Gateway communication with Firebase for real-time data storage.
- Firebase: Cloud platform for storing bin data and providing real-time updates.
- Web-based Dashboard: Displays bin status and insights on fullness levels for optimized waste management.
- A YOLOv8 model, trained on a custom dataset, detects waste items placed in front of a camera.
- The model classifies the item into one of three categories (plastic, metal, paper) and forwards the information to the ESP32 microcontroller via serual communication.
- The ESP32 then controls which bin compartment opens to sort the waste accordingly.
- Each smart node bin monitors the fullness of its compartments and transmits this data to the gateway via LoRa.
- The gateway sends all collected data to Firebase via Wi-Fi, enabling real-time monitoring on a user friendly dashboard.
- A custom-built website provides real-time insights into the status of all bins, including compartment fullness levels and location. This helps waste management teams make informed decisions and optimize collection routes.
- ESP32 Microcontroller: Manages the waste sorting process and communicates with the gateway.
- Camera: Captures images of waste items for classification by the YOLOv8 model.
- LoRa Module: Facilitates long-range communication between bins and the gateway.
- Gateway: An ESP32 Microcontroller that connects to Wi-Fi and transmits data from all bins to Firebase.
- Python 3.x: Used for the YOLOv8 model and data processing.
- YOLOv8: Custom-trained model for waste classification.
- Firebase Account: Stores data on bin statuses and provides cloud-based analytics.
- Web Development Tools: For building and deploying the real-time dashboard.
- Set up the ESP32 with the camera for waste item detection.
- Train and deploy the YOLOv8 model to classify waste items.
- Configure the LoRa communication between bins and the gateway.
- Set up the gateway to transmit data to Firebase via Wi-Fi.
- Deploy the web-based dashboard for real-time monitoring of bin statuses.
- Place a waste item in front of the camera.
- The YOLOv8 model classifies the item and sends the result to the ESP32, which opens the corresponding bin compartment (plastic, metal, paper).
- The bin also tracks the fullness of each compartment and sends this data to the gateway via LoRa.
- The gateway transmits bin data to Firebase via Wi-Fi, and the web-based dashboard provides real-time updates on bin fullness levels, helping optimize collection schedules.
- AI Optimization: Integrate predictive models to optimize waste collection routes further.
- Cloud-based Analytics: Enhance the dashboard with more advanced reporting and data analytics.
- Scalability: Expand the system to cover larger areas with more bins and gateways.