AmpleRobots

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

ComponentQtyPurpose
Belt conveyor frame (kit, laser-cut or 3D-printed)1Moves items past the sensor.
Geared DC motor with driver1Drives the belt at a steady speed.
Colour sensor with its own light source1Classifies items by colour.
Break-beam or IR presence sensor1Detects when an item arrives.
Servo with diverter flap1Pushes items into the right bin.
Microcontroller board1Runs the sorting state machine.
Emergency stop push-button1Cuts motion immediately.

Generic parts are listed on purpose: choose locally available equivalents that meet the same ratings.

Build steps

  1. Build the conveyor and check the belt tracks straight without slipping.
  2. Wire the emergency stop first so it removes motor power.
  3. Shade the colour sensor and calibrate it with samples of each colour.
  4. Write a state machine: idle → item detected → classify → divert → reset.
  5. Measure travel time from sensor to gate and time the diverter from it.
  6. 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.

  1. Feed items one at a time at a steady interval.
  2. Count correct, wrong and missed sorts.
  3. 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 →