DecaBox RS232 to DMX

Converts between MIDI, DMX, RS-232 Serial and IR

The DecaBox Universal Protocol Bridge – Click to Enlarge

This firmware personality allows anything with a standard serial port to generate DMX scenes, looks and fades.

Data is accepted a standard 9600 8N1 baud rate. A universe of DMX-512 information is sent out the back door, based on a simple human-readable ASCII command set.

All commands are followed by a carriage return (noted by [cr] below). Note that the 8-bit DMX channel value scale is accessed directly – its range is [0 255] – rather than on a 0-100% scale.


Set channel XXX (a three digit decimal number in the range [1 512] to value YYY (a three digit decimal number in the range of [0 255]). Fade time is instant.

F012:234[cr] Set DMX channel 012 to 234


As above, except that a three digit fade time ZZZ is included. This time is measured in tenths of a second.  Thus, fades of up to 99.9 seconds can be described.

F511:128t025[cr] Fade channel 511 to 50% over 2.5 seconds

Set a group of channels to a specific level, instantly or with a calculated fade:



F020-100:200t040[cr] Fade channels 20-100 to 200 over 4 seconds.

Finally, the lowly semicolon – ‘;’ – can be used to chain commands together, to build crossfades. Note that only one time value is used per command line, and it’s included at the end of the series:


Fade channels AAA-BBB to zero, set 124 to full, fade 128-150 to 50% over 4.5 seconds.

Also, the system reports ‘OK’ when valid command is received and ‘Done’ when the dimming engine has finished setting the new levels.

Contact us if you need something different or more advanced.

System includes a USB port for easy field updates and firmware changes.

 Posted by at 10:48 pm