LED display dynamic display and remote monitoring (Figure)

【Abstract】LED dot matrix electronic display is a large-scale display system integrating microelectronics technology, computer technology and information processing technology.

First send a communication start flag, then send the address of the microcontroller system that needs to be operated, and then send a display work command word, the command includes 2 bytes, the first byte is used to set the display mode and the scroll direction, and the latter byte is used. Set the display speed. Further down is the dot matrix data that conveys the display content, and finally the data is verified. The communication protocol is very simple, and can better solve the above problems, thereby realizing master-slave communication and display control between the PC and the multi-chip microcomputer.

It should be noted that when the display content needs to be changed, in order to avoid garbled display on the display when the serial interrupt is received by the MCU, the display should not be displayed temporarily (in the "black screen" state) until the data reception is complete, serial Displayed again when the interrupt processing ends.

The extraction of Chinese character fonts is very important. The font data in this paper is taken from the font file HZK16 under UCDOS. There are many introductions in this respect. The literature [2] gives a more specific scheme for extracting Chinese character fonts under VC, which will not be described here. For the extraction of special characters or graphic dot matrix data, a simple method can be done first to make a BMP file, and then use some modulo software (such as font extraction v2.1) to obtain. For the convenience of display, the format of the dot matrix data should be n × (16 × 8), and if it is insufficient, it should be supplemented with 0 data.

b. Dynamic effect simulation display.

In order to adjust the display effect of the LED, the author designed the analog display of the LED display on the control interface of the PC, which is exactly the same as the actual display. The user can set the display mode and adjust the display speed, then preview the display effect on the interface, and also modify and set the parameters at any time, which is very convenient and simple.

To do this, a virtual LED display can be drawn on the interface first. Since the actual display is a 160×16 dot matrix, the same area must be set on the interface.

The method of realizing the dynamic display effect is basically similar to the above, and the scroll display is taken as an example here. For text that needs to be scrolled, you can set it to bitmap format, temporarily store it in memory, and then copy the bitmap to the display position using the bitmap copy function BitBlt provided by VC. For special characters or graphics, you can directly use the BitBlt function to call to the display position. This function is then called in the OnTimer function of class CLEDDlg to implement scrolling of the text. In addition, you can change the scrolling speed of the text by setting different response time intervals.

4 Conclusion

The solution proposed in this paper to realize the dynamic display and control of LED dot matrix display has been successfully applied to practical systems. Remote control of the display can also be achieved by linking the system to a computer network.

references

1. Luo Min. Rolling display based on dynamic segmentation of information segmentation: Electronic Technology, 2001.6

2. Wang Baohua. Using VC++ to realize the extraction of Chinese character fonts and the generation of small Chinese character library. MCU and embedded system applications, 2002.1

3. Ma Zhongmei. C language application design of single chip microcomputer. Beijing Aerospace University Press, 1999.1

4. David J. KJruglinski, Pan Aimin. Visual C++ technology insider, 1999.1

Power Transmission Line Steel Frames

Steel Substation Structure,Electrical Transmission Line,Power Substation

Xinjinlei Steel Industry Co., Ltd. , http://www.xjlpole.com

This entry was posted in on