DMX Receiver on ATTiny85


i have written dmx receiver attiny85, runs @ 8mhz , bit-sniffs data using inline code. tried several methods, using pin change interrupts , timer0 interrupts, realised overhead of interrupt control used many clock cycles desperately needed serial reception.

for dont know, dmx uses serial protocol of 250kbs, 1 start bit, 2 stop bits , no parity checking. there break signal goes low 88us before data transmitted, quite easy spot when data coming.

i spent quite while tweaking commands , bit manipulation best out of timings, of need balanced @ 4us (32 clock cycles) reading intervals. inline code had switch interrupts off , used nop's accurately place sample points read 1-8-2 bits

as have spent long time interfacing nrf24l01's, next task hook radio modules dmx receiver, boards ready !!!

hi,

can post source code please ? have tried receive dmx signals attiny85 internal oscilator doesn't work :/ attiny 4 4 pwm ports perfect analog rgb stripe me.

thanks in advance



Arduino Forum > Using Arduino > Networking, Protocols, and Devices (Moderator: fabioc84) > DMX Receiver on ATTiny85


arduino

Comments

Popular posts from this blog

Connecting Raspberry Pi 2 to P10(1R)-V706 LED Dot Matrix - Raspberry Pi Forums

TypeError: <unknown> is not a numpy array - Raspberry Pi Forums

datso and removing imagetitle - Joomla! Forum - community, help and support