This project develops an IoT-based Smart Fruit Sorting System using ESP8266 NodeMCU and multiple sensors.
The system automatically detects, measures, classifies, and sorts fruits based on their relative size. Data from the sorting process can be monitored through a web dashboard in real time.
✅ Fruit Detection using IR Sensor
✅ Distance Measurement using SRF05
✅ Automatic Fruit Classification
✅ Servo-based Sorting Mechanism
✅ LCD I2C Monitoring
✅ Real-time Statistics Counter
✅ WiFi Connectivity
✅ Web Dashboard Monitoring
- Develop an automatic fruit sorting prototype.
- Apply IoT technology in agriculture.
- Classify fruits according to size.
- Monitor sorting statistics remotely.
- Demonstrate ESP8266 IoT applications.
+----------------------+
| Fruit Prototype |
+----------+-----------+
|
v
+----------------------+
| IR Sensor |
+----------+-----------+
|
v
+----------------------+
| SRF05 Sensor |
+----------+-----------+
|
v
+----------------------+
| ESP8266 NodeMCU |
+----------+-----------+
|
+------+------+
| |
v v
+------+ +----------+
|Servo | | LCD I2C |
+------+ +----------+
|
v
Fruit Sorted
|
v
+----------------------+
| Next.js Dashboard |
| Node.js + MongoDB |
+----------------------+
| Component | Quantity |
|---|---|
| ESP8266 NodeMCU | 1 |
| SRF05 Ultrasonic Sensor | 1 |
| IR Sensor | 1 |
| Servo SG90 | 1 |
| LCD I2C 16x2 | 1 |
| Breadboard | 1 |
| Jumper Wires | Several |
Distance < 10 cm
10 cm <= Distance < 20 cm
Distance >= 20 cm
Fruit Enter
|
v
IR Sensor Detects Object
|
v
SRF05 Measures Distance
|
v
ESP8266 Processes Data
|
v
Fruit Classification
|
+----> Banana
|
+----> Orange
|
+----> Apple
|
v
Servo Sorting
|
v
Counter Update
|
v
LCD Display Update
|
v
Dashboard Update
| Module | Status |
|---|---|
| ESP8266 Setup | ✅ |
| IR Sensor | ✅ |
| SRF05 Sensor | ✅ |
| Servo SG90 | ✅ |
| LCD I2C | ✅ |
| Fruit Counter | ✅ |
| WiFi Communication | 🔄 |
| Dashboard Integration | 🔄 |
| MongoDB Storage | 🔄 |
fruit-sorting-system-iot/
│
├── src/
│ ├── main.cpp
│
├── include/
│
├── lib/
│
├── dashboard/
│ ├── frontend/
│ ├── backend/
│ └── database/
│
├── docs/
│
├── platformio.ini
│
└── README.md
- Computer Vision Fruit Recognition
- TCS3200 Color Detection
- Conveyor Belt Integration
- Mobile Application
- Cloud IoT Deployment
- Advanced Analytics Dashboard
Name: Dang Le Hoang Anh
Faculty: Information Technology
University: Dai Nam University
Project: Smart Fruit Sorting System Using ESP8266
Technology: ESP8266, SRF05, IR Sensor, Servo SG90, LCD I2C, Next.js, Node.js, MongoDB

