piclist 1999\10\27\172942a >
Thread: DMX Sender (have I use one or two PICs?)
picon face BY : Harold M Hallikainen email (remove spam text)

On Wed, 27 Oct 1999 15:13:30 -0200 Edson Brusque <brusqueTakeThisOuTspamspamBeGoneFLYNET.COM.BR>
>    Harold,
>    Do you send and receive a DMX packet while doing other things? Using
>USART interrupts? The PIC16C87X have an USART that I think is capable of
>this, but as I'm new to controllers, I haven't the time to try it yet.
>    What do you mean with 'bit banging'?

       Yes, I'm transmitting, receiving, and doing other stuff
simultaneously.  I have a receive buffer in RAM that is continuously
being overwritten by incoming DMX.  I have a transmit buffer that is
continuously being sent out on DMX (by the way, while I use the USART
receive interrupt, I don't use the transmit interrupt because of
difficulty syncing the break with transmitted characters.  Instead, I use
a timer interrupt for transmit of bytes and transmit of break).  Other
stuff (A/D reading pots, printer port communications, etc.) is all done
by non-interrupt code.
       Bit banging is transmitting (and receiving) serial data without
the aid of a USART.  You spend a lot of time doing bit timing and hoping
you sample the line at the right time.  USARTs are nice!


Harold Hallikainen
Hallikainen & Friends, Inc.
See the FCC Rules at http://hallikainen.com/FccRules and comments filed
in LPFM proceeding at http://hallikainen.com/lpfm

Get the Internet just the way you want it.
Free software, free e-mail, and free Internet access for a month!
Try Juno Web: dl.http://www.juno.com/dynoget/tagj.


See also: www.piclist.com/techref/displays.htm?key=dmx
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) DMX Sender (have I use one or two PICs?)

month overview.

new search...