User's Manual
T90-DTU User Manual
11
Example 1:Set channel as 0x09
command start address length parameter
Transmit:C2 05 01 09
Return:C1 05 01 09
Example 2:set module address(0x1234), network address (0x00), UART (9600 8N1), air data rate (1.2K)
Transmit:C2 00 04 12 34 00 61
Return:C1 00 04 12 34 00 61
5
Wireless
configuration
Command:CF CF + general command
Reply:CF CF + general response
Example 1:set channel as 0x09
wireless command head command start address length parameter
Transmit:CF CF C0 05 01 09
Return:CF CF C1 05 01 09
Example 2:set module address(0x1234), network address(0x00), UART(9600 8N1), air data rate(1.2K)
Transmit:CF CF C0 00 04 12 34 00 61
Return:CF CF C1 00 04 12 34 00 61
6
Format error
Reply: FF FF FF
7.2. Register description
Address
Read/W
rite
Name
Description
Remark
00H
Read/W
rite
ADDH
ADDH(Default 0)
High and low byte of the module address.
Note:When the module address is FFFF, it can
be used as the broadcast and monitor address,
that is the module will not perform address
filtering.
01H
Read/W
rite
ADDL
ADDL(Default 0)
02H
Read/W
rite
NETID
NETID(Default 0)
Network address, used to distinguish the
network. When communicating with each other,
they should be set to the same.
03H
Read/W
rite
REG0
7,6,5 UART baud rate(bps)
000:baud rate is 1200
001:baud rate is 2900
010:baud rate is 4800
011:baud rate is 9600(Default)
100:baud rate is 19200
101:baud rate is 38900
110:baud rate is 57600
111:baud rate is 115200
-----------------------------------------------
4,3: UART parity bit
00:8N1(Default)
01:8O1
10:8E1
11:8N1(same as 00)
-----------------------------------------------
2,1,0,air data rate
000:air data rate is 0.3k
001:air data rate is 1.2k
010:air data rate is 2.4k(Default)
011:air data rate is 4.8k
100:air data rate is 9.6k
101:air data rate is 19.2k
110:air data rate is 38.4k
111:air data rate is 62.5k
For the two modules that communicate with
each other, the serial port baud rate can be
different, and the verification method can also
be different.
When transmitting large packets continuously,
users need to consider the data blocking caused
by the same baud rate, and data may even be
lost. It is generally recommended that both
parties have the same baud rate.
-------------------------------------
It should be the same for both communication
parities .
The higher the rate, the shorter the distance.