Design of LED Display Control System Based on Single Chip Microcomputer

This design uses dual RAM technology to organize the control system data for controlling the rectangular display screen, improves the memory efficiency when the information is vertically cycled, greatly reduces the occupancy of the data memory, and does not require very much the refresh frequency. high.

1, LED display data organization

When the area to be displayed is less than or equal to the actual display area, static display is sufficient. However, most of the time you need to display the area is greater than or equal to the actual display area, as shown in Figure 1. In order to simplify the analysis of the problem, this article will show that the height of the area is set to 4 times the height of the LED display , and the width is equal to the width of the LED display. Let the height of the display screen be Lh and the width be Lw, then the display area height Dh=4Lh and the width Dw=Lw. In this paper, a monochrome display is used as the description object, and Bw=Bn=8 (Bw is the number of scanning lines, and Bn is the output data width), as shown in FIG.

For an LED display, after the width Lw and height Lh are determined, the arrangement of the display unit boards is also determined. The distance between two adjacent scan lines of the cell board is Sw, and the display screen has Bw scan lines, which are Y0, Y1, ..., YBw-1, respectively. Each Sw line corresponds to one bit of display data, and each point on the display corresponds to a certain bit of a byte in the memory. The Bw strip scan lines point to: Y0=O, Y1=Sw, ..., BBw-1=(Bw-1)Sw, respectively. The data is displayed in the display blocks A, B, C, and D by the static display data organization method. First, organize the display information of display block A (X is the column number):

1X=0, that is, the display data of each point of the current scan line intersecting the 0th column is stored in the first storage unit of the memory in the order of D0, D1, ..., DBw-1.

The 2X value is incremented by 1, and the display data of each point of the current scan line and the X-value corresponding column intersecting is stored in the next memory location of the memory. Until the Dw data of X=O to X=Dw-1 is all stored in the memory in order.

The 3Bw scan line moves down one line, repeating steps 1 through 2 until Y0 moves to the Sw-1 line.

4 data organization is over.


Small Solar Panel

Small Solar Panel,Small Solar Panels,4W Small Solar Panel,Small Solar Panel For Poly

Yangzhou Bright Solar Solutions Co., Ltd. , https://www.solarlights.pl

Posted on