2.2.2 The master data sending rate is lower than the slave data sending rate ..............4 2.2.3 IOS device can not obtain the solution of module MAC address ................4 2.2.4 Precautions for connecting Ebyte ble modules with modules from other manufacturers ........4 3. PARAMETER ................................... 5 3.1 L...
Page 3
............................. 13 5.4 MAC ADDRESS BINDING 5.5 C ................................13 ONFIGURATION ................................ 13 5.6 D ATA INDICATION 5.6.1 Output delay ................................ 14 ..............................14 5.7 UUID D ESCRIPTION ................................15 5.8 L ONG RANGE 6. AT COMMAND ................................16 6.1 I ................................
Page 4
6.4.19 AT+SCAN Broadcast Scanning ......................... 25 6.4.20 AT+SCANINTV Scanning Gap ......................... 25 6.4.21 AT+AUTH Air Configuration Authentication Password ................... 26 6.4.22 AT+UPAUTH Modify Air Authentication Password ..................26 6.4.23 AT+PWR Transmitting Power ........................... 27 6.4.24 AT+SLEEP Enter Sleep Command Immediately ....................27 6.4.25 AT+LOGMSG Operation Status Output ......................
1. Overview 1.1 Introduction E104-BT5011A is a serial to BLE Bluetooth master-slave integrated module based on Bluetooth protocol version 5.1. It is small in size and low in power consumption. It works in the 2.4GHz frequency band. The E104-BT5011A module is developed by Chengdu Ebyte Electronic Technology Co., Ltd.
Maximum MTU is 247bytes; Support 2M, 1M airspeed; 1.3 Application Wireless meter reading and wireless sensing Smart home Industrial remote control, telemetry Smart buildings, smart buildings Automatic data collection Health sensor Smart wearable devices ...
2. Precautions for use 2.1 BLE description This section briefly introduces BLE related knowledge. It has nothing to do with the module. 2.1.1 Connection gap, broadcast gap, scan gap In order to ensure low power consumption, BLE adopts intermittent working mode. The scanning interval means scanning the broadcast channel every certain time.
2.2.4 Precautions for connecting Ebyte ble modules with modules from other manufacturers When the Ebyte ble module is used as a slave, it does not refuse connections from other manufacturers' masters. But the communication needs to communicate in the way shown in [5.7UUID description].
3. Parameter 3.1 Limit parameter Performance Main parameter Note Voltage over 3.6V will cause permanent Voltage supply [V] damage to module Chances of burn is slim when modules are Blocking power [dBm] used in short distance Operating temperature Industrial grade [℃] 3.2 Operating parameter Performance...
Page 11
Sleep current (μA) Maximum transmitting power(dBm) Receiving sensitivity Bluetooth®lowenergymode (dBm) VIL/VIH GND/0.84 GND/VCC 0.36/VCC Arbitrary I/O VOL/VOH GND/1.88 GND/VCC 0.47/VCC Sleep broadcast current 13.83 Unit: uA. Broadcast gap is 1s (default) Sleep connection current 6.89 Unit: uA. Broadcast gap is 1s (default) Main parameter Description...
4. Dimension and Pin Definition The internal level of the pin is self-latched. Ground directly or connect to the power supply when driving externally. When driven by an external MCU, use compelling output control. Item Direction Application Remarks Input Ground P0.25 P0.26 Mode selection...
Page 13
Wake-up pin Wake up: falling edge Input Sleep: rising edge DISC Disconnect pin Internal pull up. Active on falling edge Input LINK Output Connection Bluetooth connection: low level Status Bluetooth no connection: high level DATA Output Data indication Data indication pin Ground P0.02 P0.03...
it is high, it is internally pulled up, and when it is low, it is internally pulled down. Chart 4 1 Pin definition table 5. Function 5.1 Roles The module supports three roles: single master, single slave, and observer. Single master and single slave support connecting to other types of Bluetooth products of our company. Support data transparent transmission, support custom broadcast gap, scan gap, connection gap, support setting PHY.
If it matches, it will automatically connect. The name matching method is partial matching. For example: the name filter has been enabled and the filter name is "E104-BT50"; then "E104-BT50", "E104-BT501", and "E104-BT5011" can all be matched successfully, but "1E104-BT50", E104-BT5 Will be filtered out. RSSI filtering: The host can filter out modules that are less than the set filtering RSSI value.
MAC addressmac 6 bytes Module MAC address Chart 5 -2 Broadcast field description 5.1.3 Observer Command AT+ROLE=2 to select the observation mode (valid after restart) After receiving the broadcast, print out all the contents of the broadcast package through the serial port. The observer device cannot be connected to any device.
(LOGMSG does not turn off the output). Note: 1. In the low-power mode, when the connection is not disconnected, such as ble receives air data, or the connection status changes, the module temporarily wakes up and outputs the corresponding data, and immediately enters sleep after the data output is completed.
5.5 Configuration The module supports two configuration methods: serial port configuration and air configuration. The two configuration methods are basically the same. Before the air configuration, the authentication password of AT+AUTH=123456 must be passed. After the authentication is passed, the module is allowed to use the air configuration. The air configuration authentication period is this connection, and re-authentication is required if the device is disconnected and reconnected.
Chart 5-5 Data output without delay 5.6.1 Output delay If the output delay is turned on, after the module receives the air data, it first pulls down the DATA pin, and then outputs the data via UART after 10ms. It should be noted: After the output delay is turned on, streaming is not supported.
Ebyte ble module can be automatically received by enabling NOTIFY, and the user does not need to care. This receiving method is only used when the user develops APP, WeChat applet or master module by himself.。 When the module is in the master role, it uses WRITE to send data.
6. AT Command Note: Before sending operation instructions, first ensure that the module is in wake-up mode, otherwise it will not be able to receive configuration instructions. 6.1 Instructions All AT commands and responses do not need to add carriage return (\r), line feed (\n) ...
The MAC address already The MAC address is already in the exists. binding list. The AT command does not Check AT commands. exist. authentication Confirm whether the authentication password is incorrect. password is correct: the default password is "123456" (string). The AT command exists, Check the instructions to determine but the operation is not...
6.4.2 AT+RESET Reset command Command Response AT+RESET Description: Effective immediately 6.4.3 AT+RESTORE Restore command Command Response AT+RESTORE Description: After resetting, it will restart automatically; In the process of restoring factory settings, any form of reset is prohibited, and the power off before the operation is completed is prohibited;...
+ERR=[NUM]:error para(HEX): broadcast device name, parameter Broadcast name is not more than 13 bytes Default: E104-BT5011A Take effect immediately, save when power off; Description Only supported by the slave, other roles can still be configured; 6.4.11 AT+CONPARAMS Connection gap tacit configuration...
AT+ CONPARAMS =[intv],[latency],[timeout] +OK:success +ERR=[NUM]:error [intv] (ASCII): Connection gap, value range, 6~3200; [latency] (ASCII): Slave device delay. Value range, 0~499 parameter [timeout] (ASCII): connection timeout, value range, 10~3200 Default value: 16, 0, 400 Description Save when power off. Note The connection timeout must be greater than the connection gap; Timeout *4>...
Inquire AT+DATDLY? +OK=[para] +OK:success AT+DATDLY=[para] +ERR=[NUM]:error description para(ASCII) parameter shut down On (default) Take effect immediately, save when power off; Turn on the output delay, the maximum data packet does not exceed 244 bytes; Description Turn on the output delay, and the air packet input is too fast, which will cause the entire packet to be lost.
Command: AT+PEERMAC? Sample Return: 2B 4F 4B 3D FE 30 EE 50 35 DA Explanation: The MAC address of the connected device is FE 30 EE 50 35 DA 6.4.16 AT+BOND Binding Enable Command Response Inquire AT+BOND? +OK=[para] +OK:success AT+BOND=[para] +ERR=[NUM]:error description para(ASCII)...
6.4.18 AT+BONDDEL Delete the MAC Address Specified by the Binding Command Response AT+BONDDEL=[mac] +ERR=[NUM] parameter mac: 6bytes mac address Take effect immediately, save when power off. Description 2. Delete all MAC addresses when the MAC address is (0xff, 0xff, 0xff, 0xff, 0xff, 0xff), otherwise delete the specified mac address;...
Intv: is the scan gap, parameter Wnd: scan window 1. Take effect immediately, save when power off, 2. The scanning gap is not less than the Description scanning window 3. The slave does not support it, but it can still be set Sample 6.4.21 AT+AUTH Air Configuration Authentication Password Command...
+OK:success AT+LOGMSG =[para] +ERR=[NUM]:error para(ASCII) description Off (default) parameter Turn on Description Take effect immediately, save when power off. 6.4.26 AT+FNAME Name Filtering Command Response Inquire AT+FNAME? +OK=[en],[name] +OK:success AT+FNAME =[en],[name] +ERR=[NUM]:error Description Disallow name filtering parameter Enable name filtering Name name.
Use signal strength filtering Signal strength. Value range: -128 to 127 1. Take effect immediately, save when power off. Description 2. Only the master role is valid, but the slave can also be configured; Set the signal strength filter to -90; AT+FRSSI=1, -90 ...
7. Quick start Recommended software for debugging/testing: PC serial port tool - SSCOM.exe; Mobile ble debugging APP - nRF connect. 7.1 Quick Guide to Configuration Mode 7.1.1 Serial port configuration Confirm whether the module is currently in configuration mode (if not connected, the module can be configured, if ...
7.1.2 Air configuration The air configuration can only be used when the module is a slave. Open the app "nRF connect", start scanning the device, and find the "E104-BT5011A" connection module; Chart 7 2 nRF connect scan list chart Open the uuid fff0 service and enable the configuration channel notiy;...
the authentication is successful; Chart 7 4 Aerial configuration certification chart Configure the module according to the instructions shown in the 6.4 instruction list; 7.2 Data transmission For data transmission related instructions, see 5.3 Data Transmission Mode. Test Conditions: ...
8. Hardware design It is recommended to use a DC stabilized power supply. The power supply ripple factor is as small as possible and the module needs to be reliably grounded. Please pay attention to the correct connection of the positive and negative poles of the power supply. ...
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 ...
9.3 Bit error rate is too high There are co-channel signal interference nearby, please be away from interference sources or modify frequency and channel to avoid interference. Poor power supply may cause messy code. Make sure that the power supply is reliable. ...