RGB LED cubes are great, but building the cube is only half the battle – they also need to be driven. The larger the cube, the bigger the canvas you have to exercise your performance art, and the more intense the data visualization headache. This project solves the problem by using Unity to drive an RGB LED cube in real-time.
We’re not just talking about driving the LEDs themselves at a low level, but how youwhat you want to display in each of those 512 pixels.
In the video, you can see [TylerTimoJ]’s demo of an 8x8x8 cube being driven in real-time using the Unity engine. A variety of methods are demonstrated from turning individual LEDs on and off, coloring swaths of the cube as though with a paintbrush, and even having the cube display source image data in real-time (as shown on the left.)
Decorating graduation caps is often frowned upon by the administration but [Dan Barkus] is challenging his school authorities to keep from smiling when they see what he has in store. His build will dazzle the audience by mounting 1024 RGB LEDs in a 32×32 matrix on top of his cap, but hidden under the cap’s black cloth. When the LEDs are off he’s indistinguishable, and when he fires up the LEDs, shine through and put on a heck of a show. He can type messages on his phone to be displayed on the cap. He can even display images and animated GIFs.
The LED display can draw up to 4 amps at full white brightness so he picked up a USB battery with two output ports, one capable of 2.1 amps and the other 2.4 amps. He then hacked together a cable that has two USB connectors on one end, connected in parallel, and a DC jack on the other end. Altogether the battery bank is capable of up to 4.5 amps output combined out those two ports, meeting the LED display’s needs. The DC jack is plugged into the Teensy and all power goes through there.
One problem [Dan] had was that the Bluetooth module was booting up before the Teensy. It didn’t see the Teensy in time, causing the Bluetooth not to work. The solution he found is shown in the 2nd video embedded below. The fix powers the Bluetooth module separately, using a current limiting resistor and a capacitor to build up the voltage, delaying just long enough for the Teensy to win.
Before you zip to the comments to scream “not a hack,” watch a few minutes of this teardown video. This 48 minute detailed walkthrough of a one-off art piece shows every aspect of the project: every requirement, design decision, implementation challenge, and mistake. Some notable details:
PCBs that are 1 meter wide (all one piece!)
350,000 white LEDs
Carbon fiber enclosures
1-wire serial bus (like the WS2812 only not quite) with 12 bit resolution (TLC5973)
Customized cable test jigs, PCB test jigs, and test modes
An exploration on ESD issues in production
It’s not often that one sees teardowns of professional projects like this, and there’s quite a bit to learn from in here, besides it being a beautiful piece of art. See more about the Caviar House “Emergence” project at the Heathrow Airport, along with stunning pictures and video of the display in action.
If you’re thinking about how you’d control 350,000 individual LEDs with 12 bit grayscale and have it look smooth, check out the processor requirements behind the megascroller, which only handles 98,000 LEDs. More recently, we asked how many LEDs are too many, and the answer was quite a bit lower than 350k.
With the end of the Artefact Festival approaching, they still had this leftover color-changing LED from an otherwise scavenged toy reverb microphone. When powered by a 9 V battery, the LED would start a tiny light show, flashing, fading and mixing the very best out of its three primary colors. Acoustically, however, it spent most of its time in silent dignity.
As you may know, this kind of LED contains a tiny integrated circuit. This IC pulse-width-modulates the current through the light-emitting junctions in preprogrammed patterns, thus creating the colorful light effects.
To give the LED a voice, the participants added a 1 kΩ series resistor to the LED’s “anode”, which effectively translates variations in the current passing through the LED into measurable variations of voltage. This signal could then be fed into a small speaker or a mixing console. The LED expressed its gratitude for the life-changing modification by chanting its very own disco song.
This particular IC seems to operate at a switching frequency of about 1.1 kHz and the resulting square wave signal noticeably dominates the mix. However, not everything we hear there may be explained solely by the PWM. There are those rhythmic “thump” noises, shifts in pitch and amplitude of the sound and more to analyze and learn from. Not wanting to spoil your fun of making sense of the beeps and cracks (feel free to spoil as much as you want in the comments!), we just say enjoy the video and thanks to the people of the STUK Belgium for sharing their findings.
[Hans Peter] had reached the moment of popping the question. Going down on one knee and proposing to his girlfriend, the full romantic works.
He’s a brave man, [Hans]. For instead of heading for the jeweller’s and laying down his savings on something with a diamond the size of a quail’s egg he decided that his ring should contain something very much of him. So he decided to 3D print a ring and embed a slowly pulsing LED in it. He does mention that this ring is a temporary solution, so perhaps his soon-to-be-Mrs will receive something sparkly and expensive in due course.
To fit his LED and flasher in such a small space he used a PIC10F320 microcontroller that comes in a SOT-23-6 package. This was chosen because it has a handy PWM output to pulse the LED rather than flash it. This he assembled dead-bug style with an 0603 LED, and a couple of hearing aid batteries to power the unit. He has some concerns about how long the hearing aid batteries will power the device, so as he wrote he had better hurry and get on his knees. (He informs us in his tip email that she said yes.)
With the crazy extremes of light flux density that are possible these days, we’re putting quotation marks around “world’s brightest”, but it’s abundantly clear that this flashlight build is very much too bright. No, really. Why would you want a flashlight so bright that you have to wear sunglasses to look at anything that’s within a twenty foot radius?
Because you can. [Mads Nielsen] combined 18, one hundred Watt LED units with some giant machined heatsinks, fans to cool those heatsinks, lenses, and other hardware to make a device that turns electrons into photons at an alarming rate. Each chip-on-board LED package requires 32 Volts, and they’re pairwise in series so it’s a 64 V system. A boot converter pushes up the twelve LiPo battery packs up to the required voltage.
Even with the relatively high voltage, this thing sucks in 27 A, so the power supply is distributed among four of these boost converters. All of this means thick cables and a rather hefty power switch. When you’re designing something ridiculous, all of these little details come out of the woodwork. We’ve included part one of the four-part build video here, because they’re full of great detail. [Mads] has a lot more interesting LED-related info on his YouTube channel. You can watch the showing-off video on your own time.
When [Vance] joined his local hackspace he sought a project to take advantage of the new tools at his disposal. His solution: an attractive LED colour wheel clock using neopixels driven by an NTP-synchronised ESP8266. Each neopixel illuminates a segment of the clock face through frosted diffuser, the hours are tracked as a red light, the minutes blue, and the seconds green. As each color passes another they are mixed, creating a changing colorscape. 12 neopixels are used, and the whole clock is mounted in a laser cut enclosure.
After an initial prototype on a piece of stripboard he created a PCB in KiCad, complete with space for a 3.3v regulator. This and the source code can be found on the project’s GitHub repository.