Could have really used this back when I was 5 and “only liked the red ones.”
This machine sorts M&Ms and Skittles by colour. Unsorted candy is put in a hopper on the top. Sorted candy is put into six bowls on the bottom side of the machine.
It’s pretty quick and sorts about 2 pieces of candy per second. It uses Arduino microcontrollers and stepper motors for quick and precise movement. A TCS34725 color sensor performs the measurements. Furthermore, the device is equipped with LEDs in several spots which nicely complement the overall look of the machine.
Each Monday is ArduinoMonday here at Adafruit! Be sure to check out our posts, tutorials and new Arduino related products. Adafruit manufactures the Arduino right here in the United States in cooperation with arduino.cc. We have a huge selection of Arduino accessories and all the code and tutorials to get you up and running in no time!