Difference between revisions of "PIC DMX Development"
From SlugWiki
m (6 revisions imported) |
|||
(2 intermediate revisions by one other user not shown) | |||
Line 3: | Line 3: | ||
==DMX Summary== | ==DMX Summary== | ||
− | + | [http://en.wikipedia.org/wiki/DMX512 Wikipedia DMX512 Article] | |
− | + | ||
==Idea== | ==Idea== | ||
* Set the UART to 250Kilobaud, 9 data bits, one stop bit | * Set the UART to 250Kilobaud, 9 data bits, one stop bit | ||
Line 10: | Line 9: | ||
* Start receiving data. If the 9th bit is a one, a valid dmx value has been received. Increment the address pointer and continue | * 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 | * Add example code | ||
+ | |||
+ | ==Implementations== | ||
+ | * [[AC Dimmer Board]] |
Latest revision as of 23:28, 25 August 2015
- dmix with pic : http://www.mikroe.com/forum/viewtopic.php?t=16108
- DMX 512 Application Notes from microchip
DMX Summary
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