E22-xxxT22D-V2.2 UserManual EN V1.1
E22-xxxT22D-V2.2 UserManual EN V1.1
E22-xxxT22D-V2.2 UserManual EN V1.1
Contents
1 Product Overview ........................................................................................................................................................4
1.1 Product introduction ......................................................................................................................................... 4
1.2 Features .............................................................................................................................................................4
1.3 Application ....................................................................................................................................................... 5
2 Specification and parameter ........................................................................................................................................ 6
2.1 RF parameter ............................................................................................................................................................ 6
2.2 Electrical parameters ........................................................................................................................................ 6
2.3 Hardware parameters ........................................................................................................................................7
3 Mechanical dimensions and pin definitions ................................................................................................................8
3.1 E22-230/400/900T22D mechanical dimensions and pin definitions .............................................................. 8
4 Recommended connection diagram ............................................................................................................................ 9
5 Function description .................................................................................................................................................. 10
5.1 Fixed- point transmission ............................................................................................................................... 10
5.2 Broadcast transmission ...............................................................................................................................10
5.3 Broadcast address ....................................................................................................................................... 10
5.4 Listening address ........................................................................................................................................11
5.5 Module reset ............................................................................................................................................... 11
5.6 Detailed explanation of AUX .........................................................................................................................11
5.6.1 Serial port data output indication ........................................................................................................ 11
5.6.2 Wireless transmission instructions ...................................................................................................... 12
5.6.3 The module is in the process of configuration ....................................................................................12
5.6.4 Precautions ...................................................................................................................................... 12
6 Operating mode ......................................................................................................................................................... 13
6.1 Precautions for mode switching ..................................................................................................................... 13
6.2 Normal mode (mode 0) .................................................................................................................................. 14
6.3 WOR mode (mode 1) ..................................................................................................................................... 14
6.4 Configuration mode (mode 2) ........................................................................................................................14
6.5 Deep sleep mode (mode 3) .............................................................................................................................15
7 Register read and write control ................................................................................................................................. 15
7.1 Instruction format .......................................................................................................................................15
7.2 E22-400/900T22D register description ..........................................................................................................16
7.3 E22-230T22D register description .................................................................................................................19
7.4 Factory default parameters .............................................................................................................................21
8 AT commands ............................................................................................................................................................ 22
8.1AT command list ............................................................................................................................................. 22
8.2 AT parameter analysis .................................................................................................................................... 24
8.3Things to note when upgrading firmware via serial port ................................................................................25
9 Relay networking mode use ...................................................................................................................................... 25
10 Host computer configuration instructions ...............................................................................................................26
11 Hardware design ...................................................................................................................................................... 27
12 FAQ ..........................................................................................................................................................................28
12.1Transmission distance is not ideal .................................................................................................................28
12.2 Modules are easily damaged ........................................................................................................................ 29
1 Product Overview
1.2 Features
Adopting the new generation LoRa spread spectrum modulation technology, it brings longer communication distance and
stronger anti-interference ability;
Support serial port firmware upgrade, making firmware updates more convenient;
Support AT commands for more convenient use;
Support automatic relay networking, multi-level relay is suitable for ultra long distance communication, and multiple
networks operate simultaneously in the same area;
Support users to set their own communication keys that cannot be read, greatly improving the confidentiality of user data;
Support LBT function, monitor channel environment noise before sending, which can greatly improve the communication
success rate of the module in harsh environments;
Support RSSI signal strength indication function for evaluating signal quality, improving communication network, and
ranging;
Support wireless parameter configuration, send command data packets wirelessly, and remotely configure or read wireless
module parameters;
Support WOR, which is an ultra-low power consumption function suitable for battery powered application solutions;
Support fixed-point transmission, broadcast transmission, and channel monitoring;
Support deep sleep mode, in which the overall power consumption is about 3uA;
Under ideal conditions, the communication distance can reach 5km;
Save the parameters after power failure, and after re powering on, the module will operate according to the set parameters;
Efficient watchdog design, once an exception occurs, the module will automatically restart and continue to work according
to the previous parameter settings;
1.3 Application
Home security alarm and remote keyless entry;
Smart homes and industrial sensors, etc;
Wireless alarm security system;
Building automation solutions;
Wireless industrial grade remote control;
Healthcare products;
Advanced Meter Reading Architecture (AMI);
Application in the automotive industry.
2.1 RF parameter
Model NO.
E2 2-900T
RF parameter Unit E22-230T22DV2. Remarks
E22-400T22DV2.2 22DV2.2
2
Receiving
dBm - 138 - 147 - 147 Air data rate is 2.4 kbps
sensitivity
In clear and open area, the antenna gain
Tested distance M 5K 5K 5K is 5dBi with height of 2.5 m, and the air
rate is 2.4 kbps.
Operating 220.125~ 410.125~ 850.125~
MHz for ISM band
frequency 236.125MHz 493.125MHz 930.125MHz
Air data rate bps 2.4K~15.6K 2.4K~62.5K 2.4K~62.5K User Programmed Control
Less likely to be burned if used at close
Block power dBm 10 10 10
range
Sub-package 32/64/128/240 bytes can be
TX length byte 240 240 240
set to be sent via command
Model NO.
E2 2-230T E2 2-400T E2 2-900T
Electrical parameters unit Remark
22 22 22
DV2.2 DV2.2 DV2.2
≥ 5 V can guarantee the output power ,
Operating Voltage V 2. 7~5.5 2. 7~5.5 2. 7~5.5 exceeding 5.5 V will permanently burn the
module .
Communication level V 3.3V 3.3V 3.3V Using 5V TTL risks burning out
consumption RX current mA 15 15 17
Model NO.
Hardware
E22-230T22D E22-400T22D E22-900T22D Remark
parameters
V2.2 V2.2 V2.2
Crystal
32MHz
frequency Industrial grade high-precision crystal oscillator
Modulation LoRa New generation LoRa modulation technology
Interface
1.27mm stamp hole
mode
Communicati
UART serial port TTL level
on Interface
Subpackage 32/64/128/240 bytes can be set to
TX length 240 Byte
be sent via command
Packaging
SMD -
method
cache
1000 Byte -
capacity
Antenna
IPEX/stamp hole Equivalent impedance is about 50 Ω
interface
size 36mm*21mm ±0.1mm
Product
2.4g ±0.05g
Weight
5 Function description
Example: Set the module A address to 0xFFFF and the channel to 0x04.
When module A is used as a transmitter (same mode, transparent transmission mode), all receiving modules under the 0x04
channel can receive data to achieve the purpose of broadcasting.
Example: Set the module A address to 0xFFFF and the channel to 0x04.
When module A is used as a receiver, it can receive all data under the 0x04 channel to achieve the purpose of monitoring.
After the module is powered on, AUX will immediately output a low level, perform hardware self-test, and set the working mode
according to user parameters;
During this process, AUX remains low level. After completion, AUX outputs high level and starts working normally according to
the working mode combined by M1 and M0;
Therefore, the user needs to wait for the rising edge of AUX as the starting point for the module to work normally.
AUX is used for wireless transceiver buffer instructions and self-test instructions.
It indicates whether the module has data that has not been sent out through the wireless, or whether all the wireless data has been
received but has not been sent out through the serial port, or the module is in the process of initializing self-test.
5.6.4 Precautions
Serial
numbe AUX considerations
r
The above functions 1 and 2 give priority to low-level output, that is, if any low-level output condition is met, AUX will
1 output low-level;
When all low level conditions are not met, AUX outputs high level.
When AUX outputs low level, it indicates that the module is busy and no working mode detection will be performed at this
2 time;
When the module AUX outputs high level within 1ms, the mode switching work will be completed.
After the user switches to a new working mode, the module will not actually enter this mode until at least 2ms after the
3 rising edge of AUX;
If AUX remains high, the mode switch will take effect immediately.
When the user enters other modes from mode 3 (sleep mode) or during the reset process, the module will reset the user
4
parameters, during which the AUX output is low level.
Due to the characteristics of the LoRa modulation method, the information transmission delay is much longer than that of
FSK. For example, at an air speed of 2.4 kbps, the transmission delay of 100 bytes is about 1.5 seconds. It is recommended
5
that customers not conduct big data at low air speeds . Mass transmission to avoid communication abnormalities caused by
data loss due to data accumulation.
6 Operating mode
The module has four working modes, which are set by pins M1 and M0; details are shown in the following table:
seria
l
Remark
num
ber
Users can combine M1 and M0 with high and low levels to determine the module working mode. The 2 GPIOs of the
MCU can be used to control mode switching;
After changing M1 and M0: If the module is idle, it can start working in the new mode after 1ms;
If the module has serial port data that has not yet been transmitted wirelessly, it can enter the new working mode only
1
after the transmission is completed;
If the module receives wireless data and sends data out through the serial port, it needs to be sent before it can enter the
new working mode;
Therefore, mode switching can only be effective when AUX outputs 1, otherwise the switching will be delayed.
For example, if the user continuously inputs a large amount of data and switches modes at the same time, the mode
switching operation is invalid at this time; the module will process all user data before performing new mode detection;
2
Therefore, the general recommendation is: detect the output status of the AUX pin and wait 2ms after outputting a
high level before switching.
When the module is switched from other modes to sleep mode, if there is data that has not been processed yet;
The module will enter sleep mode only after processing these data (including receiving and sending). This feature can
be used for fast sleep, thereby saving power consumption; for example: the transmitter module works in mode 0, the
3 user initiates the serial port data "12345", and then does not have to wait for the AUX pin to be idle (high level), and can
directly switch to sleep mode. And put the user's main MCU to sleep immediately. The module will automatically send
all user data through wireless and automatically enter sleep within 1ms;
This saves the MCU's working time and reduces power consumption.
In the same way, any mode switching can take advantage of this feature. After the module processes the current mode
event, it will automatically enter the new mode within 1ms; thus saving the user the work of querying AUX and
4 achieving the purpose of fast switching;
For example, switching from transmit mode to receive mode; the user MCU can also enter sleep in advance before
mode switching and use the external interrupt function to obtain AUX changes to perform mode switching.
This operation method is very flexible and efficient. It is completely designed according to the user's MCU operation
5 convenience and can reduce the workload of the entire system as much as possible, improve system efficiency and
reduce power consumption.
Transmitting The user can input data through the serial port, and the module will start wireless transmission.
The wireless receiving function of the module is turned on. After receiving the wireless data, it will be output through
Receiving
the serial port TXD pin.
When defined as the transmitter, a wake-up code will be automatically added for a certain period of time before
Transmitting
transmitting.
Receiving Data can be received normally, and the receiving function is equivalent to mode 0
Transmitting Wireless transmission is turned off and automatically turned on during wireless configuration.
Receiving Wireless reception is turned off and automatically turned on during wireless configuration.
When entering other modes from sleep mode, the module will reconfigure parameters. During the configuration process,
Notice A UX remains low;
After completion, it outputs high level, so it is recommended that the user detects the rising edge of AUX .
configuration mode (mode 2: M1=1, M0=0 ), the supported command list is as follows ( when setting, only 9600, 8N1 format is
supported ):
seria
l
Command format Detailed description
num
ber
Instruction: C0+start address+length+parameters
Response: C1+start address+length+parameters
Example 2: Configure module address (0x1234), network address (0x00), serial port (9600 8N1),
and air speed (1.2K) at the same time
Send: C0 00 04 12 34 00 61
Return: C1 00 04 12 34 00 61
Instruction: C1+start address+length
Response: C1+start address+length+parameters
Example 2: Read module address, network address, serial port, and airspeed simultaneously
Send: C1 00 04
Return: C1 00 04 12 34 00 61
Instruction: C2 + starting address + length + parameters
Response: C1 + starting address + length + parameters
Example 2: Configure module address (0x1234), network address (0x00), serial port (9600 8N1),
and air speed (2.4K) at the same time
Send: C2 00 04 12 34 00 61
Return: C1 00 04 12 34 00 61
Instructions: CF CF + regular instructions
Response: CF CF + regular response
Read
serial
and Name Describe Remark
number
write
Module address high byte and low byte ;
read/w
00H ADDH ADDH (default 0) Note: When the module address is equal to FFFF,
rite
it can be used as a broadcast and listening address,
read/w that is, the module will not perform address
01H ADDL ADDL (default 0)
rite
filtering at this time.
Network address, used to distinguish networks ;
read/w When communicating with each other, they
02H NETID NETID (default 0)
rite
should be set to the same value.
7 6 5 U ART serial port rate (bps)
0 0 0 Serial port baud rate is 1200
0 0 1 Serial baud rate is 2400 Two modules communicating with each other can
have different serial port baud rates and different
0 1 0 Serial baud rate is 4800
verification methods ;
Serial port baud rate is 9600
0 1 1 When transmitting large data packets
(default)
continuously, users need to consider data blocking
The serial port baud rate is and possible loss caused by the same baud rate ;
1 0 0
19200
It is generally recommended that both
read/w 1 0 1 Serial baud rate is 38400 communication parties have the same baud rate.
0 3H REG0
rite 1 1 0 Serial baud rate is 57600
The serial port baud rate is
1 1 1
115200
4 3 Serial port check digit
0 0 8N1 (default)
The serial port modes of the communicating
0 1 8O1
parties can be different ;
1 0 8E1
1 1 8N1 (equal to 0 0 )
2 1 0 Wireless air rate (bps) The air speed of both communicating parties must
0 0 1 Air rate 2.4k air rate, the smaller the delay and the shorter the
0 1 0 Air rate 2.4k (default) transmission distance.
6H
Read
serial
and name describe Remark
number
write
Module address high byte and low byte ;
read/w
00H ADDH ADDH (default 0) Note: When the module address is equal to FFFF,
rite
it can be used as a broadcast and listening address,
read/w that is, the module will not perform address
01H ADDL ADDL (default 0)
rite
filtering at this time.
Network address, used to distinguish networks ;
read/w When communicating with each other, they
02H NETID NETID (default 0)
rite
should be set to the same value.
7 6 5 U ART serial port rate (bps)
0 0 0 Serial port baud rate is 1200
0 0 1 Serial baud rate is 2400 Two modules communicating with each other can
0 1 0 Serial baud rate is 4800 have different serial port baud rates and different
verification methods ;
Serial port baud rate is 9600
0 1 1 When transmitting large data packets
(default)
continuously, users need to consider data blocking
The serial port baud rate is and possible loss caused by the same baud rate ;
1 0 0
19200 It is generally recommended that both
1 0 1 Serial baud rate is 38400 communication parties have the same baud rate.
1 1 0 Serial baud rate is 57600
The serial port baud rate is
1 1 1
115200
read/w 4 3 Serial port check digit
0 3H REG0
rite 0 0 8 N1 (default)
The serial port modes of the communicating
0 1 8O1
parties can be different ;
1 0 8 E1
1 1 8 N1 (equal to 0 0 )
2 1 0 Wireless air rate (bps)
0 0 0 Air speed 2.4k
0 0 1 Air speed 2.4k
The air speed of both communicating parties must
0 1 0 Air speed 2.4k (default)
be the same ;
0 1 1 Air speed 4.8k
air rate, the smaller the delay and the shorter the
1 0 0 Air speed 9.6k
transmission distance.
1 0 1 Air speed 19.2k
1 1 0 Air speed 38.4k
1 1 1 Air speed 62.5k
7 6 Subcontracting settings The data sent by the user is less than the packet
length, and the serial port output at the receiving
0 0 2 40 bytes (default) end appears as uninterrupted continuous output ;
0 1 1 28 bytes
The data sent by the user is larger than the packet
1 0 6 4 bytes length, and the serial port of the receiving end will
be packetized and output.
1 1 3 2 bytes
8 AT commands
AT commands are used in configuration mode. AT commands are divided into three categories: command
commands, setting commands and query commands;
Users can query the AT command set supported by the module through "AT+HELP=?". The baud rate used by
the AT command is 9600 8N1;
When the input parameters exceed the range, they will be restricted. Please do not let the parameters exceed
the range to avoid unknown situations.
1 After setting the relay mode through the configuration mode, switch to the general mode and the relay starts to work.
In relay mode, ADDH and ADDL are no longer used as module addresses, but correspond to NETID forwarding pairs respectively. If one
2 of the networks is received, it will be forwarded to the other network ;
The repeater's own network ID is invalid.
3 In relay mode, the relay module cannot send and receive data and cannot perform low-power operation.
When the user enters other modes from mode 3 (sleep mode) or during the reset process, the module will reset the user parameters, during
4
which the AUX output is low level.
1、Forwarding rules, the relay can forward data in both directions between two NETIDs.
2、In relay mode, ADDH\ADDL is no longer used as module address, but as NETID forwarding pairing.
1 relay
At the same time, node 1 and node 2 have the same address, so the data sent by node 1 can be received by node 2.
2 relay
Therefore, node 3 and node 4 can receive the node 1 data. Node 4 outputs data normally. Node 3 has different addresses from node 1,
so no data is output.
As shown in the figure, the data sent by node 1 can be received by nodes 2 and 4, and the data sent by nodes 2 and 4 can also be
received by node 1.
The picture below shows the configuration host computer display interface of E2 2 - 9 00T22 D as an example . The user can
switch to command mode through M0 and M1 to quickly configure and read parameters on the host computer.
In configuring the host computer, the module address, frequency channel, network ID, and key are all in decimal display mode;
the value range of each parameter is:
Key: 0~65535
Users need to pay special attention when using the host computer to configure the relay mode. Since the parameters in the host
computer are in decimal display mode, the module address and network ID need to be filled in through decimal conversion;
For example, the network ID input by the transmitter A is 02 and the network ID input by the receiver B is 10. When the relay R
sets the module address, the hexadecimal value 0X020A is converted into the decimal value 522 and filled in by the relay R.
module address;
That is, the module address value that relay terminal R needs to fill in at this time is 522.
11 Hardware design
It is recommended to use a DC regulated power supply to power the module. The power supply ripple coefficient should be as
small as possible, and the module must be reliably grounded;
Please pay attention to the correct connection of the positive and negative poles of the power supply. Reverse connection may
cause permanent damage to the module;
Please check the power supply to ensure that it is within the recommended power supply voltage. If it exceeds the maximum
value, it will cause permanent damage to the module;
Please check the stability of the power supply. The voltage cannot fluctuate greatly and frequently;
When designing the power supply circuit for the module, it is often recommended to reserve more than 30% margin, so that the
12 FAQ
When there are straight-line communication obstacles, the communication distance will be correspondingly attenuated ;
Temperature, humidity, and co-channel interference will cause the communication packet loss rate to increase ;
The ground absorbs and reflects radio waves, and the test effect is poor when close to the ground ;
Seawater has a strong ability to absorb radio waves, so the seaside test results are poor ;
If there are metal objects near the antenna, or if it is placed in a metal case, the signal attenuation will be very serious ;
The power register setting is wrong and the air rate is set too high (the higher the air rate, the closer the distance) ;
The low voltage of the power supply at room temperature is lower than the recommended value. The lower the voltage, the
smaller the power generated ;
There is a poor match between the antenna and the module or there is a problem with the quality of the antenna itself.
Please check the power supply to ensure that it is within the recommended power supply voltage. If it exceeds the maximum
value, it will cause permanent damage to the module ;
Please check the stability of the power supply. The voltage cannot fluctuate greatly and frequently ;
Please ensure anti-static operation during installation and use, as high-frequency devices are sensitive to static electricity ;
Please ensure that the humidity during installation and use should not be too high, as some components are humidity-sensitive
devices ;
If there are no special needs, it is not recommended to use it at too high or too low temperature.
If there is co-channel signal interference nearby, stay away from the interference source or modify the frequency or channel to
avoid interference;
Unsatisfactory power supply may also cause garbled code, so be sure to ensure the reliability of the power supply;
Poor quality or too long extension cords and feeders can also cause a high bit error rate.
Reflow soldering curve characteristics Lead process assembly Lead-free process assembly
14 Related models
15 Antenna Guide
Antennas play an important role in the communication process. Often poor-quality antennas will have a great impact on the
communication system. Therefore, our company recommends some antennas as antennas that support our wireless modules and have
excellent performance and reasonable prices.
frequency
Product Gain high feeder
type band interface Features
number dBi mm cm
Hz
Built-in flexible, FPC soft
TX433-NP-4310 flexible antenna 433M welding 2.0 43.8*9.5 -
antenna
glue stick Ultra-short straight,
TX433-JZ-5 433M SMA-J 2.0 52 -
antenna omnidirectional antenna
glue stick Ultra-short straight,
TX433-JZG-6 433M SMA-J 2.5 62 -
antenna omnidirectional antenna
glue stick Bend glue stick,
TX433-JW-5 433M SMA-J 2.0 50 -
antenna omnidirectional antenna
glue stick Bend glue stick,
TX433-JWG-7 433M SMA-J 2.5 75 -
antenna omnidirectional antenna
glue stick Bendable glue stick,
TX433-JK-11 433M SMA-J 2.5 110 -
antenna omnidirectional antenna
Revise history
Version Revision date Revision Notes Maintenance man
1.0 2024-4-11 initial version LAU
1.1 2024-6-6 Parameter modification LAU
About us