找回密码
 请用中文注册用户!

QQ登录

只需一步,快速开始

查看: 2141|回复: 3

谁见过这种卡?显示启动成功,通讯时会卡一下但字没变,串口又返回值,什么问题?

[复制链接]
renzeajkd 发表于 2011-11-5 03:08:43 | 显示全部楼层 |阅读模式

注册登录后可以在线提问,行业从业者将帮助您解答!

您需要 登录 才可以下载或查看,没有账号?请用中文注册用户!

×
本帖最后由 renzeajkd 于 2011-11-5 03:11 编辑


xjled 发表于 2011-11-5 21:15:46 | 显示全部楼层
这个见过  遥控屏  有软件 就好搞了
回复

使用道具 举报

笑问天 发表于 2011-11-5 23:10:53 | 显示全部楼层
需要遥控器
回复

使用道具 举报

 楼主| renzeajkd 发表于 2011-11-6 19:11:07 | 显示全部楼层
本帖最后由 renzeajkd 于 2011-11-6 19:16 编辑

  16X128  MESSAGE  PROTOCOL
1         Transmission frame formats1.1          Standard transmission frame specifications and format
This section describes the basic outline of transmissions:
Baud rate:
9600
Data bits:
7
Start bits:
1
Stop bits:
2
Parity:
None
Time-out period:
1 second(any delays between bytes cannot exceed this)

1.2  Standard transmission frame format:
<SOH>
Type Code
Sign Address
<STX>
Command Code
Data Field
<EOT>
A
B
C
D
E
F
G
Item
NameCharacter
Description
A<SOH>“]!”The <SOH> is the “Start of Header” ASCII character.  TM]!
B
Type code“Z”A single ASCII character Z
C
Sign Address
“00”
The identifier or “address” of the sign represented by two ASCII digits as a number between “00” and “FF” (0 to 255). Address “00” is reserved as a broadcast address.   00
D
<STX>
“]””
“Start of Text” character. <STX> always precedes a Command Code. ]”
E
Command Code
“A”
One ASCII character that defines the transmission and data types:AZ
F
Data Field

Made up of ASCII characters. The Data Field format is dependent on the preceding Command Code.
G
<EOT>
“]$]$”
“End Of Transmission” character

1.3   Text file transmission format:
<SOH>
Type Code
Sign Address
<STX>
Command Code
Data Field
<EOT>

"A"
File
Label
Display Position
Mode Code
Control Code
Special
Specifier
ASCII
Message
A
B
C
D
E
F
G

Item
Name
Description
ACommand Code“A”
“A” (41H) = Write TEXT file
B
Data FieldFile Label
One ASCII character that indicates the TEXT file being accessed. See “Appendix A: File
Label format”. If the File Label = “0” (30H), then a Priority TEXT file will be written.
C
TEXT file data formatMode Field (optional)Display Position
A single ASCII character that defines the line position on a multi-line sign:
“]:” + “ “(20H)  Middle Line — text centered vertically.
“]:” + “““(22H)  Top Line — Text begins on the top line of the sign and the sign will
use all its lines minus 1 in order to display the text. For example, a
6-line sign will allow a maximum of 5 lines (6 minus 1) for the Top
Position. The Top/Bottom Line break will remain fixed until the next
Middle or Fill position is specified.
“]:” + “&” (26H) Bottom Line — The starting position of the Bottom Line(s)
        Immediately follows the last line of the Top Line. For example, a 6-
line sign with 3 lines of text associated with the Top Line would start
the Bottom Line text on the 4th line of the sign.
“]:” + “0” (30H)  Fill — The sign will fill all available lines, centering the lines
vertically.
D
Mode Code
A single ASCII character that represents a “mode” which is a way of displaying an
ASCII message. See “Standard Modes”
E
Control code
Set the attribute of the text message
F
Special
(Only required when preceding Mode Code is “n” for SPECIAL.)
G
ASCII Message
The actual text to be displayed on a sign.


1.4 Appendix: Modes
Modes are ways of displaying information on a sign. For example, the ROTATE Mode makes text or graphics travel from right to left on a sign.
1.4.1 Standard Modes
When a Standard Mode Code of “n” (6EH) is given (see Special Modes), the following Special Modes can be designated in the Special Specifier field
Standard Modes
Mode name
ASCI
code
Description
ROTATE
“a”
Message travels right to left.
HOLD
“b”
Message remains stationary.
FLASH
“c”
Message remains stationary and flashes.
ROLL UP
“e”
Previous message is pushed up by a new message.
ROLL DOWN
“f”
Previous message is pushed down by a new message.
ROLL LEFT
“g”
Previous message is pushed left by a new message.
ROLL RIGHT
“h”
Previous message is pushed right by a new message.
WIPE UP
“i”
New message is wiped over the previous message from bottom to top.
WIPE DOWN
“j
New message is wiped over the previous message from top to bottom.
WIPE LEFT
“k”
New message is wiped over the previous message from right to left.
WIPE RIGHT
“l”
New message is wiped over the previous message from left to right.
SCROLL
“m”
SCROLL “m” 6DH New message line pushes the bottom line to the top line if 2-line sign.
AUTOMODE
“o”
AUTOMODE “o” 6FH Various Modes are called upon to display the message automatically.
ROLL IN
“p”
Previous message is pushed toward the center of the display by the new
message.
ROLL OUT
“q”
Previous message is pushed outward from the center by the new message.
WIPE IN
“r”
WIPE IN “r” 72H New message is wiped over the previous message in an inward motion.
WIPE OUT
“s”
WIPE OUT “s” 73H New message is wiped over the previous message in an outward motion.
COMPRESSED ROTATE
“t”
Message travels right to left. Characters are appoximately one half their
normal width. (Only available on certain sign models.)
SPECIAL
“n”
This is followed by a Special Specifier ASCII character which defines one of
the Special Modes. See “Special Modes” .
1.4.2 Special Modes
Mode name
ASCI
Code
Description
TWINKLE
“0”
Message will twinkle on the sign.
SPARKLE
“1”
New message will sparkle over the current message.
SNOW
“2”
Message will “snow” onto the display.
INTERLOCK
“3”
New message will interlock over the current message in alternating rows of
dots from each end.
SWITCH
“4”
Alternating characters “switch” off the sign up and down. New message
“switches” on in a similar manner
SLIDE
“5”
New message slides onto the sign one character at a time from right to left.
SPRAY
“6”
New message sprays across and onto the sign from right to left.
STARBURST
“7”
“Starbursts” explode the new message onto the sign.

1.5 Control Code:
Control Code
Character
Colour
“]<” +
Select character color (3-byte format):
   “1” (31H) = Red
   “2” (32H) = Green
   “3” (33H) = Amber
   “4” (34H) = Dim red
   “5” (35H) = Dim green
   “6” (36H) = Brown
   “7” (37H) = Orange
   “8” (38H) = Yellow
   “9” (39H) = Rainbow 1
   “A” (41H) = Rainbow 2
   “B” (42H) = Color mix
“C” (43H) = Autocolor

Pause
“]” +
“5”(35H) =  Pause 5  
“6”(36H) =  Pause 4
“7”(37H) =  Pause 3
“8”(38H) =  Pause 2
“9”(35H) =  Pause 1  
“)”(29H) =  No Pause

Insert Time
“]” +
“3”(33H) = Time

Insert NewLine
“]” +
“,”(2CH) = Insert a engter

Font
“]:” +
“A”(41H) = Sans serif 7
“B”(42H) = Sans serif 7 wide
“C”(43H) = Sans serif 7 double
“D”(44H) = Sans serif 7 d-wide
“E”(45H) = Serif 7
“F”(46H) = Serif 7 double
“G”(47H) = Serif 12
“H”(48H) = Serif 16

2 Example
2.1 Send english character.
  5D 21 5A 30 30 5D 22 41 5A 5D 3B 20 63 5D 3A 42 5D 3C 38
41 42 43 44 45 46 47 5D 24 5D 24
5D 21 5A 30 30 5D 22 45 2E 20 20 5A 5D 24 5D 24


Note: User need send a command after transmit the text information.
The command is :” ]!Z00]"E.  Z]$]$”



<SOH>:         “]!”= <5DH 21H>
Type code:      “Z”= <5AH>
Sign Address:   “00”= <30H 30H>
<STX>:         “]””=<5DH 22H>
Command Code: “AZ”= <41H 5AH>
Data Field:      ………………………..(Any ASCII of character)
<EOT>:        “]$]$”= <DAH 24H DAH 24H>


Display “Welcome”:
TM]!Z00]"AZ]<1]:A]; c]5Welcome]$]$
]!Z00]"E.  Z]$]$
有协议



回复

使用道具 举报

本版积分规则

QQ|返回首页|有问题扫码关注公众号|LED控制卡 ( 鲁ICP备18053106号 鲁公安网备案号37170202666047 ) keywords:LED显示屏 LED控制卡 LED显示屏配件 麒麟电子

GMT+8, 2024-11-22 14:38

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表