Hi-Link HLK-B20 User Manual Download Page 6

4

/13

.

Shenzhen Hi-Link Electronic Co., Ltd.

Manual

HLK-B20

14

P33

I/O P33

GPIO

15

GND

P

GND

GND

16

P02

I/O P02,SCL

GPIO,I2C

17

P03

I/O P03,SDA

GPIO,I2C

18

P04

I/O P04,SPI_CLK

GPIO,SPI

19

P05

I/O P05,SPI_MOSI

GPIO,SPI

20

P06

I/O P06,SPI_MISO

GPIO,SPI

21

P01

I/O Uart1_rxd

Uart1, Transparent transmission serial

port

22

P00

I/O Uart1_txd

Uart1, Transparent transmission serial

port

3. Test board description

The test board is mainly used to test the data transmission function of the HLK-B20's Bluetooth 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 already in factory mode can skip this step. Provide 5V (1000mA) power supply to
power on the module, wait for about 1 second, let the module start up. After the startup is completed,
pull down the ES0 (PIN5) pin for more than 6S. When the LED corresponding to the STA is always
on, it means that the module is restored the factory settings successfully, then release the ES0 pin,
the system will automatically restart. The system is already in factory mode after rebooting.

RST

HLK-B20

USB to serial

port

ES0

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: