LED Display Communication
LED Display Communication
Protocol
Basic frame format
Length of each frame is uncertain, Data of the frame are compose of data packet. One frame may
contain several data packet, but the first datum of the frame must be the screen number
characteristic data packet. And you need add one “0” to the last data packet to represent one frame
data conclusion. Refers to the following:
A. Communication parameter.
Baud Rate: 2400
Data Bits: 8
Stop Bits: 1
Parity: None
Support 128 LED Screen networking . Each LED Screen’s screen number is depend on the switch
which in the mainboard , and the scope is 0~127.
Screen number: Occupies 2 bytes, 16 bits in all , each bit corresponds with a screen
number, Each screen compare its own screen number with the correspond bit when
comparing,and judge whether the bit is 1. For example, Number 0 screen must
compare with the bit0,number 1 screen have to compare with bit1, and so on. Low bit
in front, high bit in back..
Clear Flag: The number “1” meaning clear up the content in the screen.. other
number meaning do nothing.
In the *128 strip screen networking situation, setting the screen number as FFFFH, Transmit a
List of screen number data packet after this data packet.
File name: Two bytes, express two decimal base filename' 00' ~' 99' by two ASCII
character' 0' ~' 9'. If the first character is ”*” means this document is a special file, such
as' *6' expresses special file '6'.
file data: There are two kinds of file data. One is the ordinary file data; Another is the
special file data. The first define how to display all kinds of information on the LED
Screen .The last define how to display the information on sequence in a fixed time. The
length of ordinary file data format is long, remains for later introduce . The format of
With the file data packet transmission special file, cannot assign the fixed time
demonstration characteristic of the special file, only can use for transmit the file that
needn’t to assign the movement date and the time limit. You can use the special file data
packet to transmit the special file.
Movement date: Low seven bit correspond separately with a week seven day, bit0
expresses Sunday, bit1 expresses Monday, .......
Start time: Assigns the time in some day to start the LED Screen, with four ASCII
character' 0' ~' 9' expressed separately when and the minute, like 8:30 will be' 0830'.
Close time: Reference the “Start time”.
Special file data: Assign the sequence of filename which need display in the special file.
This file data’s format is not the same as File Data.
Filename Filename …… Filename 0FFH
The filename is assigns the file which must display in the special file, scope is' 00'
~' 99'. No blank space Between the filename. Filename sequence end by 0FFH.
Report
4 report interval 0FFH
frequency
*Flag of report time in integral point: One byte,”0” expression close report,other
expression open report function.
(6)Fixed time starting data packet
Time of fixed time: The order is Hour,Minute,Second, separately uses two ASCII
character `0' ~ `9' to indicate.
Time of fixed time: The order is Hour,Minute,Second, separately uses two ASCII
character `0' ~ `9' to indicate.
Screen number list: The variable length, each byte corresponds with one screen number.
The original screen number data packet only can support 16 screen networking
correspondence, the number of data packet should be increased in order to support 128 screen
networking correspondence.
128 screen networking method: In the screen number data packet, the screen number supposes is
FFFFH namely all screens; transmits this data packet after screen number data packet.
20H~EDH:English character.
FFH:One screen finished, continual two FFH expression an end of the file. Usually set the
80H:Insert time.
81H:Insert date.
GRAPHICS).
Attention: When correspondence, All data less than 20H (blank space character) is minus 1,
when receiving data, if the data is smaller than 20H(is generally display mode), before the
transmission must add 1. For instance the display mode is 00H~18H, when the transmission
transmits 01H~19H, namely 1~25.
C. Communication example
5,0xef,0xb7,’Your wise choice’,0xff ;The last scrren content of file ' 01' 。
(2) Transmits the special file example with the file data packet
0,0xff,0xff,1 ;Screen number data packet
1,’01’,0xef,0xb0,’FILE 01’,0xff,0xff ;File data packet 1
1,’02’,0xef,0xb5,’FILE 02’,0xff,0xff ;File data packet 2
1,’03’,0xef,0xb7,’FILE 03’,0xff,0xff ;File data packet 3
1,’*0’,’01 02 03’,0xff,0xff ;Use file data packet transmit special file ‘S0’
0 ; End of data
This example first transmits three ordinary file' 01',' 02' and' 03', then transmission special file 'S0',
File' S0' contains the sequence of file' 01',' 02' and' 03' , circulation display this three file.
E. This example first transmits three file '01','02' and' 03', then transmits special file' S0' in the
stipulation time date (each week from Monday to Friday, early morning 8:00 to afternoon
17:59) display file sequence' 01',' 02' and' 03'.