Escape Room Game Master
Hardware Lighting

DMX512 in Escape Rooms: The Plain-English Guide

Everything you need to know about using DMX512 to control lights and effects in your escape room — without the theatrical jargon. Wiring, addressing, troubleshooting.

By Escape Room Game Master Team ·

If you’ve shopped for escape room lighting, you’ve seen the acronym DMX512 everywhere — and a lot of confused threads online about how it works. The theatre industry has been using DMX for 40 years, but escape room operators learning it for the first time get drowned in jargon.

This guide cuts through the noise. By the end, you’ll know exactly how to wire DMX lights in your room, set addresses, and troubleshoot when things go wrong.

What DMX512 actually is (in 90 seconds)

DMX512 is a simple serial protocol for controlling lights and effects. Think of it like this:

That’s it. No IP addresses. No Wi-Fi. No cloud. Just a wire carrying 512 numbers, 40 times a second.

Why DMX won the lighting wars

The trade-off: it’s one-way. The controller sends, devices listen. There’s no feedback. If a fog machine fails to fire, the controller has no idea.

How addressing works (this is the part that confuses people)

Every DMX device on the line has an address — a number from 1 to 512.

When you set the address on a device, you’re saying: “Start listening from this channel.” The device then reads the next N channels (where N is how many channels that device needs).

Examples

A simple 8-channel relay board at address 1 uses channels 1–8:

A second 8-channel relay board chained after it should be addressed at 9 (so it uses channels 9–16). Why? Because addresses 1–8 are already taken by the first board.

A 3-channel RGB light at address 17 uses:

An 18-channel light fixture at address 20 uses channels 20–37 (six outputs × 3 RGB channels each).

Setting addresses

Most cheap DMX devices use DIP switches — tiny binary switches that add up. The values are:

SwitchValue
11
22
34
48
516
632
764
8128
9256

To set address 17: flip switches 1 + 5 (1 + 16 = 17). To set address 25: flip switches 1 + 4 + 5 (1 + 8 + 16 = 25).

Use a DIP switch calculator until it becomes second nature.

Wiring a DMX chain (the right way)

The “chain” is literal: one cable goes from the controller → device 1 → device 2 → device 3 → … → terminator.

[ESP32 DMX out] →─→─→─→ [Relay Board 1] →─→─→ [Relay Board 2] →─→─→ [Light Board] →─→─→ [120Ω terminator]

Rules:

  1. Use proper DMX cable (110Ω impedance) — NOT microphone cable. They look identical; they’re not.
  2. Daisy-chain in/out terminals — don’t run home-runs from a star.
  3. Terminate the end of the chain with a 120Ω resistor (or buy a DMX terminator plug for $5).
  4. Avoid loops — no running the cable back to the start.
  5. Keep DMX away from power cables — induced noise will cause flicker.

Cable choice

CableUse for
5-pin XLRPro theatre installations
3-pin XLRCheap and common (mistakenly used for audio too)
RJ45 (Ethernet-style)Cheapest for indoor use; needs DMX-over-RJ45 adapters

For most escape rooms, RJ45 with the right adapters is fastest and cheapest. Ethernet cable runs are easy to install and replace.

Common problems and fixes

”All my devices flicker”

Almost always a termination problem. Add a 120Ω resistor to the last device’s “DMX out” terminal. Problem usually goes away within 5 seconds.

”Device 2 works, but device 3 doesn’t”

Check:

  1. Is the cable between 2 and 3 actually connected to DMX OUT of 2 and DMX IN of 3? Swapped polarity is the #1 cause.
  2. Does device 3 have power? (DMX is data only, devices need their own power.)
  3. Did you set the address correctly on device 3? Re-check the DIP switches.

”Random devices toggle by themselves”

Power supply noise. DMX is robust but cheap 12V power supplies can inject noise into shared grounds. Use a higher-quality regulated supply and keep DMX ground separated from relay coil grounds.

”Works for 30 seconds then dies”

Almost always address overlap. Two devices set to the same address fight each other. Walk the chain, re-check every device.

How our system handles DMX

Escape Room Game Master speaks DMX through the ESP32 controller. You configure your DMX chain once in an Excel template:

BoardTypeDIP AddressChannels
DMX-RLY-ARelay (8 channel)11–8
DMX-RLY-BRelay (8 channel)99–16
DMX-LGT-ALight (18 channel)1717–34

The app auto-calculates device IDs (the sequential numbers your dashboard uses to control each output). One PowerShell command pushes that config to the ESP32. Done.

You can chain dozens of DMX devices per ESP32 — locks, lights, fog machines, motorized props — all controlled from one dashboard.


Cheat sheet

Once you’ve wired one DMX chain successfully, the rest are easy. The first one is where everyone gets stuck on DIP switches and terminators.

Ready to upgrade your escape rooms?

Try Escape Room Game Master on your hardware today. Free, self-hosted, no subscription.

Get started