Power Supply Mode; Low Power Consumption Mode; Wake-Up Mode; Data Transmission Mode - Ebyte E104-BT52 User Manual

Low power smd ble to serial
Hide thumbs Also See for E104-BT52:
Table of Contents

Advertisement

5.2 Power supply mode

There are low power consumption mode and wake-up mode.

5.2.1 Low power consumption mode

The so-called low power consumption mode means that the BLE function continues to run after the module enters this mode, and
peripherals other than the wake-up pin of the module are turned off. If you need lower power consumption, you can turn off
advertising and scan through AT commands, disconnect all connections, and set a longer advertising gap, scan gap, and connection
gap.
Enter low power consumption:
1. AT command "AT+SLEEP" immediately enters low power consumption mode;
2. AT command "AT+ONSLEEP=1" power on immediately enters low power consumption;
3. Enter low power consumption through the rising edge of pin WKP;
After the module enters the low power consumption mode, it outputs "STA: sleep" through the serial port (LOGMSG does not
turn off the output).
Note: In the low-power mode, the serial port output is valid and cannot be input

5.2.2 Wake-up mode

The so-called wake-up mode means that the peripherals required by the module are in a normal working state in
this mode. After the module wakes up, it outputs the status "STA: wakeup".
Wake-up method:
1. Wake up immediately through the falling edge of WKP pin;
2. The serial port RX pin wakes up. The serial port rx falling edge, and the low level remains at 50us and above,
wake up immediately.

5.3 Data transmission mode

There are data transparent transmission and format transmission.

5.3.1 Data transparent transmission

The so-called data transparent transmission means that the data received by the serial port is sent to the other
device through BLE without any processing, and the data received by BLE is sent through the serial port without
any processing.
"AT+TRANMD" command setting.

5.3.2 Format transmission

The so-called format transmission refers to: the data sent to the module through the serial port and the data through the serial port
of the module must conform to the defined format for transmission.
The serial port sends "AT+TRANMD=0" to the device to switch the device to format transmission. The data format is as
Slave No.
Slave number: 0~1 is the target device number. This number comes from the "STA:connect,1<mac>" printed by
the device after the successful connection between the slave and the master.
If the connection specified by the slave number does not exist, the module directly discards the packet data.
Copyright ©2012–2020,Chengdu Ebyte Electronic Technology Co.,Ltd
1byte
0~1
Valid data
Max:243bytes
7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents