Shenzhen Hi-Link Electronic Co., Ltd.
HLK-B36 User Manual
Version:V1.00
Revised date:08/12/2021
Reserved
©
Shenzhen Hi-Link Electronic Co., Ltd
Страница 1: ...Shenzhen Hi Link Electronic Co Ltd HLK B36 User Manual Version V1 00 Revised date 08 12 2021 Reserved Shenzhen Hi Link Electronic Co Ltd...
Страница 2: ...7 1 12 Output power in each mode of WIFI 7 1 13 Receiving sensitivity in each mode of WIFI 8 2 Function description 8 2 1 Description of wifi indicator flashing 8 2 2 One key distribution mode 9 2 3...
Страница 3: ...3 13 Set network connection parameters at net_ip 18 3 14 Query STA mode network connection status at wifi_ConState 19 3 15 Query module MAC address at Get_MAC 19 3 16 Set the framing length at uartpa...
Страница 4: ...8 2 2 WIFI BLE Bluetooth 29 8 2 3 STA mode 30 8 2 4 Default mode 30 9 Appendix A Document revision history 31...
Страница 5: ...without changing any configuration providing a complete and fast solution for the user s serial device to transmit data through the network 1 2 Product Features Support 802 11b g n standard integrate...
Страница 6: ...85dBm HT20 10 87dBm HT40 MCS7 Receiving sensitivity 802 11b 88 4 dBm 11Mbps CCK 802 11g 75 7dBm 54Mbps OFDM 802 11n 73 6dBm HT20 MCS7 Antenna form External I PEX connector Built in Built in PCB antenn...
Страница 7: ...ser configuration AT command set one key intelligent configuration of network distribution 1 4 Pin introduction Table 2 Module pin interface Pin Network name Type Directions 1 CEN I Chip enable high e...
Страница 8: ...O P6 PWM0 15 GND P GND 16 P7_PWM1 I O Wifi indicator 17 P8_PWM2 I O Wifi connection status indicator 1 connected 0 Disconnected 18 P9_PWM3 I O Socket connection status indicator 1 connected 0 Disconne...
Страница 9: ...5 34 1 5 Product packaging Figure 1 HLK B36 package size 1 6 Block diagram Figure 2 HLK B36 Module architecture diagram UART GPIO PWM SPI 3 3V 26MHz HLK B36 FLASH 2MB 1 IPEX Connector...
Страница 10: ...equirements Power input voltage DC 3 3 0 3V No load running current 130 50mA Supply current requirements 800mA 1 9 WIFI transmission power consumption WIFI transmission power consumption Mode Speed Tr...
Страница 11: ...s at full speed 45 2 46 3 ma Keep wifi connection Keep connected to the router 101 342 ma Udp sending After connecting to the AP send packets at full speed through UDP 93 363 ma SoftAP SoftAP networki...
Страница 12: ...port to BLE mode 2 1 wifi indicator flashing description Through the blinking mode of the LED indicator we can quickly know the running status of the module The WiFi indicator of the module mainly has...
Страница 13: ...hat should I do One key configuration is when the wifi module is in promiscuous mode can capture all 802 11 frames in the air the APP sends the SSID and password to the wifi module through UDP broadca...
Страница 14: ...us the module needs to be set to one key network configuration mode You can use the serial port configuration tool to set the module to one key network configuration mode Figure 5 setting as one key c...
Страница 15: ...fter the HLK B36 is powered on the default is the transparent transmission mode By pulling down the pin ES0 PIN5 for more than 50ms and less than 2s to enter the at command mode the module will treat...
Страница 16: ...from the serial port is sent to all TCP Clients When the module is used as a TCP Server it supports up to 5 A TCP Client connects to the TCP Server 2 6 2 Module as TCP Client Figure 10 TCP Client In...
Страница 17: ...d the module will send the data to the serial port and record the remote ip and port The module will only record the remote information of the last connection and the data sent by the serial port will...
Страница 18: ...red through the AT command of the serial port The command format is as follows at command value value value All commands start with at and end with r If the command is not encapsulated in this format...
Страница 19: ...to tcpserver it is invalid Range 1 65535 at CLport at CLport 8080 Note Query local port 3 3 Set up the serial port at uart Command type Grammar Return and description Set instruction at uart 115200 8...
Страница 20: ...2 4G ap mode 3 6 Set TCP connection mode at mode Command type Grammar Return and description Set instruction at mode client at mode client Ok Note Set the module to client mode Query instruction at m...
Страница 21: ...ange 1 65535 Query instruction at remoteport at remoteport 1234 Note 1 When the module is set to tcpserver this port is the listening port of the module 2 When the module is set to tcpClient this port...
Страница 22: ...odule 3 12 Set the socket connection protocol at remote pro Command type Grammar Return and description Set instruction at remotepro tcp at remotepro tcp ok Note Set the module socket protocol to tcp...
Страница 23: ...d type Grammar Return and description Query instruction at Get_MAC 40 D6 3C 15 5F E8 at Get_MAC 40 D6 3C 15 5F E8 Note Query the MAC address of module 3 16 Set the framing length at uartpacklen Comman...
Страница 24: ...ktimeout at uartpacktimeout 200 Note Query the framing time of module is 200ms 3 18 Set Bluetooth name at ble_name Command type Grammar Return and description Set instruction at ble_name aaaaa at ble_...
Страница 25: ...the framing length of serial port at uartpacktimeout r n Query serial port framing time at ver r n Query the firmware version number Com_send query Send these data out from the serial port feedback at...
Страница 26: ...Set the remote port to be connected at remotepro tcp r n Set the socket connection method at mode client r n Connect to the remote server in client mode at uart 115200 8 n 1 r n Set serial port parame...
Страница 27: ...Use dynamic IP at remoteport 8080 r n Set local listening port at remotepro tcp r n Set the socket connection method at mode server r n Socket connects as server at uart 115200 8 n 1 r n Set serial p...
Страница 28: ...device_default at default 1 r n reset Com_send commands_device_default feedback at default 1 1s later Then the module will restart and restore the factory default configuration parameters For more fun...
Страница 29: ...ng command window 2 Serial number selection 3 Working mode selection 4 Wifi name and password 5 Network protocol selection 6 Serial port parameters 7 Submit configuration 8 Query configuration 9 Enter...
Страница 30: ...the data received by the module s serial port will be sent from the Bluetooth The Bluetooth function of module only supports Bluetooth 4 2 Install the Bluetooth mobile phone test software HLK BLE apk...
Страница 31: ...nd password to module and then the module connects to router according to the received wifi name and password In sta and ap modes Bluetooth is turned on and the module can be connected through the Blu...
Страница 32: ...Bluetooth and the module will save it after receiving it and then restart it and proceed according to hotspot name and password sent by the phone wifi connection 8 Electrical characteristics 8 1 Elect...
Страница 33: ...onfigure the module to test current in AP mode average value 110mA maximum value 313mA The detailed current waveform is shown below Pic 17 apMode transmission current test 8 2 2 WIFI BLE Bluetooth Use...
Страница 34: ...tained from the WiFi transparent transmission test the average value 110mA the maximum value 231mA The detailed current waveform is shown below Pic 19 sta mode transmission current test 8 2 4 Default...
Страница 35: ...ted RF Module For 15 B 15 107 and if applicable 15 109 compliance the host manufacturer is required to show compliance with 15 while the module is installed and operating Furthermore the module should...
Страница 36: ...ceived including interference that may cause undesired operation Changes or modifications to this unit not expressly approved by the party responsible for compliance could void the user s authority to...
Страница 37: ...o provide reasonable protection against harmful interference in a residential installation This equipment generates uses and can radiate radio frequency energy and if not installed and used in accorda...
Страница 38: ...uct manufacturer would provide the above information to end users in their end product manuals 2 7 Antennas PCB antenna 1dBi 2 412 GHz 2 462GHz 2 402 GHz 2 480GHz 2 8 Label and compliance information...