background image

User Manual

8

页 共

30

HLK-B35

2.3. UART to WIFI AP

Pic 7

Module as AP

In AP mode, mobile phones, PCs or other wifi devices can be connected to the B35 module

through wifi, and serial devices can transmit data through the B35 module and other wifi devices.

2.4. Serial port working status conversion

After the HLK-B35 is powered on, the default is the transparent transmission mode. By pulling

down the pin ES0 (GPIO12) for less than 50ms to enter the at command mode, the module will treat
the received data as an at command, and send the at command to let The module enters the
transparent transmission mode. After the network is connected, the data received by the serial port
will be transmitted as transparent transmission data.

Pic 8

Serial port working mode conversion

AT commands

Power on

Transparent
trasmission mode

Pulling down Es0

Send AT commands

Summary of Contents for HLK-B35

Page 1: ...Shenzhen Hi Link Electronic Co Ltd HLK B35 User Manual Version V1 0 Revise date 2020 11 19 Reserved Shenzhen Hi Link Electronic Co Ltd...

Page 2: ...LASHING DESCRIPTION 7 2 2 UART TO WIFI STA 7 2 3 UART TO WIFI AP 8 2 4 SERIAL PORT WORKING STATUS CONVERSION 8 2 5 SERIAL TO NETWORK DATA CONVERSION 9 2 5 1 MODULE AS TCP SERVER 9 2 5 2 MODULE AS TCP...

Page 3: ...ETOOTH DISTRIBUTION NETWORK AND DATA TRANSPARENT TRANSMISSION 24 5 1 BLUETOOTH DISTRIBUTION NETWORK 24 5 2 BLUETOOTH TRANSPARENT TRANSMISSION 24 6 MODULE POWER CONSUMPTION MEASURED DATA 25 6 1 POWER C...

Page 4: ...iding a complete and fast solution for the user s serial device to transmit data through the network 1 2 Product Features Wireless subsystem includes 2 4G radio Wi Fi802 11b g n and BLE5 0 baseband MA...

Page 5: ...ion 5 0 supports BLE 5 0 channel selection 2 does not support 2M PHY ADV extension Up to 40 100m in open environment Frequency Range 2 412GHz 2 462GHz Average power 802 11b 16 48dBm 11Mbps 802 11g 14...

Page 6: ...Current 44mA Operating temperature 40 85 Serial port Penetrate Transmission rate 9600 921600bps TCP Client 1 software parameter wireless network Types of STA AP Security Mechanism WPS WEP WPA WPA2 Per...

Page 7: ...ntroduction Table 2 Module pin interface PIN Network name Type Description 1 RST I Chip enable high active low reset 2 IO5 I O preserve 3 IO2 I O preserve 4 IO11 I O preserve 5 IO12 I O ES0 button ent...

Page 8: ...s connected 14 IO22 I O TCP connection 0 Not connected to the TCP server 1 Connected to the TCP server 15 GND P GND 16 IO0 I O Module status indicator 17 IO8 I O Indicator light not used 18 IO1 I O pr...

Page 9: ...User Manual 6 30 HLK B35 1 6 System Block Diagram Pic 2 HLK B35 Module architecture diagram 1 7 Test board introduction Pic 3 Test board introduction...

Page 10: ...MAC address 2 1 WIFI indicator flashing description The module is indicated by the flashing of the LED indicator in different states and the current operating state of the module can be quickly known...

Page 11: ...the default is the transparent transmission mode By pulling down the pin ES0 GPIO12 for less than 50ms to enter the at command mode the module will treat the received data as an at command and send t...

Page 12: ...ll TCP Clients When the module is used as a TCP Server it supports up to 4 A TCP Client connects to the TCP Server 2 5 2 Module as TCP Client Pic 10 TCP Client In this mode the module will actively co...

Page 13: ...he last connection and the data sent by the serial port will be sent directly to the recorded remote ip and port 2 5 4 Module as UDP Client Pic 12 UDP Client In this mode the module will send serial p...

Page 14: ...ule is in AT command mode and the baud rate is correct When receiving ERROR it indicates that the module is in AT mode but the command is invalid When no data is received it indicates that the module...

Page 15: ...and will first reply to the sent command and then reply the related parameters and execution result of the command When this parameter is set to 0 Module directly responds to the relevant data of the...

Page 16: ...efault 1 OK Note module reset 3 1 8 Save the set parameters at net_commit Type Grammar Return and description Set instruction at net_commit 1 at net_commit 1 Ok Note Submit the setting parameters succ...

Page 17: ...he module is in STA mode this parameter is Set the ssid encryption method and pwd of the connection route When the module is in AP mode this parameter is Set up ssid encryption method and pwd for esta...

Page 18: ...l signal strength encryption method 3 3 TCP IP Related AT commands 3 3 1 Set the IP mode of the module at dhcpc Type Grammar Return and description Set instruction at dhcpc 1 at dhcpc 1 Ok Note Set th...

Page 19: ...to client mode Query instruction at mode at mode Client Note client the module as the client server the module as the server 3 3 4 Set the socket connection protocol at remotepro Type Grammar Return...

Page 20: ...r this instruction to be valid is that the instruction at mode client has been executed otherwise it is regarded as an invalid instruction Query instruction at remoteip at remoteip 192 168 11 102 Note...

Page 21: ..._BLE Note The current Bluetooth broadcast name of the module is _BLE 3 5 Custom message prompt instruction 3 5 1 Set the prompt message after the module enters the transparent transmission mode at cmd...

Page 22: ...ction at connected_node at connected_node connected tcpserver Note Output when the module is connected to tcpserver connected tcpserver 3 5 4 Set the prompt message that the module is disconnected fro...

Page 23: ...data out from the serial port feedback at ver HLK B35 V1 00Nov 18 2020 23 54 48 at uart 115200 8 n 1 at netmode 2 at mode client at dhcpc 1 4 2 Configure the module as a client static ip address code...

Page 24: ...ifi_client_static Send parameters from the serial port Feedback at uart 115200 8 n 1 OK at netmode 2 OK at wifi_conf HI LINK wpa2_aes 12345678 OK at dhcpc 0 OK at net_ip 192 168 8 35 255 255 255 0 192...

Page 25: ...at remoteport 8000 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 port parameters...

Page 26: ...factory default configuration parameters The hardware reset method is Long press the ES0 button on the bottom plate for more than 3 seconds to restore the factory settings For more functions please u...

Page 27: ...mission test interface 3 Click the button in the upper right corner of the transparent transmission interface Configure networking enter the configuration networking interface and enter the The WiFi n...

Page 28: ...ta in APP Pic 16 Receive transparent data 6 Module power consumption measured data 6 1 Power consumption in Sta mode Pic 17 Bluetooth broadcast is turned on and the module as a client keeps trying to...

Page 29: ...mode Pic 18 Bluetooth broadcast is turned on and the module acts as a working current for the client to connect to the remote server and continuously send data 6 3 Power consumption in AP mode Pic19 B...

Page 30: ...thorization e g Verification for the new host device per definition in 15 101 Integrator is reminded to assure that these installation instructions will not be made available to the end user of the fi...

Page 31: ...iguration 6 The module is labeled with its permanently affixed FCC ID label 7 The module complies with all specific rules applicable to the transmitter including all the conditions provided in the int...

Page 32: ...in conjunction with any transmitter This information also extends to the host manufacturer s instruction manual 2 4 Limited module procedures not applicable 2 5 Trace antenna designs It is not applic...

Page 33: ...testing Part 15 Subpart B disclaimer The modular transmitter is only FCC authorized for the specific rule parts FCC Part 15 247 listed on the grant and that the host product manufacturer is responsibl...

Reviews: