E32 Series: SX1278 Wireless Module

Download as pdf or txt
Download as pdf or txt
You are on page 1of 24

SX1278 Wireless Module

E32 Series

User Manual

This manual may be modified based on product upgrade, please refer to the latest version.
All rights to interpret and modify this manual belong to Chengdu Ebyte Electronic Technology Co., Ltd.

Version Date Description Issued by

1.00 2017/11/10 Initial version huaa


SX1278 Wireless Module E32 Series User Manual

Brief Introduction

E32 series are wireless transceiver modules, operate at 410-441MHz (Default: 433MHz), based on originally imported RFIC SX1278

from SEMTECH, transparent transmission is available, TTL level.

The module has the function of data encryption & compression. The data of the module transmitted over the air features
randomness. And with the rigorous encryption & decryption, data interception becomes pointless. The function of data compression can
decrease the transmission time & probability of being interfered, while improving the reliability & transmission efficiency.

Copyright ©2012–2017, Chengdu Ebyte Electronic Technology Co., Ltd. 2 / 24


SX1278 Wireless Module E32 Series User Manual

CONTENTS:
1. Features.................................................................................................................................................................................... 4

2. Technical parameters........................................................................................................................................................... 5
2.1 General parameters........................................................................................................................................................................................ 5
2.2 Electrical Parameters...................................................................................................................................................................................... 5
2.2.1 Transmitting current................................................................................................................................................................................... 5
2.2.2 Receiving current........................................................................................................................................................................................ 5
2.2.3 Turn-off current.......................................................................................................................................................................................... 6
2.2.4 Voltage supply............................................................................................................................................................................................ 6
2.2.5 Communication level..................................................................................................................................................................................6
2.3 RF parameters..................................................................................................................................................................................................6
2.3.1 Transmitting power.....................................................................................................................................................................................6
2.3.2 Receiving sensitivity.................................................................................................................................................................................... 7
2.3.3 Recommended working frequency...........................................................................................................................................................7
2.4 Tested range.................................................................................................................................................................................................... 7

3. Mechanical characteristics.................................................................................................................................................8
3.1 Dimension........................................................................................................................................................................................................ 8
3.1.1 E32-TTL-100............................................................................................................................................................................................... 8
3.1.2 E32-TTL-100S1........................................................................................................................................................................................... 9
3.1.3 E32-T100S2............................................................................................................................................................................................... 10
3.1.4 E32-TTL-500/ E32-TTL-1W.....................................................................................................................................................................11
3.1.5 E32-433T30S.............................................................................................................................................................................................12

4. Recommended circuit diagram......................................................................................................................................13


4.1 Reset................................................................................................................................................................................................................13
4.2 AUX description............................................................................................................................................................................................ 13
4.2.1 Indication of UART output....................................................................................................................................................................... 13
4.2.2 Indication of wireless transmitting.......................................................................................................................................................... 14
4.2.3 Configuration procedure of module.......................................................................................................................................................14
4.2.4 Notes for AUX........................................................................................................................................................................................... 14

5. Operating mode.................................................................................................................................................................. 15
5.1 Mode switch.................................................................................................................................................................................................. 15
5.2 Normal Mode (Mode 0)...............................................................................................................................................................................16
5.3 Wake-up mode (Mode 1)........................................................................................................................................................................... 16
5.4 Power-saving mode (Mode 2)................................................................................................................................................................... 16
5.5 Sleep mode (Mode 3)...................................................................................................................................................................................17
5.6 Quick communication test.......................................................................................................................................................................... 17

6. Instruction format.............................................................................................................................................................. 18
6.1 Default parameter........................................................................................................................................................................................ 18
6.2 Reading operating parameters.................................................................................................................................................................. 19
6.3 Reading version number............................................................................................................................................................................. 19
6.4 Reset instruction........................................................................................................................................................................................... 19
6.5 Parameter setting instruction.....................................................................................................................................................................19

7. Parameter setting............................................................................................................................................................... 22

8. Production guidance......................................................................................................................................................... 23
8.1 Reflow soldering temperature................................................................................................................................................................... 23
8.2 Reflow soldering curve................................................................................................................................................................................ 23

9. FAQ...........................................................................................................................................................................................24
9.1 Communication range is too short............................................................................................................................................................24
9.2 Module is easy to damage.......................................................................................................................................................................... 24

10. Important notes............................................................................................................................................................... 24

11. About us..............................................................................................................................................................................24

Copyright ©2012–2017, Chengdu Ebyte Electronic Technology Co., Ltd. 3 / 24


SX1278 Wireless Module E32 Series User Manual

1. Features

 LoRa: LoRa spread-spectrum means the transmitting distance is much longer than before. Confidentiality is high and the

possibility of being intercepted is extremely low Strong ability of anti-interference, which has a strong inhibitory capacity for the

Co-Channel Interference and all kinds of noises, and with excellent performance of anti multipath fading.

 Ultra-low power consumption: It supports WOR to reduce overall power consumption. In power-saving mode(Mode 2), it can

regulate overall power consumption by setting receiving response delay; The maximum receiving response delay can be configured

as 2000ms, and the average current is about 30uA.

 Fixed transmission: Module can communicate with other modules which work in different channels and addresses, it is easy for

networking and repeater. For example: module A transmits AA BB CC to module B (address: 0x00 01, channel: 0x80), HEX format is

00 01 80 AA BB CC (00 01 refers to the address of module B, 80 refers to the channel of module B), then module B receives AA BB CC

(only module B).

 Broadcast transmission: Set the module address as 0xFFFF, then the module can communicate with other modules in same

channel.

 FEC: Forward Error Correction, high coding efficiency & good correction performance. In the case of sudden interference, it can

correct the interfered data packets proactively, so that the reliability & transmission range are improved correspondingly. Without

FEC, those data packets can only be dropped.

 Sleep mode: When the module works in sleep mode (mode 3), transmitting & receiving is not available, while the configuration is

available. The typical current is 6.0uA in this mode.

 Watchdog: Module with a built-in watchdog, layout and precise time, once an exception occurs, the module will restart in 0.107

seconds, and will continue to work on the previous parameter Settings.

 Parameter saving: The parameters will be saved after setting and won’t be lost when powers-off. After power-up again,

modules work as the previous parameters.

 Application: As free frequency, 433M can be used directly. With the capability of penetration and diffraction, this module is

suitable for the environment with small packet, long transmission distance and vulnerable to interference.

Copyright ©2012–2017, Chengdu Ebyte Electronic Technology Co., Ltd. 4 / 24


SX1278 Wireless Module E32 Series User Manual

2. Technical parameters

2.1 General parameters


Operating Operating Storage
Model Core IC Size Net weight
temperature humidity temperature

E32-TTL-100 SX1278 21 * 36 mm 6.7±0.1g -40 ~ 85℃ 10% ~ 90% -40 ~ 125°C

E32-TTL-100S1 SX1278 17 * 25.5 mm 1.6±0.1g -40 ~ 85℃ 10% ~ 90% -40 ~ 125°C

E32-T100S2 SX1278 17 * 30 mm 1.6±0.1g -40 ~ 85℃ 10% ~ 90% -40 ~ 125°C

E32-TTL-500 SX1278 24 * 43 mm 8.2±0.1g -40 ~ 85℃ 10% ~ 90% -40 ~ 125°C

E32-TTL-1W SX1278 24 * 43 mm 8.2±0.1g -40 ~ 85℃ 10% ~ 90% -40 ~ 125°C

E32-433T30S SX1278 25*40.5mm 5.2±0.1g -40 ~ 85℃ 10% ~ 90% -40 ~ 125°C

2.2 Electrical Parameters

2.2.1 Transmitting current


Model Min Typ Max Unit Remarks

E32-TTL-100 100 110 120 mA


● When designing current supply circuit, 30% margin is
recommended to be remained so as to ensure long-term
E32-TTL-100S1 100 110 120 mA
stable operation of the whole module;
● The current at the instant of transmitting may be high,
E32-T100S2 100 110 120 mA
but the total energy consumed may be lower due to very
short transmitting time;
E32-TTL-500 390 410 450 mA
● When using external antenna, the impedance matching
degree at different frequency points between antenna and
E32-TTL-1W 570 610 670 mA
module may affect the transmitting current value at
different levels.
E32-433T30S 520 550 610 mA

2.2.2 Receiving current


Model Min Typ Max Unit Remarks

E32-TTL-100 13 14 15 mA
● The current consumed when the RF chip is only working
E32-TTL-100S1 13 14 15 mA at receiving mode is called as receiving current,the tested
receiving current may be higher for some RF chips with
E32-T100S2 13 14 15 mA
communication protocol or the developers have loaded
their own protocol to the whole module.
E32-TTL-500 19 20 22 mA
● The current at pure receiving mode will be mA level, the

E32-TTL-1W 19 20 22 mA users have to realize µA level receiving current through


firmware development.
E32-433T30S 22 23 25 mA

Copyright ©2012–2017, Chengdu Ebyte Electronic Technology Co., Ltd. 5 / 24


SX1278 Wireless Module E32 Series User Manual

2.2.3 Turn-off current


Model Min Typ Max Unit Remarks

E32-TTL-100 3 4 5 µA ● The turn-off current means the current consumed when


E32-TTL-100S1 3 4 5 µA CPU, RAM, Clock and some registers remain operating
E32-T100S2 3 4 5 µA while SoC is at very low power consumption status.
E32-TTL-500 4 5 6 µA ● The turn-off current is always lower than the current
E32-TTL-1W 4 5 6 µA consumed when the power supply source of the whole

E32-433T30S 4 5 6 µA module is at no-load status.

2.2.4 Voltage supply


Model Min Typ Max Unit Remarks

E32-TTL-100 2.3 3.3 5.2 V DC


● If the voltage is at maximum value for long time, the
E32-TTL-100S1 2.3 3.3 5.2 V DC
module may be damaged;
E32-T100S2 2.3 3.3 5.2 V DC
● The power supply pin has certain surge-resistance ability,
E32-TTL-500 2.3 3.3 5.2 V DC
but the potential pulse higher than the maximum power
E32-TTL-1W 2.3 3.3 5.2 V DC
supply voltage;
E32-433T30S 2.3 3.3 5.2 V DC

2.2.5 Communication level


Model Min Typ Max Unit Remarks

E32-TTL-100 2.5 3.3 3.6 V DC ● If the communication level is higher than the allowed
maximum value, the module may be damaged;
E32-TTL-100S1 2.5 3.3 3.6 V DC
● Although the communication level can be switched with

E32-T100S2 2.5 3.3 3.6 V DC various methods, the power consumption of the whole
module will be affected at great degree.
E32-TTL-500 2.5 3.3 3.6 V DC
● Modules are compatible with some of the microcontrollers
at 5V communication level. They are too many to be listed
E32-TTL-1W 2.5 3.3 3.6 V DC
here. Please base on practical test or talk to us for more
E32-433T30S 2.5 3.3 3.6 V DC information.

2.3 RF parameters

2.3.1 Transmitting power


Model Min Typ Max Unit Remarks

● Due to the error of the materials, each LRC component


E32-TTL-100 19.0 20.0 20.4 dBm
has ± 0.1% error, so error accumulation will occur since

E32-TTL-100S1 19.0 20.0 20.4 dBm


multiple LRC components are used in the whole RF circuit,
and the transmitting currents will be different at different

E32-T100S2 19.0 20.0 20.4 dBm modules;


● The power consumption can be lowered by lowering the
E32-TTL-500 26.8 27.0 28.0 dBm transmitting power, but the efficiency of the internal PA will
be decreased by lowering transmitting power due to
E32-TTL-1W 29.5 30.0 30.5 dBm various reasons;
● The transmitting power will be lowered by lowering the
E32-433T30S 29.5 30.0 30.5 dBm
power supply voltage.

Copyright ©2012–2017, Chengdu Ebyte Electronic Technology Co., Ltd. 6 / 24


SX1278 Wireless Module E32 Series User Manual

2.3.2 Receiving sensitivity


Model Min Typ Max Unit Remarks

E32-TTL-100 -144.0 -146.0 -147.0 dBm


● The sensitivity is tested under the air data rate 0.3kbps,
coding rate of 4/5 and spreading factor of 12;
E32-TTL-100S1 -144.0 -146.0 -147.0 dBm
● Due to the error of the materials, each LRC component
has ± 0.1% error, so error accumulation will occur since
E32-T100S2 -144.0 -146.0 -147.0 dBm
multiple LRC components are used in the whole RF circuit,
and the transmitting currents will be different at different
E32-TTL-500 -145.0 -147.0 -148.0 dBm
modules;
● The receiving sensitivity will be reduced and
E32-TTL-1W -145.0 -147.0 -148.0 dBm
communication range will be shortened while increasing
the air data rate.
E32-433T30S -145.0 -147.0 -148.0 dBm

2.3.3 Recommended working frequency


Model Min Typ Max Unit Remarks

E32-TTL-100 410 433 441 MHz

E32-TTL-100S1 410 433 441 MHz ● To work within the recommended frequency can assure
E32-T100S2 862 868 893 MHz the modules to meet all the parameters

E32-TTL-500 862 868 893 MHz ● To avoid the crowded integral frequency like 433.0MHz、

E32-TTL-1W 900 915 931 MHz 868.0MHz、915MHz etc. is advisable.

E32-433T30S 900 915 931 MHz

2.4 Tested range


Model Min Typ Max Unit Remarks

E32-TTL-100 2700 3000 3300 m


● The external antenna used is of 5dBi gain and vertical
polarization. The height is 2.5 meters;
E32-TTL-100S1 2700 3000 3300 m
● The interval between each data packet is 2s, sending 100

E32-T100S2 2700 3000 3300 m packets with 30 bytes in each packet, the range at data lose
rate of lower than 5% is valid range;
E32-TTL-500 4500 5000 5500 m ● In order to obtain meaningful and reproducible results,
we conducted the tests under in clear weather with little
E32-TTL-1W 7200 8000 8800 m
electromagnetic interference at suburb areas;
● Distance may be shorter with interference or obstacles.
E32-433T30S 7200 8000 8800 m

Copyright ©2012–2017, Chengdu Ebyte Electronic Technology Co., Ltd. 7 / 24


SX1278 Wireless Module E32 Series User Manual

3. Mechanical characteristics

3.1 Dimension

3.1.1 E32-TTL-100

Pin No. Pin item Pin direction Application


Input Work with M1 & decide the four operating modes.
1 M0
(weak pull-up) Floating is not allowed, can be ground.
Input Work with M0 & decide the four operating modes.
2 M1
(weak pull-up) Floating is not allowed, can be ground.

TTL UART inputs, connects to external (MCU, PC) TXD output pin.
3 RXD Input
Can be configured as open-drain or pull-up input;
TTL UART outputs, connects to external RXD (MCU, PC) input pin.
4 TXD Output
Can be configured as open-drain or push-pull output

To indicate module’s working status


To wake up the external MCU, during the procedure of self-check initialization, the pin

5 AUX Output outputs low level.

Can be configured as open-drain output or push-pull output

Floating is allowed
Voltage reference of module
6 VCC Input
Power supply 2.3V ~ 5.5V DC

7 GND Input Ground

8 Fixing hole Fixing hole

9 Fixing hole Fixing hole


10 Fixing hole Fixing hole

Copyright ©2012–2017, Chengdu Ebyte Electronic Technology Co., Ltd. 8 / 24


SX1278 Wireless Module E32 Series User Manual

3.1.2 E32-TTL-100S1

Pin No. Pin item Pin direction Application

Input Work with M1 & decide the four operating modes.


1 M0
(weak pull-up) Floating is not allowed, can be ground.

Input Work with M0 & decide the four operating modes.


2 M1
(weak pull-up) Floating is not allowed, can be ground.

TTL UART inputs, connects to external (MCU, PC) TXD output pin.
3 RXD Input
Can be configured as open-drain or pull-up input;

TTL UART outputs, connects to external RXD (MCU, PC) input pin.
4 TXD Output
Can be configured as open-drain or push-pull output

To indicate module’s working status

To wake up the external MCU, during the procedure of self-check initialization, the pin

5 AUX Output outputs low level.

Can be configured as open-drain output or push-pull output

Floating is allowed

Voltage reference of module


6 VCC Input
Power supply 2.3V ~ 5.5V DC

7 GND Input Ground

8 GND Output Reference places of high frequency signal output

9 ANT Output Antenna interface( high frequency signal output)

10 GND Input Ground

11 GND Input Ground

Copyright ©2012–2017, Chengdu Ebyte Electronic Technology Co., Ltd. 9 / 24


SX1278 Wireless Module E32 Series User Manual

3.1.3 E32-T100S2

Pin No. Pin item Pin direction Application

Input Work with M1 & decide the four operating modes.


1 M0
(weak pull-up) Floating is not allowed, can be ground.

Input Work with M0 & decide the four operating modes.


2 M1
(weak pull-up) Floating is not allowed, can be ground.

TTL UART inputs, connects to external (MCU, PC) TXD output pin.
3 RXD Input
Can be configured as open-drain or pull-up input;

TTL UART outputs, connects to external RXD (MCU, PC) input pin.
4 TXD Output
Can be configured as open-drain or push-pull output

To indicate module’s working status

To wake up the external MCU, during the procedure of self-check initialization, the pin

5 AUX Output outputs low level.

Can be configured as open-drain output or push-pull output

Floating is allowed

Voltage reference of module


6 VCC Input
Power supply 2.3V ~ 5.5V DC

7 GND Input Ground

8 ANT Output Antenna interface( high frequency signal output)

9 GND Output Reference places of high frequency signal output

10 GND Input Ground

11 GND Input Ground

Copyright ©2012–2017, Chengdu Ebyte Electronic Technology Co., Ltd. 10 / 24


SX1278 Wireless Module E32 Series User Manual

3.1.4 E32-TTL-500/ E32-TTL-1W

Pin No. Pin item Pin direction Application


Input Work with M1 & decide the four operating modes.
1 M0
(weak pull-up) Floating is not allowed, can be ground.

Input Work with M0 & decide the four operating modes.


2 M1
(weak pull-up) Floating is not allowed, can be ground.

TTL UART inputs, connects to external (MCU, PC) TXD output pin.
3 RXD Input
Can be configured as open-drain or pull-up input;

TTL UART outputs, connects to external RXD (MCU, PC) input pin.
4 TXD Output
Can be configured as open-drain or push-pull output

To indicate module’s working status

To wake up the external MCU, during the procedure of self-check initialization, the
5 AUX Output pin outputs low level.

Can be configured as open-drain output or push-pull output

Floating is allowed

Voltage reference of module


6 VCC Input
Power supply 2.8V ~ 5.5V DC

7 GND Input Ground

Fixing
8 Fixing hole
hole

Fixing
9 Fixing hole
hole
Fixing
10 Fixing hole
hole
Fixing
11 Fixing hole
hole

Copyright ©2012–2017, Chengdu Ebyte Electronic Technology Co., Ltd. 11 / 24


SX1278 Wireless Module E32 Series User Manual

3.1.5 E32-433T30S

Pin No. Pin item Pin direction Application


Input Work with M1 & decide the four operating modes.
1 M0
(weak pull-up) Floating is not allowed, can be ground.
Input Work with M0 & decide the four operating modes.
2 M1
(weak pull-up) Floating is not allowed, can be ground.
TTL UART inputs, connects to external (MCU, PC) TXD output pin.
3 RXD Input
Can be configured as open-drain or pull-up input.
TTL UART outputs, connects to external RXD (MCU, PC) input pin.
4 TXD Output
Can be configured as open-drain or push-pull output

To indicate module’s working status & wakes up the external MCU. During
5 AUX Input the procedure of self-check initialization, the pin outputs low level. Can be
configured as open-drain output or push-pull output (floating is allowed).
6 VCC Input Voltage reference of module. Power supply 2.6V ~ 5.5V DC

7 GND Input Ground


8 RESET Input Reset pin when program is loading(floating,users do not need to connect)

9 GND Input Ground pin when program is loading (floating,users do not need to connect)

10 SWIM Input SWIM pin when program is loading (floating,users do not need to connect)

Power supply pin when program is loading (floating,users do not need to


11 +3.3V Input
connect)

12 PB3 Input / Output NC pin,need to be floating,not connected(for further development)

13 PB1 Input / Output NC pin,need to be floating,not connected(for further development)

14 PB0 Input / Output NC pin,need to be floating,not connected(for further development)

15 GND Ground
16 GND Ground
17 GND Ground
18 ANT Output Antenna connector(high level output, 50 characteristic impedance)

Copyright ©2012–2017, Chengdu Ebyte Electronic Technology Co., Ltd. 12 / 24


SX1278 Wireless Module E32 Series User Manual

4. Recommended circuit diagram

No. Description(STM8L MCU)

1 The UART module is TTL level. Please connect to MCU of TTL level.

2 For some MCU works at 5VDC, it may need to add 4-10K pull-up resistor for the TXD & AUX pin.

4.1 Reset
No. Description
When the module is powered, AUX outputs low level immediately, conducts hardware self-check and sets the
operating mode on the basis of the user parameters. During the process, the AUX keeps low level. After the process
1
completed, the AUX outputs high level and starts to work as per the operating mode combined by M1 and M0.
Therefore, the user needs to wait the AUX rising edge as the starting point of module’s normal work.

4.2 AUX description


AUX Pin can be used as indication for wireless send & receive buffer and self-check. It can indicate whether there are data that are
yet to send via wireless way, or whether all wireless data has been sent through UART, or whether the module is still in the process of
self-check initialization.

4.2.1 Indication of UART output


can be used to wake up external MCU

Copyright ©2012–2017, Chengdu Ebyte Electronic Technology Co., Ltd. 13 / 24


SX1278 Wireless Module E32 Series User Manual

4.2.2 Indication of wireless transmitting


Buffer (empty): the internal 512 bytes data in the buffer are written to the RFIC (Auto sub package). 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.

Notes: When AUX = 1, it does not mean that all the UART data of the module have been transmitted already, perhaps the last packet of
data is still in transmission.

4.2.3 Configuration procedure of module


Only happened when power-on resetting or exiting sleep mode.

4.2.4 Notes for AUX


 For function 1 & function 2 mentioned above, the priority should be given to the one with low level output, 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. Within 1ms since AUX
outputs high level, the mode switch will be completed.
 After switching to new operating mode, it won’t be work in the new mode immediately until AUX rising edge 2ms later. If AUX is on
the high level, the operating mode switch can be effected immediately.
 When the user switches to other operating modes from mode 3 (sleep mode) or it’s still in reset process, the module will reset user
parameters, during which AUX outputs low level.

Copyright ©2012–2017, Chengdu Ebyte Electronic Technology Co., Ltd. 14 / 24


SX1278 Wireless Module E32 Series User Manual

5. Operating mode

Contents in below table are the introduction of input status of M1 & M0 and their corresponding mode: 

Mode(0-3) M1 M0 Mode introduction Remark


Mode 0 UART and wireless channel are open, transparent The receiver must work in mode
0 0
Normal transmission is on 0 or mode 1
UART and wireless channel are open. The difference
between normal mode and wake-up mode is it will add
Mode 1 The receiver can work in mode 0,
1 0 preamble code automatically before data packet
Wake-up mode 1 or mode 2
transmission so that it can awaken the receiver works in
mode 2
1, the transmitter must work in
UART is disabled. Wireless module works at WOR mode
Mode 2 mode 1
0 1 (wake on radio). It will open the UART and transmit data
Power-saving 2, transmitting is not allowed in
after receiving the wireless data
this mode
Mode 3 See more in operating
1 1 Parameter setting
Sleep parameter

5.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 whole system is largely improved.

Copyright ©2012–2017, Chengdu Ebyte Electronic Technology Co., Ltd. 15 / 24


SX1278 Wireless Module E32 Series User Manual

5.2 Normal Mode (Mode 0)


When M1 = 0 & M0 = 0, module works in mode 0

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
Transmitting 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.

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.

5.3 Wake-up mode (Mode 1)

When M1 = 0 & M0 = 1, module works in mode 1

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
Transmitting 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.

5.4 Power-saving mode (Mode 2)


When M1 = 1 & M0 = 0, module works in 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.

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.
Receiving
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.

Copyright ©2012–2017, Chengdu Ebyte Electronic Technology Co., Ltd. 16 / 24


SX1278 Wireless Module E32 Series User Manual

5.5 Sleep mode (Mode 3)


When M1=1, M0=1, module works in mode 3

Transmitting N/A

Receiving N/A

This mode can be used for parameter setting. It uses serial port 9600 & 8N1 to set module working parameters
Parameter 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.

5.6 Quick communication test


Steps Operation

Plug the USB test board (E15-USB-T2) into computer, make sure the driver is installed correctly. Plug mode-select jumper in
1
the USB test board (M1 = 0,M0 = 0), make the module work in mode 0.

2 Optional power supply, 3.3V or 5V.

3 Operate AccessPort software and select the correct serial port code.

Copyright ©2012–2017, Chengdu Ebyte Electronic Technology Co., Ltd. 17 / 24


SX1278 Wireless Module E32 Series User Manual

6. Instruction format

In sleep mode(mode 3:M1=1, M0=1), it supports below instructions on list.


(Only support 9600 and 8N1 format when setting)
No. Instruction format Illustration
C0 + 5 bytes working parameters are sent in hexadecimal format. 6 bytes in total and
1 C0 + working parameters must be sent in succession.
( Save the parameters when power-down )

Three C1 are sent in hexadecimal format. The module returns the saved parameters and
2 C1+C1+C1
must be sent in succession.

C2 + 5 bytes working parameters are sent in hexadecimal format. 6 bytes in total and
3 C2 + working parameters
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
4 C3+C3+C3
and they must be sent in succession.

Three C4 are sent in hexadecimal format. The module will reset one time and they must
5 C4+C4+C4
be sent in succession.

6.1 Default parameter


Default parameter values:C0 00 00 1A 17 44
Transmitting
Model Frequency Address Channel Air data rate Baud rate Parity
power
E32-TTL-100 433MHz 0x0000 0x17 2.4kbps 9600 8N1 100mW

Default parameter values:C0 00 00 1A 17 44


Transmitting
Model Frequency Address Channel Air data rate Baud rate Parity
power
E32-TTL-100S1 433MHz 0x0000 0x17 2.4kbps 9600 8N1 100mW

Default parameter values:C0 00 00 1A 17 44


Transmitting
Model Frequency Address Channel Air data rate Baud rate Parity
power
E32-T100S2 433MHz 0x0000 0x17 2.4kbps 9600 8N1 100mW

Default parameter values:C0 00 00 1A 17 44


Transmitting
Model Frequency Address Channel Air data rate Baud rate Parity
power
E32-TTL-500 433MHz 0x0000 0x17 2.4kbps 9600 8N1 500mW

Default parameter values:C0 00 00 1A 17 44


Transmitting
Model Frequency Address Channel Air data rate Baud rate Parity
power
E32-TTL-1W 433MHz 0x0000 0x17 2.4kbps 9600 8N1 1W

Default parameter values:C0 00 00 1A 17 44


Transmitting
Model Frequency Address Channel Air data rate Baud rate Parity
power
E32-433T30S 433MHz 0x0000 0x17 2.4kbps 9600 8N1 1W

Copyright ©2012–2017, Chengdu Ebyte Electronic Technology Co., Ltd. 18 / 24


SX1278 Wireless Module E32 Series User Manual

6.2 Reading operating parameters


Instruction format Description
In sleep mode(M0=1,M1=1)

User gives the module instruction (HEX format): C1 C1 C1,
C1+C1+C1
Module returns the present configuration parameters.
For example, C2 00 00 1A 17 44.

6.3 Reading version number


Instruction format Description
In sleep mode(M0=1,M1=1),
User gives the module instruction (HEX format): C3 C3 C3,
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.

6.4 Reset instruction


Instruction format Description
In sleep mode(M0=1,M1=1),
User gives the module instruction (HEX format): C4 C4 C4, the module resets for one time. During
C4+C4+C4 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.

6.5 Parameter setting instruction


No. Item Description Remark
0 Fix 0xC0 or 0xC2, it means this frame data is Must be 0xC0 or 0xC2
HEAD control command C0: Save the parameters when power-down
C2: Do not save the parameters when power-down
1
High address byte of module 00H-FFH
ADDH
(the default 00H)

2
Low address byte of module 00H-FFH
ADDL
(the default 00H)

3 SPED
Rate parameter,including UART baud rate and air  UART mode can be different between
data rate communication parties
7,6 UART parity bit
00:8N1(default)
01:8O1
10:8E1
11:8N1(equal to 00)

Copyright ©2012–2017, Chengdu Ebyte Electronic Technology Co., Ltd. 19 / 24


SX1278 Wireless Module E32 Series User Manual
---------------------------------------------- -----------------------------------------------------------
5,4,3 TTL UART baud rate(bps)  UART baud rate can be different between
000:1200bps communication parties
001:2400bps  The UART baud rate has nothing to do with wireless
010:4800bps transmission parameters & won’t affect the
011:9600bps(default) wireless transmit / receive features.
100:19200bps
101:38400bps
110:57600bps
111:115200bps

-------------------------------------------------- ------------------------------------------------------------
2,1,0 Air data rate(bps)  The lower the air data rate, the longer the
000:0.3Kbps transmitting distance, better anti-interference
001:1.2Kbps performance and longer transmitting time
010:2.4Kbps(default)  The air data rate must keep the same for both
011:4.8Kbps communication parties.
100:9.6Kbps
101:19.2Kbps
110:19.2Kbps(same to 101)
111:19.2Kbps(same to 101)

4 CHAN
7,6,5: N/A  0(recommended)
------------------------------------------------ --------------------------------------------------------

4-0:Communication channel(410M + CHAN*1M)


, 00H-1FH, correspond to 410~441MHz
default 17H(433MHz)

5 OPTION
7, Fixed transmission(similar to MODBUS) In fixed transmission mode, the first three bytes of
each user's data frame can be used as high/low
0: Transparent transmission mode
address and channel. The module changes its
1: Fixed transmission mode address and channel when transmit. And it will
revert to original setting after complete the
process.

------------------------------------------------------------
----------------------------------------------------

 This bit is used to the module internal pull-up


6 IO drive mode(the default 1)
resistor. It also increases the level’s adaptability in
1:TXD and AUX push-pull outputs,
case of open drain. But in some cases, it may need
RXD pull-up inputs
external pull-up resistor.
0:TXD、AUX open-collector outputs,
RXD open-collector inputs

Copyright ©2012–2017, Chengdu Ebyte Electronic Technology Co., Ltd. 20 / 24


SX1278 Wireless Module E32 Series User Manual
------------------------------------------------------ ------------------------------------------------------------

5,4,3 wireless wake-up time(for the receiver,  The transmit & receive module work in mode 0,
it means the monitor interval time ,while for the whose delay time is invalid & can be arbitrary
transmitter it means continuously sending value.
preamble code time.)  The transmitter works in mode 1 can transmit the
000:250ms(default) preamble code of the corresponding time
001:500ms continuously.
010:750ms  When the receiver works in mode 2, the time
011:1000ms means the monitor interval time (wireless
100:1250ms wake-up). Only the data from transmitter that
101:1500ms works in mode 1 can be received.
110:1750ms  The wake-up time set by transmitter cannot be less
111:2000ms than the monitor interval time of receiver;
otherwise, it may lead to data loss. In case of
two-way communication, both parties should keep
the wake-up time the same.
 The longer the wake-up time, the lower the
average receive current consumption.

---------------------------------------------------- -------------------------------------------------------------
2, FEC switch  After turn off FEC, the actual data transmission rate
0:Turn off FEC increases while anti-interference ability decreases.
1:Turn on FEC(Default) Also the transmission distance is relatively short.
 Both communication parties must keep on the
same pages about turn-on or turn-off FEC.

------------------------------------------------------ -------------------------------------------------------------
1, 0 transmission power (approximation)  The external power must make sure the ability of
00: 30dBm(Default) current output more than 1.5A and ensure the
01: 27dBm power supply ripple within 100mV.
10: 24dBm  Low power transmission is not recommended due
11: 21dBm to its low power supply efficiency.

For example: The meaning of No.3 "SPED" byte:

The binary bit of the byte 7 6 5 4 3 2 1 0

Configures by user 0 0 0 1 1 0 1 0

Meaning UART parity bit 8N1 UART baud rate is 9600 Air data rate is 2.4k

Corresponding hexadecimal 1 A

Copyright ©2012–2017, Chengdu Ebyte Electronic Technology Co., Ltd. 21 / 24


SX1278 Wireless Module E32 Series User Manual

7. Parameter setting

Step Operation Description


1 Install Driver Please install the USB adapter driver (CP2102).

2 Pull out the jumper Pull the M0, M1 jumper out, 3.3V or 5V are available for jumper.

Connect the module with USB adapter.


3 Connect to module
Connect to the USB interface of PC.

Operate the parameter setting software, choose corresponding serial number and press the
4 Open serial port “OpenPort” button.
Please choose other serial numbers until open successfully.

Press“Preset”button,the interface will be as below.


5 Interface
If failed, please check if the module is in mode 3, or if the driver has been installed.

Please adjust the parameter as your request according to the corresponding setting, then click
6 Input parameter
“SetParam” button, write the new parameter to the module.
Please operate the “Fifth step” if you need to reconfigure,
Complete the oper
7 if the configuration is completed,
ation
please click "ClosePort" and then take off the module.
Commands
8 Parameter configuration is also available for MCU (in mode 3).
Configuration

Copyright ©2012–2017, Chengdu Ebyte Electronic Technology Co., Ltd. 22 / 24


SX1278 Wireless Module E32 Series User Manual

8. Production guidance

8.1 Reflow soldering temperature


Profile Feature Sn-Pb Assembly Pb-Free Assembly

Solder Paste Sn63/Pb37 Sn96.5/Ag3/Cu0.5

Preheat Temperature min (Tsmin) 100℃ 150℃

Preheat temperature max (Tsmax) 150℃ 200℃

Preheat Time (Tsmin to Tsmax)(ts) 60-120 sec 60-120 sec

Average ramp-up rate(Tsmax to Tp) 3℃/second max 3℃/second max

Liquidous Temperature (TL) 183℃ 217℃

Time(tL)Maintained Above(TL) 60-90 sec 30-90 sec

Peak temperature(Tp) 220-235℃ 230-250℃

Average ramp-down rate(Tp to Tsmax) 6℃/second max 6℃/second max

Time 25℃ to peak temperature 6 minutes max 8 minutes max

8.2 Reflow soldering curve

Copyright ©2012–2017, Chengdu Ebyte Electronic Technology Co., Ltd. 23 / 24


SX1278 Wireless Module E32 Series User Manual

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.

9.2 Module is easy to damage


 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 anti-static 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.

10. Important notes

 All rights to interpret and modify this manual belong to Ebyte.


 This manual will be updated based on the upgrade of firmware and hardware, please refer to the latest version.
 Please refer to our website for new product information.

11. About us

Technical support: support@cdebyte.com


Documents and RF Setting download link: www.cdebyte.com/en/
Tel:+86-28-61399028
Fax:028-64146160
Web:www.cdebyte.com/en/
Address:Innovation Center D347, 4# XI-XIN Road,Chengdu, Sichuan, China

Copyright ©2012–2017, Chengdu Ebyte Electronic Technology Co., Ltd. 24 / 24

You might also like