A staple of consumer devices for decades, seven segment displays are arguably one of the most recognizable electronic components out there. So it’s probably no surprise they’re cheap and easy to source for our own projects. But that doesn’t mean there isn’t room for personal interpretation.
[MacCraiger] wanted to build a wall clock with the classic seven segment LED look, only his idea was to make it slightly larger than average. With RGB LED strips standing in for individual LEDs, scaling up the concept isn’t really a problem on a technical level; the tricky part is diffusing that many LEDs and achieving the orderly look of a real seven segment display.
All those segments perfectly cut out of a sheet of plywood come courtesy of a CNC router. Once the rectangles had been cut out, [MacCraiger] had to fill them with something that could soften up the light coming from the LEDs mounted behind them. He decided to break up a bunch of glass bottles into small chunks, lay them inside the segments, and then seal them in with a layer of clear epoxy. The final look is unique, almost as though the segments are blocks of ice.
At first glance the use of a Raspberry Pi Zero to control the LED strips might seem overkill, but as it turns out, [MacCraiger] has actually added in quite a bit of extra functionality. The purists might say it still could have been done with an ESP8266, but being able to toss some Python scripts on the Linux computer inside your clock certainly has its appeal.
The big feature is interoperability with Amazon’s Alexa. Once he tells the digital home assistant to set an alarm, the clock will switch over to a countdown display complete with digits that change color as the timer nears zero. He’s also written some code that slowly shifts the colors of the digits towards red as the month progresses, a great way to visualize at a glance how close you are to blowing past that end of the month deadline.
Quality software development examples can be hard to come by. Sure, it’s easy to pop over to Google and find a <code> block with all the right keywords, but having everything correctly explained can be hit or miss. And the more niche the subject, the thinner the forum posts get. Bucking the downward trend [HansLuijten] provides an astoundingly thorough set of LED strip patterns in his comprehensive post titled Arduino LED strip effects.
Don’t let the unassuming title lead you astray from the content, because what’s on offer goes beyond your average beginner tutorial on how to setup a strand of NeoPixels. [HansLuijten] is thorough to a fault; providing examples for everything from simple single color fades and classic Cylon eyes to effects that look like meteors falling from the sky. Seriously! Check out the videos on their webpage. Those chasing lights you see around theater signs? Check. Color twinkle and sparkle? Check. Color wipes and rainbow fades? Check, and check. Continue reading “An LED Effect For Every Occasion”→
What’s better than 1 string of LED lights? 96. That’s how many. Each string of the 96 has 60 ws2812b LEDs, for a total of 5760 individually addressable RGB LEDs. That’s not the cool part of [jaymeekae]’s Space Tunnel installation, the cool part is that they’re interactive.
Starting out with some PVC piping, dark cloth was used as a backdrop and the LED strips were attached to it. Several power supplies are used to supply the voltage necessary and each strip controlled by FadeCandy chips which connect to, in this case, a Windows PC via USB. Initially, computer power supplies were used, but they couldn’t supply the current necessary. [jaymeekae] used them for the first installation, but switched to better power supplies for further installations.
Once the lights were up and powered, [jaymeekae] started work on the interface to control them. Starting with a used bureau, [jaymeekae] cut out a section for the touchscreen, and installed the controlling computer in the bottom half. Processing is used to interface with the FadeCandy controllers and HTML is used for a user interface. Each mode runs a different Processing program for different effects, including audio visualization, a space tunnel mode (hence the name) and a cool drawing app where the user draws on the touchscreen and sees the results in the lights overhead.
Over several iterations, the Space Tunnel has evolved, with better power supplies and a better interface. It’s a great art installation and [jaymeekae] takes it to festivals, including one in Spain and one in the UK. There are some other LED string projects at Hack-a-Day, including this one with ping-pong balls, and this one that involves drinking a lot of beer first.
If you have ever thought that working out a Collatz sequence by hand was alright but lacked buttons and lights, the Collatz-o-matic by [mechatronicsguy] has you covered!
The device is a type of Tag system calculator. [mechatronicsguy] explains that a Tag system is a method of computing similar to a Turing machine; it consists of a read & write FIFO array (or tape or queue) of indeterminate length, and at every step the system reads the symbol at the “head”, deletes a fixed number of symbols from the “head”, and depending on what that first symbol was, appends one or more symbols to the “tail”. Then the process repeats with whatever new symbol is at the head.
The Collatz-o-Matic uses an RGB LED string to represent the queue, and is set up in the following way:
Delete two symbols (tags) from the front of the queue.
[Cheng] gets full marks for the neo-IKEA name for the project and bonus points for clean execution and some nice animations to boot. The build is straightforward: build up the lamp so that it fits around your waist, zip-tie in the RGB LED strip, and connect up accelerometer and microcontroller. A tiny bit of coding later, and you’re off to the disco. It looks like a ridiculous amount of fun, and a sweet weekend build.
The project took around 450 meters of RGB strips controlled by two Rainbowduinos and driven by sixty-four power Mosfets, sixty-four bipolar transistors, and a few other components. Producing white light from the LEDs draws 8 amps from the power supply.
The Rainbowduino is an ATmega328 Arduino compatible board with two MY9221 controllers. Each controller handles 12 channels of Adaptive Pulse Density Modulation. In other words, it makes the LEDs flash nicely. [Loren] used the Rainbowduino instead of some alternatives because multiple R’duinos can coordinate their activities over I2C.
The software part of the project did not work as well as the hardware. The light patterns were supposed to follow the music being played. A PC software package intended to drive the R’duinos produced just a muddy mess. Some kludges, including screen captures (!), driven by a batch file tamed the unruliness.
While [Drew] was in China for the Dangerous Prototypes Hacker Camp, he picked up some very bright, very shiny, and very cheap LED strips. They’re 5 meter “5050” 12V strips with 20 LEDs per meter for about $15 a spool. A good deal, you might think until you look at the datasheet for the controller. If you want an example of how not to document something, this is it.
A normal person would balk at the documentation, whereas [Drew] decided to play around with these strips. He figured out how to control them, and his efforts will surely help hundreds in search of bright, shiny, glowy things.
The datasheet for the LPD6803 controller in this strip – available from Adafruit here – is hilarious. The chip takes in clocked data in the order of Green, Red, and Blue. If anyone can explain why it’s not RGB, please do so. Choice phrasing includes, “VOUT is saturation voltage of the output polar to the grand” and “it is important to which later chip built-in PLL regernate circuit can work in gear.” Apparently the word ‘color’ means ‘gray’ in whatever dialect this datasheet was translated into.
Despite this Hackaday-quality grammar, [Drew] somehow figured out how to control this LED strip. He ended up driving it with an LPC1768 Mbed microcontroller and made a demo program with a few simple animations. You can see a video of that below.