Difference between revisions of "PIC DMX Development"

From SlugWiki
Jump to: navigation, search
m (6 revisions imported)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
* dmix with pic : http://www.mikroe.com/forum/viewtopic.php?t=16108
 
* dmix with pic : http://www.mikroe.com/forum/viewtopic.php?t=16108
 
* [http://ww1.microchip.com/downloads/en/AppNotes/01076A.pdf| DMX  512 Application Notes from microchip]
 
* [http://ww1.microchip.com/downloads/en/AppNotes/01076A.pdf| DMX  512 Application Notes from microchip]
 +
 +
==DMX Summary==
 +
[http://en.wikipedia.org/wiki/DMX512 Wikipedia DMX512 Article]
 +
==Idea==
 +
* Set the UART to 250Kilobaud, 9 data bits, one stop bit
 +
* attach an interrupt for a framing error. This indicates reception of the extra long DMX break character.
 +
*  Start receiving data. If the 9th bit is a one, a valid dmx value has been received. Increment the address pointer and continue
 +
* Add example code
 +
 +
==Implementations==
 +
* [[AC Dimmer Board]]

Latest revision as of 23:28, 25 August 2015

DMX Summary

Wikipedia DMX512 Article

Idea

  • Set the UART to 250Kilobaud, 9 data bits, one stop bit
  • attach an interrupt for a framing error. This indicates reception of the extra long DMX break character.
  • Start receiving data. If the 9th bit is a one, a valid dmx value has been received. Increment the address pointer and continue
  • Add example code

Implementations