Page 1
HF-LPB120 Low Power Wi-Fi Module User Manual HF-LPB120 Low Power Wi-Fi Module User Manual V 1.7 Overview of Characteristic Support IEEE802.11b/g/n Wireless Standards Based on Self-developed High Cost Effective SOC Support UART/GPIO Data Communication Interface Support Work As STA/AP Mode ...
HF-LPB120 Low Power Wi-Fi Module User Manual TABLE OF CONTENTS LIST OF FIGURES ........................... 5 LIST OF TABLES ............................ 6 HISTORY ..............................7 PRODUCT OVERVIEW ........................ 8 1.1. General Description ......................... 8 1.1.1 Device Features ........................8 1.1.2 Device Paremeters ......................9 1.1.3...
HF-LPB120 Low Power Wi-Fi Module User Manual HISTORY Ed. V1.0 11-27-2015 First Version. Ed. V1.1 12-21-2015 Update AT command supported by 2.0.01 version firmware. Ed. V1.2 01-29-2016 Update AT command supported by 2.0.03 version firmware. Add support for AT+E、AT+SOCKB、AT+TCPDISB、AT+TCPTOB、AT+TCPLKB、AT+WALK、 AT+WALKIND command. Correct the AT+NETP command description.
1. PRODUCT OVERVIEW 1.1. General Description The HF-LPB120 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 interface for data transfer.HF- LPB120 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.
HF-LPB120 Low Power Wi-Fi Module User Manual 1.2. Hardware Introduction 1.2.1. Pins Definition Figure 1. HF-LPB120 Pins Map Table2. HF-LPB120 Pins Definition Describtion Net Name Signal Comments Type 1,17,18,34 Ground Power No connect No connect No connect No connect No connect...
Page 11
HF-LPB120 Low Power Wi-Fi Module User Manual Describtion Net Name Signal Comments Type +3.3V Power DVDD Power No connect PWM/GPIO GPIO_8 I/O,PU GPIO8 GPIO GPIO_1 I/O,PU GPIO1/UART1_TXD GPIO GPIO_3 GPIO3/UART1_RXD No connect No connect +3.3V IO Power VDDIO Power PIN9,PIN20 connects internally...
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” and “ Smart Link” application.
Figure 2. HF-LPB120 Mechanical Dimension 1.2.4. On-board PCB Antenna HF-LPB120 module support internal on-board PCB 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;...
Figure 3. Suggested Module Placement Region High-Flying suggest HF-LPB120 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.
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-LPB120 module with the RS- 232 UART, RS485, USB (Internal USB to UART convetor) or Wireless port to configure the parameters, manage the module or do the some functional tests.
HF-LPB120 Low Power Wi-Fi Module User Manual Figure 5. HF-LPB120 Order Information 1.3. Typical Application 1.3.1. Hardware Typical Application Figure 6. HF-LPB120 Hardware Typical Application Notes: 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”...
Page 17
HF-LPB120 Low Power Wi-Fi Module User Manual (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.
HF-LPB120 module can be configured as both wireless STA and AP base on network type. Logically there are two interfaces in HF-LPB120. One is for STA, and another is for AP. When HF-LPB120 works as AP, other STA equipments are able to connect to HF-LPB120 module directly. Wireless Networking with HF-LPB120 is very flexible.
HF-LPB120 Low Power Wi-Fi Module User Manual 2.2. Work Mode : Transparent Transmission Mode HF-LPB120 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 should only configure the necessary parameters.
2.7. Multi-TCP Link Connection (Reserved) When HF-LPB120 module SOCK A configured as TCP Server, it supports Multi-TCP link connection, and maximum 5 TCP clients permitted to connect to HF-LPB120 module. User can realize multi-TCP link connection at each work mode.
HF-LPB120 Low Power Wi-Fi Module User Manual 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 replicate and broadcast to every TCP connection or client.
HF-LPB120 Low Power Wi-Fi Module User Manual 3. OPERATION GUIDELINE 3.1. Configuration When first use HF-LPB120 modules, user may need some configuration. User can connect to HF- LPB120 module’s wireless interface with following default setting information and configure the module through laptop.
(MID), software version, wireless work mode and related Wi-Fi parameters. Figure 12. System Web Page 3.1.3. Work Mode Page HF-LPB120 module can works at AP mode to simplify user’s configuration, can also works at STA to connect remote server through AP router. Figure 13. Work Mode Page - 23 - Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com)
HF-LPB120 Low Power Wi-Fi Module User Manual 3.1.4. 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.
Figure 16. AP Setting Page 3.1.6. Other Setting Page HF-LPB120 usually works at data transparent transmission mode. At this mode, the user device which connected with HF-LPB120 will connect and communicate with remote PC or server. At this page, user need setting serial port communication parameters and defines TCP related protocal parameters.
HF-LPB120 Low Power Wi-Fi Module User Manual 3.1.7. Account Management Page This page set web server’s user name and password. Figure 18. Account Page 3.1.8. Upgrade Software Page User can upgrade new software (firmware) version through Wi-Fi. After upgrade success, need reboot it manually before new firmware valid.
HF-LPB120 Low Power Wi-Fi Module User Manual Figure 20. Restart Page 3.1.10. Restore Page After module restore factory default setting, all user configuration profile will lose. to set again, and user name and password is “admin”. HF- User can access http://10.10.100.254...
Ethernet Debugging Software: TCPUDPDbg 3.2.2. Network Connection User can select two methods to connect HF-LPB120 module base on dedicated application. Use HF-LPB120 STA interface. HF-LPB120 and debug PC2 connect to a wireless AP, another PC1 (or user device) connect to HF-LPB120 module with serial port: Figure 23.
Figure 25. “CommTools” Serial Debug Tools PC2 open “TCPUDPDbg” program, and create a new connection. If HF-LPB120 configured as Server mode, “TCPUDPDbg” Tools shall create “Client “mode connection. Or otherwise, create a “Server” mode connection.
3.3.1. Wireless Control Application Figure 29. Wireless Control Application For this wireless control application, HF-LPB120 works as AP 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-LPB120 module.
3.3.3. Transparent Serial Port Application For this transparent serial port application, two HF-LPB120 modules connect as below figures to build up a transparent serial port connection. One HF-LPB120 works as AP mode, another HF-LPB120 works as STA mode. Make the STA device connects to AP.
HF-LPB120 Low Power Wi-Fi Module User Manual 4. AT+INSTRUCTION INTRODUCTION 4.1. Configuration Mode When HF-LPB120 power up, it will default works as transparent transmission mode, then user can switch to configuration mode by serial port command. HF-LPB120 UART default parameters setting as below figure, Figure 32.
HF-LPB120 Low Power Wi-Fi Module User Manual 2. Any other input or wrong step to UART port will cause the module still works as original mode (transparent transmission). 3. “+++” and “a” should be input in a certain period of time to make the module switch to configuration mode.
HF-LPB120 Low Power Wi-Fi Module User Manual AT+<CMD>[op][para-1,para-2,para-3,para-4…]<CR> AT+: Prefix of command message; CMD: Command string; [op]: Symbol of command operator, “=” : The command requires parameters input; “NULL”: Query the current command parameters setting;...
Page 35
HF-LPB120 Low Power Wi-Fi Module User Manual Instruction Description Query module software version information BVER Query module bootloader version RELD Restore to factory default setting FCLR Erase factory setting Re-start module Help Configure Parameters Instruction Set CFGTF Copy User Parameters to Factory Default Parameters...
off: Close echo When HF-LPB120 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 function, use AT+E=on/off command to save the echo status..
HF-LPB120 Low Power Wi-Fi Module User Manual HF-LPB120; Notes: User can set this parameter through AT+WRMID. 4.2.2.5. AT+VER Function: Query module software version information; Format: Query Operation AT+VER<CR> +ok=<ver><CR><LF><CR><LF> Parameters: ver: Module software version information;...
HF-LPB120 Low Power Wi-Fi Module User Manual sta.: if module already setup TCP link; on: TCP link setup; off: TCP link not setup; 4.2.2.16. AT+TCPTO Function: Set/Query TCP timeout; Setting is valid after reset. Format: ...
HF-LPB120 Low Power Wi-Fi Module User Manual Query Operation AT+SOCKB<CR> +ok=<protocol,port,IP><CR><LF><CR><LF> Set Operation AT+SOCKB=<protocol,port,IP><CR> +ok<CR><LF><CR><LF> Parameters: Protocol: Protocol type: TCP: Only for TCP Client UDP: UDP Client UDPS: UDP Server Port: Protocol Port in decimal, less than 65535 ...
HF-LPB120 Low Power Wi-Fi Module User Manual Time: TCP timeout <= 600:600s >=0:0 means no timeout Default:300s If the SOCKB TCP don't receive any data from TCP server for TCP tmeout setting, the module will break and reconnect the TCP server. If it receive data from server, the timeout counter will be clear.
HF-LPB120 Low Power Wi-Fi Module User Manual WPA2PSK encry:Encryption algorithm NONE: When “auth=OPEN”, effective WEP-H: When “auth=OPEN” or “SHARED”, effective, in HEX format WEP-A: When “auth=OPEN” or “SHARED”, effective, in ASCII format TKIP: When ”auth= WPAPSK” or “WPA2PSK”, effective ...
HF-LPB120 Low Power Wi-Fi Module User Manual 4.2.2.26. AT+WSLK Function: Query STA WiFi link status Format: Query Operation AT+WSLK<CR> +ok=<ret><CR><LF><CR><LF> Parameters: ”Disconnected”, if no WiFi connection; ”AP’ SSID(AP’s MAC” ), if WiFi connection available;...
HF-LPB120 Low Power Wi-Fi Module User Manual AT+WADHCP=<status>[,ip1,ip2]<CR> +ok<CR><LF><CR><LF> Parameters: status:AP’s DHCP server function status: on:DHCP Server Open; off:DHCP Server Close: ip1: DHCP allocate IP start value. ip2: DHCP allocate IP end value. 4.2.2.33. AT+WALK ...
HF-LPB120 Low Power Wi-Fi Module User Manual num: max STA number supported for AP. 1~4: Support max 1~4 STA devices connects to module AP. 0 is default value for max 1 STA device supported. 4.2.2.36. AT+OTA Function:Set OTA Upgrade ...
HF-LPB120 Low Power Wi-Fi Module User Manual Auto: Auto power save mode(default), enter power saving mode after receive or send data in time seconds. time: Only valid in auto mode, >=2 integer value, default is 3 seconds. when value is 0, the default waiting time is still 3 seconds.
HF-LPB120 Low Power Wi-Fi Module User Manual +ok=<aswd> <CR><LF><CR><LF> Set Operation AT+ASWD=<aswd> <CR><LF><CR><LF> Parameters: aswd: WiFi Configuration Password (within 20 characters). 4.2.2.43. AT+SMTLK Function: Start SmartLink function Format: Query Operation AT+SMTLK<CR> SmartLink is a One-Key config function. Config the module connecting to router easily. After start SmartLink function , the module work in SmartLink status and nLink LED is fast flashing waiting for APP to push information.
HF-LPB120 Low Power Wi-Fi Module User Manual 5. PACKAGE INFORMATION 5.1. Recommended Reflow Profile Figure 35. Reflow Soldering Profile Table10. Reflow Soldering Parameter Item Temperature (Degree) Time(Sec) Reflow Time Time of above 220 35~55 sec Peak-Temp 260 max Note: 1. Recommend to supply N2 for reflow oven.
HF-LPB120 Low Power Wi-Fi Module User Manual APPENDIX B: HTTP PROTOCOL TRANSFER HF-LPB120 module support http data transfer in throughput mode. If any detailed HTTP protocol, contact us and we may support customization. B.1. Sending HTTP Raw Data in Throughput Mode Step 1、...
Need help?
Do you have a question about the HF-LPB120 and is the answer not in the manual?
Questions and answers