background image

Ebyte Electronic Technology Co., Ltd                                                                                                                    E104-BT01 Usermanual 

 

Copyright ©2012–2019

Ebyte  Electronic Technology Co., Ltd

                                                                                                                                                             

 

17

 

 

Disconnect: Disconnection 

Note: Valid immediately  

5.2.22 AT+DATDLY  Query  and Set Data Output  Delay  command 

Command 

Response 

Parameter 

Query: AT+DATDLY? 

+OK=[para]

 

Para:0

1 ASCII 

0: Off 

1: On 

S et: AT+DATDLY=[para] 

+OK: S ucceed 

+ERR=[NUM]:  Error 

Note: Valid immediately,  power off preservation 

5.2.23 AT+MAC  Query  MAC command 

Command 

Response 

Parameter 

Query: AT+MAC? 

+OK=[para]

 

Para: 6 bytes M AC address HEX 

E.g.:  F0E1D2C3B4A5 

Note: Valid immediately, power off preservation 

5.2.24 AT+PEERMAC  Query  Connected  device  MAC command 

Command 

Response 

Parameter 

Query: AT+PEERMAC? 

+OK=[para]

 

Para: 6 bytes M AC address HEX 

E.g.:  F0E1D2C3B4A5 

Note: Valid immediately  

5.2.25 AT+BOND  Bonding  MAC Address on/off  command 

Command 

Response 

Parameter 

Query: AT+BOND? 

+OK=[para]

 

Para: 0,1 ASCII 

0: Off 

1: On 

S et: AT+BOND=[para] 

+OK: S ucceed 

+ERR=[NUM]:  Error 

Note: Valid immediately, power off preservation 

5.2.26 AT+BONDMAC    Query  and Set Bonging  MAC address command   

Command 

Response 

Parameter 

Query: AT+BONDMAC? 

+OK=[para]

 

Para: 6 bytes M AC address HEX 

E.g.:  F0E1D2C3B4A5 

S et: AT+BONDMAC=[para] 

+OK: S ucceed 

+ERR=[NUM]:  Error 

Note: Valid immediately, power off preservation 

Содержание CC2541

Страница 1: ...E104 BT01 CC2541 2 4GHz BLE 4 0 module ...

Страница 2: ...d rate command 13 5 2 5 AT STOPB Query and Set Serial Port Stop Bit command 13 5 2 6 AT ROLE Query and Set Bluetooth Role command 13 5 2 7 AT ADVEN Query and set the broadcast on off command 14 5 2 8 AT ADVDAT Query and Set Broadcast data command 14 5 2 9 AT ADVDAT1 Query and Set Broadcast data command not saved 14 5 2 10 AT ADVINTV Query and Set Broadcast interval command 14 5 2 11 AT IBCNUUID Qu...

Страница 3: ...ower on sleep command 18 5 2 32 AT DISCSLEEP Query and Set Sleep mode after disconnection command 19 5 2 33 AT SLEEP Immediately enter sleep mode command 19 5 2 34 AT LOGMSG Query and Set Running status output command 19 5 2 35 AT IO0 Read IO0 input command 19 5 2 36 AT IO1 Read IO1 input command 19 5 2 37 AT IO2 Set IO2 output command 20 5 2 38 AT IO3 Set IO3 output command 20 5 3 BLUETOOTH SERVI...

Страница 4: ... Internet and other fields The E104 BT01 module supports the Bluetooth 4 0 protocol After simple configuration it can establish a Bluetooth connection with the master which supports the Bluetooth 4 0 protocol to achieve transparent transmission of serial data 1 2 Features The module is a master slave integration which can realize the connection point to point and transparent transmission between m...

Страница 5: ... TTL it may be at risk of burning down Operating temperature 40 85 Industrial grade Operating frequency MHz 2379 2496 Support ISM band Power Consumption TX current mA 14 3 0dBm 3V RX current mA 14 7 3V Sleep current μA 0 5 Max TX power dBm 0 Receiving sensitivity dBm 93 5 94 94 5 Air data rate is 1M bps Air data rate bps 250k 2M Controlled via user s programming Slave broadcast sleep and no connec...

Страница 6: ...ce 70m Test condition clear and open area height 2 5m air data rate 250 kbps Transmitting length 20Byte Protocol BLE4 0 Communication Interface UART IO TTL supports secondary development Packaging SMD Interface size 1 27mm Size 14 22mm Antenna interface PCB Impedance 50Ω 3 Size and pin definition No Item Direct ion Description Remark 1 GND Ground Ground 2 VCC 3 3V Power supply must be2 0 3 6V 3 P2...

Страница 7: ...nerated 14 P1 1 Reserved 15 P1 0 Reserved 16 P0 7 O IO3 output The output stateof this pin can be controlled by theAT command see the introduction of theAT command for details 17 P0 6 O IO2 output The output stateof this pin can be controlled by theAT command see the introduction of theAT command for details 18 P0 5 I Disconnecting DISC Falling edge will disconnect thecurrent connection 19 P0 4 Re...

Страница 8: ...log routing and power routing must be avoided under the module If it is necessary to pass through the module assume that the module is soldered to the Top Layer and the copper is spread on the Top Layer of the module contact part well grounded it must be close to the digital part of the module and routed in the Bottom Layer Assuming the module is soldered or placed over the Top Layer it is wrong t...

Страница 9: ...he master to the feature channel MAST CHANNEL is invalid and the Bluetooth feature channel SLAVE CHANNEL will receive the prompt CONFIG BUSY indicating that the module is in the AT parameter configuration state and cannot transmit data 2 In configuration mode some configuration operations are not saved when power off see the AT command description for details Other operations will be saved when po...

Страница 10: ...by the command AT ROLE and be enabled after reset The slave role can realize Bluetooth broadcast and receive Bluetooth connection request the master role can realize broadcast scanning and establish Bluetooth connection the observer role can realize basic Bluetooth scanning and the broadcast package can be printed out through the serial port Note 1 Masterrole can be dynamically turned on or off th...

Страница 11: ...le 1B Configurable E g 0201061AFF4C0002155757572E434445425954452E434F4D0000010002D2 Note Please refer to AT command section for details 4 6 Air configuration 1 After the slave connection is established the master mobile APP sends an AT command via the Bluetooth service feature CONFIG CHANNEL which can configure the module parameters over air 2 Air configuration requires password authentication the...

Страница 12: ...ettings are restored the module will automatically reset The factory parameters are shown in the table below Common parameter Baud rate 19200bps Stop bit 1 Air configuration password 123456 Data output delay On Bluetooth binding Off MAC binding address 00 00 00 00 00 00 TX power 0dbm Working mode Wake up mode Low power after disconnection Off Role Slave Status printing Off Minimum connection inter...

Страница 13: ...ing instructions 1 Before sending the command first ensure that the module is in the wake up mode and in the configuration state otherwise the module will not be able to receive the configuration command 2 All AT commands do not need to add r or n 3 The return result of the AT command ends with r n 4 The response format of the command error is ERR NUM Item Description 1 Unrecognized command 2 Inco...

Страница 14: ...ery AT BAUD OK para Para 0 4 ASCII 0 9600 1 19200 2 38400 3 57600 4 115200 Set AT BAUD para OK Succeed ERR NUM Error Note Valid after reset 5 2 5 AT STOPB Query and Set Serial Port Stop Bit command Command Response Parameter Query AT STOPB OK para Para 0 1 ASCII 0 1 stop bit 1 2 stop bit Set AT STOPB para OK Succeed ERR NUM Error Note Valid after reset power off preservation 5 2 6 AT ROLE Query an...

Страница 15: ... Valid when next broadcast power off preservation 5 2 9 AT ADVDAT1 Query and Set Broadcast data command not saved Command Response Parameter Query AT ADVDAT1 OK para Para No more than26 bytes HEX Set AT ADVDAT1 para OK Succeed ERR NUM Error Note Valid when next broadcast power off not preservation 5 2 10 AT ADVINTV Query and Set Broadcast interval command Command Response Parameter Query AT ADVINT...

Страница 16: ... immediately power off preservation 5 2 14 AT IBCNRSSI Query and Set iBeacon RSSI command Command Response Parameter Query AT IBCNRSSI OK para Para 1 byteHEX Set AT IBCNRSSI para OK Succeed ERR NUM Error Note Valid immediately power off preservation 5 2 15 AT NAME Query and Set Broadcast device name command Command Response Parameter Query AT NAME OK para Para No more than 22 bytes HEX Set AT NAME...

Страница 17: ... AT CONMAX OK para Para ASCII Range 6 3200 E g 8 8 1 25ms 10ms Set AT CONMAX para OK Succeed ERR NUM Error Note Valid when next connection power off preservation The maximum connection interval must be no less than the minimum connection interval 5 2 19 AT CONTO Query and Set Connection timeout command Command Response Parameter Query AT CONTO OK para Para ASCII Range 100 3200 E g 500 500 10ms 5s ...

Страница 18: ... g F0E1D2C3B4A5 Note Valid immediately power off preservation 5 2 24 AT PEERMAC Query Connected device MAC command Command Response Parameter Query AT PEERMAC OK para Para 6 bytes MAC address HEX E g F0E1D2C3B4A5 Note Valid immediately 5 2 25 AT BOND Bonding MAC Address on off command Command Response Parameter Query AT BOND OK para Para 0 1 ASCII 0 Off 1 On Set AT BOND para OK Succeed ERR NUM Err...

Страница 19: ...tion authentication password command Command Response Parameter Query AT AUTH OK Succeed ERR NUM Error Para 6 bytes password ASCII HEX Set AT AUTH para OK Succeed ERR NUM Error Note 1 Valid when next connection power off preservation 2 Password cannot be modified before authentication succeeding 3 This command is only used in the air configuration 5 2 30 AT PWR Query and Set TX power command Comma...

Страница 20: ...preservation 5 2 33 AT SLEEP Immediately enter sleep mode command Command Response Parameter Query AT SLEEP OK None Note Valid immediately 5 2 34 AT LOGMSG Query and Set Running status output command Command Response Parameter Query AT LOGMSG OK para Para 0 1 ASCII 0 Off 1 On Set AT LOGMSG para OK Succeed ERR NUM Error Note Valid immediately power off preservation 5 2 35 AT IO0 Read IO0 input comm...

Страница 21: ... IO keeps the set level after the next power on 5 3 Bluetooth service 6 Quick Start 6 1 Transparent transmission between Mobile phone App and module Use Android phone system version 4 3 or above or Apple IPHONE 4s or above or Ipad with BLE function to connect and communicate with the module Take an Android phoneas an example 1 Download and install the BLE Test Tool App on your Android phone 2 Open...

Страница 22: ...Ltd 21 3 Click the device to connect you can enter the service list interface of theBluetooth device 4 Click on the service with UUID 0000fff0 you can see three channels fff1 fff2 fff3 5 Click the fff1 channel and click Start Notification At this time open the serial debugging tool and send 0123456789 to see ...

Страница 23: ...sermanual Copyright 2012 2019 Ebyte Electronic Technology Co Ltd 22 the received data on the fff1 channel interface 6 Click the fff2 channel and click Write fill in and send 0123456789 you can see the received data in the serial debugging interface ...

Страница 24: ...s 1 Android operating system softwareBLE_Scanner 2 Open BLE_Scanner scan thenearly broadcast device find thedevice named E104 BT01 in thedevice list click CONNECT to connect find and click theservice with UUID FFF0 3 First click the N icon in the upper right corner of the FFF3 service then click the W icon write AT AUTH 123456 in the pop up window then click OK ...

Страница 25: ...rmanual Copyright 2012 2019 Ebyte Electronic Technology Co Ltd 24 4 When is returned at value it means that the air configuration authentication is successful At this time in the FFF3 service all theAT commands can be input after clicking the W icon ...

Страница 26: ...t MCU GPIO 7 P1 6 Input Output MCU GPIO 8 SCL Input Output I2C clock 9 SDA Input Output I2C data 10 P1 5 Input Output MCU GPIO 11 P1 4 Input Output MCU GPIO 12 P1 3 Input Output MCU GPIO 13 P1 2 Input Output MCU GPIO 14 P1 1 Input Output MCU GPIO 15 P1 0 Input Output MCU GPIO 16 P0 7 Input Output MCU GPIO 17 P0 6 Input Output MCU GPIO 18 P0 5 Input Output MCU GPIO 19 P0 4 Input Output MCU GPIO 20 ...

Страница 27: ... will be poor when testing near the sea The signal will be affected when the antenna is near metal object or put in a metal case Power register was set incorrectly air data rate is set as too high the higher the air data rate the shorterthe distance The power supply low voltage under room temperature is lower than 2 5V the lower the voltage the lower the transmitting power Due to antenna quality o...

Страница 28: ...Solder Paste Solder paste Sn63 Pb37 Sn96 5 Ag3 Cu0 5 Preheat Temperaturemin Tsmin Min preheating temp 100 150 Preheat temperaturemax Tsmax Mx preheating temp 150 200 Preheat Time Tsmin to Tsmax ts Preheating time 60 120 sec 60 120 sec Average ramp up rate Tsmax to Tp Average ramp up rate 3 second max 3 second max Liquidous Temperature TL Liquid phasetemp 183 217 Time tL Maintained Above TL Time be...

Страница 29: ...X Hardware resources secondary development E73 2G4M04S1A nRF52810 2 4G 4 I O 4 2 5 0 17 5 28 7 PCB IPX Hardware resources secondary development E73 2G4M04S1B nRF52832 2 4G 4 I O 4 2 5 0 17 5 28 7 PCB IPX Hardware resources secondary development E73 2G4M08S1C nRF52840 2 4G 8 I O 4 2 5 0 13 18 PCB IPX Hardware resources secondary development E73 2G4M04S1D nRF51822 2 4G 4 I O 4 2 17 5 28 7 PCB IPX Ha...

Страница 30: ...ronic Technology Co Ltd 29 E104 BT02 DA14580 2 4G 0 TTL 4 2 14 22 PCB Low power consumption High speed transmission E72 2G4M04S2B CC2640 2 4G 2 TTL 4 2 14 23 PCB IPX Built in ARM Multi rolemode E104 2G4U04A CC2540 2 4G 0 USB 4 0 18 59 PCB Dongle Protocol analyzer 11 Batch packaging method ...

Страница 31: ...pdate Huaa 1 4 2018 5 11 Content update Huaa 1 5 2018 8 4 Content update Huaa 1 6 2018 11 5 Content update Huaa 1 7 2019 2 20 Error correction Ray 1 8 2019 3 11 Version update All About us Technical support support cdebyte com Documents and RF Setting download link www ebyte com Thank you for using Ebyte products Please contact us with any questions orsuggestions info cdebyte com Fax 028 64146160 ...

Отзывы: