background image

Chengdu Ebyte Electronic Technology Co.,Ltd.

E104-BT40 User Manual

Copyright ©2012–2019

Chengdu Ebyte Electronic Technology Co.,Ltd.

4-11

3. Print “STA

connected” after the module is successfully connected, and the LINK pin is low.

4. Mobile phone app or open serial port to start data transparent transmission.

4.3.2 BLE Data transparent transmission

1.Power on the module and enable serial port printing (AT + LOGMSG = 1);
2. Open nRF connect, search for the Bluetooth name: CDEBYTE_BLE, connect, serial port print STA: connect: [mac]

Diagram 4-6 Search for BLE device

3. Find "Unknown Service", open the notification, SSCOM sends "1234567890"

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

Страница 1: ...E104 BT40 User Manuel Dual mode Bluetooth Module V4 2 Protocol...

Страница 2: ...NT PRINTING 13 5 4 CLASSIC BLUETOOTH PAIRING 13 5 5 UUID DESCRIPTION 14 5 6 PACKAGE MECHANISM 14 6 AT COMMAND 15 6 1 DEFAULT PARAMETERS 15 6 2 COMMAND DESCRIPTION 15 6 3 AT COMMAND ERROR CODE DESCRIPT...

Страница 3: ...SSKEY Enter pairing key 25 6 4 27 AT CONFIRM Classic Bluetooth password verification 25 6 4 28 AT AUTH Air configuration password verification 25 6 4 29 AT UPDAUTH Reset authentication password 26 6 4...

Страница 4: ...itional low end serial devices or MCU controlled devices can perform wireless data transmission It is a low cost simple and reliable data transmission module 1 2 Features Bluetooth Specification V4 2...

Страница 5: ...n Typ Max Operating voltage V 2 5 3 3 3 6 3 3 V ensures output power Communication level V 3 3 For 5V TTL it may be at risk of burning down Operating temperature 40 85 Frequency MHz 2400 2480 Power co...

Страница 6: ...nition Direction Function Description 1 GND Power supply Power supply reference 2 TXD Output Serial data transmission Module outputs serial data to external 3 RXD Input Serial data reception Module re...

Страница 7: ...are wave Bluetooth is connected Low level 25 MODE Input Mode selection High level configuration mode Low level transparent transmission mode 26 DISC Input Disconnection Internal pull up valid on falli...

Страница 8: ...ommand mode can be entered by pulling the MODE pin low and return to transparent transmission mode by pulling the MODE pin high Set related configuration of the serial tool default configuration 11520...

Страница 9: ...logy Co Ltd 4 8 4 2 Configuration over air Configuration over air can be used only when BLE role is connected Open the APP nRF connect start scanning the device find the device CDEBYTE_BLE and connect...

Страница 10: ...onnect and open channel write Send authentication command AT AUTH 123456 the module returns 0x2B 4F 4B 0D 0A to indicate that the authentication is successful Diagram 4 4 RF connect Aerial configurati...

Страница 11: ...s case please limit the set value to a reasonable length 4 3 Data transmission Module powered on classic Bluetooth and BLE are both discoverable Please refer to section 5 2 for data transmission preca...

Страница 12: ...LINK pin is low 4 Mobile phone app or open serial port to start data transparent transmission 4 3 2 BLE Data transparent transmission 1 Power on the module and enable serial port printing AT LOGMSG 1...

Страница 13: ...Co Ltd E104 BT40 User Manual Copyright 2012 2019 Chengdu Ebyte Electronic Technology Co Ltd 4 12 Diagram 4 7 nRF connect Open notifications and receive data 4 nRF connect sends asdfghjkl Diagram 4 8...

Страница 14: ...module is always in configuration mode The MODE pin is invalid at this time After connected successfully determine whether the module is currently in configuration mode or data transmission mode base...

Страница 15: ...ASCII code and sends it to the module The module prints CONFIRM 6 digit ASCII code through the serial port After confirming they are the same enter AT COMFIRM YES to establish the connection or AT COM...

Страница 16: ...ff Any baud rate setting of serial port Off SPP name CDEBYTE_SPP BLE name CDEBYTE_BLE Pairing code 1234 Pairing mode 1 no input output Two way output IO Low level Two way PWM Off Enable MAC binding Of...

Страница 17: ...rect example AT BAUD Compare command and determine operation 4 Unconnected Module is not connected 5 Turn off any baud rate setting is not allowed Turn off the baud rate arbitrarily before setting the...

Страница 18: ...Restart to take effect After setting successfully restart immediately 2 In the process of restoring the factory settings any kind of reset is prohibited and the power off is prohibited before the oper...

Страница 19: ...9600 2 14400 3 19200 4 28800 5 38400 6 57600 7 76800 8 115200 Default Turn on any baud rate setting default is off para ASCII Any integer value between 4800 and 115200 including 4800 and 115200 Descri...

Страница 20: ...t V1 0 6 4 8 AT SPPNAME SPP Name Command Response Query AT SPPNAME OK para Setting AT SPPNAME para ERR NUM Error Parameter para ASCII code SPP name Factory default CDEBYTE_SPP Description 1 It takes e...

Страница 21: ...30 EE 51 35 DA 6 4 11 AT PAIRMODE Classic Bluetooth pairing mode Command Response Query AT PAIRMODE OK para Setting AT PAIRMODE para OK Success ERR NUM Error Parameter para ASCII Description 0 Pin cod...

Страница 22: ...ower off 2 After the next power on the IO remains at this level Example Command AT P02 1 Response OK 6 4 14 AT P03 P03 Output Command Response Setting AT P03 para OK Success ERR NUM Error Parameter pa...

Страница 23: ...OK Success ERR NUM Error Parameter para 0 100 ASCII 0 turn off PWM Default Description Takes effect immediately save when power off The parameter output PWM will maintain at the next power on Example...

Страница 24: ...20 AT LOGMSG Running status output Command Response Query AT LOGMSG OK para Setting AT LOGMSG para OK Success ERR NUM Error Parameter para ASCII Description 0 Off Default 1 On Description Takes effec...

Страница 25: ...ng enable Command Response Query AT BOND OK para Setting AT BOND para OK Success ERR NUM Error Parameter para ASCII Description 0 Binding off Default 1 Binding on Description Takes effect immediately...

Страница 26: ...Example Command AT PASSKEY 123456 Response OK 6 4 27 AT CONFIRM Classic Bluetooth password verification Command Response Setting AT CONFIRM para OK Success ERR NUM Error Parameter Para ASCII code YES...

Страница 27: ...haracteristic UUID para3 MASTER CHANNEL Characteristic UUID para3 Air configuration channel Characteristic UUID 6 4 31 AT UUIDSVR Bluetooth service UUID Command Response Setting AT UUIDSVR para OK Suc...

Страница 28: ...long term stable operation of the whole module The module should be as far away as possible from the power supply transformers high frequency wiring and other parts with large electromagnetic interfer...

Страница 29: ...ectly 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 i...

Страница 30: ...temperature max Tsmax Maximum preheating temperature 150 200 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 s...

Страница 31: ...ch packaging Revision history Version Date Description Issued by 1 0 2019 11 28 Initial version Li Kai 1 1 2019 11 29 Format adjustment Ren About us Sales hotline 4000 330 990 Tel 028 61399028 Support...

Отзывы: