Skittle Sorter

by BVarv in Circuits > Arduino

6699 Views, 20 Favorites, 0 Comments

Skittle Sorter

Skittle sorter background.JPG

Make a machine capable of sorting 100g of skittles by color as quickly and as accurately as possible.

The learning goals are to apply basic understandings in electricity and to develop an intermediate level of understanding with an Arduino, mainly the use of third party sensors, if/else statements and servo-motion control.

To evaluate the success of your machine, imagine this is in a pharmaceutical application and that the green, yellow and orange skittles are very different medications to be distributed to patients and that the red and purple skittles are poison to be discarded. Discarding medication is not nearly as bad as distributing poison. Mixing medications is bad with varying consequences.

I hope you enjoy the project!

Getting Started

Skittle sorter the beginning second try

Plan and make the back-board of your skittle sorter. You will also be adding the vibration necessary to keep the skittles flowing smoothly through your skittle sorter. Be careful with the hot glue and the box cutter!

Feeding Skittles One at a Time

Arduino skittle advancer

Learn to control a continuous rotation servo using an Arduino so that you can feed skittles one at a time in front of the camera.

Detecting the Skittle Color

pixy and arduino

Learn to connect a camera to your Arduino and how to use that camera to get skittle color data back to your Arduino.

Sorting Based on Color

pixy and arduino  sorting video

Use the color information from the camera and your understanding of servo motion to sort the skittles based on color.