A NeoPixel Punk Console

NeoPixel Punk Console Drives WS2812s Using 555 Timers

NeoPixels, a type of LED strip with individually addressable pixels, are a firm favorite among creators of intricate light effects. They are popular for their versatility and the ease with which you can daisy-chain them. Although the protocol to drive these little LEDs can be rather tricky to implement due to tight signal timing constraints.

However, [Adrian Studer] proved that driving WS2812-based LED strips like the NeoPixel series doesn’t necessarily require hand-optimized assembly code. In fact, it doesn’t require any code at all. He built the NeoPixel Punk Console, a device that creates a light show without even using a microcontroller. Just a handful of 555 timers and some 74HC series logic work together to produce pulses with approximately correct timings.

Operating the device is as easy as tweaking a few potentiometers, just like its namesake the Atari Punk Console. It’s quite a random process though, and it might be impossible to re-create a pattern that you liked. Also, the LEDs mostly light up in primary colors at full power, though [Adrian] plans to make an improved version that drives the red, green, and blue subpixels separately. But the fact that all of this is implemented by just a bunch of 555 timers makes it a rather impressive hack by any standard.

We’ve seen more than a few ways of driving NeoPixels or similar WS2812-based LED strips, though all of them use a microprocessor of some sort; you can fire up a classic 6502, use SPI and DMA on a PIC32, or just plug in a single ARM Cortex M0+.

Continue reading “NeoPixel Punk Console Drives WS2812s Using 555 Timers”

Enter The Matrix With This Custom PC Side Panel

With a new Matrix movie out now, it’s hardly a surprise that we’re starting to see more and more projects centered around the franchise’s iconic “Digital Rain” effect. A few particularly unique examples have floated to the top of this virtual tsunami of green-tinted sushi recipes, such as this very slick RGB LED PC side panel built by [Will Donaldson].

In place of the normal clear window in his PC case, [Will] has mounted a black acrylic sheet that has had all of the “code” characters laser-cut from it. Behind that is an array of WS2812B LED strips, nestled into vertically aligned channels that keep the light from bleeding out horizontally. A sheet of frosted plastic is sandwiched between the two, which helps diffuse the light so the individual LEDs aren’t as visible.

All of the LEDs are connected to a NodeMCU ESP8266 by way of a 74AHCT125 level-shifter, though [Will] notes you could certainly use a different microcontroller with some tweaks to the code. As it stands, the user selects from various lighting patterns using two potentiometers and a button that have been mounted next to the panel. But if you were so inclined, it certainly wouldn’t take much to adapt the firmware so that the lighting effects could be triggered from the PC.

The sticklers will note that this means the characters can’t actually change or move, but as you can see in the video below, it still looks quite impressive when the LEDs get going behind them. If you’re looking to recreate the look on a considerably smaller scale, check out this Arduino library that can make it rain on a TFT display with just a few lines of code.

Continue reading “Enter The Matrix With This Custom PC Side Panel”

Turing Ring Is Compact

One of the problems with a classic Turing machine is the tape must be infinitely long. [Mark’s] Turing Ring still doesn’t have an infinite tape, but it does make it circular to save space. That along with a very clever and capable UI makes this one of the most usable Turing machines we’ve seen. You can see a demo in the video below.

The device uses an Arduino Nano, a Neopixel ring, an encoder, and a laser-cut enclosure that looks great. The minimal UI has several modes and the video below takes you through all of them.

Continue reading “Turing Ring Is Compact”

Custom Christmas Light Controller Blocks Blinks

Finding that his recently purchased LED Christmas lights defaulted to an annoying blinking pattern that took a ridiculous seven button presses to disable each time they were powered up, [Matthew Millman] decided to build a new power supply that keeps things nice and simple. In his words, the goal was to enable “all lights on, no blinking or patterns of any sort”.

Connecting the existing power supply to his oscilloscope, [Matthew] found the stock “steady on” setting was a 72 VAC peak-to-peak square wave at about 500 Hz. To recreate this, he essentially needed to find a 36 VDC power supply and swap the polarity back and forth at the same frequency. In the end the closest thing he could find in the parts bin was a HP printer power supply that put out 30 volts, so the lights aren’t quite as bright as they were before, but at least they aren’t blinking.

To turn that into a pair of AC square waves, the power supply is connected to a common L298 H-Bridge module. You might expect a microcontroller to show up at this point, but [Matthew] went old school, and created his two alternating 500 Hz square waves with a 555 timer and a 74HC74D dual flip-flop.

Unfortunately, he didn’t have the time to get a custom PCB made before Santa’s big night. Though as he points out, since legitimate L298s are backordered well into next year anyway, having the board in hand wouldn’t have helped much. The end result is that the circuit has to live on a breadboard for the current holiday season, but hopefully around this time next year we’ll get a chance to see the final product.

WS2812s On A 6502

We can still remember when the WS2812 LED first came into our consciousness, way back in the mists of time. The timing diagrams in the datasheet-of-questionable-veracity made it sound quite tricky, with tight timing tolerances and essentially a high-speed two-bit PWM data protocol at 500 kHz. It was a challenge to bit-bang with an ATtiny85 back then, but there’s no way something as old and crusty as an Apple II would be up to snuff, right?

[Anders Nielsen] took up the challenge of getting the venerable 6502 processor to drive Neopixels and won! After all, if the chip is good enough for Bender and the Terminator T-800, it should be able to blink some colored LEDs, right? The secret sauce is shift registers!

Specifically, [Anders] abuses the 74LS165 parallel-in, serial-out shift register for his dirty work. Instead of bit-banging the WS2812’s “long high is a 1, short high is a 0” signal directly, the first few bits of the shift register are hard-wired to VCC and the last few to GND.

The bits in the middle determine if the pulse shifted out is long or short, and they’re set by the 6502, through a 6522 VIA chip, just like the Apple II would have. Clocking the data out of the shift register handles the timing-critical stuff. Very clever!

Video below the break.

Continue reading “WS2812s On A 6502”

Kamehameha!! PCB Badge

PCB Art has surely captivated us over the past few years and we’re ever intrigued with the intricate detail the community puts into their work. We’re no strangers to [Arnov]’s work and he has impressed, yet again, with his Kamehameha PCB badge.

Unfortunately, no 555 timer was used in the making of this project, but don’t let that turn you away. Instead, we have an ATtiny84 microcontroller for implementing the logic to control the LEDs, a MOSFET-based driver for driving current through the LEDs, and, of course, the LEDs to give the “turtle destruction wave” its devastating glow. Pay really close attention to the detail [Arnov] put into the silkscreen as you can see that’s a pretty crucial part of this build.

Aside from marveling at [Arnov]’s work, fans of the OrCAD PCB designing software will learn how to import an image file into their project as [Arnov] walks through that step in his tutorial. He even has some pretty good reflow soldering tips if you’re looking to try your hand at SMD soldering.

Another cool build [Arnov]. Keep it up!

Continue reading “Kamehameha!! PCB Badge”

Naruto PCB Art

Ninja Art: PCB Nightlight Jutsu!

This latest PCB artwork comes to you courtesy of [Arnov]. His Naruto nightlight is definitely going to get your anime-loving friends’ attention.

The LED illumination styles are controlled by an ATtiny13A microcontroller. He probably could have opted for a 555 timer with this one, but maybe he wanted easily programmable blinking patterns. He also programmed the ATtiny to read a small button which he used to cycle through different illumination styles. Finally, a small LiPo battery makes this project pretty portable, so you can reposition it freely around your work area as you might like.

With all that being said, the meat of this project is in the physical dimensional design of the PCB. [Arnov] was able to design the circuit board in the shape of Naruto’s head, with pretty good detail for his hair, eyes, and headband. If you’ve ever tried your own PCB art, you know that it can be a fairly onerous task. He creatively used the copper traces as features within the PCB, in this case, Naruto’s ninja headband. We thought the subtle decision of putting the LEDs on the backside of the PCB was smart as well. By doing so, he used the solder mask as a natural light defuser which really gave the PCB a cool, yellow glow. Carefully removing the copper layer and not using a copper pour really aided in the aesthetic. He was also smart to opt for yellow solder mask since Naruto’s hair is yellow.

All in all, two thumbs up [Arnov]. While you’re here, check out some other great PCB art around Hackaday.

Continue reading “Ninja Art: PCB Nightlight Jutsu!”