Robot Sorts Beads by Color

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”

Sorting LEGO Is Like Making A Box Of Chocolates

Did you know that chocolate candy production and sorting LEGO bricks have something in common? They both use the same techniques for turning clumps of chocolates or bricks into individual ones moving down a conveyor belt. At least that’s what [Paco Garcia] found out when making his LEGO Sorter.

Sorting LEGO bricks using guidesHowever, he didn’t find that out right away. He first experimented with his own techniques, learning that if he fed bricks to his conveyor belt by dropping a batch of them in a line perpendicular to the direction of belt travel then no subsequent separation attempt of his worked. He then turned to [akiyuky’s] LEGO sorter for inspiration and dropped them onto the belt at an angle, ensuring that some bricks would be in front of others. A further trick he found is very well demonstrated in the chocolate sorting video below and shown in the image here. That is to use guides on the belt which serve to create speed differentials. Bricks move slower than the conveyor belt while pressed against a guide but when a brick leaves the guide, it accelerates to the speed of the conveyor belt, pulling away from the bricks still at the guide and thus separating them.

A further discovery had nothing to do with chocolate production, unless maybe for quality control. Once an individual brick had been separated out, it had to be classified. To do that he used Google’s Inception v3 neural network. But first, he had to retrain it for recognizing different types of LEGO bricks, something we’ve seen done before for use with recognizing playing cards. And to do the retraining, he needed many images of different bricks all separated into their different types. That’s where he came up with a clever trick. He used his own sorter for that. For example, to get a bunch of images of 1×1 bricks of different colors and orientations, he simply ran them through the sorter, saving the images to files and assigning them to the 1×1 brick class. He then used his desktop machine with a GeForce GT 730 GPU for the retraining, taking around 2.7 seconds per brick. For sorting though, he runs the trained neural network on a Raspberry Pi, taking 3.8 seconds for each brick. The resulting sorter works quite well, sorting with 89% accuracy. Watch it in action in the video below.
Continue reading “Sorting LEGO Is Like Making A Box Of Chocolates”

Punch Cards

Before the Commodore 64, the IBM PC, and even the Apple I, most computers took input data from a type of non-magnetic storage medium that is rarely used today: the punched card. These pieces of cardstock held programs, data, and pretty much everything used to run computers in the before-time. But with all of that paper floating around, how did a programmer or user keep up with everything? Enter the punch card sorter and [Ken Shirriff[‘s eloquent explanation of how these machines operate.

Card sorters work by reading information on the punched card and shuffling the cards into a series of stacks. As [Ken] explains, the cards can be run through the machine multiple times if they need to be sorted into more groups than the machine can manage during one run, using a radix sort algorithm.

The card reader that [Ken] examines in detail uses vacuum tubes and relays to handle the logical operation to handle memory and logic operations. This particular specimen is more than half a century old, rather robust, and a perfect piece for the Computer History Museum in Mountain View.

It’s always interesting to go back and examine (mostly) obsolete technology. There are often some things that get lost in the shuffle (so to speak). Even today, punched cards live on in the automation world, where it’s still an efficient way of programming various robots and other equipment. Another place that it lives on is in voting machines in jurisdictions where physical votes must be cast. Hanging chads, anyone?

Continue reading “Punch Cards”

A.R.T. sorts your recyclables for you

[Yuhin Wu] wrote in to let us know about the Automated Recycling Sorter that was built with a group of classmates at the University of Toronto. They entered it the school’s student design contest and we’re happy to report that it took first place.

The angled sled has been designed to separate glass, plastic, and metal containers. The first sorting happens at the intake area. A set of moment arms are used to weed out the glass bottles. Since there are several of them in a row, a larger and heavier plastic container will not be falsely sorted and the same goes for smaller glass bottles.

With the glass out of the mix the team goes on to separate metal and plastic. An Arduino was used for this purpose. It senses an electrical disturbance caused by a metal can passing through the chute and actuates a trap door to sort it. Plastic has no effect on this sensor and slides past the trap to its own sorting bin.

Don’t miss both demo videos which we’ve included after the break.

Continue reading “A.R.T. sorts your recyclables for you”

NXT machine sorts LEGO blocks automatically

Smart people don’t put their toys away, they build machines to do it for them. Case and point: this NXT project which can sort LEGO pieces. Just dump a bucket of random blocks in a hopper on one end of the machine. One slice at a time, these plastic pieces will be lifted onto a conveyor system made up of several different belts, which allows for separation of the parts. One block at a time, each piece enters a specially lighted chamber where they are visually identified by the NXT brick. Once it identifies the block, a carousel of plastic containers rotates to place the correct home for the block below the output shoot seen above.

So do we now have a completed LEGO circle of life? Not quite. You can build structures automatically using a 3D LEGO printer and this sorter will have no problem organizing the parts for that purpose. But we still need a LEGO machine that can tear assembled bricks apart.

Continue reading “NXT machine sorts LEGO blocks automatically”

LEGO pick and place

Turn your volume down and take a look at the brick sorting robot in the video above. It’s built using LEGO and powered by four different NXT modules. It sorts differently colored bricks on the intake conveyor and places them on three output conveyors. The build is solid and was [Chris Shepherd’s] impetus for starting a blog. We appreciate the pneumatic tricks that he detailed in some of his earlier posts such as a compressor, pressure switch, and air tank system. His advice is “build, build, build” and that’s what you’d have to do to perfect a monster of this size and scope.

Color detection using an RGB LED

[Kyri] has made a simple circuit to do color detection using an RGB LED. Simply set the LED to the color you want to detect then wave the object over it. Another LED will light up if the object is the same color as the LED. The detection is done by a photo resistor. The theory is that an object will reflect more of the light that matches its surface color. She shows that this kind of detection could be useful for sorting in robotics.