Operating Mode; Mode Switching - Ebyte E49-400T20S User Manual

433m hz smd wireless module
Hide thumbs Also See for E49-400T20S:
Table of Contents

Advertisement

©»
eevTe
Chengdu
6. Operating mode
The module has four operating modes, which are set by pins MO and M1; details are shown in the table below.
Mode
(0-3)
Mode introduction
Remark
Ml
MO
0
The transmission method
oo
The senal port opens and wireless on, the module performs
of the sender and receiver
Transmission
oo
)
oo
)
J
0
0
data transmission according to the set transmission mode
must be consistent
mode
)
)
Relative intensity values
1
Wireless off and the serial port opens, the module outputs
|
.
LL.
only
RSSI mode
0
1
RSSI signal strength value at 100ms timing
2
Wireless off, can receive serial port command, refer
)
)
Parameter configuration
Setting mode
1
0
Command List, fixed baud rate 9600,
8N1
3
The module goes to sleep standby mode, and the serial port
and wireless are turned off.
Ultra-lower power sleep
Sleep mode
1
1
6.1 Mode switching
®
Users can combine MO and M1 with high and low levels to determine the operating mode of the module. Users
can use the MCUs 2 GPIOs to control the node switching; after changing M0,M1: the module is idle and after
Ims, it can start working according to the new operating mode; if the module has not transmitted serial port
data via wireless, then entering the new
operating mode
after the transmission
completed;
if the module
receives the wireless data and sends out the data through the serial port, it needs to finish sending before
entering the new operating mode;
if the module;
so the mode
switching can only be effective when AUX
outputs 1, otherwise the switch will be delayed.
®
For example: In mode 0, 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 performing the new mode detection; so the general recommendation is: Detect the AUX
pin output
status, wait for 2ms after the AUX output goes high before switching.
®
When the module is switched from other modes to sleep mode, if any data has not been processed, the module
will enter the sleep mode after processing the data(including
receiving and
sending). This feature can be
used for fast sleep mode to save power consumption; for example: the transmitter module works in mode0, the
user initiates serial data "12345" and then does not have to wait for the AUX pin to be idle (high level ),and can
directly switch to sleep mode, And the user's main MCU will immediately sleep, the module will automatically
send all user data through wireless, and automatically enter sleep within 1ms; thus saving the MCU's working
time and reducing power consumption.
®
Similarly, any mode switch can use this feature.
After processing the current mode event, the module will
automatically enter the new mode within 1ms; thereby eliminating the user's query of AUX and achieving the
goal of fast switching ,For example, switching from the transmission mode to the setting mode; the user MCU
can also go to sleep mode in advance before the mode switching,
and use the external interrupt function to
Copyright ©2012-2019,
Chengdu Ebyte Electronic Technology Co.,Ltd.
12

Advertisement

Table of Contents
loading

Table of Contents