Ebyte E104-BT5032A/B User Manual
Ebyte E104-BT5032A/B User Manual

Ebyte E104-BT5032A/B User Manual

Nrf52832 ble5.0 low power ble to serial module
Table of Contents

Advertisement

Quick Links

E104-BT5032A/B User Manual
nRF52832 BLE5.0 Low Power BLE to Serial Module

Advertisement

Table of Contents
loading

Summary of Contents for Ebyte E104-BT5032A/B

  • Page 1 E104-BT5032A/B User Manual nRF52832 BLE5.0 Low Power BLE to Serial Module...
  • Page 2: Table Of Contents

    6.6 C ....................................18 ONFIGURATION 6.7 D ....................................18 ATA INDICATION 6.7.1 Output delay ....................................19 6.8 UUID ..................................19 SPECIFICATION 6.9 GPIO ....................................19 FUNCTION 6.9.1 Input and output ..................................20 6.9.2 PWM ......................................20 Copyright ©2012–2024,Chengdu Ebyte Electronic Technology Co., Ltd...
  • Page 3 7.4.30 AT+BONDDEL delete bond MAC address ........................33 7.4.31 AT+SCAN advertising scan ..............................33 7.4.32 AT+SCANINTV scan interval .............................. 34 7.4.33 AT+SCANWND scan window ..............................34 7.4.34 AT+AUTOCONN connect automatically ...........................34 7.4.35 AT+CONN specify connection ............................. 35 7.4.36 AT+LINKNUM query link ..............................35 Copyright ©2012–2024,Chengdu Ebyte Electronic Technology Co., Ltd...
  • Page 4 11. PRODUCTION GUIDANCE ........................51 11.1R .............................. 51 EFLOW SOLDERING TEMPERATURE 11.2R ................................51 EFLOW SOLDERING CURVE 12. RELATED PRODUCT ........................... 52 13. PACKAGE FOR BULK ORDER ......................53 REVERSION HISTORY ..........................54 ABOUT US ..............................54 Copyright ©2012–2024,Chengdu Ebyte Electronic Technology Co., Ltd...
  • Page 5: Overview

    1. Overview 1.1 Introduction Small in size and low in power consumption, E104-BT5032A/B is a serial-to-BLE module based on BLE 5.0 working at 2.4Ghz. It works as both Bluetooth master and slave. Based on nRF52832 from Nordic, the E104-BT5032A/B module is developed by Chengdu Ebyte. AT commands are available for parameter setting, thus operation is simple and fast.
  • Page 6: Application

    When users are concerned about data throughput, the connection gap can be reduced. Note that with regard to the connection interval, the connection interval between different devices may be different and cannot even be changed, such as the iPhone. Copyright ©2012–2024,Chengdu Ebyte Electronic Technology Co., Ltd...
  • Page 7: Mtu

    Set the MOD pin only before the data is sent. No operation after the data is sent. For example: a) Send AT command. STEP1, set the pin to low level; STEP2, send AT command; Copyright ©2012–2024,Chengdu Ebyte Electronic Technology Co., Ltd...
  • Page 8: Solution To Broadcast Data Problem

    3.2 Operating parameter E104-BT5032A Parameter List Performance Main parameter Remarks Voltage supply [V] ≥3.3 V ensures output power Communication level [V] For 5V TTL, it may be at risk of burning down Operating temperature [℃] Copyright ©2012–2024,Chengdu Ebyte Electronic Technology Co., Ltd...
  • Page 9 1s Wake-up advertising current(default) 120.1 unit:mA, default advertising gap is 1s Wake-up no advertising current(default) 121.1 unit:mA, default connection gap is 500ms wake-up connection current(default) unit:mA E104-BT5032A/B Parameter List Main parameter Description Remarks Copyright ©2012–2024,Chengdu Ebyte Electronic Technology Co., Ltd...
  • Page 10: Dimension And Pin Definition

    Clear and open environment, height 2.0 meters; @20dBm; E104-BT5032B Distance 500m Airspeed: 2Mbps BLE protocol BLE 5.0 Communication interface UART Package Connector 1.27 mm 11.5*16mm(E104-BT5032A) Size 11.5*20mm(E104-BT5032B) Antenna Ceramic antenna 50Ω Impedance 4. Dimension and Pin Definition E104-BT5032A: Copyright ©2012–2024,Chengdu Ebyte Electronic Technology Co., Ltd...
  • Page 11 MCU, use the push output control. Same to 1。 The internal level of the pin is self-latching. It internally pulls up for high level and pulls down for low level. Same to 3. Copyright ©2012–2024,Chengdu Ebyte Electronic Technology Co., Ltd...
  • Page 12 Chengdu Ebyte Electronic Technology Co., Ltd E104-BT5032A User Manual SWDIO Copyright ©2012–2024,Chengdu Ebyte Electronic Technology Co., Ltd...
  • Page 13 MCU, use the push output control. Same to 5。 The internal level of the pin is self-latching. It internally pulls up for high level and pulls down for low level. Same to 7. Copyright ©2012–2024,Chengdu Ebyte Electronic Technology Co., Ltd...
  • Page 14 Ground Ground Power Power Input UART RX pin Output UART TX pin P0.19 No function, you are advised Input/Output GPIO to leave it empty P0.21/RST Power reset Valid in low level SWDCLK SWDIO Copyright ©2012–2024,Chengdu Ebyte Electronic Technology Co., Ltd...
  • Page 15: Recommended Connection Diagram

    There are four roles: master, slave, observer, salve and master as one. The master module/slave and master as one connects to other Ebyte Bluetooth models. Up to 4 slaves can be connected to it. Transparent advertising and format transmission are available. Both manual and automatic connection are allowed.
  • Page 16: Slave

    After receiving the broadcast, print out the entire contents of the broadcast package through the serial port. It cannot connect any device. Format: RSSI Advdata 1 byte 6 bytes 1 byte Within 31 bytes Copyright ©2012–2024,Chengdu Ebyte Electronic Technology Co., Ltd...
  • Page 17: Master And Slave As The One

    Via pin WKP falling edge,keep low level for 200ms and enter wake up mode; Pin RX wakes up, via falling edge of pin RX,keep low level for at least 50us and wake up immediately。 mode Data transmission There are two transmission mode:transparent transmission and format transmission. Copyright ©2012–2024,Chengdu Ebyte Electronic Technology Co., Ltd...
  • Page 18: Transparent Transmission

    It includes advertising and scan respone,advertising is actively sent report,scan respone is responsed report after receiving scan request from the master. 6.5.1.1 Advertising Fixed field Manufa field Manufa data 020106 0xFF configurable,max is 26 bytes For example:020106< Len >FF< Manufa data > Users can configure Manufa data only. Copyright ©2012–2024,Chengdu Ebyte Electronic Technology Co., Ltd...
  • Page 19: Ibeacon Advertising Info

    The AT command response does not change the state of the DATA pin. Data output delay is enabled via with AT+DATALY=1. After it is turned on, the module first pulls the DATA pin and outputs the data after 10ms. Copyright ©2012–2024,Chengdu Ebyte Electronic Technology Co., Ltd...
  • Page 20: Output Delay

    Up to 8 GPIO input and output configurations and up to 3 PWM outputs are available for this module. Among them PWM can be configured frequency, duty cycle. PWM, IO can be arbitrarily configured to the pins shown in the table Copyright ©2012–2024,Chengdu Ebyte Electronic Technology Co., Ltd...
  • Page 21: Input And Output

    Command AT+PINCONF=3,0. 6.9.2 Command AT+PWMCONF=2,100000,50. Set pin 2 as PWM,and frequency is 100KHZ,duty cycle is 50%. Command AT+ PWMDUTYSET=2,10, set pin 2 as PWM and duty cycle is 10%. Command AT+PWMUNINIT=2, turn off PWM. Copyright ©2012–2024,Chengdu Ebyte Electronic Technology Co., Ltd...
  • Page 22: Multilink

    AT command parameter format:[para]. Include no [ ].  7.2 Error code Description Error reason Solution Gap between two AT commands is too Proper delay is added between two Currently parsing AT small AT commands Copyright ©2012–2024,Chengdu Ebyte Electronic Technology Co., Ltd...
  • Page 23: Status Printing

    PIN function error Parameter and current pin function do not match Error code list 7.3 Status printing Status Printing info Only salve \r\nSTA:connect\r\n Connected successfully Other \r\nSTA:connect,[handle],[MAC]\r\n Only salve \r\nSTA:disconnect\r\n Disconnect Other \r\nSTA:disconnect,[handle ]\r\n Copyright ©2012–2024,Chengdu Ebyte Electronic Technology Co., Ltd...
  • Page 24: Command List

    During the process of restoring the factory settings, any form of reset is prohibited, must not power off before it is completed.; 7.4.4 AT+BAUD baud rate command respond Inquire AT+BAUD? +OK=[para] +OK:success AT+BAUD=[para] +ERR=[NUM]:error Copyright ©2012–2024,Chengdu Ebyte Electronic Technology Co., Ltd...
  • Page 25: At+Pari Parity

    For example AT+PARI=0 7.4.6 AT+HWFC flow control Note: Only the E104-BT5032A supports flow control. Command Respond Inquire AT+HWFC? +OK=[para] +OK:success AT+ HWFC =[para] +ERR=[NUM]:error Copyright ©2012–2024,Chengdu Ebyte Electronic Technology Co., Ltd...
  • Page 26: At+Role Bluetooth Role

    1、 take into effect after reset and save when power off Remark 2、 string is up to 32bytes 7.4.9 AT+DEVSERIAL modify device serial command respond Inquire AT+DEVSERIAL? +OK=[para] +OK:success AT+ DEVSERIAL =[para] +ERR=[NUM]:error Copyright ©2012–2024,Chengdu Ebyte Electronic Technology Co., Ltd...
  • Page 27: At+Devmodel Modify Device Model

    Inquire AT+DEVSWVER? +OK=[para] +OK:success AT+ DEVSWVER =[para] +ERR=[NUM]:error para(string): device software version Parameter Default: V1.0; 1、 take into effect after reset and save when power off Remark 2、 string is up to 32bytes Copyright ©2012–2024,Chengdu Ebyte Electronic Technology Co., Ltd...
  • Page 28: At+Devid Modify Device Id

    54 2b 41 44 56 44 41 54 3d 31 32 33 34 35 36 37 38 39 30; For example advertising data:31 32 33 34 35 36 37 38 39 30 Copyright ©2012–2024,Chengdu Ebyte Electronic Technology Co., Ltd...
  • Page 29: At+Advintv Advertising Gap

    1. Take into effect immediately(if advertising is not enabled, or it is connected, then take into effect next Remark time),save when power off; 2. Advertising available for slave only, other role can configurate; Copyright ©2012–2024,Chengdu Ebyte Electronic Technology Co., Ltd...
  • Page 30: At+Minor Ibeacon Minor Command

    Default: E104-BT5032A or E104-BT5032B 1、 Take into effect immediately, save when power off. AT+NAME1 does not save. Remark 2、 Advertising available for slave only, other role can configurate 7.4.22 AT+CONPARAMS connection gap configuration command respond Copyright ©2012–2024,Chengdu Ebyte Electronic Technology Co., Ltd...
  • Page 31: At+Conparamsx Specified Connection Interval Setting

    4、 Take into effect immediately, do not save; 5、 This command is for modifying connection parameter for specified link; 6、 Even if the connection parameter modification returns "OK", it does not mean that the connection Copyright ©2012–2024,Chengdu Ebyte Electronic Technology Co., Ltd...
  • Page 32: At+Discon Disconnect Command

    2 Turn on the output delay, the maximum packet size does not exceed 244 bytes; 3 Turn on the output delay. If the air packet input is too fast, the entire packet will be lost. Copyright ©2012–2024,Chengdu Ebyte Electronic Technology Co., Ltd...
  • Page 33: At+Mac Local Mac Address

    Description:connected device MAC is FE 30 EE 50 35 DA 7.4.28 AT+BOND enable bonding command respond Query AT+BOND? +OK=[para] +OK:success AT+BOND=[para] +ERR=[NUM]:error para(ASCII) description Parameter Bonding disabled(default) Enable bonding Remarks Take into effect immediately, save when power off Copyright ©2012–2024,Chengdu Ebyte Electronic Technology Co., Ltd...
  • Page 34: At+Bondmac Add More Bond Mac Address

    Scan enabled(default) 1、 Take into effect immediately, save when power off Remarks 2、 If current connected masters are the maximum, no scanning will be enabled 3、 Scanning is only available for master and observer Copyright ©2012–2024,Chengdu Ebyte Electronic Technology Co., Ltd...
  • Page 35: At+Scanintv Scan Interval

    Interval:128*0.625 = 80ms 7.4.34 AT+AUTOCONN connect automatically command respond Query AT+AUTOCONN? +OK=[para] +OK:success AT+ AUTOCONN =[para] +ERR=[NUM]:error para(ASCII) Description Manual connection Parameter Automatic connection (default) Remarks 1、Take into effect immediately, save when power off Copyright ©2012–2024,Chengdu Ebyte Electronic Technology Co., Ltd...
  • Page 36: At+Conn Specify Connection

    Transparent transmission Remarks 1、 Take into effect immediately, save when power off 7.4.38 AT+LINKMAX Master max link quantity command respond LINKMAST Query +OK=[para] +OK:success LINKMAST =[para] +ERR=[NUM]:error para(ASCCII): max link quantity. range:1~4 Parameter default:4 Copyright ©2012–2024,Chengdu Ebyte Electronic Technology Co., Ltd...
  • Page 37: At+Linkslave Slave Max Link Quantity

    AT command is (HEX): 61 74 2b 75 75 69 64 73 76 72 31 32 38 3d 11 22 33 44 55 66 77 88 99 00 aa bb cc dd ee ff Copyright ©2012–2024,Chengdu Ebyte Electronic Technology Co., Ltd...
  • Page 38: At+Uuidsvr Bluetooth Service Uuid

    2、 The master channel for data sent from the master to the slave. 7.4.44 AT+VER query software version No. Command respond Query AT+VER? +OK=[para] Parameter para: version NO. Remarks Take into effect immediately For example command:AT+VER? Copyright ©2012–2024,Chengdu Ebyte Electronic Technology Co., Ltd...
  • Page 39: At+Auth Set Authentication Password Over Air

    -4 dBm 17.50 dBm Parameter -8 dBm 15 dBm -12 dBm 11.5 dBm -16 dBm 6.5 dBm -20 dBm 1 dBm -40 dBm -18 dBm Remarks Take into effect immediately, save after power off Copyright ©2012–2024,Chengdu Ebyte Electronic Technology Co., Ltd...
  • Page 40: At+Onsleep Sleep Once Power On

    Take into effect immediately, save after power off 7.4.50 AT+SLEEP get into sleep mode immediately command respond AT+SLEEP None Parameter Remarks Take into effect immediately 7.4.51 AT+LOGMSG operating condition output command respond Query AT+LOGMSG? +OK=[para] +OK:success AT+LOGMSG =[para] +ERR=[NUM]:error Copyright ©2012–2024,Chengdu Ebyte Electronic Technology Co., Ltd...
  • Page 41: At+Pinconf Io Configuration

    1、PIN is command pin. Refer to figure: GPIO function pins 2、sta parameter: description sta(ASCII) Parameter Low level High level Take into effect immediately, do not save once power off Remarks Only available for output mode Copyright ©2012–2024,Chengdu Ebyte Electronic Technology Co., Ltd...
  • Page 42: At+Pinget Obtain Io High And Low Level

    Freq is specified frequency. Range:4HZ ~ 160KHZ. Unit:HZ Parameter Duty is cycle duty. Range:1 ~ 100. All parameter is positive integer. Take into effect immediately, do not save once power off Remarks Only available for firmware:V1.1 Example Enter: AT+PWMCONF=25,80,50 Copyright ©2012–2024,Chengdu Ebyte Electronic Technology Co., Ltd...
  • Page 43: At+Pwmuninit Turn Off Pwm Function

    Take into effect immediately, do not save once power off Remarks Only valid for PWM module Only valid for firmware:V1.1 Enter: AT+PWMDUTYSET=25,50 Example Return: +OK 7.4.58 AT+FILTER Device master filtering conditions command respond +OK:Success AT+FILTER =[type], [sta] +ERR=[NUM]:Error Copyright ©2012–2024,Chengdu Ebyte Electronic Technology Co., Ltd...
  • Page 44 For example 2. Turn on name filtering. Command AT + FILTER = 1,1; As a result, the master only contains "E104-BT50" in front of the name, such as "E104-BT5032A", "E104-BT5010A", and so on. Copyright ©2012–2024,Chengdu Ebyte Electronic Technology Co., Ltd...
  • Page 45: Quick Start

    Refer to 6.4 command list to configure the module;  8.1.2 Configuration over air When module works as the slave, configuration over air is available.  Open app “nRF connect”, start scanning device,find “E104-BT5032A” to connect;  Copyright ©2012–2024,Chengdu Ebyte Electronic Technology Co., Ltd...
  • Page 46 Open service fff0 of uuid,enable configuration channel notify;  nRF connect-connect and enable notify ( +OK\r\n) Send authentication command (at+auth=12345) , when it returns “0x2befeb0d0a ”, means successful authentication;  Copyright ©2012–2024,Chengdu Ebyte Electronic Technology Co., Ltd...
  • Page 47: Data Transmission

    Please refer to figure below. From master’s printing info, the value before the MAC address is sentences from the slave, where the first byte of format transmission comes. Automatically connect and print once the master is powered on Copyright ©2012–2024,Chengdu Ebyte Electronic Technology Co., Ltd...
  • Page 48: Format Transmission

    Valid data “123456789”(ASCII)sent from the master to the slave. Format transmission pack “00 30 31 32 33 34 35 36 37 38 39”(HEX) and the slave receives data“123456789”(“30 31 32 33 34 35 36 37 38 39”), for example: Format transmission-data from master to slave Copyright ©2012–2024,Chengdu Ebyte Electronic Technology Co., Ltd...
  • Page 49 Data “0123456789”(ASCII) is sent from the master to the slave,the master receives “00 30 31 32 33 34 35 36 37 38 39” (HEX),the first byte received by the master indicates where the data is sent from. Please refer to the figure below. Format transmission-data from slave to master Copyright ©2012–2024,Chengdu Ebyte Electronic Technology Co., Ltd...
  • Page 50: Hardware Design

    When the module is mounted inside the case, 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–2024,Chengdu Ebyte Electronic Technology Co., Ltd...
  • Page 51: Faq

    Poor power supply may cause messy code. Make sure that the power supply is reliable  The extension line and feeder quality are poor or too long, so the bit error rate is high.  Copyright ©2012–2024,Chengdu Ebyte Electronic Technology Co., Ltd...
  • Page 52: Production Guidance

    Time(tL)Maintained Above(TL) 60-90 sec 30-90 sec Peak temperature(Tp) 220-235℃ 230-250℃ Aveage ramp-down rate(Tp to Tsmax) 6℃/second max 6℃/second max Time 25℃ to peak temperature 6 minutes max minutes max 11.2 Reflow soldering curve Copyright ©2012–2024,Chengdu Ebyte Electronic Technology Co., Ltd...
  • Page 53: Related Product

    High speed, sniff Built-in ARM dual E72-2G4M04S2B CC2640 2.4G 14*23 PCB/IPX core Multiple role Dongle E104-2G4U04A CC2540 2.4G 18*59 Protocol Analyzer Low power, ceramic E104-BT5010A nRF52810 2.4G UART 11.5 * 16 transparent antenna transmission Copyright ©2012–2024,Chengdu Ebyte Electronic Technology Co., Ltd...
  • Page 54: Package For Bulk Order

    Chengdu Ebyte Electronic Technology Co., Ltd E104-BT5032A User Manual 13. Package for bulk order Copyright ©2012–2024,Chengdu Ebyte Electronic Technology Co., Ltd...
  • Page 55: Reversion History

    Error correction 2023-11-23 Error correction 2024-01-16 Error correction 2024-04-18 Added E104-BT5032B About Us Technical support: support@cdebyte.com; Documents and RF Setting download link: https://www.cdebyte.com Address: B5 Mould Park, 199# Xiqu Ave, High-tech District, Sichuan, China Copyright ©2012–2024,Chengdu Ebyte Electronic Technology Co., Ltd...

Table of Contents