Page 1
HF-LPT220 Low Power WiFi Module User Manual HF-LPT220 Low Power WiFi Module User Manual V 1.5 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-LPT220 Low Power WiFi 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-LPT220 Low Power WiFi Module User Manual HISTORY Ed. V1.0 01-05-2016 First Version. Ed. V1.1 01-29-2015 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. Ed. V1.2 03-14-2015 Update AT command supported by 2.0.04 version firmware. Add support for AT+MAXSK、AT+WAPMXSTA command.
1. PRODUCT OVERVIEW 1.1. General Description The HF-LPT220 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- LPT220 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-LPT220 Low Power WiFi Module User Manual 1.2. Hardware Introduction 1.2.1. Pins Definition Figure 1. HF-LPT220 Pins Map Table2. HF-LPT220 Pins Definition Describtion Net Name Signal Type Comments No connect No connect No connect PWM/GPIO GPIO_8 I/O,PU GPIO_8 UART0 UART0_TX...
Page 11
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 4. Suggested Module Placement Region High-Flying suggest HF-LPT220 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-LPT220 module with the RS- 232 UART, USB (Internal USB to UART convetor) or Wireless interface to configure the parameters, manage the module or do the some functional tests.
Restore factory default configuration after push this nReload pin more than 4s. See 1.2.1 1.2.7. Order Information Base on customer detailed requirement, HF-LPT220 series modules provide different variants and physical type for detailed application. Figure 6. HF-LPT220 Order InformationTypical Application - 15 -...
HF-LPT220 Low Power WiFi Module User Manual 1.2.8. Hardware Typical Application Figure 7. HF-LPT220 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-LPT220 Low Power WiFi Module User Manual UART0_TXD/RXD- UART port data transmit and receive signal. - 17 - Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com)
HF-LPT220 module can be configured as both wireless STA and AP base on network type. Logically there are two interfaces in HF-LPT220. One is for STA, and another is for AP. When HF-LPT220 works as AP, other STA equipments are able to connect to HF-LPT220 module directly. Wireless Networking with HF-LPT220 is very flexible.
HF-LPT220 Low Power WiFi Module User Manual 2.2. Work Mode : Transparent Transmission Mode HF-LPT220 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-LPT220 module SOCK A configured as TCP Server, it supports Multi-TCP link connection, and maximum 5 TCP clients permitted to connect to HF-LPT220 module. User can realize multi-TCP link connection at each work mode.
HF-LPT220 Low Power WiFi 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-LPT220 Low Power WiFi Module User Manual 3. OPERATION GUIDELINE 3.1. Configuration When first use HF-LPT220 modules, user may need some configuration. User can connect to HF- LPT220 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 13. System Web Page 3.1.3. Work Mode Page HF-LPT220 module can works at AP mode to simplify user’s configuration, can also works at STA to connect remote server through AP router. Figure 14. Work Mode Page - 23 - Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com)
HF-LPT220 Low Power WiFi 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 17. AP Setting Page 3.1.6. Other Setting Page HF-LPT220 usually works at data transparent transmission mode. At this mode, the user device which connected with HF-LPT220 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-LPT220 Low Power WiFi Module User Manual 3.1.7. Account Management Page This page set web server’s user name and password. Figure 19. 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-LPT220 Low Power WiFi Module User Manual Figure 21. 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-LPT220 module base on dedicated application. Use HF-LPT220 STA interface. HF-LPT220 and debug PC2 connect to a wireless AP, another PC1 (or user device) connect to HF-LPT220 module with serial port: Figure 24.
Figure 26. “CommTools” Serial Debug Tools PC2 open “TCPUDPDbg” program, and create a new connection. If HF-LPT220 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 30. Wireless Control Application For this wireless control application, HF-LPT220 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-LPT220 module.
3.3.3. Transparent Serial Port Application For this transparent serial port application, two HF-LPT220 modules connect as below figures to build up a transparent serial port connection. One HF-LPT220 works as AP mode, another HF-LPT220 works as STA mode. Make the STA device connects to AP.
HF-LPT220 Low Power WiFi Module User Manual 4. AT+INSTRUCTION INTRODUCTION 4.1. Configuration Mode When HF-LPT220 power up, it will default works as transparent transmission mode, then user can switch to configuration mode by serial port command. HF-LPT220 UART default parameters setting as below figure, Figure 33.
HF-LPT220 Low Power WiFi 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-LPT220 Low Power WiFi 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-LPT220 Low Power WiFi 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-LPT220 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-LPT220 Low Power WiFi Module User Manual HF-LPT220; 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-LPT220 Low Power WiFi 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-LPT220 Low Power WiFi 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-LPT220 Low Power WiFi 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-LPT220 Low Power WiFi 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-LPT220 Low Power WiFi 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-LPT220 Low Power WiFi 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-LPT220 Low Power WiFi 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-LPT220 Low Power WiFi 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-LPT220 Low Power WiFi 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-LPT220 Low Power WiFi Module User Manual 5. PACKAGE INFORMATION 5.1. Recommended Reflow Profile Figure 36. 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-LPT220 Low Power WiFi Module User Manual APPENDIX B: HTTP PROTOCOL TRANSFER HF-LPT220 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-LPT220 and is the answer not in the manual?
Questions and answers