Advertisement

Quick Links

Shenzhen HI-Link Electronic Co.,Ltd
HLK-B32 User Manual

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the HLK-B32 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Hi-Link HLK-B32

  • Page 1 Shenzhen HI-Link Electronic Co.,Ltd HLK-B32 User Manual...
  • Page 2: Table Of Contents

    Content 1. Product Profile ................................1 1.1 Overview ............................... 1 1.2 Product Characteristics ..........................1 1.3 Product Packaging ............................1 1.4 Technical Specifications ..........................2 1.5 Pins Introduction ............................3 2. Functional Description ............................... 4 2.1 WiFi Indicator Flashing Description ......................4 2.2 Wifi Connection Status Indicator Pin ......................5 2.3 Socket Connection Status Indicator Pin ......................5 2.4 One-click Distribution Mode ........................
  • Page 3 4.1 Introduction of Serial Port Upgrade Method ....................17 4.1.1 Open Serial Port Upgrade Software ....................17 4.1.2 Start to Upgrade ..........................18 4.2 Introduction of Network Upgrade Methods ....................18 4.2.1 Router Connection ..........................18 4.2.2 Lookup Module IP ........................... 18 5. Electrical Specification .............................21 5.1 Electric Parameter ............................
  • Page 4: Product Profile

    , built-in TCP/IP protocol stack, can realize the user serial port-wireless network (WIFI) conversion. Through the HLK-B32 module, the traditional serial device can transmit its own data through the Internet network without changing any configuration, which provides a complete and fast solution for the user's serial port device to transmit the data through the network.
  • Page 5: Technical Specifications

    1.4 Technical Specifications Table 1 Product Technical specifications Model HLK-B32 Module Plug-in Package 2.4G 802.11 b/g/n; 5G 802.11 a Wireless standard 2.4G wifi: 2412MHz-2462MHz; Frequency range 5G Wi-Fi: 5150-5250MHz; 5250-5350MHz; 5470-5725MHz; 5725-5850MHz 802.11b: 15.85dBm (@1Mbps) 802.11g: 16.85dBm (@6Mbps) Transmitting power 802.11n20: 13.69dBm;...
  • Page 6: Pins Introduction

    1.5 Pins Introduction Table 2 Module pin interface Network Name Type Description Ground External power supply pin: 3.3V@ 200mA ES0 pin, pull down 1 second, serial 0 into AT command mode; GPIO0 Pull down ≥ 8 seconds, restore factory default parameter settings...
  • Page 7: Functional Description

    GPIO59 SOCKET connection status indication GPIO58 WIFI connection status indication Serial port 0 input for transparent transmission and at command UART_RXD0 setting Serial port 0 output, used for transparent transmission and at UART_TXD0 command setting, need to be pulled low or left hanging UART_RXD1 Serial port 1 input SYS_RST_N...
  • Page 8: Wifi Connection Status Indicator Pin

    mode and the target ap hotspot is not connected. (3) The wifi indicator flashes fourthly periodically: indicates that the module is in 2.4g ap mode, but it does not indicate whether there is a sta client device connected. (4) The wifi indicator flashes periodically: indicates that the module is in the 5.8g ap mode, but it does not indicate whether there is a sta client device connected.
  • Page 9: Web Distribution Function

    Figure 2. One-click distribution network 2.5 Web Distribution Function When the module is in ap mode, input 192.168.16.254 in the browser, and then input the account and password admin, later enter the web page setting interface. (Default factory firmware is not supported) Figure 3.
  • Page 10: Serial To Wifi Sta

    module's web page setup function. 2.6 Serial to WIFI STA Figure 4. Module as STA The module converts the serial port data into wifi data to achieve the purpose of networking.
  • Page 11: Serial Port Working State Conversion

    2.7 Serial Port Working State Conversion After the HLK-B32 is powered on, the default mode is transmission mode. By pulling down the pin ES0 (GPIO0) to enter at instruction mode longer than 50ms, the module will process the received data as at instructions, send at instructions to let the module into transparent mode, After the network connection, the data received by the serial port will be transmitted as transparent data.
  • Page 12: Module As Tcp Client

    2.8.2 Module as TCP Client TCP Server TCP Client Figure 10. TCP Client In this mode, the module will actively connect to the specified IP, port, all the data sent from the TCP Server end is sent directly to the serial port, and the data from the serial port to the TCP Server side.
  • Page 13: Module As Udp Client

    2.8.4 Module as UDP Client UDP Server UDP Client Figure 12. UDP Client In this mode, the module sends the serial port data directly to the specified ip, port, and the data returned from the server will be sent to the serial port. 2.9 Application Areas ...
  • Page 14: Query Current Module Version: At+Ver

    All commands begin with "at" and "\ r" end. If the command is not encapsulated in this format, it will not be processed and will return a different return value depending on the command module. For example:“at+ver=?” Module will return: HLK-B32 (V1.00 (Nov 30 2017) Query instruction format: at+[command]=? 3.1 Query Current Module Version: at+ver...
  • Page 15: Set Up Serial Port: At+Uart

    3.3 Set up Serial Port: at+uart Command Type Grammar Return and description at+uart=115200,8,n,1 at+uart=115200,8,n,1 Description: Set up serial Port parameters at+uart=? Query Command at+uart=? 115200,8,n,1 Description:query serial port parameters 3.4 Set up DHCP: at+dhcpc Command Type Grammar Return and description at+dhcpc=1 at+dhcpc=1 at+dhcpc=?
  • Page 16: Set Up Remote Ip When Modules Work As Client: At+Remoteip

    3.7 Set up Remote IP When Modules Work as Client: at+remoteip Command Type Grammar Return and description at+remoteip=192.168.11.102 at+remoteip=192.168.11.102 Description: set the remote ip of the mode at+remoteip=? Query Command at+remoteip=? 192.168.11.102 Description: query remote ip 3.8 Set up Remote Port When Module Act as Client: at+remoteport Command Type Grammar Return and description...
  • Page 17: Set Up Socket Connection Protocol: At+Remotepro

    3.11 Set the Module's ssid and Password: at+wifi_conf Command Type Grammar Return and description at+wifi_conf=HI-LINK_5FE8,none,12345678 at+wifi_conf=HI-LINK_5FE8,n one,12345678 Description: set the ssid and password of the module at+wifi_conf=? Query Command at+wifi_conf=? HI-LINK_5FE8,none,12345678 Description: Query the ssid and password of the module 3.12 Set up Socket Connection Protocol: at+remotepro Command Type Grammar...
  • Page 18: Query Module Mac Address: At+Get_Mac

    3.15 Query Module MAC Address: at+Get_MAC Command Type Grammar Return and description at+Get_MAC=? at+Get_MAC=? Query Command 40:D6:3C:15:5F:E8 40:D6:3C:15:5F:E8 Description: query module mac address 3.16 Set the Frame Length: at + uartpacklen Command Type Grammar Return and description at+uartpacklen=64 at+uartpacklen=64 Description:Set the frame length of the module to 64 bytes at+uartpacklen=? Query Command at+uartpacklen=?
  • Page 19: Upgrade Introduction

    4. Upgrade Introduction The upgrade of HLK-B32 module can be carried out through serial port or network, and the appropriate upgrade method can be selected according to the field environment. 4.1 Introduction of Serial Port Upgrade Method In the upgrade folder there is a img file, upgrade software mainly read the files inside to upgrade;...
  • Page 20: Introduction Of Network Upgrade Methods

    4.2 Introduction of Network Upgrade Methods In order to realize the network upgrade of the module, it is necessary to connect the line module through wifi, and then to upgrade the data transmission according to the ip of the module. 4.2.1 Router Connection Modules that need to be upgraded can be configured and connected to routers through serial port configuration tools, or ap mode can be used.
  • Page 21: Sta Mode

    5.2.1 STA Mode 5V power supply, the module is configured in STA mode to test the current. Average value:77mA, maximum value:169mA The detailed current waveform is shown below.
  • Page 22: Smart C Mode

    5.2.2 Smart C Mode 5V power supply, no mode is configured for the module, and the tested current is in the default STA state to be distributed. Average value:68mA, maximum value:167mA The detailed current waveform is shown below 6. Appendix A Document Revision Version No.
  • Page 23 The input voltage to the module should be nominally 5 VDC, typical value 5VDC and the ambient temperature of the module should not exceed 80℃. Limited module procedures N/A Trace antenna designs N/A Antennas The module of HLK-B32 has one antenna port and the antenna gain as below: 2.4G Wi-Fi: 3.76dBi; 5G Wi-Fi: 4.69dBi.
  • Page 24 Label and compliance information When the module is installed in the host device, the FCC ID label must be visible through a window on the final device or it must be visible when an access panel, door or cover is easily re‐moved. If not, a second label must be placed on the outside of the final device that contains the following text: Contains Transmitter Module FCC ID: 2AD56HLK-B32 , the FCC ID can be used only when all FCC ID compliance requirements are met.
  • Page 25 shall be placed in the receive mode or idle mode, if possible. If receive mode only is not possible then, the radio shall be passive (preferred) and/or active scanning. In these cases, this would need to enable activity on the communication BUS (i.e., PCIe, SDIO, USB) to ensure the unintentional radiator circuitry is enabled.

Table of Contents