Posts | Comments

Planet Arduino

Archive for the ‘skittles sorter’ Category

Sorting candy by color is a classic problem that has its roots in the contract riders of rock stars who were just trying to make sure that more important contractual obligations were not being overlooked by concert venues. Through the years, candy sorting has become a classic problem for hobbyists to solve in various ways. After a false start a few years back, [little french kev] was compelled to dust off those plans and make the most compact sorter possible.

This minimalist beauty uses an Arduino Nano and RGB sensor to assess the color. At the top, a small servo rotates an arm inside the hopper that both shakes the Skittles and sets them up single file before the sensor. Another small servo spins the tube rack around to catch the rainbow. There’s an RGB LED in the base that bathes the tube from below in light that matches the Skittles. Check out the series of gifs on [little french kev]’s personal project site that show how each part works, and then watch the build video after the break.

Did you know you can roll your own color sensor from an RGB LED and a photocell? If you don’t think candy is so dandy, you could always color-sort your LEGO.

Are you a bit obsessive compulsive with lots of certain things? We are too. Like Skittles! If you’re the kind of person who likes to sort their Skittles, you should seriously look into making your own 3D printed Skittles Sorter.

Built more to challenge his new 3D printer, [MrPrezident] was looking for a project to combine mechanical design with a bit of image recognition prowess — so he came up with this clever, and compact, Skittle sorting machine.

It uses an Arduino Uno with a ZITRADES color sensor module to identify the color of each candy. A small LED helps illuminate the Skittles to ensure an accurate color reading. Then, depending on the color, a series of gears rotate the Skittles piece to its designated color repository.

Theoretically it should also work with M&M’s (which are a bit smaller) but unfortunately, there are 6 colors of M&M’s and only 5 colors of Skittles. What would the machine do then!? We don’t see a reject bin!

Regardless, we’re quite impressed with how compact he ended up making it — [MrPrezident] has certainly been keeping up with his STEM promises!

And if you need something a bit faster to satiate your OCD… try this one instead. It’s capable of sorting Skittles or M&M’s at a rate of 80 pieces per minute!


Filed under: 3d Printer hacks, Arduino Hacks


  • Newsletter

    Sign up for the PlanetArduino Newsletter, which delivers the most popular articles via e-mail to your inbox every week. Just fill in the information below and submit.

  • Like Us on Facebook