HF HF-LPC3X0 Series User manual

HF-LPC3X0 Series Wi-Fi&BLE User Manual
Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com) - 1 -
HF-LPC3X0 Series
Low Power Wi-Fi + BLE4.2 Module
User Manual
V 1.2
Overview of Characteristic
Support Wi-Fi IEEE802.11b/g/n and BLE4.2 Wireless Standards
Based on ARM9E SOC, 120MHz CPU, 256KB RAM, 2MB/2MB+8MB Flash
Support UART Data Communication with Wi-Fi or BLE
Support Wi-Fi STA/AP/AP+STA Mode
Support BLE SmartBLELink Config
Support Wi-Fi AP SmartAPLink Config
Support Wireless and Remote Firmware Upgrade Function
Support Software SDK for Develop
Support Internal PCB or External IPEX Antenna Option
Single +3.3V Power Supply

HF-LPC3X0 Series Wi-Fi&BLE User Manual
Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com) - 3 -
TABLE OF CONTENTS
LIST OF FIGURES...................................................................................................................................7
LIST OF TABLES ....................................................................................................................................9
HISTORY................................................................................................................................................10
1. PRODUCT OVERVIEW ..............................................................................................................11
1.1. General Description...............................................................................................................11
1.1.1 Key Application.................................................................................................................11
1.1.2 Device Paremeters ...........................................................................................................12
1.2. Hardware Introduction...........................................................................................................12
1.2.1. HF-LPC300 Pins Definition...............................................................................................14
1.2.2. HF-LPC330 Pins Definition...............................................................................................16
1.2.3. Electrical Characteristics ..................................................................................................18
1.2.4. HF-LPC300 Mechanical Size............................................................................................19
1.2.5. HF-LPC330 机械尺寸........................................................................................................19
1.2.6. HF-LPC300 On-board PCB Antenna................................................................................21
1.2.7. HF-LPC330 On-board Antenna........................................................................................21
1.2.8. External Antenna ..............................................................................................................22
1.2.9. Order Information..............................................................................................................22
1.2.10. Hardware Typical Application........................................................................................24
2. FUNCTIONAL DESCRIPTION ..................................................................................................26
2.1. Wi-Fi Wireless Networking....................................................................................................26
2.1.1. Basic Wireless Network Based On AP.............................................................................26
2.1.2. Wireless Network Based On STA.....................................................................................26
2.2. BLE Connection .....................................................................................................................26
2.3. Work Mode : Transparent Transmission Mode...................................................................27
2.4. Encryption ..............................................................................................................................28
2.5. Parameters Configuration.....................................................................................................28
2.6. Firmware Update....................................................................................................................28
2.7. SOCKET B Function ..............................................................................................................28
2.8. Multi-TCP Link Connection...................................................................................................29
3. OPERATION GUIDELINE ..........................................................................................................30
3.1. Configuration..........................................................................................................................30
3.1.1. Open Web Management Interface ...................................................................................30
3.1.2. System Page.....................................................................................................................31
3.1.3. Work Mode Page..............................................................................................................31
3.1.4. STA Setting Page .............................................................................................................32
3.1.5. AP Setting Page ...............................................................................................................33
3.1.6. Other Setting Page ...........................................................................................................33
3.1.7. Account Management Page .............................................................................................34
3.1.8. Upgrade Software Page ...................................................................................................34

HF-LPC3X0 Series Wi-Fi&BLE User Manual
Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com) - 4 -
3.1.9. Restart Page.....................................................................................................................34
3.1.10. Restore Page ................................................................................................................35
3.1.11. Internal Webpage..........................................................................................................35
3.2. Usage Introduction ................................................................................................................36
3.2.1. Software Debug Tools ......................................................................................................36
3.2.2. Network Connection .........................................................................................................36
3.2.3. Default Parameter Setting ................................................................................................36
3.2.4. Module Debug...................................................................................................................37
3.3. Typical Application Examples ..............................................................................................38
3.3.1. Wireless Control Application.............................................................................................38
3.3.2. Remote Management Application.....................................................................................39
3.3.3. Transparent Serial Port Application..................................................................................39
4. AT+INSTRUCTION INTRODUCTION ......................................................................................40
4.1. Configuration Mode ...............................................................................................................40
4.1.1. Switch to Configuration Mode...........................................................................................40
4.1.2. Send AT Command in Transparent Transmission Mode .................................................41
4.2. AT+Instruction Set Overview................................................................................................41
4.2.1. Instruction Syntax Format.................................................................................................42
4.2.2. AT+Instruction Set ............................................................................................................43
4.2.2.1. AT+E .............................................................................................................................44
4.2.2.2. AT+CMDPW..................................................................................................................45
4.2.2.3. AT+WMODE .................................................................................................................45
4.2.2.4. AT+ENTM .....................................................................................................................46
4.2.2.5. AT+TMODE...................................................................................................................46
4.2.2.6. AT+MID.........................................................................................................................46
4.2.2.7. AT+VER ........................................................................................................................46
4.2.2.8. AT+BVER......................................................................................................................46
4.2.2.9. AT+RELD......................................................................................................................47
4.2.2.10. AT+FCLR...................................................................................................................47
4.2.2.11. AT+Z..........................................................................................................................47
4.2.2.12. AT+H .........................................................................................................................47
4.2.2.13. AT+CFGTF................................................................................................................47
4.2.2.14. AT+UART ..................................................................................................................48
4.2.2.15. AT+PING ...................................................................................................................48
4.2.2.16. AT+NETP ..................................................................................................................48
4.2.2.17. AT+MAXSK ...............................................................................................................49
4.2.2.18. AT+TCPLK ................................................................................................................49
4.2.2.19. AT+TCPTO................................................................................................................50
4.2.2.20. AT+TCPDIS...............................................................................................................50
4.2.2.21. AT+SEND..................................................................................................................50
4.2.2.22. AT+RECV..................................................................................................................51
4.2.2.23. AT+SOCKB ...............................................................................................................51
4.2.2.24. AT+TCPDISB ............................................................................................................51
4.2.2.25. AT+TCPTOB .............................................................................................................52

HF-LPC3X0 Series Wi-Fi&BLE User Manual
Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com) - 5 -
4.2.2.26. AT+TCPLKB..............................................................................................................52
4.2.2.27. AT+SNDB..................................................................................................................52
4.2.2.28. AT+RCVB..................................................................................................................53
4.2.2.29. AT+UDPLCPT...........................................................................................................53
4.2.2.30. AT+WSSSID..............................................................................................................53
4.2.2.31. AT+WSKEY...............................................................................................................53
4.2.2.32. AT+WANN.................................................................................................................54
4.2.2.33. AT+WSMAC..............................................................................................................54
4.2.2.34. AT+WSLK..................................................................................................................55
4.2.2.35. AT+WSLQ .................................................................................................................55
4.2.2.36. AT+WSCAN...............................................................................................................55
4.2.2.37. AT+LANN ..................................................................................................................55
4.2.2.38. AT+WAP....................................................................................................................56
4.2.2.39. AT+WAKEY...............................................................................................................56
4.2.2.40. AT+WADHCP............................................................................................................57
4.2.2.41. AT+WALK..................................................................................................................57
4.2.2.42. AT+WALKIND............................................................................................................57
4.2.2.43. AT+WAPMXSTA .......................................................................................................58
4.2.2.44. AT+OTA.....................................................................................................................58
4.2.2.45. AT+UPURL................................................................................................................58
4.2.2.46. AT+DISPS .................................................................................................................58
4.2.2.47. AT+PLANG................................................................................................................59
4.2.2.48. AT+WEBU .................................................................................................................59
4.2.2.49. AT+WRMID ...............................................................................................................60
4.2.2.50. AT+ASWD .................................................................................................................60
4.2.2.51. AT+SMTLK................................................................................................................60
4.2.2.52. AT+NDBGL................................................................................................................60
4.2.2.53. AT+SMEM .................................................................................................................61
4.2.2.54. AT+WIFI ....................................................................................................................61
4.2.2.55. AT+SMARTAPCONFIG ............................................................................................61
4.2.2.56. AT+SMARTAPSTART...............................................................................................62
4.2.2.57. AT+SMARTBTSTART...............................................................................................62
4.2.2.58. AT+BLE .....................................................................................................................62
4.2.2.59. AT+BLENAME...........................................................................................................62
4.2.2.60. AT+BLENTFUUID .....................................................................................................63
5. PACKAGE INFORMATION ........................................................................................................64
5.1. Recommended Reflow Profile ..............................................................................................64
5.2. Device Handling Instruction (Module IC SMT Preparation)...............................................64
APPENDIX A: HW REFERENCE DESIGN......................................................................................65
APPENDIX B: HTTP PROTOCOL TRANSFER..............................................................................66
B.1. Sending HTTP Raw Data in Throughput Mode......................................................................66
APPENDIX C:REFERENCES............................................................................................................67

HF-LPC3X0 Series Wi-Fi&BLE User Manual
Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com) - 6 -
C.1.High-Flying Mass Production Tool........................................................................................67
C.2.SmartLink V8 ...........................................................................................................................67
C.3.SmartAPLink............................................................................................................................67
C.4.SmartBleLink...........................................................................................................................67
C.5.Firmware ..................................................................................................................................67
C.6.SDK...........................................................................................................................................67
APPENDIX D: CONTACT INFORMATION ......................................................................................68

HF-LPC3X0 Series Wi-Fi&BLE User Manual
Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com) - 7 -
LIST OF FIGURES
Figure 1. HF-LPC300 Appearance......................................................................................................13
Figure 2. HF-LPC330 Appearance......................................................................................................13
Figure 3. HF-LPC300 Pins Map ..........................................................................................................14
Figure 4. HF-LPC300-1(8M) Flash......................................................................................................15
Figure 5. HF-LPC330 Pins Map ..........................................................................................................16
Figure 6. HF-LPC330 Debug Pins Map...............................................................................................17
Figure 7. HF-LPC300 Mechanical Dimension.....................................................................................19
Figure 8. HF-LPC330 机械尺寸 ...........................................................................................................20
Figure 9. Suggested Module Placement Region.................................................................................21
Figure 10. HF-LPC330 suggested Module Placement Region..........................................................22
Figure 11. HF-LPC300 Order Information..........................................................................................23
Figure 12. HF-LPC330 Order Information..........................................................................................23
Figure 13. HF-LPC300 Hardware Typical Application.......................................................................24
Figure 14. HF-LPC300 Basic Wireless Network Structure ................................................................26
Figure 15. HF-LPC300 STA Network Structure.................................................................................26
Figure 16. BLE Connection................................................................................................................27
Figure 17. Socket B function demo....................................................................................................29
Figure 18. Multi-TCP Link Data Transmition Structure......................................................................29
Figure 19. Open Web Management page..........................................................................................30
Figure 20. System Web Page............................................................................................................31
Figure 21. Work Mode Page..............................................................................................................31
Figure 22. STA Setting Page .............................................................................................................32
Figure 23. STA Scan Page ................................................................................................................32
Figure 24. AP Setting Page ...............................................................................................................33
Figure 25. Other Setting Page ...........................................................................................................33
Figure 26. Account Page....................................................................................................................34
Figure 27. Upgrade SW page ............................................................................................................34
Figure 28. Restart Page.....................................................................................................................35
Figure 29. Restore Page....................................................................................................................35
Figure 30. Internal Webpage .............................................................................................................36
Figure 31. STA Interface Debug Connection.....................................................................................36
Figure 32. AP Interface Debug Connection.......................................................................................36
Figure 33. “CommTools” Serial Debug Tools ....................................................................................37
Figure 34. “TCPUDPDbg” Tools Create Connection.........................................................................37
Figure 35. “TCPUDPDbg” Tools Setting ............................................................................................38
Figure 36. “TCPUDPDbg” Tools Connection .....................................................................................38
Figure 37. Wireless Control Application.............................................................................................38
Figure 38. Remote Management Application.....................................................................................39
Figure 39. Transparent Serial Port Application..................................................................................39
Figure 40. HF-LPC300 Default UART Port Parameters ....................................................................40
Figure 41. Switch to Configuration Mode...........................................................................................40
Figure 42. ”AT+H” Instruction for Help ...............................................................................................42

HF-LPC3X0 Series Wi-Fi&BLE User Manual
Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com) - 9 -
LIST OF TABLES
Table1. HF-LPC3X0 Series Module Technical Specifications..........................................................12
Table2. HF-LPC300 Pins Definition ..................................................................................................14
Table3. HF-LPC330 Pins Definition ..................................................................................................16
Table4. Absolute Maximum Ratings:.................................................................................................18
Table5. HF-LPC300 External Antenna Parameters..........................................................................22
Table6. HF-LPC300 Web Access Default Setting.............................................................................30
Table7. Error Code Describtion.........................................................................................................43
Table8. AT+Instruction Set List.........................................................................................................43
Table9. Reflow Soldering Parameter ................................................................................................64

HF-LPC3X0 Series Wi-Fi&BLE User Manual
Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com) - 11 -
1.PRODUCT OVERVIEW
1.1. General Description
The HF-LPC3X0 series module is a fully self-contained small form-factor, single stream, 802.11b/g/n
Wi-Fi + BLE4.2 module, which provide a wireless interface to any equipment with a Serial interface for
data transfer.HF-LPC300 integrate MAC, baseband processor, RF transceiver with power amplifier in
hardware and all Wi-Fi protocol and configuration functionality and networking stack, in embedded
firmware to make a fully self-contained 802.11b/g/n Wi-Fi and BLE solution for a variety of applications.
The HF-LPC3X0 series module employs the world's lowest power consumption embedded
architecture. It has been optimized for all kinds of client applications in the home automation, smart
grid, handheld device, personal medical application and industrial control that have lower data rates,
and transmit or receive data on an infrequent basis.
1.1.1 Key Application
⚫Remote equipment monitoring
⚫Asset tracking and telemetry
⚫Security
⚫Industrial sensors and controls
⚫Home automation
⚫Medical devices

HF-LPC3X0 Series Wi-Fi&BLE User Manual
Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com) - 12 -
1.1.2 Device Paremeters
Table1. HF-LPC3X0 Series Module Technical Specifications
Class
Item
Parameters
Wi-Fi
Parameters
Certification
TBD
Wireless standard
802.11 b/g/n
Frequency range
2.412GHz-2.484GHz
Transmit Power
802.11b: +16 +/-2dBm (@11Mbps)
802.11g: +14 +/-2dBm (@54Mbps)
802.11n: +13 +/-2dBm (@HT20, MCS7)
Receiver Sensitivity
802.11b: -87 dBm (@11Mbps ,CCK)
802.11g: -73 dBm (@54Mbps, OFDM)
802.11n: -71 dBm (@HT20, MCS7)
BLE
Parameters
Certification
TBD
Wireless standard
BLE4.2
Frequency range
2.402GHz-2.480GHz
Transmit Power
Max 20dBm
Receiver Sensitivity
-90dBm
Hardware
Parameters
Antenna Option
Internal: PCB antenna
External: IPEX antenna
Data Interface
UART
GPIO, SPI, PWM, I2S, I2C, SDIO
Operating Voltage
3.0~3.6V
Operating Current
Peak (Continuous TX): 440mA
Average(STA, No data): 25mA
Average(STA, Continuous TX): 85mA
Average(AP): 110mA
Standby: 300uA(Reset Pin set to low)
Operating Temp.
-25℃- 85℃
Storage Temp.
-40℃- 125℃
Humidity
<85%
Dimensions and Size
HF-LPC300: 23.1mm x 32.8mm x 3.5mm
HF-LPC330: 22mm x 15.6mm x 8mm
Software
Parameters
Network Type
STA/AP/AP+STA
Security Mechanisms
WEP/WPA-PSK/WPA2-PSK
Encryption
WEP64/WEP128/TKIP/AES
Update Firmware
Local Wireless, Remote OTA
Customization
Support SDK for application develop
Network Protocol
IPv4, TCP/UDP/HTTP/TLS(SDK)
User Configuration
AT+instruction set. Android/ iOS
SmartAPLink AP Config
SmartBleLink BLE Config
1.2. Hardware Introduction
HF-LPC3X0 series Wi-Fi module appearance is as following.

HF-LPC3X0 Series Wi-Fi&BLE User Manual
Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com) - 14 -
1.2.1. HF-LPC300 Pins Definition
Figure 3. HF-LPC300 Pins Map
Table2. HF-LPC300 Pins Definition
Pin
Describtion
Net Name
Signal
Type
Comments
1,17,18,34
Ground
GND
Power
Power Input
2
N.C
3
N.C
4
GPIO28
GPIO28
I/O
GPIO28, leave it open if not use
5
SPI_CLK
SPI_CLK
I/O
GPIO14, leave it open if not use
Addition 8MB Flash use this pin
6
SPI_MOSI
SPI_MOSI
I/O
GPIO16, leave it open if not use
Addition 8MB Flash use this pin
7
SPI_CS
SPI_CS
I/O
GPIO15, leave it open if not use
Addition 8MB Flash use this pin
8
NC
9,20
+3.3V
VDD
Power
Power Input
10
NC
11
SPI_MISO
SPI_MISO
I/O
GPIO17, leave it open if not use
Addition 8MB Flash use this pin

HF-LPC3X0 Series Wi-Fi&BLE User Manual
Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com) - 15 -
Pin
Describtion
Net Name
Signal
Type
Comments
12
PWM5
I/O
GPIO26, leave it open if not use
13
GPIO23
GPIO23
I/O
GPIO23, leave it open if not use
14
GPIO22
GPIO22
I/O
GPIO22, leave it open if not use
15
GPIO21
GPIO21
I/O
GPIO21, leave it open if not use
16
GPIO20
GPIO20
I/O
GPIO20, leave it open if not use
19
UART1
DEBUG_UART1_RX
I
3.3V TTL Debug UART1 Input
leave it open if not use
21
UART1
DEBUG_UART1_TX
O
3.3V TTL Debug UART1 Output
leave it open if not use
22
N.C
23
N.C
24
N.C
25
UART0
UART0_TX
O
3.3V TTL UART0 Output
26
PWM1
PWM1
I/O
GPIO7, leave it open if not use
27
UART0
UART0_RX
I
3.3V TTL UART0 Input
28
PWM0
PWM0
I/O
GPIO6, leave it open if not use
29
Wi-Fi Status
nLink
I/O
“0” – Wi-Fi connect to router
“1” – Wi-Fi unconncted;
Detailed functions see <Notes>
GPIO24, leave it open if not use
30
Module Boot Up
Indicator
nReady
I/O
“0” – Boot-up OK;
“1” – Boot-up No OK;
GPIO8, leave it open if not use
31
Multi-Function
nReload
I/O
Detailed functions see <Notes>
GPIO9, leave it open if not use
32
N.C
33
Module Reset
RESET
I,PU
“Low” effective reset input(>10ms).
There is RC reset circuit internally.
Leave it open if not use.
37
ANT
ANT
Antenna Pin, only for HF-
LPC300-2
HF-LPC300 module SOC chip integrate 2MB Flash, but it has additional postion for adding Flash,
the Flash postion is as following. This flash can be used for saving data using SDK.
Figure 4. HF-LPC300-1(8M) Flash

HF-LPC3X0 Series Wi-Fi&BLE User Manual
Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com) - 16 -
1.2.2. HF-LPC330 Pins Definition
Figure 5. HF-LPC330 Pins Map
Table3. HF-LPC330 Pins Definition
Pin
Describtion
Net Name
Signal Type
Comments
1
Ground
GND
Power
Power Input
2
+3.3V
VDD
Power
Power Input
3
Multi-Function
nReload
PWM3
I/O
Detailed functions see <Notes>
GPIO9, leave it open if not use
4
Module Reset
RESET
I,PU
“Low” effective reset input(>10ms).
There is RC reset circuit internally.
Leave it open if not use.
5
UART0
UART0_RX
I
3.3V TTL UART0 Input
6
UART0
UART0_TX
O
3.3V TTL UART0 Output
7
PWM4
PWM4
I/O
GPIO24, leave it open if not use
8
PWM2
PWM2
I/O
GPIO8, leave it open if not use
9
Module Boot Up Indicator
nReady
PWM1
I/O
“0” – Boot-up OK;
“1” – Boot-up No OK;
GPIO7, leave it open if not use
10
Wi-Fi Status
nLink
PWM0
I/O
“0” – Wi-Fi connect to router
“1” – Wi-Fi unconncted;
Detailed functions see <Notes>
GPIO6, leave it open if not use

HF-LPC3X0 Series Wi-Fi&BLE User Manual
Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com) - 17 -
Figure 6. HF-LPC330 Debug Pins Map
Pin
Describtion
Net Name
Signal Type
Comments
UART1
DEBUG_UART1_RX
I
3.3V TTL Debug UART1 Input
UART1
DEBUG_UART1_TX
O
3.3V TTL Debug UART1 Output
<Notes>
I —Input;O —Output
PU—Internal Resistor Pull Up;I/O: Digital I/O;Power—Power Supply
nReload Pin (Button) function:
1. When this pin is set to “low” during module boot up, the module will enter wireless
firmware and config upgrade mode. This mode is used for customer manufacture.
See Appendix to download software tools for customer batch configuration and
upgrade firmware during mass production.
2. After module is powered up, short press this button (0.2s < “Low” < 1.5s) and loose
to make the module go into SmartLink V8 config mode, when in SmartLink V8 config
mode and short press this button again to go into SmartAPLink and SmartBleLink
config mode, waiting for APP to set router SSID and password, config module
connect to router. Recommend to use SmartBleLink BLE method config.
See Appendix to download SmartLink V8 and SmartAPLink APP
3. After module is powered up, long press this button ( “Low” > 4s ) and loose to make
the module recover to factory setting.
High-Flying strongly suggest customer fan out this pin to connector or button for
“Manufacture” upgrade or “SmartLink” application.
nReady Pin (LED) function(Low effective):
1. OS initial finished indicator. Only after this pin output low, can the UART function be
used.
nLink Pin (LED) function(Low effective):
1. At wireless firmware and config upgrade mode , this LED used to indicate configure
and upgrade status.
2. At “SmartLink”config mode, this LED is used to indicate APP to finish setting.

HF-LPC3X0 Series Wi-Fi&BLE User Manual
Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com) - 18 -
3. At normal mode, it’s Wi-Fi link status indicator. Output Low when STA mode connect
to router AP or other STA connect to it when in AP mode.
High-Flying strongly suggest customer fan out this pin to LED.
1.2.3. Electrical Characteristics
Table4. Absolute Maximum Ratings:
Parameter
Condition
Min.
Typ.
Max.
Unit
Work temperature range
-25
85
°C
Maximum soldering temperature
IPC/JEDEC J-STD-020
260
°C
ESD (Human Body Model HBM)
TAMB=25°C
2.5
KV
ESD (MM)
TAMB=25°C
0.25
KV

HF-LPC3X0 Series Wi-Fi&BLE User Manual
Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com) - 19 -
1.2.4. HF-LPC300 Mechanical Size
HF-LPC300 modules physical size (Unit: mm)as follows:
Figure 7. HF-LPC300 Mechanical Dimension
1.2.5. HF-LPC330 机械尺寸
HF-LPC330 物理尺寸 (单位: mm)如下图, 22mm x 15.6mm:
This manual suits for next models
2
Table of contents
Other HF Control Unit manuals
Popular Control Unit manuals by other brands

Staubli
Staubli MA417-1 Assembly instructions

Governors America
Governors America ESD2100 Series quick start guide

MAYSER
MAYSER SG-EFS 1 4 ZK2/1 L20ms Series operating instructions

Jetter
Jetter JXM-IO-EX30 user manual

Konica Minolta
Konica Minolta IP-511 instruction manual

VAT
VAT 08 Series Installation, operating and maintenance instructions