URGENT! 89C51 based DMX-512 light dimmer

Status
Not open for further replies.

mayuresh_1011

Newbie level 1
Joined
Nov 12, 2010
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,292
Hi all,

I am trying to make an 89c51 based DMX light dimmer for controlling intensities of 3 LED lights (red, green and blue). But I am not able to decode the channels.

Here is what I do:
UART setup in mode 2 (PCON bit8 =0 and 16MHz crystal) giving 250kbps baud.
I try to detect the break and make after break by detecting the framing error (SCON bit 8)...is this correct?
If the first byte is 0x00 then i copy the next 3 bytes from the dmx frame and decode them.

I am having no luck with this algorithm. Anyone who has implemented DMX512 light dimmer/decoder on 89c51 then please guide me properly, step by step. Anyone kind enough to share their code will also help me. Please help me out as this is urgent.

Thanks and Regards
Mayuresh
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…