background image

Chengdu Ebyte Electronic Technology Co.,Ltd.

E104-BT02 User Manual

Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd.

6

initialized and the role is fixed after powering up is completed till next restart to redetect role configuration.

Description:

1) When operating as a master and with scanning started, the module will automatically scan surrounding slaves until valid

slaves are detected (If MAC address bonding is set, it is likely to connect to slaves with assigned MAC address) and the Bluetooth
connection is completed automatically.

2) When operating as a slave and with broadcasting started, the module will transmit broadcasting data packet to

surrounding areas via configured broadcasting gap and wait the Bluetooth master to initialize connection.

5.6 MAC address bonding

The module supports bonding of MAC address connected via Bluetooth, which bond connected MAC address via instruction

“ <BONDMAC> ” . When master sets bonded address, before a connection is completed, the master will firstly search that if address
of devices is compliant with bonded address, and only bonded devices can complete connection. Likewise, when slave sets bonded
address, before receiving request for connection from master it will search if MAC address of the master is the bonded address, and
when address is successfully matched the connection can be enabled or the salve will continue to broadcast. Carrying out instruction
“<DISBOND>” will stop MAC bonding. The slave can receive any request for connection from master when being stopped and the
master will connect to any slave devices in a valid area.

Description:

MAC address bonding can help to realize directional connection in complex conditions. For example, there are several slaves in a

valid scanning area for a master device. The master can filter requests for connection from salve devices to realize directional
connection.

5.7 Transparent continuous transmission

Slave supports transparent continuous transmission in which mode configured UART baud rate can be as high as 19200bps, i.e.,

no matter how large the data packet UART received is, or it is continuous data flow, transparent transmission remains unaffected.
Abnormal packet loss will not happen. This function realizes transparent transmission in a real sense.

Description:

After receiving the Bluetooth data, the slave module transmits the serial port transparently. Due to the “data valid indication”

function, the serial port delays the data output. Turning off the “data valid indication” can improve the data throughput speed.

5.8 Bluetooth packet length configuration

The module supports the long-packet standard of Bluetooth 4.2, and can command <MTU> to configure the length of the

Bluetooth single-packet packet. The default is 20 bytes, and the optional 20~128 bytes. The packet length can be increased to realize
the big-band data transmission of Bluetooth.

Description:

After the packet length is configured, it takes effect on the next Bluetooth connection.

5.9 UUID configuration

The module supports UUID flexible configuration, and can command <UUID128EN> to enable the 128-bit UUID function. The

command <SVRUUID>, <RXUUID>, <TXUUID> can be used to customize the transparent transmission service UUID, the reception
feature field UUID, and the transmission feature field UUID. This function can solve the problem that the UUID does not match the

Содержание E104-BT02

Страница 1: ...E104 BT02 User Manual DA14580 BLE4 2 Low Power Bluetooth to Serial Module...

Страница 2: ...11 Beacon data switchable 7 5 12 Air configuration 8 6 Operating Instruction 8 6 1 Module reset instruction 9 6 2 Restore factory mode 9 6 3 Configuration instruction for baud rate of serial port 9 6...

Страница 3: ...timeout 16 6 37 Disconnect present connection 16 6 38 Inquire Bluetooth connecting state 16 6 39 Inquire local MAC address 17 6 40 Inquire MAC address of connected devices 17 6 41 Set bonded MAC addre...

Страница 4: ...er entering hibernation 23 6 69 Keep Bluetooth connection after entering hibernation 23 6 70 Air configuration password authentication 23 6 71 Air configuration password update 23 7 UUID description 2...

Страница 5: ...mission is stable and highly efficient In slave mode it supports the data transmission with the baud rate of 19200bps in maximum as the veritable module for transparent data transmission E104 BT02 is...

Страница 6: ...n Type Max Operating voltage V 2 5 3 3 3 6 3 3V ensures output power Communication level V 3 3 For 5V TTL it may be at risk of burning down Operating temperature 40 85 Industrial grade Operating frequ...

Страница 7: ...und 2 NC Reserved 3 P00 Input Mode configuration MOD When low level is inputted module enters configuration mode when high level is inputted module enters transparent transmission mode it contains int...

Страница 8: ...7 P14 Input Role selection To configure the role of the module and it is a slave when a high level is inputted and it is a master when a low level is inputted It contains internal pull up resistance a...

Страница 9: ...the master via Bluetooth channel CENTER DATA BUFF is not for transparent transmission if Bluetooth is connected now and channel BLE DATA BUFF will receive feedback information CONFIG MODE BUSY to ind...

Страница 10: ...evices in a valid area Description MAC address bonding can help to realize directional connection in complex conditions For example there are several slaves in a valid scanning area for a master devic...

Страница 11: ...e can be configured with ADVDATA and IBACON respectively and the normal broadcast data and Ibeacon broadcast data After the broadcast is enabled the module uses the configured broadcast gap as a fixed...

Страница 12: ...ul 2 After the RESTORE command is executed the login password is restored to the default settings 6 Operating Instruction Warning Make sure the module is in wake up mode and enters configuration mode...

Страница 13: ...ption BAUDxxx To configure baud rate assigned by xxx ASCII code and optional baud rate includes 4800 9600 19200 38400 57600 115200 256000 BLE DATA CONFIG 0xFFF3 Slave Broadcast function Open Module na...

Страница 14: ...bits specified by x ASCII code optional 1 and 2 stop bits When succeed return to OK Special note This configuration is saved immediately but only takes effect after exiting configuration mode 6 6 Rea...

Страница 15: ...tes hex assigned by xxx update data in the next broadcasting period and clear data if it is not assigned by xxx Length of broadcasting data is out of range return to RANGE_ERR when succeed return to O...

Страница 16: ...ned by xxx update broadcasting data in the next broadcasting period when disconnected and update after interruption when connected Length of device name is out of range return to RANGE_ERR when succee...

Страница 17: ...r example if software version number is VER1 0 return to SVER1 0 6 21 Set hardware version number Instruction Description HARDxxx Set hardware version number of max 18 bytes ASCII code assigned by xxx...

Страница 18: ...de which is the same as the MAC address by default When the data length is out of range it returns RANGE_ERR when succeed return to OK For example SYSID0102030405060708 OK 6 26 Inquire System ID Instr...

Страница 19: ...necting gap Instruction Description CONMAXxxx Set max connecting gap assigned by xxx ASCII code ranging from 6 to 3200 i e from 7 5ms to 4s correspondingly If parameter is out of range return to RANGE...

Страница 20: ...s to 32s correspondingly If parameter is out of range return to RANGE_ERR when succeed return to OK 6 36 Read connecting timeout Instruction Description CTIMEOUT Set connecting timeout configuration F...

Страница 21: ...ex is the MAC address of connected devices in disconnected state return to DISCONNECTED 6 41 Set bonded MAC address Instruction Description BONDMACxxx Set MAC filtered address with 6 bytes assigned by...

Страница 22: ...eed return to OK NOTE 1 This instruction is only valid for master It is not available for slave and return to INVALID_ERR 2 If the master is connected return to CONNECTED which means scanning is stopp...

Страница 23: ...de x ranges from 10 to 10000 to set the scanning gap and the range is 10ms 10s If parameter is out of range return to RANGE_ERR When succeed return to OK 6 50 Inquiry scan gap Instruction Description...

Страница 24: ...n Description RSSI Read the RSSI value 1 byte hex in the connected state return Rx x represent the RSSI value Note 1 The RSSI is valid only when the connection is established and the connection is not...

Страница 25: ...or 16 bytes This command mainly configures the UUID of BLE DATA BUFF and is updated on the next connection After the data length is out of range return RANGE_ERR When succeed return to OK 6 60 Set TXU...

Страница 26: ...vice roles master return to CENTER slave return to SLAVER 6 64 Serial Wake up open Instruction Description COMWKPON Open the serial port software wake up switch When succeed return to OK 6 65 Serial W...

Страница 27: ...ISBEFSLPOFF Keep the Bluetooth connection after the device goes to sleep When succeed return to OK 6 70 Air configuration password authentication Instruction Description PWDxxx The parameter consists...

Страница 28: ...A BUFF 0xFFF2 default Read write This channel is for master to transmit data The biggest data length for a single packet is 20 bytes and data more than 20 bytes are to be sent separately The transmitt...

Страница 29: ...transmission from module to master Enter this channel and click Start notification 5 Use COM debugging assistant and transmit character string 1234567890 via module E104 BT02 operating in wake up tra...

Страница 30: ...y Co Ltd 26 7 Fill in and send the data 12345678901234567890 the module E104 BT02 will transmit the received data through the serial port Wireless configuration operation Android operating system host...

Страница 31: ...gdu Ebyte Electronic Technology Co Ltd 27 2 Click W to pop up the identification interface After entering the correct ID it will enter the wireless configuration interface 3 The ID password can be con...

Страница 32: ...e from the power supply transformers high frequency wiring and other parts with large electromagnetic interference Bottom Layer High frequency digital routing high frequency analog routing and power r...

Страница 33: ...nd co channel interference The ground will absorb and reflect wireless radio wave so the performance will be poor when testing near ground Sea water has great ability in absorbing wireless radio wave...

Страница 34: ...Paste Sn63 Pb37 Sn96 5 Ag3 Cu0 5 Preheat Temperature min Tsmin Min preheating temp 100 150 Preheat temperature max Tsmax Max preheating temp 150 200 Preheat Time Tsmin to Tsmax ts Preheating time 60 1...

Страница 35: ...ation Interface Bluetooth Version Size mm Antenna Feature E72 2G4M05S1B CC2640 2 4G 5 I O 4 2 17 5 28 7 PCB IPX Hardware resource Secondary development E73 2G4M04S1A nRF52810 2 4G 4 I O 4 2 5 0 17 5 2...

Страница 36: ...CB IPX Hardware resource Secondary development E104 BT01 CC2541 2 4G 0 I O 4 0 14 22 PCB Hardware resource Secondary development E104 BT02 DA14580 2 4G 0 TTL 4 2 14 22 PCB Industry s lowest power cons...

Страница 37: ...ronic Technology Co Ltd 33 13 Package Revision history Version Date Description Issued by 1 0 2016 12 1 Initial version huaa 1 1 2017 6 12 Content update huaa 1 2 2018 8 4 Content update Huaa 1 3 2019...

Страница 38: ...t 2012 2019 Chengdu Ebyte Electronic Technology Co Ltd 34 About us Official hotline 4000 330 990 Tele 028 61399028 Support support cdebyte com Website https www cdebyte com Address Building B5 Mould I...

Отзывы: