The DMX*LEV Lighting System
A DMX512/RDM512 Controlled Light Electric Vehicle Lighting System by Moxon Design
We'll give an overview of the firmware here, as well as the defintions of the DMX*LEV system addressing and control functions.
Erwin Rol gives a good overview of the DMX512 protocol, which I would recommend reading before you try to understand what is going on here. Below is a depiction of a DMX512 data frame :
As the name implies there are 512 DMX channels, each of which gives you one byte of control information per channel. (And yes you can use two (2) channels if you need sixteen (16) bits of data.) So for most DMX systems, you need to know the channel mapping to determine how things are controlled. The DMX*LEV controller uses thirty-two (32) channels for the switch information, such as the throttle setting, the headlight dimmer setting, etc. These thirty-two (32) channels are considered "global" as any of the lights can respond to one of those switch channels actively.
In general however, the lights are passive, meaning that they just listen to a specific DMX channel that tells them their brightness. It is the DMX*LEV controller that determines what light(s) should be triggered based on a specific switch setting, or a combination of switches.
DMX/RDM512 Channel Assignments
Reserved Group
- Reserved
- Reserved
- Reserved
- Reserved
- Reserved
- Reserved
- Reserved
- Reserved
Switch Group 1
- Brake Switch
- Throttle
- Turn Right Switch
- Turn Left Switch
- Light Switch
- Horn Switch
- Key Switch
- Backup Switch
Switch Group 2
- Kill Switch
- Hibeam Switch
- RPM Right Rear Wheel
- RPM Left Rear Wheel
- RPM Right Front Wheel
- RPM Left Front Wheel
- Cadence RPM
- Foglight Switch
Switch Group 3
- Cruise Control On/Off Switch
- Cruise Control + Switch
- Cruise Control - Switch
- Alarm Switch
- Accessory 1 Switch
- Wiper1 Switch
- Wiper2 Switch
- Hazard Switch
Switch Group 4
- Reserved
- Reserved
- Reserved
- Reserved
- Reserved
- Reserved
- Reserved
- Reserved
Tail Light (Center) Group
- Brake Light
- Acceleration Light
- Turn Right Signal Light
- Turn Left Signal Light
- Bottom Running Light
- Middle Running Light
- Top Running Light
- Backup/Reverse Light
Head Light (Center) Group
- Head Light
- Hibeam Light
- Turn Right Signal Light
- Turn Left Signal Light
- Bottom Running Light
- Middle Running Light
- Top Running Light
- Fog Light
Tail Light (Left) Group
- Brake Light
- Acceleration Light
- Turn Right Signal Light
- Turn Left Signal Light
- Bottom Running Light
- Middle Running Light
- Top Running Light
- Backup/Reverse Light
Head Light (Left) Group
- Head Light
- Hibeam Light
- Turn Right Signal Light
- Turn Left Signal Light
- Bottom Running Light
- Middle Running Light
- Top Running Light
- Fog Light
Tail Light (Right) Group
- Brake Light
- Acceleration Light
- Turn Right Signal Light
- Turn Left Signal Light
- Bottom Running Light
- Middle Running Light
- Top Running Light
- Backup/Reverse Light
Head Light (Right) Group
- Head Light
- Hibeam Light
- Turn Right Signal Light
- Turn Left Signal Light
- Bottom Running Light
- Middle Running Light
- Top Running Light
- Fog Light
Side Light (Center Left) Group
- Upper Accent Light
- Lower Accent Light
- Turn Right Signal Light
- Turn Left Signal Light
- Bottom Running Light
- Middle Running Light
- Top Running Light
- Down Light
Side Light (Center Right) Group
- Upper Accent Light
- Lower Accent Light
- Turn Right Signal Light
- Turn Left Signal Light
- Bottom Running Light
- Middle Running Light
- Top Running Light
- Down Light
Side Light (Front Left) Group
- Upper Accent Light
- Lower Accent Light
- Turn Right Signal Light
- Turn Left Signal Light
- Bottom Running Light
- Middle Running Light
- Top Running Light
- Down Light
Side Light (Front Right) Group
- Upper Accent Light
- Lower Accent Light
- Turn Right Signal Light
- Turn Left Signal Light
- Bottom Running Light
- Middle Running Light
- Top Running Light
- Down Light
Side Light (Rear Left) Group
- Upper Accent Light
- Lower Accent Light
- Turn Right Signal Light
- Turn Left Signal Light
- Bottom Running Light
- Middle Running Light
- Top Running Light
- Down Light
Side Light (Rear Right) Group
- Upper Accent Light
- Lower Accent Light
- Turn Right Signal Light
- Turn Left Signal Light
- Bottom Running Light
- Middle Running Light
- Top Running Light
- Down Light
Now we don't really imagine that someone will have all of those lights simulataineously (well, we might just try it...), but the idea is to support different configurations for addressing blink and chase patterns.
As we get closer to releasing the DMX*LEV lighting system, we'll put some more information about the firmware here. The firmware is based on a simple interrupt driven state machine, using the DMX512 bus state as the controlling mechanism.