An IoT-enabled smart waste management system that automatically segregates waste into biodegradable and non-biodegradable categories using machine learning and real-time monitoring.
- Automated waste classification using Convolutional Neural Networks (96.13% accuracy)
- Real-time bin capacity monitoring using ultrasonic sensors
- Web-based dashboard for waste management analytics
- Automated notifications for bin capacity alerts
- Integrated servo motor system for physical waste segregation
- Cloud-based processing using AWS EC2
- Raspberry Pi 3B
- IR Sensor for waste detection
- Ultrasonic Sensors (HC-SR04) for bin level monitoring
- Servo Motor (MG 996R) for waste sorting
- USB Camera (640x480 resolution)
- Backend: AWS EC2 (t3.micro instance)
- Database: SQLite
- Web Framework: Flask
- Machine Learning: CNN model with 9.86M trainable parameters
- Dataset: Kaggle's "Non- and Biodegradable Waste Dataset"
- Real-time bin capacity monitoring
- Waste distribution visualization (pie chart)
- Recent activity log (last 6 classifications)
- Weekly usage trends graph
- Automated capacity alerts
-
Hardware Assembly
- Mount the USB camera above the waste platform
- Position the IR sensor on the side of the platform
- Install ultrasonic sensors in each bin compartment
- Connect the servo motor to the waste platform
- Wire all components to the Raspberry Pi 3B
-
Software Setup
# Clone the repository git clone https://github.com/projects506/SmartBin-ML-Based-Waste-Classifier # Install dependencies pip install -r requirements.txt # Configure AWS credentials aws configure # Start the application python app.py
-
AWS Configuration
- Launch t3.micro EC2 instance
- Configure security groups
- Deploy Flask application
- Set up database
- IR sensor detects waste placement
- USB camera captures waste image
- Image is sent to AWS backend for classification
- ML model categorizes waste
- Servo motor directs waste to appropriate bin
- Dashboard updates with new data
- Capacity monitoring runs continuously
- Classification Accuracy: 96.13%
- Image Processing Time: 0.5-1 second
- Servo Motor Operation: 1-2 seconds
- Real-time Updates: Every 5 minutes
This project is licensed under the Apache License 2.0