E32-433T37S UserManual EN v1.1
E32-433T37S UserManual EN v1.1
Product Specification
SX1278 433MHz 5W LoRa Wireless Module
Chengdu Ebyte Electronic Technology Co.,Ltd. E310-433T23D UserManual
Contents
1 Introduction ................................................................................................................................................................. 5
1.1 Brief Introduction .............................................................................................................................................5
1.2 Features ............................................................................................................................................................ 5
1.3 Application ....................................................................................................................................................... 6
II. Specification and parameter ...................................................................................................................................... 6
2.1 Limit parameter ................................................................................................................................................ 6
2.2 Working parameters ......................................................................................................................................... 6
III. Size and pin definition ..............................................................................................................................................7
Ⅳ. Recommended Wiring Diagram .............................................................................................................................. 9
Ⅴ. Detailed Function .................................................................................................................................................... 10
5.1 Fixed point transmission ................................................................................................................................ 10
5.2 Broadcast transmission ...................................................................................................................................11
5.3 Broadcast address ........................................................................................................................................... 11
5.4 Listening address ............................................................................................................................................11
5.5 Module reset ................................................................................................................................................... 11
5.6 AUX detailed explanation .............................................................................................................................. 12
5.6.1 Serial data output indication ............................................................................................................... 12
5.6.2 Wireless transmission indication ........................................................................................................ 12
5.6.3 The module is being configured ......................................................................................................... 13
5.6.4 Precautions .......................................................................................................................................... 13
5.7 Detailed explanation of abnormal working status log printing ..................................................................... 13
Ⅵ. Operating mode ......................................................................................................................................................14
6.1 Mode switch ................................................................................................................................................... 14
6.2 Normal Mode (Mode 0) ................................................................................................................................. 15
6.3 WOR Mode (Mode 1) .................................................................................................................................... 15
6.4 Power Saving Mode (Mode 2) ....................................................................................................................... 16
6.5 Deep Sleep Mode (Mode 3) ........................................................................................................................... 16
Ⅶ. Register Read and Write Control ..........................................................................................................................16
7.1 Instruction format ...........................................................................................................................................16
7.2 Read working parameters ...............................................................................................................................17
7.3 Reset command .............................................................................................................................................. 17
7.4 Parameter register description ........................................................................................................................17
7.3 Factory parameters ......................................................................................................................................... 19
Ⅷ. Hardware design .................................................................................................................................................. 19
Ⅸ. Common Issue ........................................................................................................................................................20
9.1 The transmission distance is not ideal ........................................................................................................... 20
9.2 Module is easily damaged ..............................................................................................................................20
9.3 Bit error rate too high .....................................................................................................................................21
Ⅹ. Welding Work Guide ............................................................................................................................................... 21
10.1 Reflow temperature .............................................................................................................................................. 21
10.2 Reflow soldering curve ........................................................................................................................................ 22
notice. Documentation is provided "as is" without warranty of any kind, including any warranties of
merchantability, fitness for a particular purpose, or non-infringement, and any warranties referred to elsewhere
in any proposal, specification or sample. No liability is assumed in this document, including any liability for
infringement of any patent rights arising out of the use of the information in this document. This document
does not hereby grant, by estoppel or otherwise, any license, express or implied, to any intellectual property
rights.
The test data obtained in this article are all obtained by the Ebyte laboratory test, and the actual results
All trade names, trademarks and registered trademarks mentioned herein are the property of their
The final interpretation right belongs to Chengdu Ebyte Electronic Technology Co., Ltd.
Notice :
Due to product version upgrade or other reasons, the contents of this manual may be changed. Ebyte
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. Chengdu Ebyte Electronic Technology Co., Ltd. does its best to
provide accurate information in this manual. However, Chengdu Ebyte Electronic Technology Co., Ltd. does not
ensure that the contents of the manual are completely error-free. All statements in this manual , information and
advice do not create any express or implied warranties.
1. Introduction
1.2 Features
Based on SX1278 to develop a new LoRa spread spectrum modulation technology, which brings longer
communication distance and stronger anti-interference ability;
Support FEC forward error correction to improve communication stability;
Support wake-up over the air, that is, ultra-low power consumption function, suitable for battery-powered
applications;
Support fixed-point transmission, broadcast transmission and other transmission modes;
Support deep sleep within the full power supply range, and the power consumption of the whole machine in
this mode is less than 10uA;
Support global license-free ISM 433MHz frequency band;
The module has built-in PA+LNA, and the communication distance can reach 25km under ideal conditions;
The parameters are saved after power-off, and the module will work according to the set parameters after
power-on;
Efficient watchdog design, once an exception occurs, the module will automatically restart and continue to
work according to the previous parameter settings;
Support data transmission rate of 0.3K~19.2kbps;
Support 4.5~15V wide voltage power supply, and the power output of 37dBm can be guaranteed in the whole
power supply range;
Industrial-grade standard design, supporting long-term use at -40~+85℃.
The maximum power of the module can reach 5W (37dBm), and the transmission is farther and more stable;
The module has built-in undervoltage and overvoltage warning functions and a built-in warning LED;
The module has a built-in over-temperature protection function, which will automatically stop sending when
the maximum temperature of the module is exceeded;
Matrix pads are reserved at the bottom of the module to facilitate heat dissipation for secondary development;
1.3 Application
Home security alarm and remote keyless entry;
Performance
Main parameters Remark
Minimum value Maximum value
Performance
exceeding.
Dimensions 50*30.9mm
8 RXD Input TTL serial port input, connected to the external TXD output pin;
Input (very weak Cooperate with M0 to determine the 4 working modes of the module
9 M1
pull-up) (not floating, if not used, it can be grounded)
Input (very weak Cooperate with M1 to determine the 4 working modes of the module
10 M0
pull-up) (not floating, if not used, it can be grounded)
11 GND Input Module ground wire
12 GND Input Module ground wire
Antenna interface (high-frequency signal output, 50 ohm characteristic
13 ANT Output
impedance)
14 GND Input Module ground wire
15 GND Input Module ground wire
16 GND Input Module ground wire
17 GND Input Module ground wire
18 GND Input Module ground wire
19 GND Input Module ground wire
Module status indication output, if it is not used, it can be handled in
20 STATE Output
the air.
The enable control pin of the external 485 chip can be suspended if it
21 485-EN Input /Output
is not used.
22 NC - Don't worry, just leave it in the air.
23 NC - Don't worry, just leave it in the air.
24 NC - Don't worry, just leave it in the air.
25 SWDIO - Don't worry, just leave it in the air.
26 SWCLK - Don't worry, just leave it in the air.
27 GND Input Module ground wire
28 3.3V - Don't worry, just leave it in the air.-
Note: The module must be connected to a 50 ohm impedance antenna when sending, and sending without load may
cause permanent damage to the module! ! !
Brief description of the connection between the module and the microcontroller (the above picture takes the
No.
STM8L microcontroller as an example)
1 The wireless serial port module is TTL level, please connect it with TTL level MCU.
A capacitor of no less than 47uF should be added to the power input terminal, and the ESR of the
3
capacitor should be as low as possible to increase the stability of the module.
Ⅴ. Detailed Function
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 the data under the 0x04 channel to achieve the purpose of
monitoring.
After the module is powered on, AUX will output low level immediately, perform hardware self-check, and set the
working mode according to user parameters;
During this process, the AUX keeps the low level, and after the completion, the AUX outputs the high level, and
starts to work normally according to the working mode composed of M1 and M0; Therefore, the user needs to wait
for the rising edge of AUX as the starting point for the normal operation of the module.
AUX is used for wireless transceiver buffer indication and self-check indication
It indicates whether the module has data that has not been transmitted wirelessly, or whether the received wireless
data has not been sent through the serial port, or the module is in the process of initializing and self-checking.
5.6.4 Precautions
No. AUX Precautions
For the above functions 1 and 2, the output low level is given priority, that is, if any one of the output low level
1 conditions is met, the AUX outputs the low level;
When all low level conditions are not satisfied, AUX outputs high level.
When AUX outputs a low level, it means that the module is busy, and the working mode detection will not be
2 performed at this time;
When the module AUX outputs a high level within 1ms, the mode switching will be completed.
After the user switches to the new working mode, the module will enter this mode at least 2ms after the rising
3
edge of AUX; if AUX is always at a high level, the mode switching will take effect immediately.
When the user enters other modes from mode 3 (sleep mode) or during the reset process, the module will reset
4
the user parameters, during which AUX outputs a low level.
Due to the characteristics of the LoRa modulation method, the information transmission delay is much longer
5 than that of FSK. It is recommended that customers do not transmit large amounts of data at low airspeeds to
avoid communication abnormalities caused by data loss due to data accumulation.
5.7.1. The STATE indicator/status indication pin will flash/level according to the specific abnormal working state
according to the table below.
5.7.2. The module will temporarily turn off the radio frequency transmission function when it is in an abnormal working
state, and it will restart and start the transmission after returning to the normal working state.
5.7.3. When the module is in an abnormal state, it will print a circular log every 500ms (can be turned on/off) to inform
the user of the current abnormal working state. The format of the printed log is shown in the following table:
Abnormal working condition Print log format
Undervoltage FF FF FF 01
Overvoltage FF FF FF 02
Overheat FF FF FF 03
Overpressure and overheating FF FF FF 04
Exception log printing configuration: use the hex command C3 03 01 01 to enable the exception log printing, use the hex
command C3 03 01 00 to disable the exception log printing; read the exception log printing configuration status through
the hex command C4 03 01, the default is 00 (off ).
Ⅵ. Operating mode
The module has four working modes, which are set by pins M1 and M0; the details are shown in the following table:
Mode(0-3) M1 M0 Mode Introduction Remarks
No. Remarks
Users can combine M1 and M0 with high and low levels to determine the working mode of the module. The
2 GPIOs of the MCU can be used to control the mode switching;
After changing M1 and M0: if the module is idle, after 1ms, it can start to work according to the new mode;
If the module has serial port data that has not been transmitted wirelessly, the new working mode can only
1 be entered after the transmission is completed;
If the module receives the wireless data and sends out the data through the serial port, it needs to be sent out
before it can enter the new working mode;
Therefore, the mode switching can only be effective when the AUX output is 1, otherwise the switching will
be delayed.
For example: if the user continuously inputs a large amount of data and switches the mode at the same
time, the mode switching operation is invalid at this time; the module will process all the user data before
2 performing the new mode detection;
So the suggestion is: Detect the output state of the AUX pin, wait for 2ms, after output the high level, and
then switch mode.
When the module is switched from other modes to sleep mode, if there is data that has not been processed
yet; the module can only enter sleep mode after processing these data (including receiving and sending).
This feature can be used for fast sleep to save power consumption; for example: the transmitter module
3 works in mode 0, the user initiates serial port data "12345", and then does not need to wait for the AUX pin
to be idle (high level), and can directly switch to sleep mode, The main MCU of the user is put to sleep
immediately, and the module will automatically go to sleep within 1ms after sending all the user data
wirelessly, thereby saving the working time of the MCU and reducing power consumption.
Similarly, this feature can be used for any mode switching. After the module processes the current mode
event, it will automatically enter the new mode within 1ms; thus saving the user's work of querying AUX,
4 and achieving the purpose of fast switching ; For example, switching from transmit mode to receive mode;
the user MCU can also go to sleep in advance before the mode switch, and use the external interrupt
function to obtain the AUX change, so as to switch the mode.
This operation mode is very flexible and efficient, and is completely designed according to the user's MCU
5 operation convenience, and can reduce the workload of the entire system as much as possible, improve
system efficiency, and reduce power consumption.
The module receives user data from the serial port, and the length of the wireless data packet transmitted by the
module is 58 bytes. When the amount of data input by the user reaches 58 bytes, the module will start wireless
transmission. At this time, the user can continue to input the data to be transmitted.
When the bytes that the user needs to transmit are less than 58 bytes, the module waits for 3 bytes. If there is no
user data to continue to input, it is considered that the data is terminated. At this time, the module sends all data
Emission
packets through wireless.
When the module receives the first user data, AUX outputs low level, when the module puts all the data into the
RF chip and starts transmitting, AUX outputs high level; at this time, it indicates that the last packet of wireless
data has been received After starting the transmission, the user can continue to input data up to 512 bytes; the data
packet sent through mode 0 can only be received by the receiving module in mode 0 and mode 1.
The module has always turned on the wireless receiving function, and can receive data packets from mode 0 and
mode 1;
Receive After receiving the data packet, the module AUX outputs low level, and after a delay of 5ms, it starts to send
wireless data through the serial port TXD pin. After all wireless data is output through the serial port, the module
outputs AUX high level.
The conditions for the module to start data packet transmission and the AUX function are the same as mode 0; the
only difference is: the module will automatically add a wake-up code before each data packet, and the length of
Emission the wake-up code depends on the wake-up time set in the user parameters. The purpose of the wake-up code is to
wake up the receiving module working in mode 2; therefore, the data transmitted in mode 1 can be received by
modes 0, 1, and 2.
The module is in a dormant state, the serial port is closed, and cannot receive serial data from an external MCU,
Emission
so this mode does not have a wireless transmission function.
In mode 2, the transmitter must work in mode 1;
Monitor the wake-up code regularly. Once a valid wake-up code is received, the module will continue to be in the
receiving state and wait for the entire valid data packet to be received;
Then AUX outputs low level, after a delay of 5ms, open the serial port and send the received wireless data
Receive through TXD, and AUX outputs high level after completion;
The wireless module continues to enter the working state of "sleep-monitoring" (polling);
By setting different wake-up times, the module has different receiving response delays (up to 2s) and average
power consumption (minimum 240uA); users need to strike a balance between communication delay time and
average power consumption.
Sleep mode can be used for module parameter setting, use serial port 9600, 8N1, and set module working
Configuration
parameters through specific instruction format.
When entering other modes from sleep mode, the module will reconfigure parameters. During the configuration
Note process, AUX keeps low level; after completion, it outputs high level, so it is recommended that users detect the
rising edge of AUX.
In configuration mode (mode 2: M1=1, M0=0), the list of supported commands is as follows (when setting, only 9600
and 8N1 formats are supported):
Instruction
No. Detailed Description
format
C0+ working Send C0+5 bytes of working parameters in hexadecimal format, a total of 6 bytes, which
1
parameters must be sent continuously (saved after power-off).
Send three C1 in hexadecimal format, and the module returns the saved parameters,
2 C1+C1+C1
which must be sent continuously.
C2+ working Send C2+5 bytes of working parameters in hexadecimal format, a total of 6 bytes, which
3
parameters must be sent continuously (not saved when power off).
Send three C3s in hexadecimal format, and the module returns version information,
4 C3+C3+C3
which must be sent continuously.
Send three C4 in hexadecimal format, the module will generate a reset and must be sent
5 C4+C4+C4
continuously.
Trans
Module model Frequency Address Channel Air Rate Baud Rate Serial Format mit
Power
Ⅷ. 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 should be grounded reliably;
Please pay attention to the correct connection of the positive and negative poles of the power supply, such as reverse
connection may cause permanent damage to the module;It is recommended to design and add an anti-reverse
connection circuit.
Please check the power supply to ensure that it is between the recommended power supply voltages. If it exceeds
the maximum value, the module will be permanently damaged;
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, so that the whole machine can work stably for a long time;
The module should be kept away from the parts with large electromagnetic interference such as power supply,
transformer and high-frequency wiring as far as possible;
High-frequency digital traces, high-frequency analog traces, and power traces must avoid the underside of the
module. If it is necessary to pass under the module, assuming that the module is soldered on the Top Layer, lay
copper on the Top Layer of the contact part of the module (all copper). And well grounded), it must be close to the
digital part of the module and routed on the Bottom Layer;
Assuming that the module is soldered or placed on the Top Layer, it is also wrong to arbitrarily route 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 also greatly
affect the performance of the module. It is recommended to stay away from the module according to the intensity of
the interference. If the situation allows, appropriate 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 traces), it will also greatly affect the performance of the module. It is recommended
to stay away from the module according to the intensity of the interference. Proper isolation and shielding;
If the communication line uses 5V level, a 1k-5.1k resistor must be connected in series (not recommended, there is
still a risk of damage);
The antenna installation structure has a great impact on the performance of the module. Make sure that the antenna
is exposed and it is best to vertically upward;
When the module is installed inside the casing, a high-quality antenna extension cable can be used to extend the
antenna to the outside of the casing;
The antenna must not be installed inside the metal shell, which will greatly weaken the transmission distance.
Ⅸ. Common Issue
When there is a straight line communication obstacle, the communication distance will be correspondingly
attenuated;
Temperature, humidity, and co-channel interference will increase the communication packet loss rate;
The ground absorbs and reflects radio waves, and the test effect close to the ground is poor;
Seawater has a strong ability to absorb radio waves, so the seaside test effect is poor;
There are metal objects near the antenna, or placed in a metal shell, the signal attenuation will be very serious;
The power register is set incorrectly, 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, and the lower the
voltage, the lower the output power;
The matching between 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 between the recommended power supply voltages. If it exceeds the maximum
value, the module will be permanently damaged;
Please check the stability of the power supply, the voltage should not fluctuate greatly and frequently;
Please ensure that the installation and use of anti-static operation, high-frequency components electrostatic sensitivity;
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 characters, be sure to ensure the reliability of the power supply;
The extension line and feeder line are of poor quality or too long, which will also cause a high bit error rate.
Ⅺ.Related models
Carrier Transmit
Test Air rate Package Product communicatio
Product Model Frequency power
distancekm bps form size mm n interface
Hz dBm
E32-170T30D 170M 30 8 0.3k~9.6k DIP 24*43 SMA-K
0.3k~
E32-433T20DC 433M 20 3 DIP 21*36 SMA-K
19.2k
0.3k~ Stamp hole
E32-433T20S1 433M 20 3 SMT 17*25.5
19.2k
0.3k~ IPEX/stamp
E32-433T20S2T 433M 20 3 SMT 17*30
19.2k hole
0.3k~ IPEX/stamp
E32-400T20S 433/470M 20 3 SMT 16*26
19.2k hole
0.3k~
E32-433T30D 433M 30 8 DIP 24*43 SMA-K
19.2k
0.3k~ IPEX/stamp
E32-433T30S 433M 30 8 SMT 25*40.3
19.2k hole
0.3k~
E32-868T20D 868M 20 3 DIP 21*36 SMA-K
19.2k
0.3k~ IPEX/stamp
E32-868T20S 868M 20 3 SMT 16*26
19.2k hole
0.3k~
E32-868T30D 868M 30 8 DIP 24*43 SMA-K
19.2k
0.3k~ IPEX/stamp
E32-868T30S 868M 30 8 SMT 25*40.3
19.2k hole
0.3k~
E32-915T20D 915M 20 3 DIP 21*36 SMA-K
19.2k
0.3k~ IPEX/stamp
E32-915T20S 915M 20 3 SMT 16*26
19.2k hole
0.3k~
E32-915T30D 915M 30 8 DIP 24*43 SMA-K
19.2k
0.3k~ IPEX/stamp
E32-915T30S 915M 30 8 SMT 25*40.3
19.2k hole
Ⅻ. Antenna Guide
Antennas play 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 antennas with excellent performance
and reasonable price for our wireless modules.
Feede
Product Band Gain Height
Type Interface r Features
Model Hz dBi mm
cm
TX433-NP-43 Built in flexible, FPC soft
Flexible antenna 433M Welding 2.0 43.8*9.5 -
10 antenna
Rubber rod Ultra short straight,
TX433-JZ-5 433M SMA-J 2.0 52 -
antenna omnidirectional antenna
Rubber rod Ultra short straight,
TX433-JZG-6 433M SMA-J 2.5 62 -
antenna omnidirectional antenna
Rubber rod Bending rubber rod,
TX433-JW-5 433M SMA-J 2.0 50 -
antenna omnidirectional antenna
TX433-JWG- Rubber rod Bending rubber rod,
433M SMA-J 2.5 75 -
7 antenna omnidirectional antenna
Rubber rod Bendable rubber rod,
TX433-JK-11 433M SMA-J 2.5 110 -
antenna omnidirectional antenna
Revision history
About us