CHY FIREMATE CO. LTD. 2400M User Manual
3. Pin Definition
Pin No.
Pin Type
Function Description
1
Digital I/O
GPIO/ UART_RX
2
Digital I/O
GPIO/ UART_TX
3
Digital I/O
GPIO / Digital IO
4
Digital I/O
GPIO / Digital IO
5
Digital I/O
GND
6
Digital I/O
Vcc
7
Digital I/O
Vcc Enable
8
Digital I/O
GPIO / CTS
9
Digital I/O
GPIO / RTS
10
Digital I/O
GPIO / Digital IO
4. Protocol :
Communication parameters: 115200 , 8 , n , 1
The maximum of every packet in the two‐way communication is 20 Bytes
Every communication will be transferred by the packet, it's an one‐inquiry‐one‐answer
Every communication will be transferred by the packet, it's an one‐inquiry‐one‐answer
approach.
When a host sends an inquiry packet, clients will answer with a received packet.
Host RXD Time Out:0.5 sec.
When a host sends an inquiry packet, clients will answer with a received packet.
Host RXD Time Out:0.5 sec.
Format of command and answer packet:
(1Byte)
(1Byte)
(1Byte)
(1Byte)
(nByte)
Start code
Length of
packet
Command Type
Command Code
Command
Parameter
Start code of the host, fixed with ‘$’(24H)
Start code of the answer of client , fixed with ‘%’(25H)
Start code of the answer of client , fixed with ‘%’(25H)
Command type and code are defined by HEX Code
Command parameter is based on the conditions of the command, there are HEX Code ,
or ASCII Code.
or ASCII Code.