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!””
We hackers just can’t get enough of sorters for confections like Skittles and M&Ms, the latter clearly being the superior candy in terms of both sorting and snackability. Sorting isn’t just about taking a hopper of every color and making neat monochromatic piles, though. [JohnO3] noticed that all those colorful candies would make dandy pixel art, so he built a bot to build up images a Skittle at a time.
Dubbed the “Pixel8R” after the eight colors in a regulation bag of Skittles, the machine is a largish affair with hoppers for each color up top and a “canvas” below with Skittle-sized channels and a clear acrylic cover. The hoppers each have a rotating disc with a hole to meter a single Skittle at a time into a funnel which is connected to a tube that moves along the top of the canvas one column at a time. [JohnO3] has developed a software toolchain to go from image files to Skittles using GIMP and a Python script, and the image builds up a row at a time until 2,760 Skittle-pixels have been placed.
The downside: sorting the Skittles into the hoppers. [JohnO3] does this manually now, but we’d love to see a sorter like this one sitting up above the hoppers. Or, he could switch to M&Ms and order single color bags. But where’s the fun in that?
Catch up on your Hackaday with this week’s podcast. Mike and Elliot riff on the Bluepill (ST32F103 boards), blackest of black paints, hand-crafted sorting machines, a 3D printer bed leveling system that abuses some 2512 resistors, how cyborgs are going mainstream, and the need for more evidence around airport drone sightings.
Stream or download Episode 4 here, and subscribe to Hackaday on your favorite podcasting platform! You’ll find show notes after the break.
Take a look at the links below if you want to follow along, and as always, tell us what you think about this episode in the comments!
Direct download (60 MB or so.)
Continue reading “Hackaday Podcast Ep004 – Taking The Blue Pill, Abusing Resistors, And Not Finding Drones”
It’s a common situation faced by every hard-working American – you get home after a long day at the calcium mines, and find yourself stuck with a pile of colored golf balls that simply aren’t going to sort themselves. Finally, you can put away your sorting funnels and ball-handling gloves – [Anthony] has the solution.
That’s right – it’s a delta robot, tasked with the job of sorting golf balls by color. A Pixy2 object tracking camera is used to survey the table, with the delta arms twitching around to allow the camera to get an unobstructed view. Once the position of the balls is known, a bubble sort is run and the balls rearranged into their correct color order.
[Anthony] readily admits the bubble sort is very inefficient at this task; it was an intentional choice so it could be later compared with other sorting methods. [Anthony] also goes into detail, sharing the development process of the suction gripper as well as discussing damping methods to reduce noise.
Delta machines are always fun to watch, and are a good choice for sorting machines. We’ve seen some really tiny ones, too. Video after the break.
Continue reading “Delta Robot Is Sorting Golf Balls And Taking Names”
If you know anyone who does crafts, they probably have a drawer with a few million beads loose and mixed together. You’ll sort them out one day, right? Probably not. Unless, of course, you build a robot to do the dirty work for you. That’s what [Kalfalfa] did, using some Phidgets boards, a camera and Open CV. You can see a video of the cardboard machine doing its thing below.
Maybe it is because we are more electronics-minded, but we were impressed with the mechanism to grab just one bead at a time from the hopper. If you watch the video, you’ll see what we mean. However, sometimes a bead jams and a magnetic sensor figures that out so the controller can reverse a bit and try again.
Continue reading “Robot Sorts Beads By Color”
Like many of us, [Michael Portera] was an avid trading card collector as a kid. Also like many of us, life got in the way, and the collections sat ignored in boxes until our mothers threatened to get rid of them (or skipped the threat altogether and sold them at a garage sale for next to nothing).
[Michael] was recently reunited with his collection of Magic cards, which vary in value as much as baseball or any other kind of collectible card. Now that his Friday nights are otherwise occupied, he decided to sell them off. But first, he had to know how much they’re worth.
Manually sorting and pricing hundreds of cards would take longer than he’d like, so he built a sorter to automate the process. It takes a stack of MtG cards and uses servos and little tires to move them, one by one, into position. A short Python script runs the servos, tells a Raspi 3 camera take a picture of each one, and uploads it to Amazon AWS. Once the pictures are there, [Michael] uses a second script to grab the card title text from the picture and fetch the value through TCGPlayer’s pricing API.
This machine probably isn’t for purists or people with a bunch of originals and re-issues of the same card. We probably should have mentioned that he took out all the Black Lotuses and other obviously valuable cards first. Someone still has to assess the condition of each card, but at two seconds per card, it’s quite the time
twister saver. Time Walk past the break to see it in action.
Tired of using dice or scratch paper for your life counter? Summon some Nixie tubes and make a cooler one.
Continue reading “Automatic MtG Card Sorter Separates Rags From Riches”
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.