Browse over 10,000 Electronics Projects using the Page Numbering provided at the bottom of each Page.

This Arduino machine will sort your Skittles by color

This Arduino machine will sort your Skittles by color

Do you just really hate yellow Skittles? Only love the red ones? Well, why waste your time sorting them out yourself when an automated machine can do it for you? As part of a recent tutorial, Dejan Nedelkovski has built what we calls the “Arduino Color Sorter” using a TCS3200 color sensor, two hobbyist servo motors, and an Arduino Nano.

How it works is fairly straightforward: The candies are stored within a plastic tube on top of the contraption and dropped onto a platform attached to the first servo. The motor then rotates the platform, bringing the Skittle to the color sensor. From there, the bottom servo moves into position while the top servo rotates again until the candy falls into the guide rail and into its respective bin.

So whether you’re tired of grouping your Skittles or need to meet the request of rockstars like Van Halen (no brown M&Ms!), you can find the Arduino Color Sorter’s 3D model, code and instructions here.