Hi-Link HLK-B20 User Manual Download Page 8

6

/13

.

Shenzhen Hi-Link Electronic Co., Ltd.

Manual

HLK-B20

>Tes

RESET

<Trst

t

AT Command

Figure 6. RST Exit transparent mode

Notes: Tes=100ms, Trst=6s

6. Led light indication meaning

The status of the led connection module's P02 pin, corresponding to the sta led on the test board:
* Double flash: Bluetooth is not connected, and is in transparent mode
* Triple flash: AT command mode
* Long extinction or fast flash: Bluetooth is connected, it will flash quickly when there is transparent

data transmission

7. Parameter configuration method

The module configuration is mainly configured through the serial port AT command.To configure

parameters through the serial AT command, you need to let the module enter the AT command mode
first.The serial port configuration tool HLK-B20_CONFIG, that configures the module through the AT
command mode, through the parameters of each configuration combinations, provides a simple and
convenient configuration process.

8. Serial port AT command configuration

8.1. AT instruction format

In AT mode, system parameters can be configured through the AT command of

the serial port. The format of the instruction is as follows: at+[command]=[value]\r

Different return values of the module will be returned depending on the different

command.
Example: "at+ble_name=blename\r" sets the module broadcast address to blename.
Example: "at+ver=?\r" queries the module program version number.

Summary of Contents for HLK-B20

Page 1: ...Shenzhen Hi Link Electronic Co Ltd HLK B20 User Manual BLE 4 2 wireless module...

Page 2: ...5 Serial port working state conversion 5 6 Led light indication meaning 6 7 Parameter configuration method 6 8 Serial port AT command configuration 6 8 1 AT instruction format 6 8 1 1 Ver 7 8 1 2 Uar...

Page 3: ...h can realize data conversion between user serial port and Bluetooth interface 1 1 Basic parameters High speed ARM9E core MCU 2 4G 1T1R BLE 4 2 160k programming space 20KB RAM Power supply voltage 0 9...

Page 4: ...Transmit power 4DB Receiving sensitivity 96dbm Received power 5 1ma Transmit power 4 5ma Antenna type External internal antenna Other parameters Status indicator Status indication Environmental standa...

Page 5: ...ype Function description Default features 1 RSTN I Chip enable high efficiency CPU reset 2 P07 I O P07 SPI_NSS PWM5 GPIO SPI PWM 3 P14 I O P14 PWM4 GPIO PWM 4 P10 I O P10 PWM0 GPIO PWM 5 P11 I O P11 P...

Page 6: ...h and serial ports Figure 3 HLK B20 module test board 3 1 Restore factory settings To ensure that all configuration procedures are correct first reset the module to factory settings Modules that are a...

Page 7: ...uetooth device connected the HLK B20 will turn off the broadcast of the Bluetooth name and other Bluetooth devices will no longer be able to connect to the HLK B20 5 Serial port working state conversi...

Page 8: ...rt AT command To configure parameters through the serial AT command you need to let the module enter the AT command mode first The serial port configuration tool HLK B20_CONFIG that configures the mod...

Page 9: ...e system 8 1 1 Ver Function Firmware version query Format at ver r Parameter No 8 1 2 Uart Function Serial port configuration settings Format at uart baud data parity stop r Parameter Baud Baud rate D...

Page 10: ...le_status r Parameter 0 Not connected 1 Connected 8 1 6 ble_name Function Query Bluetooth connection status Format at ble_name blename r Parameter blename Bluetooth name 8 1 7 default Function Restore...

Page 11: ...n tool 1 Command window to be sent 2 Serial port number selection 3 Bluetooth name setting 4 Serial port parameters 5 Serial port return command 6 Submit configuration 7 Query configuration 8 Enter tr...

Page 12: ...and the data received from the module serial port will be sent out by the Bluetooth The module Bluetooth function only supports Bluetooth 4 2 Install the Bluetooth mobile phone test software HLK BLE...

Page 13: ...ronic Co Ltd Manual HLK B20 Then input the sent data in the send box click Send the data will be received on the serial port and the data sent by the serial port will be received on the app Figure 11...

Page 14: ...strictly follow this temperature curve If the temperature deviation of the reflow soldering is too large the module will be damaged Temperature setting degrees Celsius Warm zone 1 2 3 4 5 6 7 8 Upper...

Page 15: ...13 13 Shenzhen Hi Link Electronic Co Ltd Manual HLK B20 Appendix A Document Revision History Version number Revision Scope Date 1 00 2019 4 15...

Page 16: ...nal testing Part 15 Subpart B disclaimer To ensure compliance with all non transmitter functions the host manufacturer is responsible for ensuring compliance with the module s installed and fully oper...

Page 17: ...ipment into an outlet on a circuit different from that to which the receiver is connected Consult the dealer or an experienced radio TV technician for help NOTE 2 Any changes or modifications to this...

Reviews: