Candy-sorting robots are in plentiful supplies on these pages, and with good reason — they’re a great test of the complete suite of hacker tools, from electronics to machine vision to mechatronics. So we see lots of sorters for Skittles, jelly beans, and occasionally even Reese’s Pieces, but it always seems that the M&M sorters are the most popular.
This M&M sorter has a twist, though — it finds the elusive and coveted peanutless candies lurking in most bags of Peanut M&Ms. To be honest, we’d never run into this manufacturing defect before; being chiefly devoted to the plain old original M&Ms, perhaps our sample size has just been too small. Regardless, [Harrison McIntyre] knows they’re there and wants them all to himself, hence his impressive build.
To detect the squib confections, he built a tiny 3D-scanner from a line laser, a turntable, and a Raspberry Pi camera. After scanning the surface to yields its volume, a servo sweeps the candy onto a scale, allowing the density to be calculated. Peanut-free candies will be somewhat denser than their leguminous counterparts, allowing another servo to move the candy to the proper exit chute. The video below shows you all the details, and more than you ever wanted to know about the population statistics of Peanut M&Ms.
We think this is pretty slick, and a nice departure from the sorters that primarily rely on color to sort candies. Of course, we still love those too — take your pick of quick and easy, compact and sleek, or a model of industrial design.
Continue reading ““Hey, You Left The Peanut Out Of My Peanut M&Ms!””
Sorting M&Ms is really only a major concern if you happen to be working on a Van Halen tour, but it’s a fun exercise nonetheless. It’s for this reason we see plenty of sorting projects come our way, varying from the breadboard and cardboard variety, all the way up to final university projects. Today, [Karl] has blessed us with their sculptural-grade offering, and the attention to detail is stunning.
The project has been in gestation in [Karl]’s mind, on and off, for 10 years or so. The big problem centered around reliably separating out one M&M at a time from a hopper of many. From time to time, [Karl] would speak with other builders using similar techniques to his failed experiments, who often reported that the secret to their machine’s reliability was… careful video editing. It was only when a parts sorter flashed across the Hackaday feed that [Karl] found the mechanism that would work to make his project a reality.
Now that the individual candies could readily be separated and fed through a machine, the rest of the project came together quickly. A color sensor was combined with servos and a stepper motor to duct M&Ms into separate flasks.
The real value of this build, however, is in the overall attention paid to the aesthetics of the final product. The device was built to be a kinetic sculpture, able to run reliably with the minimum of attention at the behest of even an untrained user. By carefully optimising the mechanisms inside and building an attractive enclosure, [Karl] has developed something we’d be proud to show off in a living room.
If you have OCD, then the worst thing someone could do is give you a bowl of multi-coloured M&M’s or Skittles — or Gems if you’re in the part of the world where this was written. The candies just won’t taste good until you’ve managed to sort them in to separate coloured heaps. And if you’re a hacker, you’ll obviously build a sorting machine to do the job for you.
Use our search box and you’ll find a long list of coverage describing all manner and kinds of sorting machines. And while all of them do their designated job, 19 year old [Willem Pennings]’s m&m and Skittle Sorting Machine is the bees knees. It’s one of the best builds we’ve seen to date, looking more like a Scandinavian Appliance than a DIY hack. He’s ratcheted up a 100k views on Youtube, 900k views on imgur and almost 2.5k comments on reddit, all within a day of posting the build details on his blog.
As quite often happens, his work is based on an earlier design, but he ends up adding lots of improvements to his version. It’s got a hopper at the top for loading either m&m’s or Skittles and six bowls at the bottom to receive the color sorted candies. The user interface is just two buttons — one to select between the two candy types and another to start the sorting. The hardware is all 3D printed and laser cut. But he’s put in extra effort to clean the laser cut pieces and paint them white to give it that neat, appliance look. The white, 3D printed parts add to the appeal.
Rotating the input funnel to prevent the candies from clogging the feed pipes is an ace idea. A WS2812 LED is placed above each bowl, lighting up the bowl where the next candy will be ejected and at the same time, a WS2812 strip around the periphery of the main body lights up with the color of the detected candy, making it a treat, literally, to watch this thing in action. His blog post has more details about the build, and the video after the break shows the awesome machine in action.
And if you’re interested in checking out how this sorter compares with some of the others, check out these builds — Skittles sorting machine sorts Skittles and keeps the band happy, Anti-Entropy Machine Satiates M&M OCD, Only Eat Red Skittles? We’ve Got You Covered, and Hate Blue M&M’s? Sort Them Using the Power of an iPhone! As we mentioned earlier, candy sorting machines are top priority for hackers.
Continue reading “M&Ms And Skittles Sorting Machine Is Both Entertainment And Utility”
College engineering projects are great, because they afford budding engineers the opportunity to build interesting things without the need for financial motivation. Usually, some basic requirements are established, but students are free to get creative and build something that appeals to them personally. For our readers, mechatronics courses are ripe for these kinds of projects, as the field combines electrical engineering, mechanical engineering, and programming.
[Ethan Crane] is in just such a course, and had a final project due with only one real requirement: it had to use a PICAXE. Obviously, this gave [Ethan] quite a bit of freedom to build something unique, and what he came up with is an “Anti-Entropy Machine” designed to sort M&M candies by color. The electronics are as simple as [Ethan] could make them (a good philosophy for an engineering student to adhere to). There is an IR sensor to determine if a candy is in the hopper, an RGB sensor to determine its color, and servos to position the delivery chute based on color and operate the hopper.
Continue reading “Anti-Entropy Machine Satiates M&M OCD”
[StudioJooj] is trying to torture or test his colleagues in his office. A lot of folks leave a candy jar on their desks for all to enjoy but he’s making his friends work for their reward. Like cubicle-dwelling lab subjects, they must successfully navigate his maze to be rewarded with chocolate. The game piece is an amazingly orb-like peanut M&M candy. The maze is constructed from plywood and moves on two axis with the help of a couple of servos. The user interface includes a couple of NES console buttons to release the game piece and a PS2 joystick to control the maze. [StudioJooj] was nice enough to include a music video in his project clip.
We wonder the M&Ms will disappear faster or slower than they would from a candy jar.