JEC

DecaBox MIDI Triggered Triple IR Blaster

 Uncategorized  Comments Off on DecaBox MIDI Triggered Triple IR Blaster
Feb 112021
 

The phone rang a few days ago:

“We’d like to have our MIDI gear trigger IR codes, so we can discretely control three different TVs on stage during a live touring show.”

“Ok.”

For many years, we’ve offered DMX triggered IR playback, but this was new. Further, this customer was building a rack and wanted everything to be rugged and portable. The TVs were mounted as far as 30′ from the equipment rack, so standard CAT5 cabling made sense to use as IR bug extension cords.

Over the course of an afternoon, we edited the main DecaBox circuit board in our CAD library, replacing the standard Neutrik XLR-5 connectors we use for DMX in, through and out with three Neutrik EtherCON jacks.

These shiny CAD files were sent to Asia on a Friday evening. Two days later, we received a DHL tracking number for our small order. In the interim, I locked myself in the programing cave and merged our existing IR and MIDI libraries. When the dust settled, here’s how everything runs:

  • Up to 16 IR codes can be captured. These commands are totally arbitrary. We don’t care if it’s Sony or NEC or Samsung or LG or bargain-bucket Asia Amazon stuff. We simply store the raw IR timing data internally.
  • The user can set the desired MIDI channel, which can be anything between 1 and 16. All MIDI data on other channels is ignored.

As far as mapping goes, there are 128 notes in a MIDI scale. They are divided into octaves of twelve notes. Notes can be identified by their name and octave, like this: C3, F#7, B8. Also, each MIDI note is assigned a number. Note that these are zero-based, so the range is [0 127]. Classic Middle C (orange) is #60 or C4. C-1 is 0. G9 is 127. Etc.

The DecaBox maps MIDI ‘note on’ messages to IR commands and directs signals to its three hardware outputs like this:

Thus, any command can be sent to any output, or to all outputs, depending on what’s needed. All other MIDI data, such as note off, patch change, continuous controller, etc is ignored.

There’s also some tricky wiring in our RJ45 jacks which may be useful for a future project. Assuming a 568-B cable, the blue pair corresponds to pins 4 and 5. IR data is a buffered +5v output relative to pin 5 (ground). Most standard IR bugs handle 5v signals without any issues. However, it’s possible that in the future, this customer, or someone else, may need long-distance IR capabilities. For that reason, the three remaining wire pairs are set up like this:

  • 1 pair is ground
  • 1 pair is DC +9v
  • 1 pair is IR data, but driven by an RS485 (balanced) line driver, similar to how DMX works. This makes it easy to transmit complicated data long distances, without worrying about induced noise.

So all we have to do is design a 1″ square circuit board to accept power, ground and RS485 data, then output standard IR. Presto! Remote IR playback on cable that could be several hundred feet long.

Need one? Let us know.

 Posted by at 8:32 pm

DMX Engine – New Output Selection XLR3 + RJ45

 Uncategorized  Comments Off on DMX Engine – New Output Selection XLR3 + RJ45
Nov 022020
 
We’re proud to use genuine Neutrik connectors.

Since lower-cost DMX equipment often uses either XLR3 or RJ45 connections, we’re pleased to release a version of the DMX Engine which supports both types of cable with zero adapters.

The RJ45 output follows the standard ‘568-B’ wiring scheme, where brown / brown white are tied to ground and orange / orange white contain the data signals.

As always, the pinout for the XLR3 connector is 1 = GND, 2 = D-, 3 = D+. same as the USITT standard that’s been around for nearly 30 years now.

Each output is driven by it’s own set of circuitry, meaning that up to 32 devices may be daisy-chained from each output if required. Be sure to terminate your DMX lines at the far end of the chain, otherwise the intermittent gremlins get in.

Grab yours in the online store today. We’re working to add this version to our Amazon marketplace, and send stock to international distributors as well. Thanks!

Adding DMX Scene Recall to a Dolby DS220 Media Server

 Uncategorized  Comments Off on Adding DMX Scene Recall to a Dolby DS220 Media Server
Jun 102019
 
DecaBox mounted to the wall like a glowing bat in the night.

From time to time, on the other end of a phone call is a variation of a problem we’ve not come across before. Over the years, our gear has integrated well with equipment from AMX, Crestron, Control4, Lutron, Savant, and many others. This was the first time we’d officially been asked to help with a Dolby-based platform.

In short, this group needed to record a handful of DMX scene presets and recall them using their existing theatre automation system. Though the stock DMX record / playback firmware we shipped worked perfectly, the installed Chauvet LED fixtures downstream weren’t able to handle full-speed DMX, an issue we solved clear back in 2011. (For the curious, that story is described here.)

It took just a few minutes to pull the ‘slow speed’ DMX output routines from our library and recompile the DecaBox firmware. Fortunately, the system updates easily in the field via USB; the installation has worked perfectly ever since.

From the customer:


Our venue features a relatively old DMX network–and a scene recall system that is somewhat of a relic. When tasked with finding a way for our Dolby DSS220 Media Server to trigger lighting changes during film screenings, interfacing with that system’s contact closure system was out of the picture given the tight time frame. After contacting ESINC, it sounded like the Decabox was the easiest way to go. The scene recording procedure was painless and quick, and the separate dmx “output” and “through” makes the system exceedingly simple to set up. In addition, the serial command set is easy to master as well.

At one point, I noticed some glitchiness with some of our Chauvet LED fixtures. John Chapman, having dealt with the exact problem in the past, quickly wrote us new firmware that would slow down the DMX output baud rate, which immediately solved the problem.

Thanks for the speedy turnaround, John!

Julian Amrine, Shoreline Community College Theatre
Our simple RS-232 scene recall syntax is shown here in the Dolby control panel.

Need something similar? Let us know.

Overnight DMX Pushbutton Playback

 Uncategorized  Comments Off on Overnight DMX Pushbutton Playback
Mar 122019
 

As is often the case, customers and designers who find our corner of the Web are working against nearly impossible deadlines. This most recent request, late on a Thursday afternoon, was a fun one to fulfill. Their project included DMX lighting in four discrete zones, and they required two separate operating modes:

“We need an untrained operator to trigger a specific sequence of cues using a large pushbutton” & “We need a specific complicated DMX sequence (specifically, a rolling color scroll across about a dozen fixtures) to loop indefinitely.” Naturally, the drop-dead delivery date was in two business days.

Prior to our phone call, they were prepared to spend about $8k on several ‘standalone’ DMX consoles. We were thrilled to offer a more economical and flexible solution.

In the past, we’ve shipped several different versions of a circuit board containing DMX in, through & out jacks, along with an assortment of dry-contact-closure inputs. This card, when loaded with the correct firmware, could record DMX snapshots (a single frame of data) or capture in real time (44 frames per second). Then various snapshots and dynamic scenes can be replayed based on external triggering. Unfortunately, the shop shelves were empty of these cards, and there wasn’t enough time to make new ones.

As an aside, there’s a full service circuit board manufacturer right here in town. We use them for quick-turn work and sensitive designs. Over the years, we’ve occasionally requested four hour (!) turnaround, from email CAD file receipt to courier pickup at their shop. This service isn’t cheap, but it’s remarkable that such things are even possible these days.

So moving to Plan B: Our shelves are packed with a new batch of DecaBox chassis sets, assembled and ready to be loaded with firmware. How to quickly add rugged, reliable, remote pushbutton input without changing any existing hardware, drilling holes in chassis sets, or making a huge mess?

The answer, after some pondering, was a riff on how industrial automation systems communicate with external sensors: a current loop. The most popular version is called 4-20mA, representing logic low and high values respectively. If 4 mA is flowing in the wires, the logic level is zero. If 20 mA, logic is one. And in the industrial world, if ZERO mA are flowing, or if 20+ mA are flowing, a fault with the cable or sensor is assumed, the system squawks and repairs can be made.

In alarm systems, window and door sensors work in a similar way. ‘Open’ is one current value, ‘closed’ is a second. No current flowing at all means a cut wire, so phone the (now overseas) mothership and complain.

Now, the DecaBox doesn’t normally communicate with industrial sensors, but it does contain a rugged, buffered, industry-standard, short-tolerant, high voltage RS-232 interface. Our quick & dirty solution was to transmit a repeating, pre-defined data stream on DB-9 pin 3, the usual TX pin and then listen for its presence on the receive pin.

A handful of standard shielded M-F DB-9 cables, 6′, were sacrificed for the cause. On the chopped-off female end, wires corresponding to pins 2 & 3 were connected to the normally closed terminals of rugged arcade pushbutton switches. These switches are nearly indestructible and would mount perfectly on the wall of the booth / installation.

During regular operation, the DecaBox transmits serial data and listens for loopback. If they match, the wiring is correct, the button is undisturbed, and nothing happens. But once loopback breaks and no data is received, the DecaBox knows it’s time to read the pre-stored DMX cue sequence from the internal memory card, send it to the outside world, then resume waiting for a new contact event.

Simple & elegant & shippable within about six business hours, including testing and verifying new snippets of source code.

Oh, and scenario #2? Perpetually looping DMX scene playback? Trivial to accomplish using our stock recording and playback firmware. A complicated scene can replay until power is lost or the cows come back, whichever comes first.

We ended up shipping 4 separate DecaBoxes, one for each lighting zone. Two were pushbutton triggered and two set up to loop their internal scenes. Of course, the firmware is user-selectable to run in either mode, based on settings made using the panel LCD and pushbuttons.

Need something similar? We’d love to hear from you.

 Posted by at 10:16 pm

RS-232 DMX Engine – RJ45 Outputs

 Uncategorized  Comments Off on RS-232 DMX Engine – RJ45 Outputs
Feb 272019
 
RS232 DMX Engine - RJ45 Output

We’re happy to have released a version of the DMX Engine with RJ-45 outputs. Many of our customers use regular CAT5 cable and terminations as a backbone, and this version of the engine was designed to make their lives simpler. Also, many low-cost DMX decoders use RJ45 connections for data in and through.

The system works exactly the same as before – each output has its own drive stage which can feed a minimum of 32 connected DMX devices. We chose genuine Neutrik EtherCON jacks for durability and rugged design. The output pinout matches the current ESTA standard: data on the orange / orange white pair and ground on brown.

Grab yours today in our online store. Outside the US? We’re thrilled to ship directly using DHL, UPS, FedEx or the postal service. Alternately, check with a nearby distributor.

 Posted by at 5:52 pm