← All project kits
Colour sorting machine (TCS3200 and two servos)
IntermediateBuild time 4–5 hours· You'll learn: Arduino, Colour sensing, Servos, Calibration
A satisfying machine to watch, and a good lesson in sensing and calibration. The top servo takes one ball from the feed tube and holds it under the TCS3200 colour sensor; the Arduino measures its red, green and blue, decides which colour it is, and the second servo turns a chute to the right cup before the ball drops. Calibrate it for your own colours.
Complete kit
₹2,239
Every part below as one item: we collect, check and ship the whole set together, with one GST invoice. Ships in about 6 business days.
View complete kitParts only: available parts total
₹1,965
4 of 4 line items available now.
Electronics
| Part | Role | Qty | Unit | Line | Status |
|---|---|---|---|---|---|
| Arduino Nano compatible (CH340)Board | Controller (Arduino Nano compatible) | 1 | ₹252 | ₹252 | ships in about 6 business days |
| TCS230 TCS3200 Color Recognition Sensor | TCS3200 colour sensor | 1 | ₹596 | ₹596 | ships in about 6 business days |
| SG90 micro servoSingle | Feeder and chute servos | 2 | ₹201 | ₹402 | ships in about 6 business days |
| Electronics fun kit with 830 breadboardKit | 830-point breadboard, jumper wires, LEDs, resistors, buttons and buzzer | 1 | ₹715 | ₹715 | ships in about 6 business days |
How to build it
- Build the frame from cardboard, foam board or 3D-printed parts: a feed tube at the top, a disc that carries one ball past the sensor, and a turning chute over the cups.
- Wire the sensor's S0–S3 to four digital pins and OUT to D8; set S0 high and S1 low for 20 % output scaling.
- Wire the feeder servo to D9 and the chute servo to D10, with their power from 5 V.
- Read each colour: select the red, green and blue filters in turn and measure the output frequency with pulseIn().
- Hold each colour of ball under the sensor and note its three readings; in the sketch, choose the colour whose readings are closest.
- Run the cycle: pick up a ball, measure, turn the chute to that colour's cup, and drop.
Questions
- Why does it confuse two colours?
- Room light changes the readings. Shade the sensor with a small tube or box, and calibrate in the light you'll demonstrate in.
- What can it sort?
- Balls, beads or coated sweets of the same size, about 10–15 mm, in clearly different colours.
- Needs a USB Mini-B cable and a 5 V USB charger, not included.
- Cardboard, foam board or printed parts for the frame are not included.
Prices are final and follow what Indian distributors have in stock (refreshed nightly). Out-of-stock parts are not added to the cart.