
Sumiyajid Ulziibayar
First Supervisor: Myagmarjav. B
Second Supervisor: Narangarav.T
November 24, 2025
Global waste production increase by 2050 unless urgent action is taken
Garbage remains uncollected in low- and middle-income countries
Only 7% of Mongolia's 3 million tonnes of waste is recycled annually
The capital contributes nearly 60% of Mongolia's solid waste, with most ending up in open dumpsites like Nalaikh and Tsagaan Davaa landfills.
These sites pose serious environmental and health risks due to leachate contamination and spontaneous combustion.
Waste segregation is seen as a chore with little reward. Low participation rates stem from lack of incentives and sorting infrastructure.
The Nalaikh District proposed this project to modernize community waste handling through technology and behavioral design.
Design a system capable of identifying waste materials using computer vision with >90% accuracy
Establish a reward-based system to encourage consistent waste sorting through feedback and competition
The final model should be easy to maintain with scalable design, and economically feasible.
Plastic Bottles, Metal Cans, and Others (paper, cardboard, glass, organic materials)
Stepper motor and servo mechanisms for reliable physical separation into designated bins
Camera-based vision system with high-precision weight sensor for enhanced accuracy
Server-side framework for user tracking and group-based competition targeting school children
CNN inference, image processing, main controller
Motor control, sensor reading, actuation logic
User tracking, reward system, leaderboards
The system uses modular components (Raspberry Pi, ESP32) to ensure scalability and easy replication in similar community settings.
Main computing unit for user interface, information updates, and upload
Handles motor control, sensor reading, and actuation commands
Captures images for classification with integrated LED lighting
Measures item weight (5kg capacity) for enhanced classification accuracy and user progress tracking
Provides precise positioning for multi-bin sorting mechanism
Controls trapdoors or latch mechanisms for bin access
Raspberry pi
ESP-32
A4988
PCA9685
HX711
IR sensors
MPPT controller
Buck convertors
Voltage regulators
CNN model inference, image preprocessing, server communication, main control logic
Real-time motor control, sensor polling, serial communication handling, actuation sequences
Serial for Pi-ESP32, HTTP/HTTPS for server, JSON for structured data exchange
MySQL database, user dashboard, classroom leaderboards, QR code activation system
User interaction
IR sensor detects garbage
Camera captures image, load cell measures weight simultaneously
Image sent to CNN model, returns classification result in JSON format
Raspberry Pi sends command to ESP32 based on classification result
The weight of the trash is then sent to the server for user progress tracking
Custom dataset created specifically for local waste characteristics, addressing the gap in existing datasets.
Public contribution system via web interface allows continuous dataset growth and improvement.
TrashNet dataset used for baseline training with six categories: cardboard, glass, metal, paper, plastic, and trash.
Thousands of labeled images provided foundation for transfer learning approach.
All images standardized to 224×224 pixels for consistent model input
Pixel values scaled between 0 and 1 to improve convergence
Random flipping, rotation, zoom, and brightness adjustments
80% training data, 20% validation, with separate test set
Augmentation techniques simulate real-world variations in lighting and object positions, making the model more robust to environmental interference.
Learnable filters scan input to detect spatial patterns like edges and textures
ReLU introduces non-linearity, enabling complex pattern recognition
Down-samples feature maps, reducing dimensions while preserving key features
Fully connected neurons combine features for final classification
Converts scores to probability distribution across waste categories
The convolutional layer uses learnable filters (kernels) to scan the input image, generating output feature maps that detect spatial patterns.
Reduces learnable parameters compared to fully connected layers, improving computational efficiency and reducing overfitting risk.

Pooling layers perform down-sampling to reduce spatial dimensions while maintaining essential features.
Most commonly used function due to its ability to effectively map features within an image. Selects maximum value from each region.
All models pre-trained on ImageNet, enabling complex feature learning from extensive datasets.
First half of base model layers frozen to preserve learned features. New classification head added for 6-class waste problem.
Adam optimizer with 1e-4 learning rate, categorical cross-entropy loss function, 15-30 epochs with early stopping.
Class weights computed to handle imbalanced dataset, ensuring fair representation of all waste categories.


EfficientNetB0 achieved the highest classification accuracy of 91.97% on the test dataset, exceeding the 90% target. It offers the best trade-off between speed and accuracy for deployment.

EfficientNetB0 model performance on held-out test set
Balanced measure of precision and recall across all classes
Low loss indicates good model convergence and generalization
Precision and recall values exceeded 0.90 for main categories, confirming consistent performance. However, the model requires further training on Mongolian-specific waste data for reliable deployment.
When idle, Raspberry Pi displays QR code on screen. Scanning activates the system and prepares components for waste processing.
Direct camera activation available through web interface for seamless user experience.
Group-based leaderboards motivate consistent participation
Points and achievements make sorting engaging and rewarding
Visible rankings provide peer motivation and accountability
Targeting children creates long-term behavioral change
Real-time feedback reinforces positive sorting behavior
Tracks individual contributions and classroom affiliations. Links users to their total recycling weight and classroom rankings.
Maintains device locations, serial numbers, and bin configurations. Monitors device health and last connection times.
Records every disposal event with classification, weight, image URL, and user ID. Enables analytics and leaderboard generation.
Stores human corrections of AI errors. Creates feedback loop for continuous model improvement.
Robust construction to withstand outdoor conditions, resisting corrosion, impact, and fatigue for long-term operation.
Accurate sorting mechanisms with controlled movement for reliable separation of different waste categories.
Features to prevent injury during interaction, including clear interfaces and easily accessible emergency stop mechanisms.
Enclosures and components rated for extreme temperatures, precipitation, and UV exposure for reliable outdoor deployment.
Modular design allowing easy access to internal components for quick repairs, cleaning, and preventative maintenance.
Optimized dimensions for efficient space utilization in various urban and rural deployment scenarios.
The input bin and integrated weighing system underwent extensive design and testing through multiple iterations.
This iterative approach allowed us to refine the mechanical configuration for optimal performance, durability, and user interaction, resulting in the current design of the prototype.
Figure shows a 3D design drawn on cad.onshape.com that was not completed
Other smaller parts were 3D printed uniquely custom to the project.
CNN model achieved 91.97% accuracy, exceeding the 90% target requirement
Established first public Mongolian waste image database with 400+ labeled images
Developed scalable system supporting multiple deployment scenarios and configurations
Created functional reward system with real-time tracking and classroom leaderboards
Main Functional Flow:
Lift up
Measure weight
Lower lift
Move box
Open latch
Return to positions
System modules functional individually but not yet assembled into unified physical device due to late hardware arrival.
Mongolian waste dataset still limited (400 images). Model requires retraining with more local data for reliable deployment.
No long-term operational validation yet. System performance under continuous real-world use remains to be evaluated.
Enclosure manufacturing and full mechanical assembly pending. Weather protection for outdoor deployment not yet implemented.
The final product will be using a custom printed PCB with IR sensors and Limit switches, and possibly other sensors such as NIR.
The model will be recieving A7670E SIM module for LTE connection incase of no WiFi availibility.
Continue collecting Mongolian waste images through public web interface. Target 2000+ images for robust model retraining.
Complete hardware integration into cohesive prototype. Manufacture weatherproof enclosure for outdoor deployment.
Deploy system at GMIT to observe user behavior, system reliability, and long-term data consistency.
Enhance communication stability, power efficiency, and cloud scalability for broader deployment across schools.
This project demonstrates how engineering, AI, and human-centered design can converge to tackle Mongolia's urban waste challenges.
"The Automated Trash Sorting System stands not only as a technical prototype but also as a stepping stone toward building a culture of responsible waste handling in Mongolia."
Questions?
Automated Trash Sorting System