E104-BT52 User Manual DA14531 BLE5.
Chengdu Ebyte Electronic Technology Co.,Ltd E104-BT52 User Manual CONTENTS 1. Overview ................................................................................................................................................................. 1 1.1 Introduction ................................................................................................................................................... 1 1.2 Feature ...............................................................................
5.4.13 AT+ADVINTV advertising interval .................................................................................................................. 15 5.4.14 AT+IBCNUUID iBeacon UUID command ...................................................................................................... 16 5.4.15 AT+MAJOR iBeacon Major command ............................................................................................................ 16 5.4.16 AT+MINOR iBeacon Minor command .....................
About us..................................................................................................................................................................... 32 Copyright ©2012–2020,Chengdu Ebyte Electronic Technology Co.
Chengdu Ebyte Electronic Technology Co.,Ltd E104-BT52 User Manual 1. Overview 1.1 Introduction E104-BT52 is a serial to BLE Bluetooth master-slave integrated module based on BLE 5.0. It is small in size and low in power consumption, working at 2.4GHz. E104-BT52 is developed by Chengdu Ebyte Electronic Technology Co., Ltd. based on the dialog DA14531 chip. The module uses general AT commands to set parameters, and the operation is simple and fast.
the rules that apply to the product into which this certified RF module is integrated. Additional testing and certification may be necessary when multiple modules are used. Note: This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential installation.
Intelligent buildings, intelligent buildings; Automatic data collection; Health sensor; Smart wearable devices; Intelligent robot; Wireless sensing; Electronic label; Intelligent control; 2 Specification and Parameter 2.1 Limit parameter Main parameter Performance Remark Min Max Power supply(V) 0 3.6 Blocking power(dBm) - 10 Operating temperature(℃) -40 +65 Over 3.6V damages module Chance of is slim when modules are used in short distance Industrial grade 2.
Main parameter Description Distance 90m BLE protocol BLE5.0 Communication interface UART - Package SMD - Size 14.5*10mm - Antenna PCB Remark In open and clear air, weight 2.0 meter; @2.5dBm; Air data rate: 1Mbps 50Ω 3 Size and Pin Definition Copyright ©2012–2020,Chengdu Ebyte Electronic Technology Co.
NO.
4 Function Description 4.1 Role description The module supports three roles: master, slave, and observer. The host supports connecting to other Bluetooth products of our company. When the module is used as a master, up to 2 slaves can be connected. Support transparent advertising and format transmission. auto connect. The module slave can connect with other models of our company's Bluetooth products to support transparent transmission.
4.1.3 Observer 1. Command AT+ROLE=2 to select the observation mode (valid after restart) 2. After receiving the advertising, print out all the contents of the advertising package through the serial port. 3. The observer device cannot be connected to any device. Check format below LEN MAC RSSI Advdata 1 byte 6 byte 1 byte No more than 31 byte Note: LEN is the sum of MAC, RSSI, and advertising data length. 1. The scan window and scan gap are consistent with the scan parameters. 2.
4.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. Valid data 1byte Max:243bytes 0~1 Slave number: 0~1 is the target device number.
3. Bluetooth connection is not supported in iBeacon broadcast mode Advertising iBeacon Prefix UUID Major Minor Tx-Power 9B 16B 2B 2B 1B For example:0201061AFF4C000215FDAFDA50693A4E24FB1AFCFC6EB076478252775848F00 4.6 Configuration There are 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.
System wake \r\n STA:wakeup\r\n up Sleep mode \r\n STA:sleep\r\n Copyright ©2012–2020,Chengdu Ebyte Electronic Technology Co.
5 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. 5.1 Command description All AT commands do not need to add carriage return (\r), line feed (\n) All AT commands are not case sensitive The return result of AT command ends with \r\n (except for returning HEX) Command error response format +ERR=[NUM]. (NUM is ACSII) 5.
AT +OK Note: none 5.4.2 +++ enter AT command mode Command Response +++ enter_at_mode Notes:When disconnected, the module is in AT mode by default and there is no response when sending this command; you need to use this command to enter AT mode when module is connected. 5.4.3 AT+EXIT exit AT command mode Command Response AT+EXIT +OK Notes: None 5.4.4 AT+RESET reset command Command Response AT+RESET +OK Note:take effect immediately 5.4.
Set +OK:success AT+BAUD=[para] +ERR=[NUM]:error para(ASCII) Baud rate (bps) 0 2400 1 4800 2 9600 3 14400 4 19200 5 38400 6 57600 7 115200(default) 8 230400 9 460800 Parameter Note For example, Take effect immediately AT+BAUD=10. Baud rate is 115200 HEX: 41,54,2B,42,41,55,44,3D,31,30 5.4.
Set For example, +ERR=[NUM]:error para(ASCII) Description 0 5 data bit 1 6 data bit 2 7 data bit 3 8 data bit Parameter Note +OK:success AT+PARI=[para] Restart to take effect, save when power off AT+PARI=0 5.4.
Inquiry Set AT+ADV? +OK=[para] +OK:success AT+ADV=[para] +ERR=[NUM]:error para(ASCII) Parameter Description 0 Turn off 1 Turn on(default) 2 iBeacon 1. Take effect immediately (if the broadcast is not turned on, or it is connected, it will take effect next time), Note save when power off; 2. The slave or master-slave integrated supports broadcasting. 5.4.
5.4.14 AT+IBCNUUID iBeacon UUID command Command Inquiry AT+IBCNUUID? Set AT+IBCNUUID=[para] Parameter para(HEX):16 bit UUID Response +OK=[para1] +OK:success +ERR=[NUM]:error 1. Take effect immediately (if the broadcast is not turned on, or it is connected, it will take effect next time), Note save when power off 2.
5.4.17 AT+IPWR revise ibeacn tx_power Command Inquiry Set Parameter AT+IPWR? AT+ IPWR =[para] Response +OK=[para] +OK:success +ERR=[NUM]:error para(HEX): 0-0XFF default:0 1. Take effect immediately (if the broadcast is not turned on, or it is connected, it will take effect next time), Note save when power off; 2. Only the slave device supports broadcasting, other roles can still be configured; 5.4.
5.4.20 AT+DISCON disconnect command Command Set (only master) Response +OK:success AT+DISCON=[para] +ERR=[NUM]:error +OK:success Disconnect all AT+DISCON +ERR=[NUM]:error para(ASCII) Description 0~1 Disconnect specified connection Parameter Note 1、Take effect immediately 2、if it is not connected, the modules will return index device no connect 5.4.
5.4.23 AT+BONDMAC add bond MAC address Command Inquiry Set Parameter Note Response +OK=[sum][ [mac] [mac]…] AT+BONDMAC? AT+BONDMAC=[mac] +OK:success +ERR=[NUM]:error sum(HEX): sum of current bond MAC address; mac(HEX):6bytes mac address; Take effect immediately, save when power off. Inquiry:AT+BONDMAC? Return: For example, B 4F 4B 3D 03 CC 34 27 1A 0C D4 3D AC 82 16 0F 58 D2 D4 C3 07 0E C4 Set:41 54 2B 42 4F 4E 44 4D 41 43 3D CC 34 27 1A 0C D4 Return:+OK 5.4.
5.4.26 AT+SCANINTV scan interval Command Inquiry Set Parameter Response AT+SCANINTV? +OK=[para] +OK:success AT+SCANINTV=[para] +ERR=[NUM]:error para(ASCII):20~6000 default:100 1. Take effect immediately, save when power off Note 2. The scanning interval is not less than the scanning window 3. The slave does not support it, but it can still be set For example, AT+SCANINTV=120 Scan interval:120*0.625 = 75ms 5.4.
5.4.29 AT+UUIDSVR128 set service 128bit UUID Command Inquiry Set Parameter Response AT+UUIDSVR128? +OK=[para] AT+ UUIDSVR128=[para] +OK:success +ERR=[NUM]:error para(HEX):16 bit uuid. 1、 Take effect immediately, save when power off 2、 The second and third byte are16 bit uuid, range from 1~65535; 3、 The 128 bits UUID, except for the second and third bytes, is also used for the basic Note UUID of the slave channel, the master channel, and the configuration channel.
5.4.32 AT+UUIDMAST MAST CHANNEL characteristic UUID command Command Inquiry Set Parameter Response AT+UUIDMAST2? +OK=[para] AT+UUID CHARA2= +OK:success [para] +ERR=[NUM]:error para(HEX): 0-FFFF; Default:FFF2 1、 Take effect immediately, save when power off Note 2、 Master channel. The master sends data and the slave receives data. 5.4.
para(ASCII) Description 0 Off(default) 1 On Parameter Take effect immediately, save when power off Note 5.4.36 AT+SLEEP enter sleep Command Set Response AT+SLEEP +OK None Parameter Take effect immediately Note 5.4.37 AT+LOGMSG operating status output Command Inquiry Set AT+LOGMSG? +OK=[para] +OK:success AT+LOGMSG =[para] +ERR=[NUM]:error para(ASCII) Description 0 Off(default) 1 On Parameter Note Response Take effect immediately, save when power off 5.4.
Note 5 -7 dBm 6 -13.5 dBm 7 -19.5 dBm Take effect immediately, save when power off 5.4.39 AT+MTU Set Bluetooth single packet length Command Inquiry AT+ MTU? Set AT+MTU =[para] Parameter Note Response +OK=[para] +OK:success +ERR=[NUM], error Para MTU value, Min is 23,max is 247. Take effect immediately, save when power off 6 Quick start Software for debugging and parameter setting: PC serial tool - AccessPort.exe; Phone ble debugging APP - nRF connect 6.1 Configuration mode guidance 6.1.
Configure it according to AT command. 6.1.2 Configuration over air Only for module that works as a slave. Open app “nRF connect”, start scanning,find “E104-BT52” and connect to it. nRF connect scanning list Open uuid-fff0 service,Enable configuration channel: notify; Copyright ©2012–2020,Chengdu Ebyte Electronic Technology Co.
nRF connect、Enable configuration channel: notify Send authenticate command(at+auth=12345),module returns “0x2befeb0d0a” means success; Over air configuration authentication Configure module according to 0 command table. 6.2 Data transmission For data transmission related instructions, see 5.3 Data Transmission Mode. Test Conditions: Configure one module as the master and one as the slave as described in the quick use guide for AT command list configuration mode; Software: AccessPort.
Other parameters are the default configuration. 6.2.1 Data transparent transmission 1. Power on the module. Enable logmsg printing for master and slave (at+logmsg=1); 2. Set the module to transparent transmission mode (AT+TRANMD=1). 3. After the host is successfully connected, it will print "sta: connecte 0 616263646564"; the slave will print sta: connecte 0 616263646566". The LINK pin is high.
The master sends transparent data 6.2.2 Format transmission 1. Same as Step 1 of 7.2.1 Data Transparent Transmission; 2. Set to format transmission (default format transmission, set command "AT+TRANMD=0") 3. Same as Step 3 of 7.2.1 Data Transparent Transmission; 4. The effective data sent by the master to the slave is "123456789" (ASCII). The format transmission data is packed "00 30 31 32 33 34 35 36 37 38 39" (HEX).
7 FAQ 7.
8 Welding instruction 8.1 Reflow soldering temperature Profile Feature Sn-Pb Assembly Pb-Free Assembly Sn63/Pb37 Sn96.5/Ag3/Cu0.
9 Package 10 Related Model Model No. E72-2G4M05S1B E73-2G4M04S1A E73-2G4M04S1B E73-2G4M08S1C Chip CC2640 nRF52810 nRF52832 nRF52840 Frequency Hz 2.4G 2.4G 2.4G 2.4G Communi cation Protocol Size BLE mm interface I/O I/O I/O I/O 4.2 4.2/5.0 4.2/5.0 4.2/5.0 17.5*28. 7 17.5*28. 7 17.5*28.
The lowest power, E104-BT02 DA14580 2.4G TTL 4.2 14*22 PCB High speed continuous transmission, Sniff Built-in E72-2G4M04S2B CC2640 2.4G TTL 4.2 14*23 PCB/IPX ARM dual core Multiple role mode E104-2G4U04A E104-BT5010A CC2540 nRF52810 2.4G 2.4G USB UART 4.0 5.0 18*59 11.5 * 16 PCB ceramic antenna Dongle Protocol Analyzer Low power, transparent transmission Low power E104-BT52 DA14531 2.4G UART 5.0 14.
Copyright ©2012–2020,Chengdu Ebyte Electronic Technology Co.