Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

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
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

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top