Compact M&M Sorter Goes Anywhere

Let’s face it — eating different colored candy like M&Ms or Skittles is just a little more fun if you sort your pile by color first. The not-fun part is having to do it by hand. [Jackofalltrades_] decided to tackle this time-worn problem for engineering class because it’s awesome and it satisfies the project’s requirement for sensing, actuation, and autonomous sequencing. We’d venture to guess that it satisfies [Jackofalltrades_]’ need for chocolate, too.

Here’s how it works: one by one, M&Ms are selected, pulled into a dark chamber for color inspection, and then dispensed into the proper cubby based on the result. [Jackofalltrades_] lived up to their handle and built a color-detecting setup out of an RGB LED and light-dependent resistor. The RGB LED shines red, then, green, then blue at full brightness, and takes a voltage reading from the photocell to figure out the candy’s color. At the beginning, the machine needs one of each color to read in and store as references. Then it can sort the whole bag, comparing each M&M to the reference values and updating them with each new M&M to create a sort of rolling average.

We love the beautiful and compact design of this machine, which was built to maximize the 3D printer as one of the few available tools. The mechanical design is particularly elegant. It cleverly uses stepper-driven rotation and only needs one part to do most of the entire process of isolating each one, passing it into the darkness chamber for color inspection, and then dispensing it into the right section of the jar below. Be sure to check out the demo after the break.

Need a next-level sorter? Here’s one that locates and separates the holy grail of candy-coated chocolate — peanut M&Ms that didn’t get a peanut.

Continue reading “Compact M&M Sorter Goes Anywhere”

[Emily]’s Eerie Educational Electric Eyeball Entertains

Like many of us, [Emily’s Electric Oddities] has had a lot of time for projects over the past year or so, including one that had been kicking around since late 2018. It all started at the Hackaday Superconference, when [Emily] encountered the Adafruit Hallowing board in the swag bag. Since that time, [Emily] has wanted to display the example code eyeball movement on a CRT, but didn’t really know how to go about it. Spoiler alert: it works now.

See? It’s educational.

Eventually, [Emily] learned about the TV out library for Arduino and got everything working properly — the eyeball would move around with the joystick, blink when the button is pressed, and the pupil would respond visually to changes in ambient light. The only problem was that the animation moved at a lousy four frames per second. Well, until she got Hackaday’s own [Roger Cheng] involved.

[Roger] was able to streamline the code to align with [Emily]’s dreams, and then it was on to our favorite part of this build — the cabinet design. Since the TV out library is limited to black and white output without shades of gray, Emily took design cues from the late 70s/early 80s, particularly the yellow and wood of the classic PONG cabinet. We love it!

Is Your Pet Eye the worst video game ever, as [Emily] proclaims it to be? Not a chance, and we’re pretty sure that the title still rests with Desert Bus, anyway. Even though the game only lasts until the eye gets tired and goes to sleep, it’s way more fun than Your Pet Rock. Don’t miss the infomercial/explanation/demonstration video after the break. If one video is just not enough, learn more about [Emily’s] philosophy of building weird projects from the Supercon talk she presented. It’s also worth mentioning that this one fits right into the Reinvented Retro contest.

Why are eyeballs so compelling? We can’t say for sure, but boy, this eyeball web cam sure is disconcerting.

Continue reading “[Emily]’s Eerie Educational Electric Eyeball Entertains”

Nightmare Robot Only Moves When You Look Away

What could be more terrifying than ghosts, goblins, or clowns? How about a shapeless pile of fright on your bedroom floor that only moves when you’re not looking at it? That’s the idea behind [Sciencish]’s nightmare robot, which is lurking after the break. The Minecraft spider outfit is just a Halloween costume.

In this case, “looking at it” equates to you shining a flashlight on it, trying to figure out what’s under the pile of clothes. But here’s the thing — it never moves when light is shining on it. It quickly figures out the direction of the light source and lies in wait. After you give up and turn out the flashlight, it spins around to where the light was and starts moving in that direction.

The brains of this operation is an Arduino Uno, four light-dependent resistors, and a little bit of trigonometry to find the direction of the light source. The robot itself uses two steppers and printed herringbone gears for locomotion. Its chassis has holes in it that accept filament or wire to make a cage that serves two purposes — it makes the robot into more of an amorphous blob under the clothes, and it helps keep clothes from getting twisted up in the wheels. Check out the demo and build video after the break, because this thing is freaky fast and completely creepy.

While we usually see a candy-dispensing machine or two every Halloween, this year has been more about remote delivery systems. Don’t just leave sandwich bags full of fun size candy bars all over your porch, build a candy cannon or a spooky slide instead.

Continue reading “Nightmare Robot Only Moves When You Look Away”

Tiny Circuit Sculpture Keeps The Night Watch

If you’re planning to get into circuit sculpture one of these days, it would probably be best to start with something small and simple, instead of trying to make a crazy light-up spaceship or something with a lot of curves on the first go. A small form factor doesn’t necessarily mean it can’t also be useful. Why not start by making a small automatic night light?

The circuit itself is quite simple, especially because it uses an Arduino. You could accomplish the same thing with a 555, but that’s going to complicate the circuit sculpture part of things a bit. As long as the ambient light level coming in from the light-dependent resistor is low enough, then the two LEDs will be lit.

We love the frosted acrylic panels that [akshar1101] connected together with what looks like right angle header pins. If you wanted to expose the electronics, localize the light diffusion with a little acrylic cover that slips over the LEDs. Check it out in the demo after the break.

There’s more than one way to build a glowing cuboid night light. The Rubik’s way, for instance.

Continue reading “Tiny Circuit Sculpture Keeps The Night Watch”

Score Big Against Boredom With Tabletop Bowling

Bowling has been around since ancient Egypt and continues to entertain people of all ages, especially once they roll out the fog machine and hit the blacklights. But why pay all that money to don used shoes and drink watered-down beer? Just build a tabletop bowling alley in your spare time and you can bowl barefoot if you want.

Those glowing pins aren’t just for looks — the LEDs underneath them are part of the scoring system. Whenever a pin is knocked out of its countersunk hole, the LED underneath is exposed and shines its light on a corresponding light-dependent resistor positioned overhead. An Arduino Uno keeps track of of the frame, ball number, and score, and displays it on an LCD.

The lane is nearly six feet long, so this is more like medium-format bowling or maybe even skee-bowling. There are probably a number of things one could use for balls, but [lainealison] is using large ball bearings. Roll past the break to see it in action, but don’t go over the line!

Can’t keep your balls out of the gutter? Build a magic ball and make all wishful leaning more meaningful as you steer it down the lane with your body.

Continue reading “Score Big Against Boredom With Tabletop Bowling”

Lovebox Gives Infinite Treats Sweeter Than Chocolate

Want to make a special Valentine’s Day gift that keeps on giving well past the holiday? We do too, especially if it’s something as cute as [Marcel Stör]’s Lovebox. This is a relatively simple build, but it’s the kind that lets you make someone’s day over and over again.

The sender composes their love note in a secret GitHub gist, either as a text message or a binary image, and updates the gist. Whenever the Wemos D1 mini inside the box receives a new message, a micro servo slowly wiggles the hearts up and down to notify the recipient.

Once they remove the lid to read it, a light-dependent resistor senses the flood of light on its face and tells the servo it can stop wiggling. We think it’s neat that the heart nudges upwardly at the box lid a bit as it moves, because it increases the cuteness factor.

Everybody loves to hear from that special someone throughout the day. The idea of sending an intimate message remotely is quite romantic, and there’s something thrilling and urgent about a physical notification. Show the break button a little love, and you’ll see a truffle-sized demo featuring both an incoming image and a text message.

[Marcel] was happy to ply his woodworking skills rather than use a laser cutter. If you have neither of these, hit up a craft store or two and you’ll find unfinished wooden boxes and pre-cut hearts galore. Or, you could just say it with copper.

Continue reading “Lovebox Gives Infinite Treats Sweeter Than Chocolate”

Make A Mean-Sounding Synth From Average Components

A while back, [lonesoulsurfer] stumbled upon a mind-blowing little DIY synth on YouTube and had to make one of his own. We don’t blame him one bit for that, ’cause we’ve been down that cavernous rabbit hole ourselves. You might want to build one too, after you hear the deliciously fat and guttural sounds waiting inside those chips and passives. Don’t say we didn’t warn you.

The main synth is built on five LM358 op-amps that route PWM through a pair of light-dependent resistors installed near the top. There are two more oscillators courtesy of a 40106 hex inverting Schmitt trigger, which leaves four more oscillators to play with should you take the plunge and build your own.

He didn’t just copy the guy’s schematic and call it good. He added [a 555-based arpeggiator that’s controlled with two homebrew optocouplers. These sound fancy and expensive, but can be bred easily at home by sealing an LED and an LDR inside a piece of black heat shrink tubing and applying a bit of PWM. With the flick of a toggle, he can bypass the momentary buttons and use the yellow knob at the top to sweep through the pitch range with a single input.

Although he doesn’t hold your hand through the build, [lonesoulsurfer] has plenty of nice, clear pictures of the process that nearly give a step-by-step guide. That plus the video demo and walk-through should get you well on your way to DIY synthville.

If this all seems very cool, but you’d really like to understand what’s happening as you descend into the rabbit hole, our own [Elliot Williams]’s Logic Noise series is an excellent start.

Continue reading “Make A Mean-Sounding Synth From Average Components”