Difference between revisions of "PIC DMX Development"

From SlugWiki
Jump to: navigation, search
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==
 +
!! This section needs to be filled in
 +
!! Add links
 +
==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

Revision as of 10:49, 18 August 2011

DMX Summary

!! This section needs to be filled in !! Add links

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