High Flying Electronics Technology HF-LPB100 Embedded WiFi Module User Manual Manual

High-Flying Electronics Technology Co.,Ltd Embedded WiFi Module Manual

Contents

Manual

Download: High Flying Electronics Technology HF-LPB100 Embedded WiFi Module User Manual Manual
Mirror Download [FCC.gov]High Flying Electronics Technology HF-LPB100 Embedded WiFi Module User Manual Manual
Document ID2150598
Application IDijynq2s1KNdgxmk2w1qgYA==
Document DescriptionManual
Short Term ConfidentialNo
Permanent ConfidentialNo
SupercedeNo
Document TypeUser Manual
Display FormatAdobe Acrobat PDF - pdf
Filesize260.76kB (3259448 bits)
Date Submitted2013-12-23 00:00:00
Date Available2013-12-23 00:00:00
Creation Date2013-12-03 18:51:18
Producing SoftwaredoPDF Ver 7.3 Build 387 (Windows 7 Ultimate Edition (SP 1) - Version: 6.1.7601 (x64))
Document Lastmod2013-12-05 14:42:11
Document TitleManual

HF-LPB100 Low Power WiFi Module User Manual
HF-LPB100
Low Power WiFi Module User Manual
V 1.3
Overview of Characteristic
Support IEEE802.11b/g/n Wireless Standards

Based on Self-developed High Cost Effective MCU

Ultra-Low-Power for Battery Applications with Excellent Power Save Scheme

Support UART/SPI/PWM/GPIO Data Communication Interface
ly
in

Support Work As STA/AP/AP+STA Mode

Support Smart Link Function (APP program provide)

Support Wireless and Remote Firmware Upgrade Function
hF

 Support WPS Function
Support Multi-TCP Link (5 Channel) Apllication

Support Soft Key Power Control
ig


Support Internal/External Antenna Option

Single +3.3V Power Supply

Smallest Size: 23.1mm x 32.8mm x2.7mm

FCC/CE Certificated
Shanghai High-Flying Electronics Technology Co., Ltd
www.hi-flying.com
-1-
HF-LPB100 Low Power WiFi Module User Manual
TABLE OF CONTENTS
LIST OF FIGURES ............................................................................................................................. 6
LIST OF TABLES ............................................................................................................................... 7
HISTORY............................................................................................................................................ 8
PRODUCT OVERVIEW ........................................................................................................... 9
1.1.
General Description ............................................................................................................ 9
Device Features ............................................................................................................. 9
1.1.2
Device Paremeters....................................................................................................... 10
1.1.3
Key Application ............................................................................................................ 10
1.2.
Hardware Introduction ...................................................................................................... 11
Pins Definition .............................................................................................................. 11
1.2.2.
Electrical Characteristics .............................................................................................. 13
1.2.3.
Mechanical Size ........................................................................................................... 14
1.2.4.
On-board Chip Antenna ............................................................................................... 14
1.2.5.
External Antenna ......................................................................................................... 15
1.2.6.
Evaluation Kit ............................................................................................................... 15
1.2.7.
Order Information ......................................................................................................... 17
yi
1.2.1.
Typical Application ........................................................................................................... 18
1.3.1.
Hardware Typical Application ....................................................................................... 18
Fl
1.3.
2.
1.1.1
FUNCTIONAL DESCRIPTION .............................................................................................. 20
2.1.
Wireless Networking ......................................................................................................... 20
2.1.1.
Basic Wireless Network Based On AP (Infrastructure) .................................................. 20
2.1.2.
Wireless Network Based On AP+STA .......................................................................... 20
h-
1.
2.2.
Work Mode : Transparent Transmission Mode................................................................ 21
2.3.
UART Frame Scheme ........................................................................................................ 22
2.3.1.
2.3.2.
UART Free-Frame ....................................................................................................... 22
UART Auto-Frame ....................................................................................................... 22
Encryption ......................................................................................................................... 23
2.5.
Power Save Scheme ......................................................................................................... 23
2.6.
Parameters Configuration ................................................................................................ 24
2.7.
Firmware Update ............................................................................................................... 24
2.8.
GPIO/PWM Function ......................................................................................................... 25
2.9.
SOCKET B Function ......................................................................................................... 26
ig
2.4.
2.10.
3.
Multi-TCP Link Connection ........................................................................................... 26
OPERATION GUIDELINE ..................................................................................................... 28
3.1.
Configuration via Web Accessing .................................................................................... 28
3.1.1.
Open Web Management Interface ................................................................................ 28
3.1.2.
System Page ............................................................................................................... 28
3.1.3.
Work Mode Page ......................................................................................................... 29
3.1.4.
STA Setting Page......................................................................................................... 29
3.1.5. AP Setting Page........................................................................................................... 30
Shanghai High-Flying Electronics Technology Co., Ltd
www.hi-flying.com
-2-
HF-LPB100 Low Power WiFi Module User Manual
3.1.6.
Other Setting Page....................................................................................................... 31
3.1.7.
Account Management Page ......................................................................................... 31
3.1.8.
Upgrade Software Page ............................................................................................... 32
3.1.9.
Restart Page ................................................................................................................ 32
3.1.10.
3.2.
HF-LPB100 Usage Introduction ........................................................................................ 33
3.2.1.
Software Debug Tools .................................................................................................. 33
3.2.2.
Network Connection ..................................................................................................... 33
3.2.3.
Default Parameter Setting ............................................................................................ 34
3.2.4.
Module Debug.............................................................................................................. 34
Typical Application Examples .......................................................................................... 35
3.3.
Wireless Control Application......................................................................................... 35
3.3.2.
Remote Management Application ................................................................................. 36
3.3.3.
Transparent Serial Port Application .............................................................................. 36
yi
3.3.1.
AT+INSTRUCTION INTRODUCTION ................................................................................... 37
4.1.
Configuration Mode .......................................................................................................... 37
4.1.1.
4.2.
Switch to Configuration Mode ....................................................................................... 37
AT+ Instruction Set Overview ........................................................................................... 38
4.2.1.
Instruction Syntax Format............................................................................................. 38
4.2.2.
AT+ Instruction Set....................................................................................................... 39
Fl
4.
Restore Page ........................................................................................................... 32
AT+E ........................................................................................................................ 41
4.2.2.2.
AT+WMODE ............................................................................................................ 41
4.2.2.3.
AT+ENTM ................................................................................................................ 41
4.2.2.4.
AT+TMODE.............................................................................................................. 42
4.2.2.5.
AT+MID .................................................................................................................... 42
4.2.2.6.
AT+VER ................................................................................................................... 42
4.2.2.7.
AT+RELD ................................................................................................................. 42
4.2.2.8.
AT+FCLR ................................................................................................................. 43
4.2.2.9.
AT+Z ........................................................................................................................ 43
ig
h-
4.2.2.1.
AT+H .................................................................................................................... 43
4.2.2.11.
AT+CFGRD .......................................................................................................... 43
4.2.2.12.
AT+CFGWR.......................................................................................................... 43
4.2.2.13.
AT+CFGFR ........................................................................................................... 44
4.2.2.14.
AT+CFGTF ........................................................................................................... 44
4.2.2.15.
AT+UART ............................................................................................................. 44
4.2.2.16.
AT+ UARTF .......................................................................................................... 45
4.2.2.17.
AT+ UARTFT ........................................................................................................ 45
4.2.2.18.
AT+ UARTFL ........................................................................................................ 45
4.2.2.19.
AT+ UARTTE ........................................................................................................ 45
4.2.2.20.
AT+ SEND ............................................................................................................ 46
4.2.2.21.
AT+ RECV ............................................................................................................ 46
4.2.2.22.
AT+ PING ............................................................................................................. 46
4.2.2.23.
AT+NETP ............................................................................................................. 46
4.2.2.10.
Shanghai High-Flying Electronics Technology Co., Ltd
www.hi-flying.com
-3-
HF-LPB100 Low Power WiFi Module User Manual
AT+ MAXSK.......................................................................................................... 47
4.2.2.25.
AT+ TCPLK........................................................................................................... 47
4.2.2.26.
AT+ TCPTO .......................................................................................................... 48
4.2.2.27.
AT+TCPDIS .......................................................................................................... 48
4.2.2.28.
AT+SOCKB........................................................................................................... 48
4.2.2.29.
AT+TCPDISB........................................................................................................ 49
4.2.2.30.
AT+TCPTOB......................................................................................................... 49
4.2.2.31.
AT+TCPLKB ......................................................................................................... 49
4.2.2.32.
AT+SNDB ............................................................................................................. 50
4.2.2.33.
AT+RCVB ............................................................................................................. 50
4.2.2.34.
AT+WSSSID ......................................................................................................... 50
4.2.2.35.
AT+WSKEY .......................................................................................................... 50
4.2.2.36.
AT+ WANN ........................................................................................................... 51
4.2.2.37.
AT+ WSMAC ........................................................................................................ 51
4.2.2.38.
AT+ WSLK ............................................................................................................ 52
4.2.2.39.
AT+ WSLQ............................................................................................................ 52
4.2.2.40.
AT+WSCAN .......................................................................................................... 52
4.2.2.41.
AT+ WSDNS ......................................................................................................... 52
4.2.2.42.
AT+ LANN............................................................................................................. 53
4.2.2.43.
AT+WAP ............................................................................................................... 53
4.2.2.44.
AT+WAKEY .......................................................................................................... 53
4.2.2.45.
AT+WAMAC ......................................................................................................... 54
4.2.2.46.
AT+WADHCP ....................................................................................................... 54
4.2.2.47.
AT+WADMN ......................................................................................................... 54
4.2.2.48.
AT+PLANG ........................................................................................................... 55
h-
Fl
yi
4.2.2.24.
AT+UPURL ........................................................................................................... 55
4.2.2.50.
AT+UPFILE........................................................................................................... 55
4.2.2.51.
AT+UPWEB .......................................................................................................... 56
4.2.2.52.
AT+UPCFG........................................................................................................... 56
4.2.2.53.
AT+UPNVR........................................................................................................... 56
4.2.2.54.
AT+UPAUTO ........................................................................................................ 56
4.2.2.55.
AT+LOGSW .......................................................................................................... 57
4.2.2.56.
AT+LOGPORT ...................................................................................................... 57
4.2.2.57.
AT+UPST ............................................................................................................. 57
4.2.2.58.
AT+WEBU ............................................................................................................ 57
4.2.2.59.
AT+MSLP ............................................................................................................. 58
4.2.2.60.
AT+NTPRF ........................................................................................................... 58
4.2.2.61.
AT+NTPEN ........................................................................................................... 58
4.2.2.62.
AT+NTPTM ........................................................................................................... 59
4.2.2.63.
AT+WRMID........................................................................................................... 59
4.2.2.64.
AT+RLDEN ........................................................................................................... 59
4.2.2.65.
AT+ASWD ............................................................................................................ 59
4.2.2.66.
AT+MDCH ............................................................................................................ 60
ig
4.2.2.49.
Shanghai High-Flying Electronics Technology Co., Ltd
www.hi-flying.com
-4-
HF-LPB100 Low Power WiFi Module User Manual
4.2.2.67.
5.
AT+TXPWR .......................................................................................................... 60
PACKAGE INFORMATION ................................................................................................... 61
5.1.
Recommended Reflow Profile .......................................................................................... 61
5.2.
Device Handling Instruction (Module IC SMT Preparation)............................................. 61
5.3.
Shipping Information ........................................................................................................ 62
APPENDIX A: HW REFERENCE DESIGN .................................................................................. 63
APPENDIX B: CONTROL GPIO/PWM FUNCTION WITH NETWORK COMMANDS .............. 64
B.1 Network Command ............................................................................................................... 64
B.2 Hexadecimal Network Command ........................................................................................ 67
APPENDIX C: HTTP PROTOCOL TRANSFER .......................................................................... 70
C.1. HTTP AT command .............................................................................................................. 70
AT+ HTTPURL............................................................................................................. 70
C.1.2.
AT+ HTTPTP ............................................................................................................... 70
C.1.3.
AT+ HTTPPH ............................................................................................................... 70
C.1.4.
AT+ HTTPCN............................................................................................................... 71
C.1.5.
AT+ HTTPUA ............................................................................................................... 71
C.1.6.
AT+ HTTPDT ............................................................................................................... 71
yi
C.1.1.
Fl
C.2. HTTP Example ..................................................................................................................... 71
ig
h-
APPENDIX D: CONTACT INFORMATION .................................................................................. 73
Shanghai High-Flying Electronics Technology Co., Ltd
www.hi-flying.com
-5-
HF-LPB100 Low Power WiFi Module User Manual
LIST OF FIGURES
HF-LPB100 View ............................................................................................................. 11
Figure 2.
HF-LPB100 Pins Map ...................................................................................................... 11
Figure 3.
HF-LPB100 Mechanical Dimension.................................................................................. 14
Figure 4.
HF-LPB100 PCB Symbol Size ......................................................................................... 14
Figure 5.
Suggested Module Placement Region ............................................................................. 15
Figure 6.
HF-LPB100 Evaluation Kit ............................................................................................... 16
Figure 7.
HF-LPB100 Order Information ......................................................................................... 17
Figure 8.
HF-LPB100 Hardware Typical Application........................................................................ 18
Figure 9.
HF-LPB100 Basic Wireless Network Structure ................................................................. 20
Figure 1.
HF-A11 AP+STA Network Structure ............................................................................. 21
Figure 11.
Socket B function demo ............................................................................................... 26
Figure 12.
Multi-TCP Link Data Transmition Structure ................................................................... 27
Figure 13.
Open Web Management page...................................................................................... 28
Figure 14.
System Web Page ....................................................................................................... 29
Figure 15.
Work Mode Page ......................................................................................................... 29
Figure 16.
STA Setting Page......................................................................................................... 30
Figure 17.
AP Setting Page........................................................................................................... 30
Figure 18.
Other Setting Page....................................................................................................... 31
Figure 19.
Account Page............................................................................................................... 31
Figure 20.
Upgrade SW page........................................................................................................ 32
Figure 21.
Restart Page ................................................................................................................ 32
Figure 22.
Restore Page ............................................................................................................... 33
Figure 23.
STA Interface Debug Connection ................................................................................. 33
Figure 25.
Figure 26.
Figure 27.
Fl
AP Interface Debug Connection ................................................................................... 34
“CommTools” Serial Debug Tools................................................................................. 34
“TCPUDPDbg” Tools Create Connection ...................................................................... 34
“TCPUDPDbg” Tools Setting ........................................................................................ 35
“TCPUDPDbg” Tools Connection ................................................................................. 35
ig
Figure 28.
h-
Figure 24.
yi
Figure 10.
Wireless Control Application......................................................................................... 35
Figure 30.
Remote Management Application ................................................................................. 36
Figure 31.
Transparent Serial Port Application .............................................................................. 36
Figure 32.
HF-LPB100 Default UART Port Parameters ................................................................. 37
Figure 33.
Switch to Configuration Mode ....................................................................................... 37
Figure 34.
”AT+H” Instruction for Help ........................................................................................... 38
Figure 35.
Reflow Soldering Profile ............................................................................................... 61
Figure 36.
Shipping Information .................................................................................................... 62
Figure 29.
Shanghai High-Flying Electronics Technology Co., Ltd
www.hi-flying.com
-6-
HF-LPB100 Low Power WiFi Module User Manual
LIST OF TABLES
Table 1
HF-LPB100 Module Technical Specifications .................................................................... 10
Table 2
HF-LPB100 Pins Definition ............................................................................................... 11
Table 3
HF-LPB100 External Antenna Parameters ........................................................................ 15
HF-LPB100 Evaluation Kit Interface Description ............................................................... 16
Table 6
Standby Mode Status and Wake Up .................................................................................. 23
Table 7
HF-LPB100 GPIO/PWM Pin Mapping Table ..................................................................... 25
Table 8
HF-LPB100 Web Access Default Setting .......................................................................... 28
Table 9
Error Code Describtion ..................................................................................................... 39
Table 10
AT+ Instruction Set List ................................................................................................... 39
Table 4
ig
h-
Fl
yi
Table 11 Reflow Soldering Parameter ............................................................................................. 61
Shanghai High-Flying Electronics Technology Co., Ltd
www.hi-flying.com
-7-
HF-LPB100 Low Power WiFi Module User Manual
HISTORY
Ed. V1.0 08-01-2013 First Version.
Ed. V1.1 09-10-2013 Update AT command.
Ed. V1.2 10-10-2013 Update AT command. Update PWM/GPIO function. Add HTTP protocol demo.
Add auto-frame function.
Ed. V1.3 10-18-2013 Update module view, add nReload Pin wireless upgrade and config description,
ig
h-
Fl
yi
add nLink Pin wireless upgrade indication description.
Shanghai High-Flying Electronics Technology Co., Ltd
www.hi-flying.com
-8-
HF-LPB100 Low Power WiFi Module User Manual
1. PRODUCT OVERVIEW
1.1. General Description
The HF-LPB100 is a fully self-contained small form-factor, single stream, 802.11b/g/n Wi-Fi module,
which provide a wireless interface to any equipment with a Serial/SPI/USB interface for data
transfer.HF-LPB100 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 solution for a variety of applications.
The HF-LPB100 employs the world's lowest power consumption embedded architecture. It has been
yi
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.
The HF-LPB100 integrates all Wi-Fi functionality into a low-profile, 23.1x32.8x 2.7mm SMT module
package that can be easily mounted on main PCB with application specific circuits. Also, module
1.1.1 Device Features
Fl
provides built-in antenna, external antenna option.
Single stream Wi-Fi @ 2.4 GHz with support for WEP security mode as well as WPA/WPA2

Based on Self-developed High Cost Performance MCU

Ultra-low-power operation with all kinds of power-save modes.

Includes all the protocol and configuration functions for Wi-Fi connectivity.

Support STA/AP/AP+STA Mode

Support Smart Link Function

Support Wireless and Remote Firmware Upgrade Function

Support Max 6 Channel PWM/GPIO Output

Integrated chip antenna, antenna connector options.

Compact surface mount module 23.1mm x 32.8mm x 2.7mm.

Full IPv4 and IPv6 stack.

Low power RTOS and drivers.

FCC Certified.

RoHS and CE compliant.

Single supply – 3.3V operation.
ig
h-

Shanghai High-Flying Electronics Technology Co., Ltd
www.hi-flying.com
-9-
HF-LPB100 Low Power WiFi Module User Manual
1.1.2 Device Paremeters
Table 1
Wireless
Parameters
Item
Parameters
Certification
Wireless standard
Frequency range
FCC/CE
802.11 b/g/n
2.412GHz-2.484GHz
802.11b: +16 +/-2dBm (@11Mbps)
802.11g: +14 +/-2dBm (@54Mbps)
802.11n: +13 +/-2dBm (@HT20, MCS7)
802.11b: -93 dBm (@11Mbps ,CCK)
802.11g: -85 dBm (@54Mbps, OFDM)
802.11n: -82 dBm (@HT20, MCS7)
External:I-PEX Connector
Internal:On-board PCB antenna
UART
SPI, PWM, GPIO
2.8~3.6V
Peak [Continuous TX]: ~200mA
Normal [WiFi ON/OFF, DTIM=100ms]:
Average. ~12mA, Peak: 200mA
Standby [WiFi Shutdown]: <200uA
Power Down Switch: <10uA
-40℃- 85℃
-45℃- 125℃
23.1mm×32.8mm×2.7mm
STA /AP/STA+AP
WEP/WPA-PSK/WPA2-PSK
WEP64/WEP128/TKIP/AES
Local Wireless, Remote
Web Page Upgrade
Support SDK for application develop
IPv4, TCP/UDP/FTP/HTTP
AT+instruction set. Android/ iOS
Smart Link APP tools
Transmit Power
Class
HF-LPB100 Module Technical Specifications
Antenna Option
Data Interface
Operating Voltage
Operating Current
Fl
Hardware
Parameters
yi
Receiver Sensitivity
h-
Operating Temp.
Storage Temp.
Dimensions and Size
Network Type
Security Mechanisms
Encryption
Update Firmware
Software
Parameters
Customization
ig
Network Protocol
User Configuration
1.1.3 Key Application

Remote equipment monitoring

Asset tracking and telemetry

Security

Industrial sensors and controls

Home automation

Medical devices
Shanghai High-Flying Electronics Technology Co., Ltd
www.hi-flying.com
- 10 -
HF-LPB100 Low Power WiFi Module User Manual
1.2. Hardware Introduction
Pins Definition
ig
h-
Fl
yi
1.2.1.
HF-LPB100 View
Figure 1.
Figure 2.
Table 2
HF-LPB100 Pins Map
HF-LPB100 Pins Definition
Pin
Describtion
Net Name
Comments
GND
Signal
Type
Power
1,17,32,48
Ground
Debug Pin
SWCLK
I, PD
Debug functional pin,
No connect if not use.
NC
NC
Debug Pin
SWD
I/O,PU
Shanghai High-Flying Electronics Technology Co., Ltd
www.hi-flying.com
- 11 -
HF-LPB100 Low Power WiFi Module User Manual
N.C
No connect
GPIO
Sleep_RQ
I.PU
GPIO7, No connect if not use.
GPIO
Sleep_ON
GPIO8, No connect if not use.
+3.3V Power
DVDD
Power
10
N.C
No connect
11
PWM/GPIO
PWM_1
I/O
GPIO11, No connect if not use.
12
PWM/GPIO
PWM_2
I/O
GPIO12, No connect if not use.
13
GPIO
GPIO13
I/O
GPIO13, No connect if not use.
N.C
15
WPS/GPIO
16
No connect
GPIO15
I/O
N.C
18
PWM/GPIO
No connect
PWM_3
I/O
N.C
20
PWM/GPIO
GPIO18, No connect if not use.
No connect
PWM_4
I/O
GPIO20, No connect if not use.
yi
19
GPIO15, WPS Function Pin.
14
21
N.C
No connect
22
N.C
No connect
23
GPIO
24
PWM_5
I/O
GPIO23, No connect if not use.
N.C
Power Control
Switch
PWR_SW
I,PU
“0” – Power Down Mode(Lowest Power
Consumption)
“1” – Normal mode
No connect
Fl
25
No connect
26
N.C
SPI Interface
SPI_MISO
GPIO27, No connect if not use.
28
SPI Interface
SPI_CLK
I/O
GPIO28, No connect if not use.
29
SPI Interface
SPI_CS
I/O
GPIO29, No connect if not use.
h-
27
30
SPI Interface
SPI_MOSI
31
+3.3V Power
DVDD
Power
33
N.C
34
+3.3 Power
DVDD
GPIO30, No connect if not use.
No connect
Power
N.C
No connect
36
N.C
No connect
37
N.C
No connect
38
N.C
No connect
ig
35
UART0
UART0_TX
GPIO39, No connect if not use.
40
UART0
UART0_RTS
I/O
GPIO40, No connect if not use.
41
UART0
UART0_RX
GPIO41, No connect if not use.
42
UART0
UART0_CTS
I/O
GPIO42, No connect if not use.
43
Wi-Fi Status
nLink
Detailed functions see 
44
Module Boot Up
Indicator
nReady
45
Multi-Function
nReload
I,PU
“0” – Boot-up OK;
“1” – Boot-up No OK;
No connect if not use.;
Detailed functions see 
39
46
N.C
No connect
Shanghai High-Flying Electronics Technology Co., Ltd
www.hi-flying.com
- 12 -
HF-LPB100 Low Power WiFi Module User Manual
47
Module Reset
EXT_RESETn
I,PU
“Low” effective reset input.

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.
(High-Flying will provide software tools for customer batch configuration and
upgrade firmware during mass production)
2.
After module is powered up, short press this button ( “Low” < 3s ) to make the
other information.
3.
module go into “Smart Link “ config mode, waiting for APP to set password and
After module is powered up, long press this button ( “Low” > 3s ) to make the
module recover to factory setting.
yi
High-Flying strongly suggest customer fan out this pin to connector or button for
“Manufacture” and “ Smart Link” application.
nLink Pin (LED) function:
1.
At wireless firmware and config upgrade mode , this LED used to indicate configure
and upgrade status.
At “Smart Link “ config mode, this LED used to indicate APP to finish setting.
3.
At normal mode, it’s Wi-Fi link status indicator
Fl
2.
High-Flying strongly suggest customer fan out this pin to LED.
1.2.2.
Electrical Characteristics
Parameter
h-
Absolute Maximum Ratings:
Storage temperature range
Maximum soldering temperature
Condition
Typ.
Max.
Unit
-45
125
260
°C
°C
3.8
3.3
IPC/JEDEC J-STD-020
Supply voltage
Voltage on any I/O pin
ig
Min.
ESD (Human Body Model HBM)
TAMB=25°C
KV
ESD (Charged Device Model, CDM)
TAMB=25°C
KV
Power Supply & Power Consumption:
Parameter
Condition
Operating Supply voltage
Supply current, peak
Continuous Tx
Supply current, IEEE PS
Output high voltage
DTIM=100ms
Sourcing 6mA
Output low voltage
Input high voltage
Sinking 6mA
Input low voltage
Min.
Typ.
Max.
Unit
2.8
3.3
200
3.8
mA
12
mA
2.8
0.2
0.8
2.2
Shanghai High-Flying Electronics Technology Co., Ltd
www.hi-flying.com
- 13 -
HF-LPB100 Low Power WiFi Module User Manual
1.2.3.
Mechanical Size
Figure 3.
yi
HF-LPB100 modules physical size (Unit: mm) as follows:
HF-LPB100 Mechanical Dimension
ig
h-
Fl
HF-LPB100 Module PCB symbol size (mm) as follows:
1.2.4.
Figure 4.
HF-LPB100 PCB Symbol Size
On-board Chip Antenna
HF-LPB100 module support internal on-board chip antenna option. When customer select internal
antenna, you shall comply with following antenna design rules and module location suggestions:

For customer PCB, RED color region (8.3x18.4mm) can’t put componet or paste GND net;

Antenna must away from metal or high components at least 10mm;
Shanghai High-Flying Electronics Technology Co., Ltd
www.hi-flying.com
- 14 -
HF-LPB100 Low Power WiFi Module User Manual

Antenna can’t be shieldedby any meal enclosure; All cover, include plastic, shall away from
Suggested Module Placement Region
yi
Figure 5.
antenna at least 10mm;
High-Flying suggest HF-LPB100 module better locate in following region at customer board, which to
reduce the effect to antenna and wireless signal, and better consult High-Flying technical people when
you structure your module placement and PCB layout.
1.2.5.
External Antenna
HF-LPB100 module supports internal antenna and external antenna option for user dedicated
Fl
application.
If user select external antenna, HF-LPB100 modules must be connected to the 2.4G antenna
according to IEEE 802.11b/g/n standards.
The antenna parameters required as follows:
HF-LPB100 External Antenna Parameters
h-
Table 3
Parameters
Frequency range
2.4~2.5GHz
Impedance
VSWR
Return Loss
Connector Type
50 Ohm
2 (Max)
-10dB (Max)
I-PEX or populate directly
ig
Item
Evaluation Kit
1.2.6.
High-Flying provides the evaluation kit to promote user to familiar the product and develop the detailed
application. The evaluation kit shown as below, user can connect to HF-LPB100 module with the RS232 UART, RS485, USB (Internal UART-USB convetor) or Wireless port to configure the parameters,
manage the module or do the some functional tests.
Shanghai High-Flying Electronics Technology Co., Ltd
www.hi-flying.com
- 15 -
HF-LPB100 Evaluation Kit
Fl
Figure 6.
yi
HF-LPB100 Low Power WiFi Module User Manual
Notes: User need download USB - UART port driver from High-Flying web or contact with technical
support people for more detail.
h-
The external interface description for evaluation kit as follows:
Table 4
Name
Description
COM1
Main data/command RS-232 interface
RS485
Main data/command RS-485 interface
JTAG
JTAG data debug interface (Not for user use)
USB2TTL
UART to USB debug interface. (For PC without
RS232, need load driver). Can be Power input.
USB DEBUG
USB2.0 data interface.
DC Jack
DC jack for power in, 5~18V input.
DC5-18V
DC jack for power in, 5~18V input.
BAT
2 Li-Battery Power Supply.
ig
Function
External
Interface
HF-LPB100 Evaluation Kit Interface Description
EXT PORT
JMP1,JMP2
JMP3
JMP6
HF-LPB100 GPIO function extend interface
connector
Reserved, No Jumper required.
4Pin USB or RS232 Jumper. Left jump select USB.
3Pin RS485 Jumper. No jump selects RS232.
Shanghai High-Flying Electronics Technology Co., Ltd
www.hi-flying.com
- 16 -
HF-LPB100 Low Power WiFi Module User Manual
nLink
nReady
Sleep_ON
Button
nReset
nReload
WPS
Sleep_RQ
1.2.7.
Order Information
3.3V Power Indicator
nLink -WiFi LINK Indicator
See 1.2.1
nReady – Module Bootup Ready Indicator
On (“low”)- Module bootup OK;
Off (“high”)- Mouule botup failed;
Twinkle- Remote Upgrade Ongoing;
Sleep_ON-Module asleep or awake Indicator
On (“low”)- Module in shundown(deep sleep) status;
Off (“high”)- Mouule in normal status;
Twinkle- Bootloader Upgrade Ongoing;
Used to reset the module.
Restore factory default configuration after push this
pin more than 3s.
See 1.2.1
WPS Button (Reserved, No Use)
Pin Sleep Control button, more than 3s to put
module in standby mode.
Power
yi
LED
Base on customer detailed requirement, HF-LPB100 series modules provide different variants and
ig
h-
Fl
physical type for detailed application.
HF-LPB100 Order Information
Figure 7.
Shanghai High-Flying Electronics Technology Co., Ltd
www.hi-flying.com
- 17 -
HF-LPB100 Low Power WiFi Module User Manual
1.3. Typical Application
Hardware Typical Application
Fl
yi
1.3.1.
Notes:
HF-LPB100 Hardware Typical Application
h-
Figure 8.
nReset- Module hardware reset signal. Input. Logics “0” effective.
There is pull-up resister internal and no external pull-up required. When module power up or some
issue happened, MCU need assert nRST signal “0” at least 10ms, then set” 1” to keep module fully
ig
reset.
nLink- Module WIFI connection status indication. Output.
(This pin is recommend to connect to LED, indicate status when the module in wireless
upgrade mode)
When module connects to AP (AP associated), this pin will output “0”. This signal used to judge if
module already at WiFi connection status. Thers is pull-up resister internal and no external pull-up
required. If nLink function not required, can leave this pin open.
nReady- Module boot up ready signal. Output. Logics “0” effective.
The module will output “0” after normal boot up. This signal used to judge if module finish boot up and
ready for application or working at normal mode. If nReady function not required, can leave this pin
open.
nReload- Module restore to factory default configuration.Input. Logics “0” effective.
Shanghai High-Flying Electronics Technology Co., Ltd
www.hi-flying.com
- 18 -
HF-LPB100 Low Power WiFi Module User Manual
(This pin is recommend to connect to button, is used to enter wireless upgrade mode)
User can de-assert nReload signal “0” more than 3s through button or MCU pin, then release, module
will restore to factory default configuration and re-start boot up process.. If nReload function not
required, can leave this pin open.
Sleep_RQ- Module Pin Sleep Control. Input.
The user should de-assert this pin low “0”, after 3’s assert to high ”1” to put the module to sleep status.
Also at the deep sleep/standby mode, user can de-assert this pin low “0”, after 1’s assert to high ”1” to
Sleep_ON- Module Pin Sleep Indicator. Output.
put the module to wake up the module. If Sleep_RQ function not required, can leave this pin open.
This pin is used to indicate that the module is asleep (Module output “0”) or awake (Module output “1”)
yi
status. If user doesn't use pin sleep function, can leave this pin open.
ig
h-
Fl
UART0_TXD/RXD- UART port data transmit and receive signal.
Shanghai High-Flying Electronics Technology Co., Ltd
www.hi-flying.com
- 19 -
HF-LPB100 Low Power WiFi Module User Manual
2. FUNCTIONAL DESCRIPTION
2.1. Wireless Networking
HF-LPB100 module can be configured as both wireless STA and AP base on network type. Logically
there are two interfaces in HF-LPB100. One is for STA, and another is for AP. When HF-LPB100
works as AP, other STA equipments are able to connect to wireless LAN via HF-LPB100 module.
Wireless Networking with HF-LPB100 is very flexible.
Notes:
AP: that is the wireless Access Point, the founder of a wireless network and the centre of the network
nodes. The wireless router we use at home or in office may be an AP.
STA: short for Station, each terminal connects to a wireless network (such as laptops, PDA and other
2.1.1.
yi
networking devices) can be called with a STA device.
Basic Wireless Network Based On AP (Infrastructure)
Infrastructure: it’s also called basic network. It built by AP and many STAs which join in.
The characters of network of this type are that AP is the centre, and all communication between STAs
h-
Fl
is transmitted through the AP. The figure following shows such type of networking.
HF-LPB100 Basic Wireless Network Structure
ig
Figure 9.
2.1.2.
Wireless Network Based On AP+STA
HF-LPB100 module support AP+STA network mode, means module support one AP interface and
one STA interface at the same time, as following figure,
Shanghai High-Flying Electronics Technology Co., Ltd
www.hi-flying.com
- 20 -
yi
HF-LPB100 Low Power WiFi Module User Manual
Figure 10. HF-A11 AP+STA Network Structure
When module enables AP+STA function, Module’s STA interface can connect with router and connect
to TCP server in the network. At the same time, module’s AP interface is also active and permit
phone/PAD to connect through TCPB, then phone/PAD can control user device and and setting the
module parameters,

Fl
The advantage of AP+STA mode is:
Users can easily setting and track user device through Phone/PAD and not change the
orginal network setting.

Users can easily setting module’s parameters through WiFi when module works as STA
h-
mode.
2.2. Work Mode : Transparent Transmission Mode
HF-LPB100 module support serial interface transparent transmission mode. The benefit of this mode
is achieves a plug and play serial data port, and reduces user complexity furthest. In this mode, user
ig
should only configure the necessary parameters. After power on, module can automatically connect to
the default wireless network and server.
As in this mode, the module's serial port always work in the transparent transmission mode, so users
only need to think of it as a virtual serial cable, and send and receive data as using a simple serial. In
other words, the serial cable of users’ original serial devices is directly replaced with the module; user
devices can be easy for wireless data transmission without any changes.
The transparent transmission mode can fully compatible with user’s original software platform and
reduce the software development effort for integrate wireless data transmission.
The parameters which need to configure include:

Wireless Network Parameters

Wireless Network Name(SSID)

Security Mode
 Encryption Key
Shanghai High-Flying Electronics Technology Co., Ltd
www.hi-flying.com
- 21 -
HF-LPB100 Low Power WiFi Module User Manual

TCP/UDP Linking Parameters

Protocol Type

Link Type(Server or Client)

Target Port ID Number

Target Port IP Address
Serial Port Parameters

Baud Rate

Data Bit

Parity (Check) Bit

Stop Bit

Hardware Flow Control

2.3.1.
yi
2.3. UART Frame Scheme
UART Free-Frame
HF-LPB100 support UART free-frame function. If user select open this function, module will check the
intervals between any two bytes when reciving UART data. If this interval time exceeds defined value
(50ms default), HF-LPB100 will think it as the end of one frame and transfer this free-frame to WiFi
port, or HF-LPB100 will receive UART data untill 1000 bytes, then transfer 1000 bytes frame to WiFi
Fl
port.
HF-LPB100’s default interval time is 50ms. User can also set this interval to fast (10ms) through AT
command. But user have to consider if user MCU can send UART data with 10ms interval ,or the
h-
UART data may be divide as fragment.
Through AT command: AT+UARTTE=fash/normal, user can set the interval time: fast (10ms) and
normal (50ms).
UART Auto-Frame
ig
2.3.2.
HF-LPB100 support UART auto-frame function. If user select open this function and setting autoframe trigger length and auto-frame trigger time parameters, then module will auto framing the data
which received from UART port and transmitting to the network as pre-defined data structure.
Auto-frame trigger length: The fixed data length that module used to transmitting to the

network.

Auto-frame trigger time: After the trigger time, if UART port received data can’t reach autoframe trigger length, then module will transmitting available data to the network and bypass
the auto-frame trigger length condition.
Detailed UART auto-frame function can refer to AT+ instruction set “UARTF/UARTFT/UARTFL”
introduction.
Shanghai High-Flying Electronics Technology Co., Ltd
www.hi-flying.com
- 22 -
HF-LPB100 Low Power WiFi Module User Manual
2.4. Encryption
Encryption is a method of scrambling a message that makes it unreadable to unwanted parties,
adding a degree of secure communications. There are different protocols for providing encryption, and

WEP

WPA-PSK/TKIP

WPA-PSK/AES

WPA2-PSK/TKIP

WPA2-PSK/AES
the HF-LPB100 module supports following:
2.5. Power Save Scheme
yi
HF-LPB100 module can work at two modes based on different power save scheme:

Normal (Active/Sleep) Mode - AP Associated, WiFi ON/OFF based on internal control

Standby Mode - Non AP Associated, WiFi Shut dwon
Normal (Active/Sleep) Mode Normal mode is no DTIM related (Default mode), module will monitor
the interval to Active/Sleep.
Fl
Standby Mode allows the WiFi circuitry to be powered down, which results in the lowest sleep current,
but at the expense of longer wake up times. This is due to the module associating with the access
point every time when it wakes up. The intent of this option is to allow for longer sleep times. Standby
mode can through AT+MSLP command or trigger “Sleep_RQ” pin to go in.
h-
The standby mode status and wakeup method as follows: For standby mode, module provides two
wakes up options, user can select one or whole as the module wake up option. Refer to AT Instruction
(Power Management Instruction Set) for more detailed setting.

“Reset” Pin Wake Up
ig

“Sleep_RQ” Pin Wake Up
Table 6
Standby Mode Status and Wake Up
Status
Standby
Wi-Fi
OFF
MCU
OFF
Current
<80uA
Wake Up Method
UART
OFF
GPIO
Yes
Timeout
No
AT Commond
No
Reset Pin
Yes
Sleep _RQ Pin Wake Up Option allows an external microcontroller to determine when HF-LPB100
should sleep and when it should wake by controlling the “Sleep_RQ” and “Sleep_ON” pin. at the
standby mode, user can de-assert this pin low “0”, after 1’s assert to high ”1” to put the module to
wake up the module. If user doesn't use pin sleep function, can leave this pin open.
Sleep _RQ Pin Wake Up Option allows an external microcontroller to de-assert “Reset” pin to low
“0” to reset the module.
Shanghai High-Flying Electronics Technology Co., Ltd
www.hi-flying.com
- 23 -
HF-LPB100 Low Power WiFi Module User Manual
2.6. Parameters Configuration
HF-LPB100 module supports two methods to configuration parameters: Web Accessing and
AT+instruction set.
Web accessing means users can configure parameters through Web browser. When HF-LPB100
module connected to wireless network, parameters configuration is done on a PC connected to the
same wireless network.
AT+instruction set configuration means user configure parameters through serial interface command.
Refer to “AT+instruction set” chapter for more detail.

Webpage Wi-Fi Upgrade

Remote Upgrade
yi
HF-LPB100 module supports two on-line upgrade methods:
2.7. Firmware Update
Webpaged based Wi-Fiupgrade,please refer to 3.1.8 firmware upgrade page , user can upload
firmware file from PC to HF-LPB100.
HF-LPB100 module also support upgrade from remote HTTP server, keep module connects to AP
router before excuate remote HTTP upgrade. Remote upgrade have two methods: Direct Download
Fl
and Upgrade, Configure File Based Upgrade.
 Configure File Based Upgrade
AT+UPURL command to set the remote directory which the configuration file located, such as
AT+UPURL=http://www.hi-flying.com/!admin/down/
h-
Notes: The last ’/’ can’t be remove
AT+UPFILE command to set the configuration file name, such as AT+UPFILE=config.txt
AT+UPST command to start remote Application upgrade. After excuate this command, the module will
firstly download configuration file (“config.txt”), then download the upgrade file base on the URL
ig
address listed in the configure file.
AT+UPWEB command to start remote Webpage upgrade. After excuate this command, the module
will firstly download configuration file (“config.txt”), then download the upgrade file base on the WEB
address listed in the configure file.
AT+UPCFG command to start remote Factory Config upgrade. After excuate this command, the
module will firstly download configuration file (“config.txt”), then download the upgrade file base on the
CFG address listed in the configure file.
AT+UPNVR command to start remote NVRAM Data upgrade. After excuate this command, the
module will firstly download configuration file (“config.txt”), then download the upgrade file base on the
NVR address listed in the configure file.
AT+UPAUTO command to start remote upgrade. After excuate this command, the module will firstly
download configuration file (“config.txt”), then download the upgrade file base on the URL,WEB,CFG
address listed in the configure file. It include the functions of AT+UPST,AT+UPWEB,AT+UPCFG.
Shanghai High-Flying Electronics Technology Co., Ltd
www.hi-flying.com
- 24 -
HF-LPB100 Low Power WiFi Module User Manual
General “config.txt” file format as following example:
[URL]=”http://10.10.100.100:80/lpb.bin”
[WEB]="http://10.10.100.100:80/web.bin"
[NVR]="http://10.10.100.100:80/nvram.dat"
[CFG]= "http://10.10.100.100:80/cfg.bin"
[URL]= the URL address of Application.
[WEB]=the URL address of Webpage
[NVR]= the URL address of NVRAM data
[CFG]= the URL address of Factory Parameter File
yi
 Direct Download and Upgrade
AT+UPURL command to set the remote directory and file name, such as:
AT+UPURL=http://www.hi-flying.com/!admin/down/,lpb.bin
After excuate this command, the module will directly download the “lpb.bin” file from remote directory
and start upgrade Application.
Notes: please contact with high-flying technical people before upgrade firmware, or maybe damage
Fl
the module and can’t work again.
2.8. GPIO/PWM Function
HF-LPB100 module can provide many GPIOs, which include max 6 PWM/GPIO control pins. User
devices can read/write GPIO/PWM pins status.
HF-LPB100 GPIO/PWM Pin Mapping Table
h-
Table 7
Configured Function
PWM/GPIO Channel
PWM/GPIO Channel
GPIO Channel
PWM/GPIO Channel
PWM/GPIO Channel
GPIO23
GPIO Channel
ig
GPIO
GPIO11
GPIO12
GPIO15
GPIO18
GPIO20
Describtion
PWM_1
PWM_2
GPIO15
PWM_3
PWM_4
PWM_5
Default Setting
GPIO11
GPIO12
GPIO15
GPIO18
GPIO20
GPIO23
Type
I/O
I/O
I/O
I/O
I/O
I/O
When module works at PWM mode, PC and other devices can setup connection (TCP/UDP) through
WiFi, then read/write GPIO/PWM information through command data.

GPIO n OUT 0, Set GPIOn as output and output ‘0’, Response GPIO OK or GPIO NOK;

GPIO n OUT 1, Set GPIOn as output and output ‘1’, Response GPIO OK or GPIO NOK;

GPIO n GET, Read GPIOn pin status, Response +ok=1 or GPIO NOK

GPIO n SET, Save GPIOn set, Response GPIO OK or GPIO NOK

PWM n frequency duty, Set PWMn Channel output, Response GPIO OK or GPIO NOK

PWM n GET, Read PWMn Channel set, Response +ok=frequency duty or PWM NOK

PWM n SET, Save PWMn Channel set, Response PWM OK or PWM NOK
Notes: Please refer to Appendix B for details to use GPIO/PWM.
Shanghai High-Flying Electronics Technology Co., Ltd
www.hi-flying.com
- 25 -
HF-LPB100 Low Power WiFi Module User Manual
2.9. SOCKET B Function
Fl
yi
HF-LPB100 support double socket communication, the socket B function is disabled by
default.
After the module is started, send command “AT+SOCKB” to set the connection parameter,
send command “AT+TCPDISB=on” to try to connect with TCP server, the module will stop
connecting after three failures. Send command “AT+TCPDISB=on” to make connection.
Send command “AT+TCPDISB=off” to close connection. Send command “AT+TCPLKB” to
inqure TCP connection.
h-
Figure 11. Socket B function demo
2.10. Multi-TCP Link Connection
ig
When HF-LPB100 module configured as TCP Server, it supports Multi-TCP link connection,
and maximum 5 TCP clients permit to connect to HF-LPB100 module. User can realize multiTCP link connection at each work mode.
Multi-TCP link connection will work as following structure:
Upstream: All dates from different TCP connection or client will be transmitted to the serial
port as a sequence.
Downstream: All data from serial port (user) will be duplicate and broadcast to every TCP
connection or client.
Detailed multi-TCP link data transmition structure as following figure:
Shanghai High-Flying Electronics Technology Co., Ltd
www.hi-flying.com
- 26 -
g
HF-LPB100 Low Power WiFi Module User Manual
ig
h-
Fl
yi
Figure 12. Multi-TCP Link Data Transmition Structure
Shanghai High-Flying Electronics Technology Co., Ltd
www.hi-flying.com
- 27 -
HF-LPB100 Low Power WiFi Module User Manual
3. OPERATION GUIDELINE
3.1. Configuration via Web Accessing
When first use HF-LPB100 modules, user may need some configuration. User can connect to HFLPB100 module’s wireless interface with following default setting information and configure the
module through laptop.
Parameters
SSID
IP Address
Subnet Mask
Admin
Admin
User Name
Password
3.1.1.
Default Setting
HF-LPB100
10.10.100.254
255.255.255.0
HF-LPB100 Web Access Default Setting
yi
Table 8
Open Web Management Interface
Step 1: Connect laptop to SSID “HF-LPB100” of HF-LPB100 module via wireless LAN card;
Fl
Step 2: After wireless connection OK. Open Wen browser and access “http://10.10.100.254”;
ig
h-
Step 3: Then input user name and password in the page as following and click “OK” button.
Figure 13. Open Web Management page
The HF-LPB100 web management page support English and Chinese language. User can select
language environment at the top right corner and click “Apply” button.
The main menu include nine pages: “System”, “Work Mode”, “STA Setting”, “AP Setting”, “Other
Setting”, “Account”, “Upgrade SW”, “Restart”, “Restore”.
3.1.2.
System Page
At this page, user can check current device’s important information and status such as: device ID
(MID), software version, wireless work mode and related Wi-Fi parameters.
Shanghai High-Flying Electronics Technology Co., Ltd
www.hi-flying.com
- 28 -
yi
HF-LPB100 Low Power WiFi Module User Manual
Figure 14. System Web Page
3.1.3.
Work Mode Page
HF-LPB100 module can works at AP mode to simplify user’s configuration, can also works at STA to
connect remote server through AP router. Also, it can configure at AP+STA mode which provide very
ig
h-
Fl
flexible application for customers.
3.1.4.
Figure 15. Work Mode Page
STA Setting Page
User can push “Scan” button to auto search Wi-Fi AP router nearby, and can connect with associate
AP through some settings. Please note the encryption information input here must be fully same with
Wi-Fi AP router’s configration, and then it can link with AP correctly.
Shanghai High-Flying Electronics Technology Co., Ltd
www.hi-flying.com
- 29 -
yi
HF-LPB100 Low Power WiFi Module User Manual
Figure 16. STA Setting Page
3.1.5.
AP Setting Page
When user select module works at AP and AP+STA mode, then need setting this page and provide
Fl
wireless and network parameters. Most of the system support DHCP to achieve IP address, so we
ig
h-
suggest to “Enable” DHCP server in most applications.
Figure 17. AP Setting Page
Shanghai High-Flying Electronics Technology Co., Ltd
www.hi-flying.com
- 30 -
HF-LPB100 Low Power WiFi Module User Manual
3.1.6.
Other Setting Page
HF-LPB100 usually works at data transparent transmission mode. At this mode, the user device which
connected with HF-LPB100 will connect and communicate with remote PC or server. At this page,
yi
user need setting serial port communication parameters and defines TCP related protocal parameters.
3.1.7.
Fl
Figure 18. Other Setting Page
Account Management Page
ig
h-
This page set web server’s user name and password.
Figure 19. Account Page
Shanghai High-Flying Electronics Technology Co., Ltd
www.hi-flying.com
- 31 -
HF-LPB100 Low Power WiFi Module User Manual
3.1.8.
Upgrade Software Page
yi
User can upgrade new software (firmware) version through Wi-Fi.
3.1.9.
Restart Page
Fl
Figure 20. Upgrade SW page
Most of the settting and configuration can only effective after system restart. User shall restart after
ig
h-
finish all setting.
Figure 21. Restart Page
3.1.10. Restore Page
After module restore factory default setting, all user configuration profile will lose.
Shanghai High-Flying Electronics Technology Co., Ltd
www.hi-flying.com
- 32 -
HF-LPB100 Low Power WiFi Module User Manual
User can access http://10.10.100.254 to set again, and user name and password is “admin”. HF-
yi
LPB100 will restore to AP mode for factory default setting.
Figure 22. Restore Page
3.2.1.
Fl
3.2. HF-LPB100 Usage Introduction
Software Debug Tools
High-Flying use two common software tools debugging and applying HF-LPB100 module.
(User can also select other tools used to debug serial port).

3.2.2.
Serial Debugging Software: ComTools
h-

Ethernet Debugging Software: TCPUDPDbg
Network Connection
ig
User can select two methods to connect HF-LPB100 module base on dedicated application.

Use HF-LPB100 STA interface. HF-LPB100 and debug PC2 connect to a wireless AP,
another PC1 (or user device) connect to HF-LPB100 module with serial port:
Figure 23. STA Interface Debug Connection

Use HF-LPB100 AP interface. Debug PC2 connect to HF-LPB100 through wireless
connection, another PC1 (or user device) connect to HF-LPB100 module with serial port.
Shanghai High-Flying Electronics Technology Co., Ltd
www.hi-flying.com
- 33 -
HF-LPB100 Low Power WiFi Module User Manual
Figure 24. AP Interface Debug Connection
3.2.4.
Default Parameter Setting
Default SSID: HF-LPB100;

Deault security mode: open,none;

User UART parameter setting:115200,8,1,None;

Default network parameter setting:TCP,Server,8899,10.10.100.254;

Module IP address: dhcp,0.0.0.0,0.0.0.0,0.0.0.0;
Module Debug

yi
3.2.3.
PC1 open “CommTools” program, setting the same serial port parameters with HF-LPB100 module
h-
Fl
and open serial port connection.
Figure 25. “CommTools” Serial Debug Tools
ig
PC2 open “TCPUDPDbg” program, and create a new connection. If HF-LPB100 configured as Server
mode, “TCPUDPDbg” Tools shall create “Client “mode connection. Or otherwise, create a “Server”
mode connection.
Figure 26.
“TCPUDPDbg” Tools Create Connection
Shanghai High-Flying Electronics Technology Co., Ltd
www.hi-flying.com
- 34 -
HF-LPB100 Low Power WiFi Module User Manual
“TCPUDPDbg” Tools Setting
yi
Figure 27.
Then setting the TCP/UDP connection parameters. Default as following:
h-
Fl
Then, click “Create” button to create a connection.
Figure 28.
“TCPUDPDbg” Tools Connection
ig
Now, in transparent transmission mode, data can be transferred from “CommTools” program to
“TCPUDPDbg” program, or in reverse. You can see data in receiver side will keep same as in sender
side.
3.3. Typical Application Examples
3.3.1.
Wireless Control Application
Figure 29. Wireless Control Application
Shanghai High-Flying Electronics Technology Co., Ltd
www.hi-flying.com
- 35 -
HF-LPB100 Low Power WiFi Module User Manual
For this wireless control application, HF-LPB100 works as Ad-Hoc mode. Module’s serial port
connects to user device. So, control agent (Smart phone for this example) can manage and control the
user device through the wireless connection with HF-LPB100 module.
Remote Management Application
yi
3.3.2.
Figure 30. Remote Management Application
For this remote management application, HF-LPB100 works as STA mode and connects to Internet
through wireless AP. Module configured as TCP Client and communicates with remote TCP server at
Internet. Module’s serial port connects to user device.
Fl
So, user device’s data or sampling information can send to remote TCP server for storage or
processing. Also remote TCP server can send command to control and manage the user device
through the wireless network.
Transparent Serial Port Application
h-
3.3.3.
For this transparent serial port application, two HF-LPB100 modules connect as below figures to build
ig
up a transparent serial port connection. HF-LPB100 works as Ad-Hoc mode to connect each other.
Figure 31. Transparent Serial Port Application
Shanghai High-Flying Electronics Technology Co., Ltd
www.hi-flying.com
- 36 -
HF-LPB100 Low Power WiFi Module User Manual
4. AT+INSTRUCTION INTRODUCTION
4.1. Configuration Mode
When HF-LPB100 power up, it will default works as transparent transmission mode, then user can
switch to configuration mode by serial port command. HF-LPB100 UART default parameters setting as
yi
below figure,
Figure 32. HF-LPB100 Default UART Port Parameters
In configuration mode, user can setting the module through AT+ instruction set, which cover all web
page setting function.
4.1.1.
Switch to Configuration Mode
Fl
Two steps to finish switching from transparent transmission mode to configuration mode.

UART input “+++”, after module receive “+++”, and feedback “a” as confirmation.

UART input “a”, after module receive “a” and feedback “+ok” to go into AT+
ig
h-
instruction set configuration mode.
Figure 33. Switch to Configuration Mode
Notes:
1. When user input “+++” (No “Enter” key required), the UART port will display feedback information
“a”, and not display input information”+++” as above UART display.
2. Any other input or wrong step to UART port will cause the module still works as original mode
(transparent transmission).
Shanghai High-Flying Electronics Technology Co., Ltd
www.hi-flying.com
- 37 -
HF-LPB100 Low Power WiFi Module User Manual
4.2. AT+ Instruction Set Overview
User can input AT+ Instruction through hyper terminal or other serial debug terminal, also can program
the AT+ Instruction to script. User can also input “AT+H” to list all AT+ Instruction and description to
Fl
yi
start.
4.2.1.
h-
Figure 34. ”AT+H” Instruction for Help
Instruction Syntax Format
AT+Instruction protocol is based on the instruction of ASCII command style, the description of syntax
format as follow.

Format Description
< >: Means the parts must be included
ig


Means the optional part
Command Message

[ ]:
AT+[op][para-1,para-2,para-3,para-4…]

AT+:

CMD: Command string;

[op]:
Prefix of command message;
Symbol of command operator,

“=” : The command requires parameters input;

“NULL”: Query the current command parameters setting;

[para-n]: Parameters input for setting if required;

:”Enter” Key, it’s 0x0a or 0x0d in ASCII;
Shanghai High-Flying Electronics Technology Co., Ltd
www.hi-flying.com
- 38 -
HF-LPB100 Low Power WiFi Module User Manual
Notes: When input AT+Instruction, “AT+” character will display capital letter automatic and
other parts will not change as you input.

Response Message
+[op] [para-1,para-2,para-3,para-4…]
RSP: Response string;

“ok” : Success

“ERR”: Failure
+: Prefix of response message;


[op] : =

[para-n]: Parameters if query command or Error code when error happened;

: ASCII 0x0d;

: ASCIII 0x0a;
Error Code
Table 9
Error Code Describtion
Description
Invalid Command Format
Invalid Command
Invalid Operation Symbol
Invalid Parameter
Operation Not Permitted
4.2.2.
h-
Fl
Error Code
-1
-2
-3
-4
-5
yi


AT+ Instruction Set
AT+ Instruction Set List
ig
Table 10
Instruction
Description

NULL
Managment Instruction Set
Open/Close show back function
WMODE
Set/Query Wi-Fi work mode (AP/STA/APSTA)
ENTM
Set module into transparent transition mode
TMODE
Set/Query module data transfer mode
MID
Query module ID information
VER
Query module software version information
RELD
Restore to factory default setting
FCLR
Erase factory setting
Re-start module
Help
Configure Parameters Instruction Set
CFGRD
Batch Read User Configure Parameters
CFGWR
Batch Write Configure Parameters
Shanghai High-Flying Electronics Technology Co., Ltd
www.hi-flying.com
- 39 -
HF-LPB100 Low Power WiFi Module User Manual
ig
h-
Fl
yi
CFGFR
Batch Read Factory Default Configure Parameters
CFGTF
Copy User Parameters to Factory Default Parameters
UART Instruction Set
UART
Set/Query serial port parameters
UARTFT
Open/Close UART auto-frame function
UARTFT
Set/Query UART auto-frame trigger time
UARTFL
Set/Query UART auto-frame trigger length
UARTTE
Set/Query UART free-frame triggerf time between two bytes
Command Mode Set
SEND
Send Data at Command Mode
RECV
Receive Data at Command Mode
Network Instruction Set
PING
Network ”Ping” Instruction
NETP
Set/Query network protocol parameters
MAXSK
Set/Query TCP Client connection number
TCPLK
Query if TCP link already build-up
TCPTO
Set/Query TCP timeout
TCPDIS
Open/Close TCP link
SOCKB
Set/Query SOCKB parameters
TCPDISB
Open/Close SOCKB TCP link
TCPTOB
Set/Query SOCKB TCP timeout
TCPLKB
Query if SOCKB TCP link already build-up
SNDB
Send data to SOCKB in Command Mode
RCVB
Receive data from SOCKB in Command Mode
Wi-Fi STA Instruction Set (Effective when module works as STA)
WSKEY
Set/Query STA security parameters
WSSSID
Set/Query associated AP SSID parameters
WANN
Set/Query STA’s network parameters
WSMAC
Set/Query STA’s MAC address
WSLK
Query STA Wi-Fi link status
WSLQ
Query STA Wi-Fi signal strength
WSCAN
Scan AP
WSDNS
Set/Query STA’s Static DNS server address
Wi-Fi AP Instruction Set (Effective when module works as AP)
LANN
Set/Query AP’s network parameters
WAP
Set/Query AP Wi-Fi parameters
WAKEY
Set/Query AP security parameters
WAMAC
Set/Query AP MAC address
WADHCP
Set/Query AP DHCP Server status
WADMN
Set/Query AP webpage domain name
Webpage Management Instruction Set
PLANG
Set/Query Webpage Language Option
WEBU
Set/Query Webpage User name and Code
Remote Upgrade Instruction Set
UPURL
Set/Query remote upgrade URL address
UPFILE
Set/Query remote upgrade configure file name
UPWEB
Start remote web upgrade
UPCFG
Start remote config file upgrade
UPNVR
Start remote NVRAM data upgrade
Shanghai High-Flying Electronics Technology Co., Ltd
www.hi-flying.com
- 40 -
HF-LPB100 Low Power WiFi Module User Manual
4.2.2.1. AT+E
yi
UPAUTO
Start remote upgrade
LOGSW
Open/Close remote upgrade log
LOGPORT
Set/Query UDP port of remote upgrade log
UPST
Start remote Application upgrade
Power Management Instruction Set
MSLP
Set/Query deep sleep/standby mode parameters
Network Time Set
NTPRF
Set/Query time calibration interval
NTPEN
Enable/Disable time calibration function
NTPTM
Query time
Others Instruction Set
WRMID
Set module ID
RLDEN
Set/Query GPIO45 status
ASWD
Set/Query WiFi configuration code
MDCH
Set Wi-Fi Auto Switch Function
TXPWR
Set/Query Wi-Fi Transmit Power
WIFI Config Tools don’t support “CFGRD” command yet。

Function: Open/Close show back function;

Format:
AT+E
Fl
+ok< LF >< LF >
When HF-LPB100 module firstly switch from transparent transmission to configuration mode, show
back status is open, input “AT+E” to close show back function, input“AT+E” again to open show back
h-
function.
4.2.2.2. AT+WMODE


Function: Set/Query WIFI work mode;
Format:

Query Operation
ig
AT+WMODE
+ok=< LF >< LF >

Set Operation
AT+ WMODE=
+ok< LF >< LF >

Parameters:

mode:Wi-Fi work mode

AP

STA

APSTA
4.2.2.3. AT+ENTM

Function: Set module into transparent transmition mode;

Format:
Shanghai High-Flying Electronics Technology Co., Ltd
www.hi-flying.com
- 41 -
HF-LPB100 Low Power WiFi Module User Manual
AT+ENTM
+ok< LF >< LF >
When operate this command, module switch from configuration mode to transparent transmission
mode.
4.2.2.4. AT+TMODE

Function: Set/Query module data transfer mode.

Format:

Query Operation
+ok=< LF >< LF >

Set Operation
+ok< LF >< LF >
Parameters:

tmode: data transfer mode, include:

throughput

cmd

pwm
4.2.2.5. AT+MID
Fl

yi
AT+TMODE=

Function: Query module ID information;

Format:

AT+TMODE
Query Operation
h-
AT+MID
+ok=< LF >< LF >

Parameters:

module_id: Module ID information;

HF-LPB100;
ig
Notes: User can set this parameter through AT+WRMID.
4.2.2.6. AT+VER
Function: Query module software version information;

Format:


Query Operation
AT+VER
+ok=< LF >< LF >

Parameters:

ver: Module software version information;
4.2.2.7. AT+RELD

Function: module restore to factory default setting;

Format:
 Set Operation
Shanghai High-Flying Electronics Technology Co., Ltd
www.hi-flying.com
- 42 -
HF-LPB100 Low Power WiFi Module User Manual
AT+ RELD
+ok=rebooting…< LF >< LF >
When operate this command, module will restore to factory default setting and reboot.
4.2.2.8. AT+FCLR

Function: Erase factory setting;

Format:

Query Operation
AT+FCLR
+ok=< LF >< LF >

Function: Re-start module;

Format:
AT+ Z
4.2.2.10. AT+H

Function: Help;

Format:
Query Operation
AT+H
Fl

yi
4.2.2.9. AT+Z
+ok=< LF >< LF >

Parameters:

command help: command introduction;


h-
4.2.2.11. AT+CFGRD
Function: Batch Read User Configure Parameters;
Format:

Query Operation
ig
AT+CFGRD
+ok=< LF >< LF >

Parameters:

config: the first two bytes means the length of configuration parameters;
4.2.2.12. AT+CFGWR

Function: Batch Write User Configure Parameters;

Format:

Set Operation
AT+CFGWR=
+ok< LF >< LF >

Parameters:

config: the first two bytes means the length of configuration parameters;
Shanghai High-Flying Electronics Technology Co., Ltd
www.hi-flying.com
- 43 -
HF-LPB100 Low Power WiFi Module User Manual
4.2.2.13. AT+CFGFR

Function: Batch Read Factory Default Configure Parameters;

Format:

Query Operation
AT+CFGFR
+ok=< LF >< LF >

Parameters:

config: the first two bytes means the length of configuration parameters;
4.2.2.14. AT+CFGTF
Function: Copy User Parameters to Factory Default Parameters;

Format:
Query Operation
AT+CFGTF
yi


+ok=< LF >< LF >

Parameters:

status: feedback operation status;
4.2.2.15. AT+UART
Function: Set/Query serial port parameters;

Format:

Fl

Query Operation
AT+UART
+ok=< LF >< LF >
Set Operation
h-

AT+UART=
+ok< LF >< LF >

Parameters:

baudrate:
300,600,1200,1800,2400,4800,9600,19200,38400,57600,115200,230400,
ig

380400,460800.

data_bits:




stop_bits:

1,2
parity:

NONE

EVEN

ODD
Flowctrl: (CTSRTS)

NFC: No hardware flow control

FC: hardware flow control
Shanghai High-Flying Electronics Technology Co., Ltd
www.hi-flying.com
- 44 -
HF-LPB100 Low Power WiFi Module User Manual
4.2.2.16. AT+ UARTF

Function: Open/Close UART auto-frame function;

Format:

Query Operation
AT+ UARTF
+ok=< LF >< LF >

Set Operation
AT+ UARTF=
+ok< LF >< LF >

para:

disable
- Close auto-frame function;

enable
- Open auto-frame function;
4.2.2.17. AT+ UARTFT

Function: Set/Query UART auto-frame trigger time;

Format:

Query Operation
AT+ UARTFT
Parameters:
yi

+ok=

Source Exif Data:
File Type                       : PDF
File Type Extension             : pdf
MIME Type                       : application/pdf
PDF Version                     : 1.6
Linearized                      : No
XMP Toolkit                     : Adobe XMP Core 4.2.1-c041 52.342996, 2008/05/07-20:48:00
Create Date                     : 2013:12:03 18:51:18+08:00
Modify Date                     : 2013:12:05 14:42:11+08:00
Metadata Date                   : 2013:12:05 14:42:11+08:00
Producer                        : doPDF Ver 7.3 Build 387 (Windows 7 Ultimate Edition (SP 1) - Version: 6.1.7601 (x64))
Format                          : application/pdf
Document ID                     : uuid:64fa3220-1c2d-4c40-a3ce-088394ac78c3
Instance ID                     : uuid:74d5962d-f2f8-49d8-93d8-27032e300f41
Page Layout                     : OneColumn
Page Mode                       : UseNone
Page Count                      : 75
Author                          : 
Creator                         : 
Subject                         : 
Title                           : 
EXIF Metadata provided by EXIF.tools
FCC ID Filing: AZY-HF-LPB100

Navigation menu