No more sorting by hand, as this machine can do it all for you!

Dec 26, 2013 10:49 GMT  ·  By

You don’t have to have OCD to sometimes become obsessed with sorting by color through an entire bag of Skittles and M&Ms. For those of you who can’t get their daily dose of overprocessed sugary goodness unless it’s grouped by color, there’s a machine that does it automatically now.

You can see it at work in the video above, and it’s best described as a machine that makes all things right in the world again, by having yellow, green, brown, and red candy in different cups, according to color.

The makers of the video say that the machine is fully autonomous and can go through an entire bag of 1.5kg/56oz of Skittles or M&Ms in about 5 minutes, easy-peasy. Mistakes do happen, but they’re rare and, most definitely, not something to get all fussy about.

You can even see one such mistake in the video above, when a yellow is misread and placed in the wrong cup. Luckily, it did not bring about the end of the world, so relax.

“[The machine] is made of an AVR microcontroller (Arduino Uno), color sensor, distance sensor, servo actuators, plastic frame tubes and a few custom 3D printed parts. The system processing is based around pseudo-realtime programming which helps keep all the parts of the system up to date and keep the system running smoothly. Each process is designed around the notion of event driven finite-state machine (FSM) execution,” the makers also say.

Lots of fancy words and a hefty dose of science for a machine that you didn’t even know you needed, right?