Ebyte E104-BT5011A User Manual

Ebyte E104-BT5011A User Manual

Rf52811 ble5.1 low power ble to serial module
Table of Contents

Advertisement

E104-BT5011A User Manual
V1.0
RF52811 BLE5.1 Low Power BLE to Serial Module

Advertisement

Table of Contents
loading

Summary of Contents for Ebyte E104-BT5011A

  • Page 1 E104-BT5011A User Manual V1.0 RF52811 BLE5.1 Low Power BLE to Serial Module...
  • Page 2: Table Of Contents

    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 ......................
  • Page 5 14. ABOUT US ..................................44 Copyright ©2012–2019,成都亿佰特电子科技有限公司...
  • Page 6: Overview

    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.
  • Page 7: Application

    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 ...
  • Page 8: Precautions For Use

    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.
  • Page 9: Precautions For Module Application

    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].
  • Page 10: Parameter

    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...
  • Page 12: Dimension And Pin Definition

    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...
  • Page 14: Function

    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.
  • Page 15: Slave

    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.
  • Page 16: Observer

    MAC addressmac 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.
  • Page 17: Wakeup Mode

    (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.
  • Page 18: Configuration

    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.
  • Page 19: Output Delay

    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.
  • Page 20: Long Range

    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.
  • Page 21: At Command

    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) ...
  • Page 22: Status Printing

    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...
  • Page 23: At+Reset Reset Command

    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;...
  • Page 24: At+Pari Serial Port Check Bit

    2400 4800 9600 14400 19200 28800 38400 57600 76800 115200(default) 230400 250000 460800 921600 Description Restart to take effect AT+BAUD=10. Set the baud rate to 115200 Sample HEX: 41,54,2B,42,41,55,44,3D,31,30 6.4.6 AT+PARI Serial port check bit Command Response Inquire AT+PARI? +OK=[para] +OK:success AT+PARI=[para] +ERR=[NUM]:error...
  • Page 25: At+Role Bluetooth Role

    Sample AT+PARI=0 6.4.7 AT+ROLE Bluetooth Role Command Response Inquire AT+ROLE? +OK=[para] +OK:success AT+ROLE =[para] +ERR=[NUM]:error Para(ASCII) description Slave (default) Master parameter Observer Description Restart takes effect and save when power off. 6.4.8 AT+ADV Broadcast enable Command Response Inquire AT+ADV? +OK=[para] +OK:success AT+ADV=[para] +ERR=[NUM]:error...
  • Page 26: At+Advintv Broadcast Gap

    +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...
  • Page 27: At+Discon Disconnect Instruction

    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>...
  • Page 28: At+Mac Local Mac Address

    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.
  • Page 29: At+Bond Binding Enable

    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)...
  • Page 30: At+Bonddel Delete The Mac Address Specified By The Binding

    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;...
  • Page 31: At+Auth Air Configuration Authentication Password

    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...
  • Page 32: At+Pwr Transmitting Power

    6.4.23 AT+PWR Transmitting Power Command Response Inquire AT+ PWR? +OK=[para] +OK:success AT+ PWR =[para] +ERR=[NUM]:error para(ASCII) 4 dBm 3 dBm 0 dBm (default) -4 dBm parameter -8 dBm -12 dBm -16 dBm -20 dBm -40 dBm Description Take effect immediately and save after power failure 6.4.24 AT+SLEEP Enter Sleep Command Immediately Command Response...
  • Page 33: At+Fname Name Filtering

    +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.
  • Page 34: At+Phy Ble Phy Instructions

    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 ...
  • Page 35: Quick Start

    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 ...
  • Page 36: Air Configuration

    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;...
  • Page 37: Data Transmission

    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: ...
  • Page 38 4. The slave sends data "abcdefghijk" to the host, and the host receives the data as "abcdefghijk" (as shown in Figure 7: 5 data transparent transmission diagram); Chart 7 5 Data Transparent Transmission Diagram Copyright ©2012–2019,成都亿佰特电子科技有限公司...
  • Page 39: Hardware Design

    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. ...
  • Page 40 use a good antenna extension cable to extend the antenna to the outside; The antenna must not be installed inside the metal case, which will cause the transmission distance to be  greatly weakened. Copyright ©2012–2019,成都亿佰特电子科技有限公司...
  • Page 41: Faq

    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 ...
  • Page 42: Bit Error Rate Is Too High

    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. ...
  • Page 43: Production Guidance

    10.Production Guidance 10.1 Reflow Soldering Temperature Profile Feature Curve characteristics Sn-Pb Assembly Pb-Free Assembly Solder Paste Solder paste Sn63/Pb37 Sn96.5/Ag3/Cu0.5 Preheat Temperature min (Tsmin) Min preheating temp. 100℃ 150℃ Preheat temperature max (Tsmax) Mx preheating temp. 150℃ 200℃ Preheat Time (Tsmin to Tsmax)(ts) Preheating time 60-120 sec 60-120 sec...
  • Page 44: Reflow Soldering Curve

    10.2 Reflow Soldering Curve Chart 10 -2 Reflow soldering curve Copyright ©2012–2019,成都亿佰特电子科技有限公司...
  • Page 45: Related Product

    11.Related product Frequenc Protoco POWE Interfac Size Model NO. RF IC Antenna Function Hardware module, E72-2G4M05S1 17.5*28. requires CC2640 2.4G PCB/IPX secondary developme Hardware module, E73-2G4M04S1 nRF5281 17.5*28. requires 2.4G 4.2/5.0 PCB/IPX secondary developme Hardware module, E73-2G4M04S1 nRF5283 17.5*28. requires 2.4G 4.2/5.0 PCB/IPX...
  • Page 46 developme Hardware module, E73-2G4M04S1 nRF5182 17.5*28. requires 2.4G PCB/IPX secondary developme Hardware module, requires E104-BT01 CC2541 2.4G 14*22 secondary developme Ultra-low DA1458 power E104-BT02 2.4G 14*22 High speed, sniff Built-in ARM dual E72-2G4M04S2 CC2640 2.4G 14*23 PCB/IPX core Multiple role Dongle E104-2G4U04A CC2540...
  • Page 47 transmissio Chart 11- 1 Related model list Copyright ©2012–2019,成都亿佰特电子科技有限公司...
  • Page 48: Package For Bulk Order

    12.Package for bulk order Chart 12- 1 Packaging Chart Copyright ©2012–2019,成都亿佰特电子科技有限公司...
  • Page 49: Reversion History

    Revision date Revision description 2020-08-07 initial version huaa 14.About Us Website: www.ebyte.com Sales: info@cdebyte.com Support: support@cdebyte.com Tel: +86-28-61399028 Ext. 812 Fax: +86-28-64146160 (office)Address : Building B5, Mould Industrial Park, 199# Xi-Qu Ave, West High-tech Zone, Chengdu, 611731, Sichuan, China (Production + Q&A + Warehouse)Address : Building B2, Mould Industrial Park, 199# Xi-Qu Ave, West High-tech Zone,...

Table of Contents