Blog Home

Sort your M&Ms or Skittles with this ingenious machine

Arduino TeamFebruary 6th, 2017

Inspired by a YouTube video of another candy sorter, Willem Pennings decided to build his own version.

After nearly eight months of work, he now has a device that can separate M&Ms or Skittles into their respective color dishes. Control is accomplished via a pair of Arduino Nano boards along with two EasyDrivers and an RGB sensor. These actuate a small servo for mixing the candies, and a stepper motor to properly position the candy tube.

Besides designing the controls for the machine, everything is modeled beautifully in the NX10 CAD package. The results, as seen in the video, look extremely polished–and it’s quite soothing to watch these candies drop into their little bowls in automated fashion!

You can find more details on Pennings’ project page and check out the video that inspired him here.


3 Responses to “Sort your M&Ms or Skittles with this ingenious machine”

  1. ebtenorio Says:

    I actually did see one Youtube video about sorting M&M candies by color! And it was amazing actually, especially for a beginner like me. I studied the concept and the modules needed here, and voila, I know how this thing works already. I am planning to “replicate” something like this – a good project for a beginner like me. Thanks for this article. This inspired me as well.

  2. alexisdaft_punk Says:


  3. alexisdaft_punk Says:

    Hi, I’m interested in your project. You could pass the code so I can do mine. Greetings.

Leave a Reply

You must be logged in with your Arduino account to post a comment.