It’s The Simple Things

I love minimal hacks. Limitations are sometimes the spark for our greatest creativity, and seeing someone do something truly marvelous with the simplest of technological ingredients never fails to put a smile on my face.

This week, it was the super-simple 1D Fireworks project by [Daniel Westhof]. Nothing more than an ESP8266 and a long RGB LED strip went into this effect on the hardware side, and indeed the code isn’t all that tricky either. But what it does is a very nice simulation of the physics that define the movement of a flare rocket and then all of the stars that explode out of it. And that makes it look so good.

Hackaday’s [Kristina Panos] is apparently also a fan of the single dimension, because she picked out some of my personal favorite uses of an LED strip, including Twang, to which we’ll admit we’re addicted, or any of the PONG versions.

But I’ve seen other games, including a button-mashing racer and various roller-coaster simulations. All with the same, essentially, two-part BOM. (OK, if you don’t count the buttons/accelerometer, or power supply.) Or this demo of sorting routines, or the Velocicoaster. And I think there’s more out there.

How much creativity can you pack into an LED strip? This sounds like we need to make a new contest…

1D Fireworks Are Nice And Quiet

Maybe you do it out of respect for the dogs and parents of young children in the neighborhood. Or maybe you do it because they’re harmful to the environment, or just because it’s too darn cold outside. Whatever your reasoning for not setting off fireworks, don’t fret — you can probably put together your own silent one-dimensional “fireworks” display from what you’ve got in the parts bin.

[Daniel Westhof]’s design is simple, requiring little more than a Wemos D1 Mini and a strip of WS2812 LEDs. Once activated, a red rocket shoots up from the ground and detonates, sending lights in both directions on the strip to imitate the bombs bursting in air. It’s controlled with a small push button switch, and there’s a deliciously large red LED indicator that shows the thing is ready for detonation.

You might be surprised to find that there’s a wide array of 1D gaming and animation projects out there, many of which made possible by the ubiquitous addressable RGB LED strip. We’ve seen a dungeon crawler, at least two different versions of the classic PONG, and even the makings of a simplified Wolfenstein.

Add Some Blinkenlights To Your Supercon Badge

We’re not sure what is more amazing here: the glow of the blinkenlights themselves, the tedium involved in creating it, or the fact that [makeTVee] soldered 280 microscopic WS2812 LEDs while at Supercon.

This hack began before the con when [makeTVee] designed the LED-diffusing frame in Fusion 360 and printed it in clear resin. Rather than solder the LEDs straight, the frame has 280 teeth that support each one at a 55° angle.

Not only does this look cool, it makes the bridging of DOUT to DIN much easier. That leaves GND and VCC to be painstakingly connected with 30 AWG wire. How, you might ask? With a little help from 3.5x magnifying glasses and the smallest soldering iron tip available, of course.

But that’s not all. Since 280 addressable LEDs need a lot of power, [makeTVee] also designed a holder for the LiPo battery pack that fits into the existing AA holders.

Want to see more awesome badge hacks? Check out the compendium.

How The WS2812 Is Made

[Scotty Allen] of Strange Parts is no stranger to Chinese factory tours, but this one is now our favorite. He visits the font of all WS2812s, World Semi, and takes a good look at the machines that make two million LEDs per day.

The big deal with the WS2812s, and all of the similar addressable LEDs that have followed them, is that they have a logic chip inside the LED that enables all the magic. And that means die-bonding bare-die ICs into each blinky. Watching all of the machines pick, place, glue, and melt bond wire is pretty awesome. Don’t miss the demo of the tape-and-frame. And would you believe that they test each smart LED before they kick it out the door? There’s a machine that clocks some data in and reads it back out the other side.

Do we take the addressable LED for granted today? Probably. But if you watch this video, maybe you’ll at least know what goes into making one, and the next time you’re blinking all over the place, you’ll spill a little for the epoxy-squirting machine. After all, the WS2812 is the LED that prompted us to ask, three years ago, if we could live without one.
Continue reading “How The WS2812 Is Made”

Giant LED Matrix Fills Blank Space In The Kitchen

We’ve all got one: a blank space somewhere in our home that we don’t know what to do with. [James Miller] had one above his kitchen cabinets, so he filled it with a giant LED matrix. The result is a large but surprisingly attractive LED screen that can send messages, provide illumination, or while away the idle hours of the night playing Conway’s Game of Life.

[James] built the matrix using the usual suspect for these builds: several strings of WS2812 lights . He initially ran this from a Raspberry Pi, but realized that there was no need for such a dizzying amount of computing power, so he switched to an ESP32 instead. The frame is built from wood and foam board.

The first version he built used a fabric diffuser, but after a close encounter with a flaming steak, he switched over to commercial ceiling light diffusers cut down to size. We might have been tempted to keep going and try an “egg crate” style ceiling light panel for a the smaller pixel size, but [James] thinks he has reached the “good enough” point of this project. It’s certainly a fun build, and it looks very cool with minimal materials.

Continue reading “Giant LED Matrix Fills Blank Space In The Kitchen”

Electronic Connect 4 Console Doesn’t Use LCD

You might think that making your own electronic games would require some kind of LCD, but lately, [Mirko Pavleski] has been making his using inexpensive 8X8 WS2812B LED panels. This lets even a modest microcontroller easily control a 64-pixel “screen.” In this case, [Mirko] uses an Arduino Nano, 3 switches, and a buzzer along with some 3D printed components to make a good-looking game. You can see it in action in the video below.

The WS2812B panels are easy to use since the devices have a simple protocol where you only talk to the first LED. You send pulses to determine each LED’s color. The first LED changes color and then starts repeating what you send to the next LED, which, of course, does the same thing. When you pause a bit, the array decides you are done, and the next train of pulses will start back at the first LED.

It looks like the project is based on a German project from [Bernd Albrecht], but our German isn’t up to snuff, and machine translation always leaves something to be desired. Another developer added a play against the computer mode. This is a simple program and would be easy to port to the microcontroller of your choice. [Mirko]’s execution of it looks like it could be a commercial product. If you made one as a gift, we bet no one would guess you built it yourself.

Of course, you could play a real robot. You could probably repurpose this hardware for many different games, too.

Continue reading “Electronic Connect 4 Console Doesn’t Use LCD”

Quick And Dirty Microscope Motion Control For Focus Stacking

If you’ve spent much time looking through a microscope, you know that their narrow depth of field can be a bit challenging to deal with. Most microscopes are designed to only have a very thin slice of the specimen in focus, so looking at anything above or below that plane requires a focus adjustment. It’s tedious and fussy, and that makes it a perfect target for automation.

The goal behind [ItMightBeWorse]’s microscope mods is “focus stacking,” a technique where multiple images of the same sample taken at different focal planes can be stitched together so that everything appears to be in focus. Rather than twist knobs and take pictures manually, he built a simpler Arduino-based rig to do the job for him. Focus control is through a small stepper motor connected to the fine focus knob of the scope, while the DSLR camera shutter is triggered through a simple relay board. There’s also lighting control, with an RGB LED ring light that can change both the light level on the sample as well as the tint.

The code is very simple, and the setup is quite temporary looking, but the results are pretty impressive. We could do without the extreme closeup of that tick — nasty little arachnids — but the ant at the end of the video below has some interesting details. [ItMightBeWorse] doesn’t mention how the actual stacking is being done, but this CNC-based focus stacking project mentions a few utilities that take help with the post-processing.

Continue reading “Quick And Dirty Microscope Motion Control For Focus Stacking”