background image

Chengdu Ebyte Electronic Technology Co.,Ltd.

E104-BT51 User Manual

Copyright ©2012–2019

Chengdu Ebyte Electronic Technology Co.,Ltd.

3-28

0

Disabled

1

Enabled

Setting

AT+LOGMSG=[para]

+OK

Success

+ERR=[NUM]

Error

Description: It takes effect immediately, save when power off

6.40 Read IO input

Command

Response

Parameter

Query

AT+READGPIO?

+OK=[para]

para: 0~F

Description: It takes effect immediately

INPUTGPIO3, 2, 1, 00:00, which means that all collected data is low level, hexadecimal: 0, INPUTGPIO3, 2, 1, 0: 1001, which means
INPUTGPIO3, 0 is high level INPUTGPIO2, 1 bit Low level, hexadecimal: 9

6.41 Set and read IO output

Command

Response

Parameter

Query

AT+OUTGPIO?

+OK=[para]

para: 0~F

Hexadecimal code

Setting

AT+OUTGPIO=[para]

+OK

Success

+ERR=[NUM]

Error

Description: It takes effect immediately, save when power off

OUTGPIO3, 2, 1, 0: 0000, which means that they are all low level, and the hexadecimal number is 0; OUTGPIO3, 2, 1, 0: 1010, which
means that OUTGPIO3, 1 outputs high, OUTGPIO2, 0 output low, and the hexadecimal number is A.

6.42 Set and read PWM enable

Command

Response

Parameter

Query

AT+PWMx?

+OK=[para]

x:No.
para:
0 Disable PWM
1 Enable PWM

Setting

AT+PWMx=[para]

+OK

Success

+ERR=[NUM]

Error

Description: It takes effect immediately, save when power off. Foe example, setting PWM1 enabled: AT + PWM1 = 1

6.43 Set and query PWM output period

Command

Response

Parameter

Query

AT+PERIODx?

+OK=[para]

para: 10~100000 Unit us
x: No.

Setting

AT+PERIODx=[para]

+OK

Success

+ERR=[NUM]

Error

Description:

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

Страница 1: ...E104 BT51 User Manual CC2640R2F BLE5 0 Low power consumption Bluetooth to serial port module...

Страница 2: ...RATION 14 5 11 BROADCAST DATA CAN BE SWITCHED 14 5 12 CONFIGURATION OVER AIR 15 5 13 STATUS OR EVENT PRINTING 16 6 OPERATION COMMAND 16 6 1 AT COMMAND TEST 18 6 2 READ AND CONFIGURE BAUD RATE 18 6 3 R...

Страница 3: ...6 32 QUERY ENABLE DISABLE SERIAL PORT DELAY 26 6 33 RESTART COMMAND 26 6 34 RESTORE FACTORY 26 6 35 AUTHENTICATE CONFIGURATION OVER AIR PASSWORD 26 6 36 UPDATE AND QUERY CONFIGURATION OVER AIR PASSWOR...

Страница 4: ...r Manual Copyright 2012 2019 Chengdu Ebyte Electronic Technology Co Ltd 3 11 WELDING OPERATION GUIDANCE 43 11 1 REFLOW SOLDERING TEMPERATURE 43 11 2 REFLOW SOLDERING CURVE 44 12 RELATED MODELS 44 13 B...

Страница 5: ...automation home security personal health care smart appliances accessories and remote control automotive electronics lighting industry industrial internet smart data collection smart control etc The...

Страница 6: ...upply V 0 3 6 Voltage over 3 8V will cause permanent damage to module Blocking power dBm 10 Chances of burn is slim when modules are used in short distance Operating temperature 40 85 Industrial grade...

Страница 7: ...up no broadcast current Default 1570 Unit uA Wake up connection current Default 2301 Unit uA Connection interval is 1s Sleep connection current Default 259 1 Unit uA Connection interval is 1s Main par...

Страница 8: ...d 2 GND Ground connected to power supply reference ground 3 GND Ground connected to power supply reference ground 4 DIO_0 Input Output General IO port sensor controller see CC26xx manual for details r...

Страница 9: ...ed Baseboard button 25 DIO_19 Input Output INGPIO0 26 DIO_20 Input Output INGPIO1 27 GND Ground connected to power supply reference ground 28 DIO_21 Input Output INGPIO2 29 VCC Power supply 1 8 3 8V 3...

Страница 10: ...en up the WAKEUP SLEEP DIO_12 pin should be connected to a low level or a falling edge signal should be given to the pin in time If you need to switch between AT configuration mode and transparent tra...

Страница 11: ...nter the wakeup WAKEUP mode The WAKEUP SLEEP DIO_12 pin is initialized to a high level by default If no operation is performed on this pin the module powers on and enters the low power consumption SLE...

Страница 12: ...the GPIOG output refer to command 6 41 setting and read IO output 5 5 PWM Output The E104 BT51 module considers the comprehensiveness of the user s use and the level control mode may not meet the requ...

Страница 13: ...be tested to the detection pins DIO_23 DIO_24 and then ground the module 5 7 Battery voltage service The E104 BT51 module in order to enable the battery voltage to be obtained in a timely manner and...

Страница 14: ...the maximum battery voltage 6 47 Setting and querying the minimum battery voltage Note This module does not need to do voltage division or other operations just connect the positive electrode of the b...

Страница 15: ...may be a set MTU length that does not take effect after connection which is normal 5 10 UUID Configuration The module supports flexible UUID configuration You can command AT UUIDTYPE 1 to enable the...

Страница 16: ...the use of the mobile phone APP program BLE test tool to implement wireless configuration of the module without using the serial debugging assistant The E104 BT51 module supports configuration over ai...

Страница 17: ...command mode in the unconnected state At this time the serial data will be treated as AT commands the module is in the wake up mode when the module is connected if you want to configure AT you need t...

Страница 18: ...r E104 BT51 Default parameter Device name E104 BT51_V1 0 Broadcast data CDEBYTE Configuration over air password 123456 version No V1 0 IBC_Major 1027 IBC_Minor 507 2 byte service UUID 0xF0 0xFF 16 byt...

Страница 19: ...s PWM duty cycle 50us GPIO output Low level 0 6 1 AT Command test Command Response Parameter AT OK No Description No 6 2 Read and configure baud rate Command Response Parameter Query AT BAUD OK para p...

Страница 20: ...to take effect save when power off 6 5 Set and read serial data length Command Response Parameter Query AT DATALEN OK para para 2 3 2 Data length 7 3 Data length 8 Setting AT DATALEN para OK Success...

Страница 21: ...X 2 Length is no longer than 26bytes Setting AT ADVDATA1 para OK Success ERR NUM Error Description It takes effect on next broadcast do not save when power off can be sent as a string or hexadecimal F...

Страница 22: ...wer down Command Response Parameter Query AT NAME OK para para Broadcast device name Broadcast name is not larger than 25 bytes Setting AT NAME para OK Success ERR NUM Error Description It takes effec...

Страница 23: ...he minimum connection interval Command Response Parameter Query AT CONMININTV OK para para 6 3200 Example 8 8 1 25ms 10ms Setting AT CONMININT para OK Success ERR NUM Error Description It takes effect...

Страница 24: ...K para para 0 500 Setting AT CONLATENCY para OK Success ERR NUM Error Description It takes effect on next connection save when power off Note Delay times connection interval connection timeout Namely...

Страница 25: ...BONDEN OK para para 0 1 0 Binding disabled 1 Binding enabled Setting AT BONDEN para OK Success ERR NUM Error Description Restart to take effect save when power off 6 26 Read and set binding MAC Comman...

Страница 26: ...or example set the two byte UUID to FFFO 41 54 2B 55 55 49 44 53 56 52 3D F0FF For example the sixteen byte UUID is 11223344556677889900AABBCCDDEEFF 41 54 2B 55 55 49 44 53 56 52 3D FFEEDDCCBBAA009988...

Страница 27: ...a para 0 1 0 Disabled 1 Enabled Setting AT DELAYDATA para OK Success ERR NUM Error Description It takes effect immediately save when power off 6 33 Restart command Command Response Parameter AT RESET...

Страница 28: ...ponse Parameter Query AT TRANSPWR OK para para 0 9 0 21dBm 1 18dBm 2 15dBm 3 12dBm 4 9dBm 5 6dBm 6 3dBm 7 0dBm 8 1dBm 9 2dBm A 3dBm B 4dBm C 5dBm Setting AT TRANSPWR para OK Success ERR NUM Error Desc...

Страница 29: ...rameter Query AT OUTGPIO OK para para 0 F Hexadecimal code Setting AT OUTGPIO para OK Success ERR NUM Error Description It takes effect immediately save when power off OUTGPIO3 2 1 0 0000 which means...

Страница 30: ...can also be different 6 45 Query ADC sampling value Command Response Parameter Query AT ADCx OK para para 0 4096 x No Setting AT ADCx para OK Success ERR NUM Error Description 12 bit ADC acquisition o...

Страница 31: ...only notify This channel is the module receiving the serial data channel and returns to the Bluetooth host in a notified manner The maximum data length of a single packet is 251 bytes Description If...

Страница 32: ...onfiguration mode or use other software with serial port sending and receiving 1 Open XCOM V2 0 exe software find the corresponding serial port number open it and select the parameters according to th...

Страница 33: ...essful perform step 2 2 After successfully installing the APP in step 1 open BLE Scanner find the E104 BT51_V1 0 module and click E104 BT51_V1 0 to connect the module After the connection is establish...

Страница 34: ...nt transmission channel In the picture 1 is the notification channel 2 is the write channel and 3 is the configuration over air channel 4 After step 3 is successful click to enter service 1 and then c...

Страница 35: ...Chengdu Ebyte Electronic Technology Co Ltd E104 BT51 User Manual Copyright 2012 2019 Chengdu Ebyte Electronic Technology Co Ltd 8 34...

Страница 36: ...Electronic Technology Co Ltd 8 35 Open mobile APP notification Mobile APP receiving data 5 Click W button of service 2 as shown in step 3 to enter the write operation After editing the content click O...

Страница 37: ...Chengdu Ebyte Electronic Technology Co Ltd E104 BT51 User Manual Copyright 2012 2019 Chengdu Ebyte Electronic Technology Co Ltd 8 36 Mobile APP sending data...

Страница 38: ...k N button at service 3 to turn on the configuration over air notification function and then click W button to enter the configuration over air mode In the configuration over air password needs to be...

Страница 39: ...ctronic Technology Co Ltd E104 BT51 User Manual Copyright 2012 2019 Chengdu Ebyte Electronic Technology Co Ltd 8 38 After passing the password authentication of configuration over air Return OK to sta...

Страница 40: ...Manual Copyright 2012 2019 Chengdu Ebyte Electronic Technology Co Ltd 8 39 After successful password authentication you will get the returning message 0K At this point you can perform configuration ov...

Страница 41: ...lection pin 34 of the module to the battery to be tested After connecting the device according to Section 8 2 click Battery Service and then click N button under the service to enable the notification...

Страница 42: ...o Ltd 9 41 For details please refer to 6 46 Setting and Reading the Maximum Battery Voltage and 6 47 Setting and Querying the Minimum Battery Voltage 9 Hardware design It is recommended to use a DC st...

Страница 43: ...odule according to the strength of the interference If necessary appropriate isolation and shielding can be done Assume that there are traces with large electromagnetic interference high frequency dig...

Страница 44: ...or some parts are sensitive to humidity Please avoid using modules under too high or too low temperature 10 3 Bit error rate is too high When there are co channel signal interference nearby be away fr...

Страница 45: ...0 Aveage ramp down rate Tp to Tsmax Average descent rate 6 second max 6 second max Time 25 to peak temperature Time of 25 C to peak temperature 6 minutes max 8 minutes max 11 2 Reflow Soldering Curve...

Страница 46: ...X Hardware resources secondary development E104 BT01 CC2541 2 4G 0 I O 4 0 14 22 PCB Hardware resources secondary development E104 BT02 DA14580 2 4G 0 TTL 4 2 14 22 PCB Industry s lowest power consump...

Страница 47: ...2012 2019 Chengdu Ebyte Electronic Technology Co Ltd 14 46 consumption battery service transparent transmission PWM output IO output IO acquisition ADC acquisition 13 Batch packaging 14 Revision hist...

Страница 48: ...yright 2012 2019 Chengdu Ebyte Electronic Technology Co Ltd 15 47 15 About us Sales hotline 4000 330 990 Tel 028 61399028 Support support cdebyte com Website www ebyte com Address Innovation Center B3...

Отзывы: