HLK-B50 Shenzhen Hi-Link Electronic Co., Ltd Use manual Content Terminology, terminology explanation ..............4 1 Product function introduction .................5 2 Pin definition ......................5 3 Typical application circuits ..................7 4 Basic function description ..................8 4.1 Transparent transmission principle ..............8 4.2 Operating modes of the module (pass-through and AT command modes) ..9 4.3 Input and output pin function descriptions ............10...
Page 3
HLK-B50 Shenzhen Hi-Link Electronic Co., Ltd Use manual Chart Index Table 1 Terminology name explanation table ..............4 Table 2 Pin definition table .....................7 Table 3 Input and output pin function descriptions ............10 Table 4 Bluetooth pass-through service UUID default value ........10 Table 5 AT command list and description ..............17...
HLK-B50 Shenzhen Hi-Link Electronic Co., Ltd Use manual Terminology, terminology explanation Name Explanatory notes Transmission Transparent transmission, forwarding data between Bluetooth and serial port as is Bluetooth Bluetooth, a short-range wireless communication technology Bluetooth Low Energy, low Power Bluetooth, a new Bluetooth specification with lower power...
HLK-B50 is a BLE5.0 dual-mode Bluetooth-serial port pass-through module developed and produced by Hi-Link Electronics, which can support both Bluetooth SPP and GATT pass-through, and various devices with serial ports can use Bluetooth wirelessly to send and receive data simply and quickly through this module.
Page 6
HLK-B50 Shenzhen Hi-Link Electronic Co., Ltd Use manual Pins Symbols IO types Function Module pass-through serial output Module pass-through serial input Reserved function, not used Reserved function, not used Reserved function, not used Reserved function, not used Reserved function, not used...
HLK-B50 Shenzhen Hi-Link Electronic Co., Ltd Use manual Pins Symbols IO types Function Reserved function, not used Reserved function, not used Bluetooth connection status output, high level: not connected, low level: connected Bluetooth connection status output, high level: not connected, low...
Bluetooth connection how to achieve, and HLK-B50 module from the beginning to the end only The HLK-B50 module only carries out the original data handling and forwarding without parsing and processing the data transmitted by the user, so the user can safely and conveniently use this transparent transmission capability.
4.2 Operating modes of the module (pass-through and AT command modes) The HLK-B50 module has two operating states: pass-through mode and AT command mode. In AT command mode, you can send AT command to the module through serial port to query and set the parameters of the module.
HLK-B50 Shenzhen Hi-Link Electronic Co., Ltd Use manual 4.3 Input and output pin function descriptions Name Chip pin Description Active high, external 10K pull-down resistor required Reset button input RESET Input high level module to restart the module Internal has been pulled up, pull down action;...
5.2 Quickly verify Bluetooth serial pass-through functionality Our company has developed a special cell phone Bluetooth pass-through test APP for this module, so that users can use it. please refer to "HLK-B50 Bluetooth pass-through module cell phone APP instructions" for APP introduction and usage instructions.
Page 12
HLK-B50 Shenzhen Hi-Link Electronic Co., Ltd Use manual Connect the module to the test base correctly, and connect the test base to the computer via USB cable. Open the corresponding serial port on the computer with the serial debugging tool.
HLK-B50 Shenzhen Hi-Link Electronic Co., Ltd Use manual Module serial port Mobile App side Figure 6 Serial port and APP pass-through data testing 6 AT command 6.1 AT command format description All AT command contents are in ASCII string format, and commands end with a carriage return newline character.
HLK-B50 Shenzhen Hi-Link Electronic Co., Ltd Use manual Set-up class command: Send Answer AT+<CMD>=<val>\r\n Set up successfully: AT+<CMD>=<val>\r\n OK\r\n Or set up failure: AT+<CMD>=<val>\r\n ERROR\r\n \r\n stands for ASCII code: 0x0D 0x0A 6.2 List and description of AT commands Command...
Page 15
HLK-B50 Shenzhen Hi-Link Electronic Co., Ltd Use manual Send Answer AT+BAND=? AT+BAND=115200 1200,2400,4800,9600,14400, Serial port baud 19200,38400,57600,115200,2 BAND rate 30400,460800,921600 Send Answer Default value: 115200 AT+BAND=230400 AT+BAND=230400 6~3200,unit 1.25ms, i.e. Send Answer 7.5~4000ms, AT+CONNI=? AT+CONNI=24 Default value: 24 Bluetooth The smaller the transceiver,...
Page 16
HLK-B50 Shenzhen Hi-Link Electronic Co., Ltd Use manual Send Answer AT+SCANMODE=? AT+SCANMODE=0 0 Connect via MAC address Connection 1 Connection via bluetooth scanning method SCANMODE name Send Answer in host mode Default value: 0 AT+SCANMODE=1 AT+SCANMODE=1 Send Answer AT+PEERMAC=? AT+PEERMAC=AAB...
Page 17
HLK-B50 Shenzhen Hi-Link Electronic Co., Ltd Use manual Write feature UUID in pass- 32 hexadecimal numbers through service Default value: UUIDW (sent by APP, 0000fff200001000800000805 received by f9b34fb module) Proactively Send Answer disconnect all AT+DISCONN= AT+DISCONN=1 current bluetooth DISCONN connections to...
You can check and set the parameters of the module through Bluetooth wireless in the cell phone APP, please refer to "HLK-B50 Bluetooth Transparent Module Please refer to the "HLK-B50 Bluetooth Transparent Module Mobile Phone APP Instructions" for detailed operation.
Page 19
FCC Caution: Any Changes or modifications not expressly approved by the party responsible for compliance could void the user's authority to operate the equipment. 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.
Page 20
Information on test modes and additional testing requirements a) The modular transmitter has been fully tested by the module grantee on the required number of channels, modulation types, and modes, it should not be necessary for the host installer to re‐test all the available transmitter modes or settings.
Need help?
Do you have a question about the HLK-B50 and is the answer not in the manual?
Questions and answers