Theatrical lighting usually runs with the help of DMX, a protocol that’s basically MIDI for lights; small, lightweight, ancient, and able to run on the lowest spec computers imaginable. For his Hackaday Prize entry, [Alex] figured a regular ‘ol graphing calculator was sufficient to run a complete DMX controller, and with the help of an Arduino, figured out a way to do it.
The hardware for the system consists of a TI-84 graphing calculator, a few bits and bobs in the way of components, and an Arduino Pro Mini powered from the USB port on the calculator. The Arduino handles the transmitting of DMX packets at 250 kbaud using the DMXSimple library over a 5-pin XLR jack.
The software running on the calculator is where the novel part of the project begins. The software is designed to be extremely lightweight, sending packets to the Arduino using the 2-wire link cable. DMX Commands are wrapped up and transferred using the TI-83/84 link protocol, decoded on the Arduino, and sent out to the lighting rig.
While this probably won’t replace the multi-thousand dollar lighting consoles found in theatres, it’s still a very handy and portable tool for debugging lights. It’s also [Alex]‘s My First Electronics Project™, and a pretty good one at that.
The project featured in this post is an entry in The Hackaday Prize. Build something awesome and win a trip to space or hundreds of other prizes.
Despite being around for about as long as MIDI, DMX, the industry standard for controlling stage lighting and smoke machines, is still an astonishing expensive protocol to work with. Where MIDI can be banged out with a simple microcontroller – with odd bit rate requirements, no less, DMX testers cost hundreds of dollars. Of course this means the market is wide open for a DIY DMX tester, and over on the projects site [Tony] has just the thing.
For the hardware, [Tony] is using few 4×4 matrix keypads for user input, and a character LCD for the display. With this, he can set any of the 512 lighting channels in a DMX setup to any one of the 256 intensity values. Setting a range of channels to any intensity is a snap, with an extremely cut down command protocol. All the processing is handled by an Arduino, which seems more than capable of handling the DMX protocol thanks to the Conceptionetics DMX library.
While it’s not a full-blown lighting console you’d find in the back of a theatre, it’s more than sufficient to test a lighting rig. It also seems pretty simple to use, just the thing if you’re trying to wrap your brain around some theatrical lighting.
When [Robert] is presented with a challenge, he doesn’t back down. His friend dreamed of reusing some old LED panels by mounting them to the ceiling of the friend’s night club. Each panel consists of a grid of five by five red, green, and blue LEDs for a total of 75 LEDs per panel. It sounded like a relatively simple task but there were a few caveats. First, the controller box that came with the panels could only handle 16 panels and the friend wanted to control 24 of them. Second, the only input device for the controller was an infrared remote. The friend wanted an easy way for DJ’s to control the color of the panels and the infrared remote was not going to cut it. Oh yea, he also gave [Robert] just three weeks to make this happen.
[Robert] started out by building a circuit that could be duplicated to control each panel. The brain of this circuit is an ATtiny2313. For communication between panels, [Robert] chose to go with the DMX protocol. This was a good choice considering DMX is commonly used to control stage lighting effects. The SN75176 IC was chosen to handle this communication. In his haste to get this PCB manufactured [Robert] failed to realize that the LED panels were designed common cathode, as opposed to his 25 shiny new PCB’s which were designed to work with a common anode design. To remedy this, he switched out all of the n-channel MOSFET with p-channel MOSFET. He also spent a couple of hours manually cutting through traces and rewiring the board. After all of this, he discovered yet another problem. The LED’s were being powered from the same 5V source as the microcontroller. This lead to power supply issues resulting in the ATtiny constantly resetting. The solution was to add some capacitors.
Click past the break for more on [Robert's] LED panels.
Continue reading “Custom Electronics and LED Panels Brighten Up a Nightclub”
[Chris] and his friends were kicking around ideas for a Burning Man project, and this is the one that stuck: a rock climbing wall with RGB LEDs embedded in the holds. The holds themselves were custom made; the group started by making silicone molds of varying shapes and sizes, then added the electronics and poured in polyurethane resin to create the casting. The boards for these LEDs are equipped with a central hole that pairs up with a peg in the silicone mold. [Chris] also solved an annoying spinning problem by affixing a bolt to the far end of the LED board: once embedded in the polyurethane, the bolt provides resistance that the thin board cannot. The finished holds bolt onto the wall with all their wires neatly sticking out of the back to be hooked up to a central controller.
The Instrucables page suggests a few ways to get the lights working, including grabbing the nearest Arduino and relying on the Neopixel Library from Adafruit. [Chris] went the extra mile for Burning Man, however, designing Arduino-software-compatible controller boards capable of communicating via DMX, which expanded the system from a simple display to one capable of more complex lighting control. Stop by the Github for schematics and PCB layouts, and stick around for a video of the wall after the break. If the thrill-seeking outdoorsman inside you yearns for more, check out WALL-O-TRON from earlier this summer.
Continue reading “FLASH.IT: The RGB LED climbing wall”
This is the lighting controller [Paul Stoffregen] built for Burning Man. They wanted to go with DMX controlled lighting this year but that most often includes a computer to run the lighting sequences. This board runs the preprogrammed DMX sequence using a hacked lighting design file.
The choreography for the lighting was planned out using a program called Vixen 2. There is one newer version of the software, but [Paul] needed to translate the output file for use with a microcontroller and version 2 makes this a bit easier than version 3. Speaking of conversion, he didn’t want to start from square one and a bit of searching led to a tutorial which [Bill Porter] posted last year on converting Vixen files for use with Arduino. It wasn’t exactly what he had in mind, but most of the ground work was there.
A few code tweaks bent the script to [Paul's] will. He changed the XML parsing function to ignore all but the main channels in the file. He also had it output a text file which can be stored on the SD card. Because the output is not being flashed to a chip this greatly increases the storage available paving the way for much longer and more complex shows.
Want to learn more about the protocol used by DMX equipment? Check out this primer.
So Halloween finally arrived, we hope you had enough time to pull off your frightening feats in the way you had originally envisioned. Now it’s time again to look to the future and start planning this year’s Christmas decorations. Lights are always a popular theme, and this year you might want to look into DMX lighting controls and decide if that’s a route you want to take. [Akiba] has your back, he just put together a set of videos explaining the DMX lighting protocol and how to use it with an Arduino.
The thought here is that the Arduino can be used as a sort of DMX hub that is connected directly to a computer running open source controller hardware. It can send commands which the Arduino decodes, deciding whether to just pass them on to DMX compatible devices, or to do what it does best and control other hardware that is not normally accessible through the lighting command protocol. To the control program your four-dollar strand of LED lights looks no different from a thousand dollar stage light, making it cheap and easy to build your own entertaining holiday show right in your front yard. See the second video in this series after the break where [Akibo] details the hardware setup for his system. The other parts are available at the link above.
Be careful, this can be a consuming endeavor. Don’t believe us? Just look around and you’ll find no shortage of large DMX builds just for Christmas lights.
Continue reading “Looking toward Christmas decor by learning about DMX”
Hackaday reader [Michael] wrote in to share the build details of an impressive lighting console he has been working on for some time. He says that the 36+ channel console is on par with lighting rigs costing upwards of $5,000, but his was constructed for just around $1,000 – quite the substantial savings.
The console was constructed around an old IBM desktop computer, which handles all of the DMX output as well as preset management. An array of 20 ATMega 328Ps running the Arduino bootloader are scattered throughout the device, 18 of which are used to manage the six fader panels, while the remaining two handle management tasks. Aside from the fader banks, the console features a main control board featuring several LCD screens along with 17 capacitive touch buttons used for menu navigation and console control.
While [Michael] is finished building the board, he has just begun the documentation of the construction process. His blog should be updated regularly with more details, so be sure to check back often. Code, as well as hopefully tons of pictures and videos are all forthcoming.
[Edit: Cost comparison update]