Ebyte E104-BT51 User Manual

Ebyte E104-BT51 User Manual

Cc2640r2f ble5.0 low power consumption, bluetooth to serial port module
Table of Contents

Advertisement

Quick Links

E104-BT51 User Manual
CC2640R2F BLE5.0 Low power consumption
Bluetooth to serial port module

Advertisement

Table of Contents
loading

Summary of Contents for Ebyte E104-BT51

  • Page 1 E104-BT51 User Manual CC2640R2F BLE5.0 Low power consumption Bluetooth to serial port module...
  • Page 2: Table Of Contents

    SAVE WHEN POWER DOWN 6.14 R ).............. 21 EAD AND SET THE DEVICE NAME DO NOT SAVE WHEN POWER OFF 6.15 R ........................22 EAD SOFTWARE VERSION NUMBER 6.16 R ......................22 EAD AND SET BROADCAST INTERVAL Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 3 LUETOOTH BATTERY SERVICE 9. HARDWARE DESIGN............................41 10. FAQ..................................42 10.1 C ......................42 OMMUNICATION RANGE IS TOO SHORT 10.2 M .........................43 ODULE IS EASY TO DAMAGE 10.3 B ..........................43 IT ERROR RATE IS TOO HIGH Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 4 E104-BT51 User Manual 11. WELDING OPERATION GUIDANCE......................43 11.1 R ......................... 43 EFLOW OLDERING EMPERATURE 11.2 R ..........................44 EFLOW OLDERING URVE 12. R ..............................44 ELATED MODELS 13. BATCH PACKAGING............................46 14. REVISION HISTORY............................46 15. ABOUT US................................47 Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 5: Overview

    E104-BT51 User Manual 1. Overview 1.1 Brief introduction E104-BT51 is a serial to BLE Bluetooth slave module based on Bluetooth protocol version 5.0, which is small-sized, low power consumption, and works in the 2.4GHz frequency band. E104-BT51 module is a serial to BLE Bluetooth module developed by Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 6: Application

    Industrial design Frequency [MHz] 2402 2480 Support ISM band Transmitting current (mA) Power Receiving current consumption (mA) Sleep current(μA) Software shutdown Maximum Transmitting power [dBm] Receiving sensitivity [dBm] -98.5 -100.5 Air rate is 250k bps Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 7 Clear and open environment, height 1.5m (only 75m can be tested Reference distance 75m(0dBm) by the host) Transmission length 128Byte Bluetooth protocol BLE5.0 Communication interface UART Package Interface 1.27 mm Size 17.5*28.7mm Antenna 50Ω Impedance Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 8: Size And Pin Definition

    General IO port, sensor controller (see CC26xx manual for details) reserved DIO_1 Input/Output General IO port, sensor controller (see CC26xx manual for details) reserved DIO_2 Input/Output DIO_3 Input/Output DIO_4 Input/Output OUT GPIO0 DIO_5 Input/Output OUT GPIO1 DIO_6 Input/Output OUT GPIO2 Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 9 Input/Output General IO port, sensor controller, digital (see CC26xx manual for details) reserved Ground, connected to power supply reference ground Ground, connected to power supply reference ground Ground, connected to power supply reference ground Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 10: Recommended Connection Diagram

    The rising edge enters low power consumption mode, and the falling edge enters wake mode. About the WAKEUP / SLEEP (DIO_12) pin operation description here: 1), the pin detects the edge signal; 2), the pin has Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 11: Wake-Up Mode

    In order to ensure that the external MCU can receive the data correctly, users can set the delayed output data through the "AT + DELAYDATA = 1" command. After setting, the module's DATA pin will output a low level 10ms Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd. 3-10...
  • Page 12: Gpio Level Reading

    The E104-BT51 module has four IO output pins. For some places where level signal control is needed, the GPIO level status can be set by the AT command "AT + OUTGPIO = [para]". Users can use the E104-BT51 module as the controller to control some devices, and the device can be controlled directly through the module without adding an additional MCU, which saves users more resources and reduces the amount of user code development.
  • Page 13: Adc Acquisition

    5.7 Battery voltage service The E104-BT51 module in order to enable the battery voltage to be obtained in a timely manner, and can be displayed intuitively in mobile phones or other devices, this module adds a battery voltage service. You only need to...
  • Page 14: Mac Address Binding

    (DIO_25), and then ground the module. 5.8 MAC Address binding The E104-BT51 module supports MAC binding function. When the slave module sets the binding connection address and enables binding, it retrieves whether the host MAC address is a binding address before accepting the host connection request.
  • Page 15: Bluetooth Maximum Packet Length Mtu Configuration

    (network interface card, serial port, etc.). The E104-BT51 module supports the long packet standard of Bluetooth 5.0. You can configure the maximum single packet data length of Bluetooth through the AT command "AT + MTU = xx". 251 bytes by default,27 to 251 bytes available.Increasing the packet length can realize the large packet data transmission of Bluetooth.
  • Page 16: Configuration Over Air

    Our open configuration over air channel is FFF3 under the main service FFF0. The features under this channel support read, write, and notification. E104-BT51 open some IO port reading, PWM setting and other operations, that is, users can use configuration over air mode to read the IO status to collect information and cooperate with the PWM setting to perform some control operations.
  • Page 17: Status Or Event Printing

    Send the command of querying the device name"AT + NAME?" 2.Command return Return Description value Command does not exist Incorrect command length (such as querying the device name: AT + NAME ?, if sent as: Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd. 3-16...
  • Page 18 Parity bit Stop bit Baud rate 115200 Broadcast type General broadcast TXPWR(RSSI) Broadcast interval 250ms Maximum connection 40ms interval Minimum connection 40ms interval Connection timeout Default UUID type 2 bytes Transmit power 0dBm Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd. 3-17...
  • Page 19: At Command Test

    Setting:AT+BAUD=[para] +OK:Success 1=2400 +ERR=[NUM]:Error 2=4800 3=9600 4=14400 5=19200 6=28800 7=38400 8=57600 9=76800 A=115200 B=230400 C=460800 D=921600 Description:Restart to take effect, save when power off 6.3 Read and configure stop bit Command Response Parameter Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd. 3-18...
  • Page 20: Read And Set Serial Parity

    0:Turn off broadcast Setting:AT+ADVEN=[para] +OK:Success 1:General broadcast +ERR=[NUM]:Error 2:iBeacon broadcast Description: It takes effect on next broadcast, save when power off 6.7 Query and set general broadcast data (save when power off) Command Response Parameter Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd. 3-19...
  • Page 21: Query And Set General Broadcast Data (Do Not Save When Power Off)

    6.10 Query and set IBeacon Minor broadcast data Command Response Parameter Query:AT+IBCMINOR? +OK=[para] para:0~65535 Setting:AT+ IBCMINOR =[para] +OK:Success +ERR=[NUM]:Error Description: It takes effect on next broadcast, save when power off. 6.11 Query and set iBeacon UUID Command Response Parameter Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd. 3-20...
  • Page 22: Query And Set Ibctxpwr

    Description: It takes effect on next broadcast, save when power off, can be sent as a string or hexadecimal. For example, set to the string“E104-BT51”:AT+NAME=E104-BT51 For example, set to hexadecimal“31323334”:41 54 2B 4E 41 4D 45 3D 31323334 6.14 Read and set the device name (do not save when power off)
  • Page 23: Read Software Version Number

    Description: It takes effect on next connection, save when power off Note: The maximum connection interval must be greater than or equal to the minimum connection interval, and less than the timeout * 8 Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd. 3-22...
  • Page 24: Read And Set Timeout

    6.22 Query the current connection status Command Response Parameter Query:AT+CONSTA? +OK=[para] para: Connected:connection established Disconnect:connection disconnected Description: It takes effect immediately 6.23 Querying the Local MAC Address Command Response Parameter Query:AT+MAC? +OK=[para] para:MAC address Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd. 3-23...
  • Page 25: Query The Mac Address Of The Connected Device

    For example, set the banding MAC to "F0E1D2C3B4A5":41 54 2B 42 4F 4E 44 4D 41 43 3D F0E1D2C3B4A5 6.27 Query and set the MTU length Command Response Parameter Query:AT+MTU? +OK=[para] para:27~230 Setting:AT+MTU=[para] +OK:Success +ERR=[NUM]:Error Description:It takes effect on next connection, save when power off Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd. 3-24...
  • Page 26: Query And Set The Uuid Length Of The Transparent Transmission Service

    For example, the sixteen-byte UUID is“11223344556677889900AABBCCDDEEF1”: 41 54 2B 55 55 49 44 53 56 52 3D F1EEDDCCBBAA00998877665544332211 6.31 Query and set the Bluetooth write service UUID Command Response Parameter Query:AT+WRITEUUID? +OK=[para1] Para1:UUID value Setting:AT+WRITEUUID=[para1] +OK:Success +ERR=[NUM]:Error Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd. 3-25...
  • Page 27: Query, Enable, Disable Serial Port Delay

    Response Parameter Authentication:AT+AUTH =[para] +OK:Success para:6-byte password +ERR=[NUM]:Error Description: 1. Password cannot be changed before successful authentication. 2. This command is only used in configuration over air, other methods have no practical meaning. Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd. 3-26...
  • Page 28: Update And Query Configuration Over Air Password

    Description: It takes effect immediately, If the broadcast is not turned off, the broadcast continue broadcasting with broadcast with broadcast interval as wake-up time, and the pin wakes up 6.39 Query and set printing status Command Response Parameter Query:AT+LOGMSG? +OK=[para] para: 0、1 Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd. 3-27...
  • Page 29: Read Io Input

    Description: It takes effect immediately, save when power off. Foe example, setting PWM1 enabled: AT + PWM1 = 1 6.43 Set and query PWM output period Command Response Parameter Query:AT+PERIODx? +OK=[para] para: 10~100000 Unit us x: No. Setting:AT+PERIODx=[para] +OK:Success +ERR=[NUM]:Error Description: Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd. 3-28...
  • Page 30: Set And Query Pwm Duty Cycle

    Because the working voltage of the chip is limited to 1.8V ~ 3.8V, the maximum BATMAX is 3800. 6.47 Set and query the minimum battery voltage Command Response Parameter Query:AT+ BATMIN? +OK=[para] para: 1800~BATMAX (Unit:mV) Setting:AT+BATMIN=[para] +OK:Success +ERR=[NUM]:Error Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd. 3-29...
  • Page 31: Query Rssi

    Configuration over air channel notify (Default) 7.2 Standard battery voltage service UUID Channel UUID HANDLE Attribute Description This channel is the standard battery voltage service UUID BATTERY SERVICE 0x180F specified by the Bluetooth Alliance Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd. 7-30...
  • Page 32: Quick Start

    2. Configure related parameters according to the operation command in Chapter 6. Here demonstrates setting the device name. 3. Since configuration over air mode involves the use of transparent transmission, refer to 8.2 Quick guide to transparent transmission and Configuration over air mode for the configuration over air mode. Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd. 8-31...
  • Page 33: Quick Guide To Transparent Transmission And Configuration Over Air Mode

    2. 3. If the operation in step 2 is successful, click on the service in the red box on the left to enter Ebyte custom transparent transmission service. After success, the interface shown on the right will appear. Enter step 4, otherwise continue to step Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 34 4. After step 3 is successful, click to enter service 1, and then click the On N button. Use the serial port assistant to send data. The red part is the data content received by the serial port, the module sends a notification to the mobile APP. Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd. 8-33...
  • Page 35 Chengdu Ebyte Electronic Technology Co.,Ltd. E104-BT51 User Manual Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd. 8-34...
  • Page 36 5. Click W button of service 2 as shown in step 3 to enter the write operation. After editing the content, click OK to send the data. On the serial port assistant, check the data sent by the mobile APP to the module. Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd. 8-35...
  • Page 37 Chengdu Ebyte Electronic Technology Co.,Ltd. E104-BT51 User Manual Mobile APP sending data Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd. 8-36...
  • Page 38 W button to enter the configuration over air mode. In the configuration over air, password needs to be verified first. ( When editing the control configuration password, please note that all characters must be entered in English mode, otherwise an error will be reported). Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd. 8-37...
  • Page 39 Chengdu Ebyte Electronic Technology Co.,Ltd. E104-BT51 User Manual After passing the password authentication of configuration over air, Return + OK to start configuration. Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd. 8-38...
  • Page 40 E104-BT51 User Manual After successful password authentication, you will get the returning message “+ 0K”. At this point, you can perform configuration over air. Here is a demonstration of reading the device name. Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd. 8-39...
  • Page 41: Guide To Bluetooth Battery Service

    The module will continuously send the collected battery voltage percentage to the APP,and battery range can be set to the maximum and minimum values according to the full voltage of the battery. Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd. 8-40...
  • Page 42: Hardware Design

    Minimum Battery Voltage. 9. 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; Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd. 9-41...
  • Page 43: Faq

    Power register was set incorrectly, air data rate is set as too high (the higher the air data rate, the shorter the  distance). When the power supply at room temperature is lower than the recommended low voltage, the lower the voltage is,  Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd. 9-42...
  • Page 44: Module Is Easy To Damage

    Maximum preheating Preheat temperature max (Tsmax) 150℃ 200℃ temperature Preheat Time (Tsmin to Tsmax)(ts) Preheating time 60-120 sec 60-120 sec Average ramp-up rate(Tsmax to Tp) Average rising rate 3℃/second max 3℃/second max Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd. 9-43...
  • Page 45: Reflow Soldering Curve

    12. Related models Transmit Communic Support Frequency Size Model No. Chip power ation protocol Antenna Function interface Hardware E72-2G4M05S1 resources CC2640 2.4G 17.5*28.7 PCB/IPX secondary development E73-2G4M04S1 Hardware nRF52810 2.4G 4.2/5.0 17.5*28.7 PCB/IPX resources Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd. 9-44...
  • Page 46 PCB/IPX dual-core Multi-role mode Dongle E104-2G4U04A CC2540 2.4G 18*59 Protocol analyzer Low power consumption, transparent transmission, E104-BT05 TSLR8266 2.4G 10*14.5 acquisition, IO output, PWM output BLE5.0, 17.5*28.7m E104-BT51 CC2640R2F 2.4G 2MPHY, low power Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd. 9-45...
  • Page 47: Batch Packaging

    Chengdu Ebyte Electronic Technology Co.,Ltd. E104-BT51 User Manual consumption, battery service, transparent transmission, PWM output, IO output, IO acquisition, acquisition 13. Batch packaging 14. Revision history Version Date Description Issued by Initial version 2019-12-11 Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd. 14-46...
  • Page 48: About Us

    Chengdu Ebyte Electronic Technology Co.,Ltd. E104-BT51 User Manual 15. About us Sales hotline: 4000-330-990 Tel: 028-61399028 Support: support@cdebyte.com Website: www.ebyte.com Address: Innovation Center B333~D347, 4# XI-XIN road, High-tech district (west), Chengdu, Sichuan, China Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd. 15-47...

Table of Contents