PIC微控制器DMX512通讯
DMX512isacommunicationprotocolusedinmostpro-
fessionaltheaterlightingcomponentssuchasdim-
mers,scanners,movinglights,strobes,etc.This
applicationnotepresentsasolutiontotransmitand
receivetheDMX512communicationprotocolthatcan
beimplementedusinganyPIC
®
microcontrolleroffer-
ingaUniversalAsynchronousReceiverTransmitter
(UART)module.Inparticular,thePIC18F24J10,agen-
eralpurposedevice,wasusedinthecodeexamples
providedwiththisapplicationnote.Itprovides1024
bytesofdatamemory,whichallowsthedemonstration
codetostorethedatafortheentire512channelbuffer
(althoughthisisnotrequiredforthetypicalapplication).
OnlyanexternalRS-485compatibletransceiveris
requiredtocompletetheapplicationschematic.
TheDMXsolutionisprovidedintwoparts:AN1076UsingaPICMicrocontrollerforDMX512Communicationplaceofauto-transformers,becomingquitepopular,Author:ParthivPandyaparticularlythe0-10Vanalogconsoles.Still,thisMicrochipTechnologyInc.systemhadthreemajordrawbacks:1.Itwaspronetonoise.INTRODUCTION2.Dimmingcouldbenonlineardependingondifferentkindsoflamps.DMX512isacommunicationprotocol