An embedded systems project that implements an automated object sorting mechanism using a microcontroller-based control system, motor driver module, and sensor-based detection.
This project demonstrates practical integration of:
- Embedded C / Arduino programming
- Sensor interfacing
- Motor control using PWM
- Hardware system design
- Mechanical structure modeling (3D design)
The Sorting System is designed to:
- Detect an object placed in the system
- Identify its category (based on the color)
- Position the servo motor
- Drop the object into the correct bin
- Return to the default position for the next object
The system integrates hardware and software to create a fully functional automated sorting solution.
- Microcontroller (ESP32)
- Motor Driver Module (HW-095 / L298N)
- DC Motors
- IR Sensors
- Power Supply (Battery)
- Mechanical sorting frame
It includes:
- Motor driver connections
- Sensor wiring
- Power routing
- Control signal mapping
The mechanical structure was designed to:
- Provide stable bin alignment
- Allow smooth rotation/movement
- Ensure accurate object dropping
- Support battery and controller mounting
The core program performs:
- System initialization
- Sensor reading
- Decision logic processing
- Motor control using PWM
- Return-to-home positioning
- Digital Input Handling
- PWM Speed Control
- Conditional Logic
- State-based Flow Control
- Hardware-Software Integration


