home
 
DMX*LEV
Introduction
 
Background
Prototype
Schematics
Firmware
 
Purchasing
 
  


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
  1. Reserved
  2. Reserved
  3. Reserved
  4. Reserved
  5. Reserved
  6. Reserved
  7. Reserved
  8. Reserved


  9. Switch Group 1
  10. Brake Switch
  11. Throttle
  12. Turn Right Switch
  13. Turn Left Switch
  14. Light Switch
  15. Horn Switch
  16. Key Switch
  17. Backup Switch


  18. Switch Group 2
  19. Kill Switch
  20. Hibeam Switch
  21. RPM Right Rear Wheel
  22. RPM Left Rear Wheel
  23. RPM Right Front Wheel
  24. RPM Left Front Wheel
  25. Cadence RPM
  26. Foglight Switch


  27. Switch Group 3
  28. Cruise Control On/Off Switch
  29. Cruise Control + Switch
  30. Cruise Control - Switch
  31. Alarm Switch
  32. Accessory 1 Switch
  33. Wiper1 Switch
  34. Wiper2 Switch
  35. Hazard Switch


  36. Switch Group 4
  37. Reserved
  38. Reserved
  39. Reserved
  40. Reserved
  41. Reserved
  42. Reserved
  43. Reserved
  44. Reserved


  45. Tail Light (Center) Group
  46. Brake Light
  47. Acceleration Light
  48. Turn Right Signal Light
  49. Turn Left Signal Light
  50. Bottom Running Light
  51. Middle Running Light
  52. Top Running Light
  53. Backup/Reverse Light


  54. Head Light (Center) Group
  55. Head Light
  56. Hibeam Light
  57. Turn Right Signal Light
  58. Turn Left Signal Light
  59. Bottom Running Light
  60. Middle Running Light
  61. Top Running Light
  62. Fog Light


  63. Tail Light (Left) Group
  64. Brake Light
  65. Acceleration Light
  66. Turn Right Signal Light
  67. Turn Left Signal Light
  68. Bottom Running Light
  69. Middle Running Light
  70. Top Running Light
  71. Backup/Reverse Light


  72. Head Light (Left) Group
  73. Head Light
  74. Hibeam Light
  75. Turn Right Signal Light
  76. Turn Left Signal Light
  77. Bottom Running Light
  78. Middle Running Light
  79. Top Running Light
  80. Fog Light


  81. Tail Light (Right) Group
  82. Brake Light
  83. Acceleration Light
  84. Turn Right Signal Light
  85. Turn Left Signal Light
  86. Bottom Running Light
  87. Middle Running Light
  88. Top Running Light
  89. Backup/Reverse Light


  90. Head Light (Right) Group
  91. Head Light
  92. Hibeam Light
  93. Turn Right Signal Light
  94. Turn Left Signal Light
  95. Bottom Running Light
  96. Middle Running Light
  97. Top Running Light
  98. Fog Light


  99. Side Light (Center Left) Group
  100. Upper Accent Light
  101. Lower Accent Light
  102. Turn Right Signal Light
  103. Turn Left Signal Light
  104. Bottom Running Light
  105. Middle Running Light
  106. Top Running Light
  107. Down Light


  108. Side Light (Center Right) Group
  109. Upper Accent Light
  110. Lower Accent Light
  111. Turn Right Signal Light
  112. Turn Left Signal Light
  113. Bottom Running Light
  114. Middle Running Light
  115. Top Running Light
  116. Down Light


  117. Side Light (Front Left) Group
  118. Upper Accent Light
  119. Lower Accent Light
  120. Turn Right Signal Light
  121. Turn Left Signal Light
  122. Bottom Running Light
  123. Middle Running Light
  124. Top Running Light
  125. Down Light


  126. Side Light (Front Right) Group
  127. Upper Accent Light
  128. Lower Accent Light
  129. Turn Right Signal Light
  130. Turn Left Signal Light
  131. Bottom Running Light
  132. Middle Running Light
  133. Top Running Light
  134. Down Light


  135. Side Light (Rear Left) Group
  136. Upper Accent Light
  137. Lower Accent Light
  138. Turn Right Signal Light
  139. Turn Left Signal Light
  140. Bottom Running Light
  141. Middle Running Light
  142. Top Running Light
  143. Down Light


  144. Side Light (Rear Right) Group
  145. Upper Accent Light
  146. Lower Accent Light
  147. Turn Right Signal Light
  148. Turn Left Signal Light
  149. Bottom Running Light
  150. Middle Running Light
  151. Top Running Light
  152. 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.