2011年4月23日星期六

Many serial interface technology in LED screens display system application

Many serial interface technology in LED screen display system application
Pick to: with the new P87LPC767 microcontroller, and three serial interface technology of big screen LED display system, can be easily display content, have relatively broad application prospect.
Keywords: LED; Serial interface; P87LPC767; microcontroller
electronic LED display with colour GuangYan dazzing, beautiful generous, display information, long life, power consumption is small, light weight, easy operation, installation and maintenance etc, in the display industry. The LED display although has been used extensively, but exist system complex, cost is higher shortcomings, is not conducive to spread the use of it. Therefore, we use new 51LPC series Philips company P87LPC676 using a variety of serial interface microcontroller technology of driving circuit make preamp circuit structure is simple. PC used for the on-line modification and control level, the system can display content is widely used in bazaar, station, wharf and other public places.

1 the whole system structures
As shown in figure 1 shows, system composition circuit by the following four parts: the LED display, with P87LPC767 singlechip driver circuit, PCS and MCU communication circuit and 24C16 parts by the I2C bus interface circuit. In order to save parallel, the system USES the following 3 kinds of serial style to deliver data.
1.1 the I2C serial bus interface
P87LPC767 of I2C bus complies with the standards of I2C bus norms, bus work by the clock signal can P87LPC767 automatically generate, but data is the way with bits of sending and receiving, so his control software is relatively complex, but they are more flexible. This system P87LPC767 pick up the total online 24C16 memory the I2C constitute a the I2C system, solved the big screen display characters required large amounts of data information storage. P87LPC767 is master machine (hosts), a serial clock signal generated by him, and he will send, 24C16 data writing mainly in 24C16 read data from 24C16 can only receive, mainly is accused of machine (from machine). The Lord send work means is to show P87LPC767 as the master machine to send data to be accused of machine transmit process, send and receive each have two ways:
(1) simply send or reading the data from the machine;
(2) hair or read from machine specified address data.
1.2 asynchronous serial communication interface
PC used to display information to edit and character, read the Chinese characters extracted the basic steps: word-model
(1) the machine code obtain characters;
(2) through the characters calculated location code;
(3) calculated by location yards in the position of Chinese characters dictionaries's: remove address reads, is related to 32 B word-model codes of dot matrix characters. Communication VisualC++ 6.0 the function is used MSComm communication control, provide the font word-model information (according to display rearrange) required format through serial single-chip microcontroller, subsection sent to send the I2C bus again through serial E2PROM for storage.
130 software to realize serial data interface
Serial number 2 by software implementation data output to complete display rows and columns of data requirements, below is serial output 1 B data software source code:

Can see, as long as senddata data are given in P1 ^ 7 feet serial output this data. By changing the CLK, taking landuse-dat feet and output mode selection can be easily realized in other tube feet serial data output functions.
2 "language
Using a variety of serial interface technology, make new SCM in big screen can P87LPC767 application. P87LPC767 can work in 20 MHz clock frequency, to avoid the screen, the greater the other single-chip microcomputer frequency bottom but appear flashing phenomenon. After commissioning, screen stable work, has been used in some stores and public places, good effect.

没有评论:

发表评论