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

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

Advertisement

Chengdu

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)
M1
0
Transmission
0
mode
1
RSSI mode
0
2
Setting mode
1
3
Sleep mode
1

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
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.
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
Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd.
M
M
Mode introduction
M0
0
The serial port opens and wireless on, the module performs
0
0
data transmission according to the set transmission mode
0
Wireless off and the serial port opens, the module outputs
1
1
RSSI signal strength value at 100ms timing
1
Wireless off, can receive serial port command, refer
0
0
Command List, fixed baud rate 9600,8N1
The module goes to sleep standby mode, and the serial port
1
1
and wireless are turned off.
1
After processing the current mode event, the module will
Remark
The transmission method
of the sender and receiver
must be consistent
Relative intensity values
only
Parameter configuration
Ultra-lower power sleep
12

Advertisement

Table of Contents
loading

Table of Contents