资料介绍
DMX512 is a communication protocol used in most pro-
fessional theater lighting components such as dim-
mers, scanners, moving lights, strobes, etc. This
application note presents a solution to transmit and
receive the DMX512 communication protocol that can
be implemented using any PIC
®
microcontroller offer-
ing a Universal Asynchronous Receiver Transmitter
(UART) module. In particular, the PIC18F24J10, a gen-
eral purpose device, was used in the code examples
provided with this application note. It provides 1024
bytes of data memory, which allows the demonstration
code to store the data for the entire 512 channel buffer
(although this is not required for the typical application).
Only an external RS-485 compatible transceiver is
required to complete the application schematic.
The DMX solution is provided in two parts: AN1076
Using a PIC Microcontroller for DMX512 Communication
place of auto-transformers, becoming quite popular,
Author: Parthiv Pandya particularly the 0-10V analog consoles. Still, this
Microchip Technology Inc. system had three major drawbacks:
1. It was prone to noise.
INTRODUCTION 2. Dimming could be nonlinear depending on
different kinds of lamps.
DMX512 is a communication protocol