Robot Passport · Industrial automation
Colour-sorting conveyor
A small factory cell: sense, decide and actuate on a moving line.
A mini conveyor that detects object colour and diverts items with a servo gate, introducing industrial automation concepts.
What you will learn
- State machines
- Colour sensing and calibration
- Timing and throughput
- Fault handling
Parts
| Component | Qty | Purpose |
|---|---|---|
| Belt conveyor frame (kit, laser-cut or 3D-printed) | 1 | Moves items past the sensor. |
| Geared DC motor with driver | 1 | Drives the belt at a steady speed. |
| Colour sensor with its own light source | 1 | Classifies items by colour. |
| Break-beam or IR presence sensor | 1 | Detects when an item arrives. |
| Servo with diverter flap | 1 | Pushes items into the right bin. |
| Microcontroller board | 1 | Runs the sorting state machine. |
| Emergency stop push-button | 1 | Cuts motion immediately. |
Generic parts are listed on purpose: choose locally available equivalents that meet the same ratings.
Build steps
- Build the conveyor and check the belt tracks straight without slipping.
- Wire the emergency stop first so it removes motor power.
- Shade the colour sensor and calibrate it with samples of each colour.
- Write a state machine: idle → item detected → classify → divert → reset.
- Measure travel time from sensor to gate and time the diverter from it.
- Add a fault state for unknown colours and jams.
Test protocol
Goal: Measure sorting accuracy and throughput.
Setup: Prepare 30 items in 3 colours in a random, recorded order.
- Feed items one at a time at a steady interval.
- Count correct, wrong and missed sorts.
- Shorten the interval until accuracy drops below 95%.
Record for every run:
- Accuracy (%)
- Items per minute
- Unknown or jammed items
- Belt speed
- Lighting conditions
Measured results for this reference design will be published here with their test conditions. Submitting your own results opens with member accounts.
Safety
- Guard pinch points at the belt rollers.
- Test the emergency stop before every session.
Take it further
- Count items on a small display.
- Send counts to a dashboard over Wi-Fi.
- Add the desktop arm to unload a bin.
Stuck on this build?
Ask the AmpleRobots team. Build threads in RoboForum, linked to each Passport, open with member accounts.
Ask a question →