E32-170T30D Usermanual EN v1.8
E32-170T30D Usermanual EN v1.8
CONTENT
1. OVERVIEW.................................................................................................................................. 3
1.1 INTRODUCTION..............................................................................................................................................................3
1.2 FEATURES...................................................................................................................................................................... 3
4 CONNECT TO MCU....................................................................................................................... 6
5 FUNCTION DESCRIPTION.......................................................................................................... 6
6 OPERATING MODE.....................................................................................................................10
7 COMMAND FORMAT..................................................................................................................12
8. HARDWARE DESIGN.................................................................................................................16
9 FAQ..................................................................................................................................................17
10 PRODUCTION GUIDANCE...................................................................................................... 17
11 E32 SERIES.................................................................................................................................. 18
12 ANTENNA RECOMMENDATION............................................................................................18
REVISION HISTORY...................................................................................................................... 19
ABOUT US......................................................................................................................................... 20
1. Overview
1.1 Introduction
E32-170T30D is a wireless serial port module
(UART) based on SEMTECH's SX1278 RF chip. LoRa
spread spectrum technology, TTL level output,
compatible with 3.3V and 5V ( recommendation
4.75-5.5V ) ,It has a great penetration ability. The
correcting ability on the software can be largely
increased at against disturbing.
SX1278 features LoRa™, also it can bring longer
communication distance, and has the advantages of concentrated power density, meanwhile it has a very strong
confidentiality. The modules of 30dBm transmitting power are embedded with power amplifier (PA) and low noise
amplifier (LNA), which enhances the stability and longer communication range; the modules of 30dBm transmitting
power adopt industrial grade crystal oscillators to ensure the stability and consistency, its precision is lower than the
widely adopted 10ppm. It 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 in air features randomness. The
encryption-decryption algorithm makes data interception meaningless. And the data compression enables shorter
transmitting time and lower rate of being interfered, which increased the reliability and transmitting efficiency.
1.2 Features
Communication distance tested is up to 8km
Maximum transmission power of 1W, software multi-level adjustable;
Support the global license-free ISM 170MHz band;
Support air date rate of 0.3kbps~9.6kbps;
Support new generation LoRa technology ;
Low power consumption for battery supplied applications;
Support 3.3V~5.2V 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;
SMA 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;
TTL UART outputs, connects to external RXD (MCU, PC) input pin. Can
4 TXD Output
be configured as open-drain or push-pull output
To indicate module ’ s working status & wakes up the external MCU.
5 AUX Output During the procedure of self-check initialization, the pin outputs low
level. Can be configured as push-pull output (suspending is allowed).
6 VCC Input Power supply :2.3~ 5.2V DC
4 Connect to 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
When module A is the receiver, it can receive the data sent from all modules under channel 0x04, the purpose of
monitor is realized.
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.
Buffer (empty): the internal 512 bytes data in the buffer are written to the RFIC (Auto sub-packaging).
When AUX=1, the user can input data less than 512 bytes continuously without overflow. Buffer (not empty): when
AUX=0, the internal 512 bytes data in the buffer have not been written to the RFIC completely. If the user starts to
transmit data at this circumstance, it may cause overtime when the module is waiting for the user data, or
transmitting wireless sub package.
When AUX = 1, it does not mean that all the UART data of the module have been transmitted already, perhaps the
No. Description
For function 1 & function 2 mentioned above, the priority should be given to the one with low level output,
1 which means if it meets each of any low level output condition, AUX outputs low level, if none of the low
level condition is met, AUX outputs high level.
When AUX outputs low level, it means the module is busy & cannot conduct operating mode checking.
2
Within 1ms since AUX outputs high level, the mode switch will be completed.
After switching to new operating mode, it will not work in the new mode immediately until AUX rising edge
3
lasts for 2ms . If AUX stays on the high level, the operating mode switch can be affected immediately.
When the user switches to other operating modes from mode 3 (sleep mode) or it’s still in reset process, the
4
module will reset user parameters, during which AUX outputs low level.
6 Operating mode
There are four operating modes, which are set by M1 and M0, the details are as follows:
3 Sleep sleep mode, receiving parameter setting command is more details on parameter
1 1 available. specification.
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
whole system is largely improved.
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
Transmitti
channel.
ng
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.
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.
Receiving 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.
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
Transmitting 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.
UART is closed, the module cannot receive any serial port data from outside MCU.
Transmitting
Hence the function of wireless transmission is not available for the module working in this mode.
Transmitting N/A
Receiving N/A
Parameter This mode can be used for parameter setting. It uses serial port 9600 & 8N1 to set module working parameters
setting through specific instruction format. (pls refer to parameters setting for details)
When the mode changes from stand-by mode to others, the module will reset its parameters, during which the
Notes AUX keeps low level and then outputs high level after reset completed. It is recommended to check the AUX
rising edge for user.
7 Command format
C2 + 5 bytes working parameters are sent in hexadecimal format. 6 bytes in total and
4 C3+C3+C3
must be sent in succession. ( Do not save the parameters when power-down )
Three C3 are sent in hexadecimal format. The module returns the version information
5 C4+C4+C4
and they must be sent in succession.
No
Item Description Remark
.
Fixed transmission enabling bit(similar to In fixed transmission mode, the first three
7
MODBUS) bytes of each user's data frame can be used as
0 Transparent transmission mode high/low address and channel. The module
changes its address and channel when
transmit. And it will revert to original setting
1 Fixed transmission mode
after complete the process.
6 IO drive mode (default 1) This bit is used to the module internal pull-up
1 TXD and AUX push-pull outputs, RXD pull-up inputs resistor. It also increases the level’s
adaptability in case of open drain. But in
TXD、AUX open-collector outputs, RXD
0 some cases, it may need external pull-up
open-collector inputs
resistor.
5 4 3 wireless wake-up time The transmit & receive module work in mode
0 0 0 250ms (default) 0, whose delay time is invalid & can be
0 0 1 500ms arbitrary value.
0 1 0 750ms The transmitter works in mode 1 can transmit
0 1 1 1000ms the preamble code of the corresponding time
1 0 0 1250ms continuously.
0 1 24dBm
1 0 21dBm
8. Hardware design
It is recommended to use a DC stabilized power supply. The power supply ripple factor is as small as possible, and
the module needs to 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 it is within the recommended voltage otherwise when it exceeds the
maximum value the module will be permanently damaged;
Please check the stability of the power supply, the voltage can not be fluctuated frequently;
When designing the power supply circuit for the module, it is often recommended to reserve more than 30% of the
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
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
Please check the power supply source, ensure it is 2.0V~3.6V, voltage higher than 3.6V will damage the module.
Please check the stability of power source, the voltage cannot fluctuate too much.
Please make sure antistatic measure are taken when installing and using, high frequency devices have electrostatic
susceptibility.
Please ensure the humidity is within limited range, some parts are sensitive to humidity.
Please avoid using modules under too high or too low temperature.
There are co-channel signal interference nearby, please be away from interference sources or modify frequency and
channel to avoid interference;
Poor power supply may cause messy code. Make sure that the power supply is reliable.
The extension line and feeder quality are poor or too long, so the bit error rate is high;
10 Production guidance
This type is full-sized module, when the welder welds the module, he must be welding according to the anti-static
regulation. This product is allergic to static, randomly welding the module will have the chance of damaging it
permanently.
11 E32 series
Frequency Tx power Distance Size
Model No. Core IC Air Data Rate Package Interface
Hz dBm km mm
E32-868T20S SX1276 868M 20 3 0.3k~19.2k SMD 16 * 26 UART
E32-915T20S SX1276 915M 20 3 0.3k~19.2k SMD 16 * 26 UART
E32-400T20S SX1278 433M 470M 20 3 0.3k~19.2k SMD 16 * 26 UART
25 *
E32-915T30S SX1276 915M 30 8 0.3k~19.2k SMD UART
40.3
25 *
E32-868T30S SX1276 868M 30 8 0.3k~19.2k SMD UART
40.3
25 *
E32-433T30S SX1278 433M 30 8 0.3k~19.2k SMD UART
40.3
E32-433T20S2T SX1278 433M 20 3 0.3k~19.2k SMD 17 * 30 UART
E32-868T30D SX1276 868M 30 8 0.3~19.2k DIP 24 * 43 SMA-K
E32-915T30D SX1276 915M 30 8 0.3~19.2k DIP 24 * 43 SMA-K
E32-170T30D SX1278 170M 30 8 0.3k~9.6k DIP 24 * 43 SMA-K
E32-868T20D SX1276 868M 20 3 0.3~19.2k DIP 21 * 36 SMA-K
E32-915T20D SX1276 915M 20 3 0.3~19.2k DIP 21 * 36 SMA-K
E32- 433T20DC SX1278 433M 20 3 0.3k~19.2k DIP 21 * 36 SMA-K
E32- 433T30D SX1278 433M 30 8 0.3k~19.2k DIP 24 * 43 SMA-K
E32-433T27D SX1278 433M 27 5 0.3k~19.2k DIP 24 * 43 SMA-K
17 *
E32-433T20S1 SX1278 433M 20 3 0.3k~19.2k SND SMA-K
25.5
12 Antenna recommendation
The antenna is an important role in the communication process. A good antenna can largely improve the
communication system. Therefore, we recommend some antennas for wireless modules with excellent performance and
reasonable price.
Frequency Interfa Gain
Model No. Type Height Function feature
Hz ce dBi Cable
TX170-XP-200 Sucker antenna 170M SMA-J 4 - 200cm- Sucker antenna, High gain
TX170-JK-20 Rubber antenna 170M SMA-J 3 - - Flexible &omnidirectional
TX170-JK-11 Rubber antenna 170M SMA-J 2.5 - - Flexible &omnidirectional
Revision history
Version Date Description Issued by
About us