E220P-400T22S UserManual EN v1.0
E220P-400T22S UserManual EN v1.0
E220P-400T22S UserManual EN v1.0
Contents
1. OVERVIEW ....................................................................................................................................................................2
1.1 INTRODUCTION .......................................................................................................................................................................................3
1.2 FEATURES .................................................................................................................................................................................................3
1.3 APPLICATION ........................................................................................................................................................................................... 3
2. SPECIFICATIONS AND PARAMETERS ................................................................................................................4
2.1 LIMIT PARAMETER ................................................................................................................................................................................. 4
2.2 OPERATING PARAMETER .......................................................................................................................................................................4
3. SIZE AND PIN DEFINITION .....................................................................................................................................5
4. CONNECT TO MCU .................................................................................................................................................... 6
5. FUNCTION DESCRIPTION .......................................................................................................................................7
5.1 FIXED TRANSMISSION ...........................................................................................................................................................................7
5.2 BROADCASTING TRANSMISSION ........................................................................................................................................................ 7
5.3 BROADCASTING ADDRESS ................................................................................................................................................................... 8
5.4 MONITOR ADDRESS ............................................................................................................................................................................... 8
5.5 RESET ....................................................................................................................................................................................................... 8
5.6 AUX DESCRIPTION ................................................................................................................................................................................ 8
5.6.1 Indication of UART output ..........................................................................................................................................................8
To wake up the external MCU ..............................................................................................................................................................8
5.6.2 Indication of wireless transmitting ........................................................................................................................................... 8
5.6.3 Configuration procedure of module ......................................................................................................................................... 9
5.6.4 Notes for AUX ................................................................................................................................................................................9
6. OPERATING MODE ..................................................................................................................................................10
6.1 MODE SWITCHING ...............................................................................................................................................................................10
6.2 NORMAL MODE(MODE 0) ............................................................................................................................................................11
6.3 WOR SENDING MODE (MODE 1) ..................................................................................................................................................... 11
6.4 WOR RECEIVING MODE (MODE 2) ................................................................................................................................................. 11
6.5 DEEP SLEEP MODE (MODE 3).......................................................................................................................................................... 11
7. REGISTER READ AND WRITE CONTROL ...................................................................................................... 12
7.1 COMMAND FORMAT ............................................................................................................................................................................12
7.2 REGISTER DESCRIPTION .....................................................................................................................................................................12
7.3 FACTORY DEFAULT PARAMETER ...................................................................................................................................................... 14
8. CONFIGURATION INSTRUCTION ON COMPUTER ..................................................................................... 15
9. HARDWARE DESIGN ...............................................................................................................................................15
10. FAQ .............................................................................................................................................................................. 16
10.1 COMMUNICATION RANGE IS TOO SHORT ......................................................................................................................................16
10.2 MODULE IS EASY TO DAMAGE ....................................................................................................................................................... 17
10.3 BER (BIT ERROR RATE) IS HIGH ...................................................................................................................................................17
11. SOLDERING OPERATION GUIDANCE ............................................................................................................17
11.1 REFLOW SOLDERING TEMPERATURE ............................................................................................................................................ 17
11.2 REFLOW SOLDERING CURVE .......................................................................................................................................................... 18
12. RELATED MODELS ................................................................................................................................................18
13. ANTENNA RECOMMENDATION ....................................................................................................................... 18
14. PACKAGE FOR BULK ORDER ........................................................................................................................... 20
REVISION HISTORY .................................................................................................................................................... 20
ABOUT US ........................................................................................................................................................................20
The attention
The contents of this manual may change due to product version upgrade or other reasons. E-baite
Electronic Technology Co., Ltd. reserves the right to modify the contents of this manual
without any notice or prompt. This manual is only used as a guide, and Chengdu Yibaite
Electronic Technology Co., Ltd. makes every effort to provide accurate information in this
manual, but Chengdu Yibaite Electronic Technology Co., Ltd. does not guarantee that the
content of this manual is completely free of errors, and all statements, information and
Suggestions in this manual do not constitute any express or implied warranty.
1. Overview
1.1 Introduction
E220P-400T22S is a new generation of LoRa wireless serial port module (UART),
based on Semtech's original LLCC68 chip design. It has a variety of transmission
methods,The module has built-in PA+LNA, and the communication distance can reach 7km
under ideal conditions. (E220P-400T22S is 5.6km) built-in LNA and ESD receiver, with
stronger anti-interference ability and longer receiving distance. Using active crystal oscillator,
frequency deviation ± 1PPM, can normal communication under high temperature and low
temperature conditions. works in the (410.125 ~ 493.125MHz) frequency band (default
433.125MHz), LoRa spread spectrum technology, TTL level output, compatible with 3.3V
and 5V IO port voltage.
E220P-400T22S adopts a new generation of LoRa solution. Compared with the traditional SX1276 solution, the transmission
distance is longer, the speed is faster, and the power consumption is lower; it supports functions such as air wake-up, carrier
monitoring, and communication key, and supports sub-packet length setting. Ebyte can provide customized development services.
Compared with the LLCC68 scheme, this scheme has a high cost performance advantage. The product can cover an ultra-wide
frequency range of 410~493MHz.
1.2 Features
Using LLCC68 chip solution, it has significant advantages of low power consumption, fast speed and long distance;
Under ideal conditions, the communication distance can reach 5km;
The maximum transmit power is 22dBm, and the software is multi-level adjustable;
Support users to set the communication key by themselves, and it cannot be read, which greatly improves the confidentiality of
user data;
Support RSSI signal strength indicator function for evaluating signal quality, improving communication network, and ranging;
Support air wakeup, that is, ultra-low power consumption function, suitable for battery-powered applications;
Support fixed-point transmission, broadcast transmission, channel monitoring;
Support the global ISM 433/470MHz frequency band;
The module has built-in PA+LNA, and the communication distance can reach 7km under ideal conditions. (E220-400
t22s 5.6 km)
Built-in LNA and ESD receiver, stronger anti-interference ability, longer receiving distance.
Using active crystal oscillator, frequency deviation ±1PPM, can normal communication under high temperature
and low temperature conditions.
The parameters are saved after power off, and the module will work according to the set parameters after power on again;
Efficient watchdog design. Once an exception occurs, the module will automatically restart and continue to work according to
the previous parameter settings;
Support the data transmission rate of 2.4k~62.5kbps;
Support 3.3~5.5V power supply, power supply greater than 5V can guarantee the best performance;
Industrial standard design, supporting long-term use at -40~+85℃;
Dual antennas are optional (IPEX/stamp hole), which is convenient for users to develop and integrate.
1.3 Application
Home security alarm and remote keyless entry;
Performance
Main parameter Remark
Min. Typ. Max.
Operating voltage(V) 3.3 5.0 5.5 ≥5.0 V ensures output power
Communication level(V) - 3.3 - For 5V TTL, it may be at risk of burning down
Operating temperature(℃) -40 - 85 Industrial design
Operating frequency(MHz) 410.125 - 493.125 Support ISM band
Power TX current(mA) - 110 - Instant power consumption @22dBm
consum RX current(mA) - 11 - -
ption Sleep current (μA) - 2 - Software is shut down
Max Tx power(dBm) 21.5 22.0 22.5 -
Receiving sensitivity(dBm) -132 -135 -136 Air speed 2.4 KBPS
Air data rate(bps) 2.4k 2.4k 62.5k Controlled via user’s programming
Test condition:clear and open area, antenna gain: 5dBi,
Distance for reference 7km
antenna height: 2.5m,air data rate: 2.4kbps
Can be configured via command as 32/64/128/200
TX length 200 Byte
bytes per packet to transmit
Buffer 400 Byte -
Modulation LoRa New generation LoRa modulation technology
Communication interface UART TTL Level
Package SMD -
Connector 1.27mm -
Size 16*26 mm -
Antenna IPEX/stamp hole 50 ohm impedance
11 GND - Ground
12 NC - Empty Pin
13 GND - Ground
14 NC - Empty Pin
15 NC - Empty Pin
16 NC - Empty Pin
17 NC - Empty Pin
18 NC - Empty Pin
19 GND - Ground
20 GND - Ground
21 ANT - Antenna
22 GND - Ground
4. Connect to MCU
Brief description of the connection between the module and the MCU (The picture above takes STM8L MCU
No.
as an example)
1 The wireless serial port module is TTL level, please connect with TTL level MCU.
2 For some MCU works at 5VDC, it may need to add 4-10K pull-up resistor for the TXD & AUX pin.
5. Function Description
5.5 Reset
When the module is powered, AUX outputs low level immediately, conducts hardware self-check and sets the operating mode based
on user’s parameters. During the process, the AUX remains low level. After the process completed, the AUX outputs high level and
starts to work as per the operating mode combined by M1 and M0. Therefore, users need to wait the AUX rising edge as the start of
module’s normal work.
When AUX=0, the buffer is not empty: the data in the internal 400-byte buffer has not been written to the wireless
chip and the transmission is started. At this time, the module may be waiting for the end of the user data to time out,
or the wireless sub-packet transmission is in progress.
[Note]: When AUX=1, it does not mean that all serial port data of the module has been transmitted wirelessly, and
the last packet of data may be being transmitted.
6. Operating Mode
There are four operating modes, which are set by M1 and M0, the details are as follows:
No. Remark
Users can combine M1 and M0 with high and low levels to determine the operating mode. Two GPIOs of the MCU can
be used to control mode switching;
After changing M1 and M0: If the module is idle, after 1ms, it can start working according to the new mode;
If the serial port data of the module has not been transmitted through the wireless, the new working mode can be
1 switched after the transmission is completed;
If the module receives the wireless data and transmits the data through the serial port, it needs to finish transmission
before switching the new working mode;
Therefore, mode switching can only be valid when AUX output is 1, otherwise it will delay switching
For example, users continuously input a large amount of data and simultaneously performs mode switching. At this
time, the switching mode operation is invalid; the module will process all the user data before performing the new mode
2 detection;
Therefore, the general recommendation is to detect the output state of the AUX pin and switch after 2ms when the
output is high.
When the module is switched from other modes to sleep mode, if the data has not been processed yet;
The module will process these data (including receiving and sending) before entering sleep mode. This feature can be
used for fast sleep, which saves power; for example, the transmitter module works in mode 0, the user transmits the
3 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 the user's main MCU immediately sleeps, the module will automatically transmit the user data
through the wireless, and automatically enters sleep within 1ms;
This saves MCU's working time and reduces power consumption.
Similarly, any mode switching can use this feature. After the module processes the current mode event, it will
automatically enter the new mode within 1ms; thus, eliminating the need for the user to query AUX and achieve the
4 purpose of fast switching;
For example, switching from the transmit mode to the receive mode; the user MCU can also enter sleep before the mode
switch, and use the external interrupt function to acquire the AUX change, thereby performing mode switching.
This operation mode is very flexible and efficient, and is designed according to the user's MCU's operation convenience,
5 and can reduce the workload of the entire system as much as possible, improve system efficiency, and reduce power
consumption.
Transmitting Users can input data through the serial port and the module will start wireless transmission.
The module wireless receiving function is turned on, and after receiving the wireless data, it will be output through the serial
Receiving
port TXD pin.
Configurating Users can access the registers to configure the working status of the module
When from the sleep mode to other modes, the module will reconfigure the parameters. During the configuration process,
Note
AUX will remain low; After configuration, it outputs high level, we suggest that user test rising edge T_BUSY.
In configuration mode (mode 3: M1=1, M0=1), the supported command list is as follows (when setting, only 9600, 8N1 format is
supported):
Example 2:Configure module address (0x1234), serial port (9600 8N1), air speed (2.4K)
Send:C0 00 04 12 34 00 61
Return:C1 00 04 12 34 00 61
Command: C1+starting address+parameters
Response: C1+starting address+length+parameters
Example:Read channel
command starting address length parameter
2 Read Register Send: C1 05 01
Return: C1 05 01 09
Example 2: Read module address, serial port, and airspeed at the same time
Send:C1 00 04
Return:C1 00 04 12 34 00 61
Command: C2+starting address+parameters
Response: C1+starting address+length+parameters
Example 2: Configure module address (0x1234), network address (0x00), serial port (9600 8N1)
and air data rate (2.4K)
Send:C2 00 04 12 34 00 61
Return:C1 00 04 12 34 00 61
Read
Address or Name Description Remark
Write
1 0 64 bytes The data sent by the user is larger than the packet
length, and the serial port of the receiving end will
1 1 32 bytes
be output in packets.
5 RSSI Ambient noise enable After enabling, you can send commands C0 C1
C2 C3 in transmission mode or WOR sending
0 Disable(Default) mode to read registers;
Read/ Register 0x00: Current environmental noise RSSI;
03H REG1
Write Register 0X01: RSSI when receiving data last
time
(The current channel noise is: dBm = - ( 256 -
RSSI));
1 Enable Instruction format: C0 C1 C2 C3+start
address+read length;
Return: C1 + address + read length + read valid
value; for example: send C0 C1 C2 C3 00 01
Return C1 00 01 RSSI (address can only start
from 00)
4 3 2 Reserve
2 1 0 WOR Cycle
0 0 0 500ms Only valid for mode 1;
Model No. Frequency Address Channel Air Rate Baud Rate Serial Format Power
The following figure shows the display interface of the E220P-400T22S configuration host computer. The user can switch to the
command mode through M0 and M1, and quickly configure and read the parameters on the host computer.
In the configuration of the host computer, the module address, frequency channel, network ID, and key are all displayed in
decimal mode; the value range of each parameter:
Network address:0~65535
Frequency channel:0~83
Internet ID:0~255
Key:0~65535
9. Hardware Design
It is recommended to use a DC stabilized power supply to supply power to the module. The power 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 should not fluctuate greatly and frequently;
When designing the power supply circuit for the module, it is often recommended to reserve more than 30% of the margin, and
the whole machine is conducive to long-term stable operation;
The module should be as far away as possible from power supply, transformer, high frequency wiring and other parts with large
electromagnetic interference;
High-frequency digital traces, high-frequency analog traces, and power traces must avoid under the module. If they really need
to pass under the module, assuming that the module is soldered to the Top Layer, lay copper on the Top Layer of the contact part
of the module (all copper and Good grounding), must be close to the digital part of the module and routed in the Bottom Layer;
Assuming that the module is soldered or placed on the Top Layer, it is also wrong to randomly route the wires on the Bottom
Layer or other layers, which will affect the stray and receiving sensitivity of the module to varying degrees;
Assuming that there are devices with large electromagnetic interference around the module, it will greatly affect the performance
of the module. According to the intensity of the interference, it is recommended to stay away from the module. If the situation
permits, proper isolation and shielding can be done;
Assuming that there are traces with large electromagnetic interference around the module (high-frequency digital,
high-frequency analog, power wiring), it will also greatly affect the performance of the module. According to the intensity of the
interference, it is recommended to stay away from the module. Isolation and shielding;
Try to stay away from part of the physical layer that is also 2.4GHz TTL protocol, such as: USB3.0;
The antenna installation structure has a great influence on the performance of the module. Make sure that the antenna is exposed
and it is best to be vertically upward;
When the module is installed inside the case, a high-quality antenna extension cable can be used to extend the antenna to the
outside of the case;
The antenna must not be installed inside the metal shell, which will greatly reduce the transmission distance.
10. FAQ
When there is a straight-line communication obstacle, the communication distance will be attenuated accordingly;
Temperature, humidity, and co-frequency interference will increase the communication packet loss rate;
The ground absorbs and reflects radio waves, and the test results near the ground are poor;
Sea water has a strong ability to absorb radio waves, so the seaside test results are poor;
If there is a metal object near the antenna or placed in a metal shell, the signal attenuation will be very serious;
The power register setting is wrong, the air speed setting is too high (the higher the air speed, 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 lower
the power output;
The matching degree of the antenna and the module is poor or the quality of the antenna itself is problematic.
Please check the power supply to ensure that it is within the recommended power supply voltage. If it exceeds the maximum
value, the module will be permanently damaged;
Please check the stability of the power supply, and the voltage should not fluctuate greatly and frequently;
Please ensure anti-static operation during installation and use, and high-frequency components are electrostatically sensitive;
Please ensure that the humidity during installation and use should not be too high, and some components are humidity sensitive
devices;
If there is no special requirement, it is not recommended to use it at too high or too low temperature.
There is co-frequency signal interference nearby, stay away from the interference source or modify the frequency and channel to
avoid interference;
Unsatisfactory power supply may also cause garbled codes. Ensure the reliability of the power supply;
Poor or too long extension cables and feeders can also cause high bit error rates.
Antennas are an important role in the communication process, and often inferior antennas will have a great impact on the
communication system. Therefore, our company recommends some antennas as supporting our company's wireless modules with
excellent performance and reasonable prices.
Model No. Type Frequency Interface Gain Height Feeder Features
Hz dBi mm cm
Ultra-short straight,
TX433-JZ-5 Rubber Antenna 433M SMA-J 2.0 52 -
omnidirectional antenna
Sort straight, omnidirectional
TX433-JZG-6 Rubber Antenna 433M SMA-J 2.5 62 -
antenna
Ultra-short straight,
TX433-JW-5 Rubber Antenna 433M SMA-J 2.0 50 -
omnidirectional antenna
Bend rubber, omnidirectional
TX433-JWG-7 Rubber Antenna 433M SMA-J 2.5 75 -
antenna
SMA-J Bendable rubber,
TX433-JK-11 Rubber Antenna 433M 2.5 110 -
omnidirectional antenna
SMA-J Bendable rubber,
TX433-JK-20 Rubber Antenna 433M 3.0 210 -
omnidirectional antenna
Small suction antenna,
TX433-XPL-100 Suction Antenna 433M SMA-J 3.5 185 100
cost-effective
Middle suction antenna, high
TX433-XP-200 Suction Antenna 433M SMA-J 4.0 190 200
gain
TX433-XPH-300 Suction Antenna 433M SMA-J 6.0 965 300 Big suction antenna, high gain
Ultra-short straight,
TX490-JZ-5 Rubber Antenna 470/490M SMA-J 2.0 50 -
omnidirectional antenna
Small suction antenna,
TX490-XPL-100 Suction Antenna 470/490M SMA-J 3.5 120 100
cost-effective
Revision History
Version Date Description Issued by
1.0 2021-9-24 Original Version Linson
About us