Chengdu Ebyte Electronic Technology Co., Ltd
E49-900T20S User Manual
Copyright ©2012–2021
,
Chengdu Ebyte Electronic Technology Co.,Ltd.
11
5.2.8 Monitor Address
Example: Set the address of module A 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.
6. Operating mode
The module has four operating modes, which are set by pins M0 and M1; details are shown in the table below.
Mode
(
0-3
)
M
M1
M
M0
Mode introduction
Remark
0
Transmission
mode
0
0
0
0
The serial port opens and wireless on, the module performs
data transmission according to the set transmission mode
The transmission method
of the sender and receiver
must be consistent
1
RSSI mode
0
0
1
1
Wireless off and the serial port opens, the module outputs
RSSI signal strength value at 100ms timing
Relative intensity values
only
2
Setting mode
1
1
0
0
Wireless off, can receive serial port command, refer
Command List, fixed baud rate 9600
,
8N1
Parameter configuration
3
Sleep mode
1
1
1
1
The module goes to sleep standby mode, and the serial port
and wireless are turned off.
Ultra-lower power sleep
6.1 Mode switching
Users can combine M0 and M1 with high and low levels to determine the operating mode of the module. Users
can use the MCU’s 2 GPIOs to control the node switching; after changing M0,M1: the module is idle and after
1ms, 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