Chengdu Ebyte Electronic Technology Co., Ltd.
E22-400T22S1C User manual
Copyright ©2012–2018,Chengdu Ebyte Electronic Technology Co.,Ltd.
16
7.2 Register description
Address
Read or
write
Name
Description
Remark
00H
Read/W
rite
ADDH
ADDH(default 0)
The module address is high byte and low byte.
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: Serial port rate(bps)
000: 1200
001: 2400
010: 4800
011: 9600(default)
100: 19200
101: 38400
110: 57600
111: 115200
---------------------------------------
4,3:
Serial parity bit
00:8N1(default)
01:8O1
10:8E1
11:8N1(equal to 00)
-----------------------------------
2,1,0,air data rate
000: 0.3k
001: 1.2k
010: 2.4k(default)
011: 4.8k
100: 9.6k
101: 19.2k
110: 38.4k
111: 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.
---------------------------------------
Both parties must be the same
The higher the rate, the shorter the distance
04H
Read/W
rite
REG1
7,6:
Sub packet setting
00: 240 bytes(default)
01: 128 bytes
10: 64 bytes
11: 32 bytes
--------------------------------------
5 :RSSI Ambient noise enable
1: Enable
0: Disable(default)
--------------------------------------
4,3,2 Reserve
--------------------------------------
1,0:
Transmitting power
When the data is smaller than the sub packet
length, the serial output of the receiving end is an
uninterrupted continuous output.
When the data is larger than the sub packet
length, the receiving end serial port will output
the sub packet.
--------------------------------------------
When enabled, the C0 C1 C2 C3 command can be
sent in the transmitting mode or WOR
transmitting mode to read the register.
Register 0x00: Current ambient noise rssi
Register 0X01: rssi when the data was received last
time.