Shenzhen Hi-Link Electronic Co., Ltd. HLK-B20 User Manual BLE 4.
Contents 1. Product description....................................................................................................................................... 1 1.1. Basic parameters................................................................................................................................ 1 2. Product Overview......................................................................................................................................... 2 2.1. Technical specifications..
HLK-B20 Shenzhen Hi-Link Electronic Co., Ltd. . Manual 1. Product description HLK-B20 is an new low-consumption Bluetooth BLE 4.2 control module made by Hi-Link. This product is a Bluetooth-compliant module based on universal serial interface. It has built-in BLE 4.2 protocol stack, which 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.
HLK-B20 Shenzhen Hi-Link Electronic Co., Ltd. . Manual 2. Product Overview 2.1. Technical specifications Table 2-1 Product Specifications Transfer Protocol Bluetooth standard : BLE 4.2 Supply voltage 0.9-3.6V Air speed 1Mbps Number of channels 40 Frequency Range 2400-2480MHZ Transmit power 4DB Receiving sensitivity -96dbm Received power 5.1ma Transmit power 4.
HLK-B20 Manual Shenzhen Hi-Link Electronic Co., Ltd. . 2.3. Block diagram UART 16MH z 3.3V PWM HLK-B20 SPI 1 IPEX Connector RAM(20K) GPIO I2C ADC Figure 2 HLK-B20 Module architecture diagram 2.4. Default pin function No. 1 2 3 4 5 6 7 8 9 10 11 12 13 Network name RSTN P07 P14 P10 P11 P12 P13 3V3 P31 P32 P17 P16 P34 Type I I/O I/O I/O I/O I/O I/O P I/O I/O I/O I/O I/O Function description Chip enable, high efficiency P07,SPI_NSS,PWM5 P14,PWM4 P10,PWM0 P11,PWM1 P12,PWM2 P13,PWM3 3.
HLK-B20 Manual Shenzhen Hi-Link Electronic Co., Ltd. . 14 15 16 17 18 19 20 P33 GND P02 P03 P04 P05 P06 I/O P I/O I/O I/O I/O I/O P33 GND P02,SCL P03,SDA P04,SPI_CLK P05,SPI_MOSI P06,SPI_MISO 21 P01 I/O Uart1_rxd 22 P00 I/O Uart1_txd GPIO GND GPIO,I2C GPIO,I2C GPIO,SPI GPIO,SPI GPIO,SPI Uart1, Transparent transmission serial port Uart1, Transparent transmission serial port 3.
HLK-B20 Manual Shenzhen Hi-Link Electronic Co., Ltd. . 4. Function description The module function is mainly to realize the mutual conversion of Bluetooth data and serial data. HLK-B20 MCU SERIAL COM1 Bluetooth device BLE Figure 4 Serial to BLE mode In this mode, the BLE Bluetooth device transmits the data to the HLK-B20 module via Bluetooth, and the HLK-B20 module sends the received data from the serial port.
HLK-B20 Manual Shenzhen Hi-Link Electronic Co., Ltd. . >Tes
HLK-B20 Shenzhen Hi-Link Electronic Co., Ltd. . Manual Command list as below: ver Module Version uart Serial port configuration default ble_name net_commit Restore factory setting Bluetooth name Submit configuration parameters reconn Restart the serial port service ble_status Bluetooth connection status Reboot Restart the system 8.1.1. Ver Function Firmware version query Format at+ver=?\r No Parameter 8.1.2.
HLK-B20 Shenzhen Hi-Link Electronic Co., Ltd. . Manual 8.1.5. ble_status Function Query Bluetooth connection status Format at+ ble_status =?\r 0: Not connected 1: Connected Parameter 8.1.6. ble_name Function Query Bluetooth connection status Format at+ ble_name =\r blename: Bluetooth name Parameter 8.1.7. default Function Restore factory setting Format at+ default =1\r No Parameter 8.1.8. Reboot Function Restart the system Format at+ reboot =1\r No Parameter 8/13
HLK-B20 . Shenzhen Hi-Link Electronic Co., Ltd. Manual 9. Configuration Tool Description Figure 7 Configuration 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 transparent mode 9: Restore factory settings 10.
HLK-B20 Shenzhen Hi-Link Electronic Co., Ltd. . Manual 11. Bluetooth data transmission Bluetooth data transmission is that after the Bluetooth connection is successful, the module will send the data received from the Bluetooth by the serial port, 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.
HLK-B20 . Shenzhen Hi-Link Electronic Co., Ltd. Manual 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.
HLK-B20 . Manual Shenzhen Hi-Link Electronic Co., Ltd. 12. Reflow soldering temperature curve When the module is over-fired, please 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 Upper temperature 125 135 zone Lower temperature 125 135 zone Conveyor speed: 70.
HLK-B20 Manual Shenzhen Hi-Link Electronic Co., Ltd. . Appendix A Document Revision History Version number 1.
2.2 List of applicable FCC rules FCC Part 15.247 2.6 RF exposure considerations This module certified that complies with RF exposure requirement under 5mm RF distance. 2.8 Label and compliance information FCC ID label on the final system must be labeled with “Contains FCC ID: 2AD56HLK-B20” or “Contains transmitter module FCC ID: 2AD56HLK-B20”. 2.9 Information on test modes and additional testing requirements Contact ShenZhen HaiLingKe Electronic co.
FCC Warning This device complies with Part 15 of the FCC Rules. Operation is subject to the following two conditions: (1) This device may not cause harmful interference, and (2) this device must accept any interference received, including interference that may cause undesired operation. NOTE 1: This product has been tested and found to comply with the limits for a Class B digital device, pursuant to Part 15 of the FCC Rules.