Chengdu Ebyte Electronic Technology Co,;LtdE32-433T20DT user manual
1.1 Introduction
E32-433T20DT is a wireless serial port module
(UART) based on SEMTECH's SX1278 RF chip. It has
multipletransmissionmodes,workinginthe
410MHz~441MHz, (default 433MHz), LoRa spread
spectrum technology,
SX1278 features LoRa™, which will bring longer
1. Overview
communication distance, and has the advantages of concentrated power density, meanwhile it has a very strong
confidentiality. the modules of 20dBm transmitting power adopt industrial grade crystal oscillators to ensure the stability
and consistency, its precision is lower than the widely adopted 10ppm. E32-433T20DC is in stable bulk production and
are widely applied in utility meters, IoT renovation, smart home, etc. The modules feature data encryption and
compression. The data transmitted over the air features randomness. The encryption-decryption algorithm makes data
interception meaningless. Data compression enables shorter transmitting time and lower rate of being interfered, which
increases the reliability and transmitting efficiency.
1.2 Features
Communication distance tested is up to 3km
Maximum transmission power of 100mW, software multi-level adjustable;
Support the global license-free ISM 433 MHz band;
Support air date rate of 0.3kbps~19.2kbps;
Support new generation LoRa technology based on SX1262;
Low power consumption for battery supplied applications;
Support 3.3V~5.5V power supply, power supply over 5.0 V can guarantee the best performance;
Industrial grade standard design, support -40 ~ 85 °C for working over a long time;
IPEX and stamp hole optional, good for secondary development and integration.
1.3 Application
Home security alarm and remote keyless entry;
Smart home and industrial sensors;
Wireless alarm security system;
Building automation solutions;
Wireless industrial-grade remote control;
Health care products;
Advanced Meter Reading Architecture(AMI);
Chengdu Ebyte Electronic Technology Co,;LtdE32-433T20DT user manual
Mode(0-3)
M0
M1
Mode introduction
Remark
0 Normal
0
1
UART and wireless channel are open, transparent
transmission is on
The receiver must work in mode
0 or mode 1
1Wake up
10UART and wireless channel are open, the only
difference with mode 0 is that before transmitting
data, increasing the wake up code automatically, so
that it can awake the receiver under mode 3.
The receiver could be 0,1 or 2
2 Power
saving
01UART close, wireless is under air-awaken mode, after
receiving data, UART open and send data.
transmitter must be mode 1,
unable to transmit in this mode.
3Sleep
1
1
sleep mode, receiving parameter setting command is
available.
moredetailsonparameter
specification.
6 Operating mode
There are four operating modes, which are set by M1 and M0, the details are as follows:
6.1 Mode switch
The user can decide the operating mode by the combination of M1 and M0. The two GPIO of MCU can be used to
switch mode. After modifying M1 or M0, it will start to work in new mode 1ms later if the module is free. If there
are any serial data that are yet to finish wireless transmitting, it will start to work in new mode after the UART
transmitting finished. After the module receives the wireless data & transmits the data through serial port, it will
start to work in new mode after the transmitting finished. Therefore, the mode-switch is only valid when AUX
outputs 1, otherwise it will delay.
For example, in mode 0 or mode 1, if the user inputs massive data consecutively and switches operating mode at the
same time, the mode-switch operation is invalid. New mode checking can only be started after all the user’s data
process completed. It is recommended to check AUX pin out status and wait 2ms after AUX outputs high level
before switching the mode.
If the module switches from other modes to stand-by mode, it will work in stand-by mode only after all the
remained data process completed. The feature can be used to save power consumption. For example, when the
transmitter works in mode 0, after the external MCU transmits data “12345”, it can switch to sleep mode
immediately without waiting the rising edge of the AUX pin, also the user’s main MCU will go dormancy
immediately. Then the module will transmit all the data through wireless transmission & go dormancy 1ms later
automatically, which reduces MCU working time & save power.
Likewise, this feature can be used in any mode-switch. The module will start to work in new mode within 1ms after
completing present mode task, which enables the user to omit the procedure of AUX inquiry and switch mode
swiftly. For example, when switching from transmitting mode to receiving mode, the user MCU can go dormancy
before mode-switch, using external interrupt function to get AUX change so that the mode-switch can be realized.
This operation is very flexible and efficient. It is totally designed on the basis of the user MCU’s convenience, at the
same time the work load and power consumption of the whole system have been reduced and the efficiency of
Chengdu Ebyte Electronic Technology Co,;LtdE32-433T20DT user manual
When M1 = 0 & M0 = 0, module works in mode 0
Transmitting
The module can receive the user data via serial port, and transmit wireless data package of 58 bytes. When the
data inputted by user is up to 58 byte, the module will start wireless transmission. During which the user can
input data continuously for transmission.
When the required transmission bytes are less than 58 bytes, the module will wait 3-byte time and treat it as
data termination unless continuous data inputted by user. Then the module will transmit all the data through
wireless channel.
When the module receives the first data packet from user, the AUX outputs low level.
After all the data are transmitted into RF chip and transmission start , AUX outputs high level.
At this time, it means that the last wireless data package transmission is started, which enables the user to input
another 512 bytes continuously. The data package transmitted from the module working in mode 0 can only be
received by the module working in mode 0 or 1.
Receiving
The wireless receiving function of the module is on, the data packet transmitted from the module working in
mode 0 & mode 1 can be received.
After the data packet is received, the AUX outputs low level, 5ms later the module starts to transmit wireless
data through serial port TXD pin.
After all the wireless data have been transmitted via serial port, the AUX outputs high level.
When M1 = 0 & M0 = 1, module works in mode 1
Transmitting
The condition of data packet transmission & AUX function is the same as mode 0. The only difference is that
the module will add preamble code before each data packet automatically. The preamble code length depends
on the wake-up time set in the user parameters. The purpose of the preamble code is waking up the receiving
module works in mode 2. Therefore, the data package transmitted from mode 1 can be received by mode 0,
mode1 and mode 2.
Receiving
The same as that in mode 0.
When M1 = 1 & M0 = 0, module works in mode 2
Transmitting
UART is closed, the module cannot receive any serial port data from outside MCU.
Hence the function of wireless transmission is not available for the module working in this mode.
Chengdu Ebyte Electronic Technology Co,;LtdE32-433T20DT user manual
Receiving
In mode 2, it is required the data transmitter works in mode 1.
The wireless module monitors the preamble code at regular time.
Once it gets the preamble code, it will remain as receiving status and waiting for the completion of receiving the
entire valid data package.
Then the AUX outputs low level, 5ms later the serial port is open to transmit received wireless data through
TXD. Finally, AUX outputs high level after process completed.
The wireless module stays in “power-saving – monitoring” working status (polling).
By setting different wake-up time, the module will have different receiving response delay (2s in maximum) and
average power consumption (30uA in minimum).
The user needs to achieve a balance between communication delay time & average power consumption.
When M1=1, M0=1, module works in mode 3
Transmitting
N/A
Receiving
N/A
Parameter
setting
This mode can be used for parameter setting. It uses serial port 9600 & 8N1 to set module working parameters
through specific instruction format. (pls refer to parameters setting for details)
Notes
When the mode changes from stand-by mode to others, the module will reset its parameters, during which the
AUX keeps low level and then outputs high level after reset completed. It is recommended to check the AUX
rising edge for user.
No.
Instruction
format
Illustration
1
C0+working
parameters
C0 + 5 bytes working parameters are sent in hexadecimal format. 6 bytes in total and must
be sent in succession, ( Save the parameters when power-down ).
2
C1+C1+C1
( Save the parameters when power-down )
3
C2+working
parameters
Three C1 are sent in hexadecimal format. The module returns the saved parameters and
must be sent in succession.
4
C3+C3+C3
C2 + 5 bytes working parameters are sent in hexadecimal format. 6 bytes in total and must
be sent in succession. ( Do not save the parameters when power-down )
5
C4+C4+C4
Three C3 are sent in hexadecimal format. The module returns the version information and
they must be sent in succession.
Default parameter values::C0 00 00 1A 17 44
Model
Frequency
Address
Channel
Air data rate
Baud rate
Parity
Transmitting
power
6.5 Sleep mode (mode 3)
7 Command format
In sleep mode(Mode 3:M1=1, M0=1), it supports below instructions on list.
Chengdu Ebyte Electronic Technology Co,;LtdE32-433T20DT user manual
E32-433T20DC
433MHz
0x0000
0x17
2.4kbps
9600
8N1
100mW
Instruction format
Description
C1+C1+C1
In sleep mode(M0=1,M1=1),
User gives the module instruction (HEX format): C1 C1 C1,
Module returns the present configuration parameters.
For example, C2 00 00 1A 17 44.
Instruction format
Description
C3+C3+C3
In sleep mode(M0=1,M1=1),
User gives the module instruction (HEX format): C3 C3 C3,
Module returns its present version number, for example C3 32 xx yy.
32 here means the module model (E32 series); xx is the version number and yy refers to the other
module features.
Instruction format
Description
C4+C4+C4
In sleep mode(M0=1,M1=1),
User gives the module instruction (HEX format): C4 C4 C4, the module resets for one time.
During the reset process, the module will conduct self-check, AUX outputs low level. After reset
completing, the AUX outputs high level, then the module starts to work regularly which the
working mode can be switched or be given another instruction.
No.
Item
Description
Remark
0
HEAD
Fix 0xC0 or 0xC2, it means this frame data is control command
margin, so the whole machine is beneficial for long-term stable operation.;
The module should be as far away as possible from the power supply, transformers, high-frequency wiring and other
15
Page 17
Chengdu Ebyte Electronic Technology Co,;LtdE32-433T20DT user manual
parts with large electromagnetic interference.;
High-frequency digital routing, high-frequency analog routing, and power routing must be avoided under the
module. If it is necessary to pass through the module, assume that the module is soldered to the Top Layer, and the
copper is spread on the Top Layer of the module contact part(well grounded), it must be close to the digital part of
the module and routed in the Bottom Layer;
Assuming the module is soldered or placed over the Top Layer, it is wrong to randomly route over the Bottom Layer
or other layers, which will affect the module's spurs and receiving sensitivity to varying degrees;
It is assumed that there are devices with large electromagnetic interference around the module that will greatly
affect the performance. It is recommended to keep them away from the module according to the strength of the
interference. If necessary, appropriate isolation and shielding can be done;
Assume that there are traces with large electromagnetic interference (high-frequency digital, high-frequency analog,
power traces) around the module that will greatly affect the performance of the module. It is recommended to stay
away from the module according to the strength of the interference. If necessary, appropriate isolation and shielding
can be done.
If the communication line uses a 5V level, a 1k-5.1k resistor must be connected in series (not recommended, there is
still a risk of damage);
Try to stay away from some physical layers such as TTL protocol at 2.4GHz , for example: USB3.0;
The mounting structure of antenna has a great influence on the performance of the module. It is necessary to ensure
that the antenna is exposed, preferably vertically upward. When the module is mounted inside the case, use a good
antenna extension cable to extend the antenna to the outside;
The antenna must not be installed inside the metal case, which will cause the transmission distance to be greatly
weakened.
9 FAQ
9.1 Communication range is too short
The communication distance will be affected when obstacle exists.
Data lose rate will be affected by temperature, humidity and co-channel interference.
The ground will absorb and reflect wireless radio wave, so the performance will be poor when testing near ground.
Sea water has great ability in absorbing wireless radio wave, so performance will be poor when testing near the sea.
The signal will be affected when the antenna is near metal object or put in a metal case.
Power register was set incorrectly, air data rate is set as too high (the higher the air data rate, the shorter the
distance).
The power supply low voltage under room temperature is lower than 2.5V, the lower the voltage, the lower the
transmitting power.
Due to antenna quality or poor matching between antenna and module.