Posts | Comments

Planet Arduino

Archive for the ‘color recognition’ Category

Dic
23

Hate Blue M&M’s? Sort Them Using the Power of an iPhone!

arduino hacks, color recognition, M & M sorter, M&M Recognition, M&M sorter Commenti disabilitati su Hate Blue M&M’s? Sort Them Using the Power of an iPhone! 

Some people really like eating specific M&M colors… You could spend hours sorting your packs of M&M’s into color specific piles, or you could build a machine to do it for you.

That’s exactly what [ReviewMyLife] decided to do, and it’s quite impressive! He’s using a rotating hopper to release M&M’s into a chute one-by-one, and then an iPhone to perform color recognition as the M&M falls past it. That information is then communicated over Bluetooth to the Arduino which actuates a high-speed electromagnetic gate to force the M&M down the right chute for sorting.

The machine works surprisingly well for a prototype that was hot glued together out of foam board, but fear not, he plans to upgrade it now that the proof of concept has been confirmed. He’s hoping to get rid of the iPhone and replace it with a Raspberry Pi for starters, 3D print some of the parts, and consolidate¬†its power supply. Currently he’s using three separate supplies to power the Arduino, electromagnets, and the hopper motor — not very efficient!

Also it’s not very good at sorting brown M&M’s. They look too much like a cross between orange and a shadow on the iPhone. He thinks a bit of work on the image recognition software and maybe some LED lights to help the camera might do the trick.

We’ve seen some systems done like this before, including one that can sort tiny little beads! OCD readers eat your hearts out!


Filed under: Arduino Hacks
Img_9095bHow to make an basic electronic color sensor and how to use it to make a color activated lock box

Read more on MAKE



  • 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