Summary of Contents for Shanghai High-Flying Electronics Technology Co. HF-LPT120
Page 1
HF-LPT120 Low Power WiFi Module User Manual HF-LPT120 Low Power WiFi Module User Manual V 1.1.1 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-LPT120 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 1.1.1 Device Features ........................9 1.1.2 Device Paremeters ......................10 1.1.3...
Page 3
HF-LPT120 Low Power WiFi Module User Manual 3.3. Typical Application Examples ....................27 3.3.1. Wireless Control Application .....................27 3.3.2. Remote Management Application..................28 3.3.3. Transparent Serial Port Application ..................28 AT+INSTRUCTION INTRODUCTION ..................29 4.1. Configuration Mode .......................29 4.1.1. Switch to Configuration Mode ...................29 4.2.
The HF-LPT120 integrates all Wi-Fi functionality into a low-profile, 22mm x 13.5mm x 6mm module package that can be easily mounted on main PCB with application specific circuits. Also, module provides built-in antenna, external antenna option.
HF-LPT120 Low Power WiFi Module User Manual 1.2. Hardware Introduction 1.2.1. Pins Definition Figure 1. HF-LPT120 Pins Map Table 2 HF-LPT120 Pins Definition Description Net Name Signal Comments Type Ground Power +3.3V Power DVDD Power 3.3V@300mA Restore nReload I/O,PU Can be configured as GPIO_2 Configuration Detailed functions see <Notes>...
HF-LPT120 Low Power WiFi Module User Manual (See Appendix D to download software tools for customer batch configuration and upgrade firmware during mass production) After module is powered up, short press this button ( “Low” < 2s ) to make the module go into “Smart Link “...
PCB layout. 1.2.5. External Antenna HF-LPT120 supports two way of external antenna as the following picture show, The I-PEX interface or the PAD interface(remove the I-PEX connector). The user may choose one of them. If user select external antenna, HF-LPT120 modules must be connected to the 2.4G antenna according to IEEE...
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-LPT120 module with the RS- 232 UART, or Wireless interface to configure the parameters, manage the module or do the some functional tests.
HF-LPT120 Low Power WiFi Module User Manual 1.2.7. Order Information Base on customer detailed requirement, HF-LPT120 series modules provide different variants and physical type for detailed application. Figure 7. HF-LPT120 Order Information - 16 - Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com)
HF-LPT120 Low Power WiFi Module User Manual 1.3. Typical Application 1.3.1. Hardware Typical Application Figure 8. HF-LPT120 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‖...
HF-LPT120 Low Power WiFi 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-LPT120 module can be configured as both wireless STA and AP base on network type. Logically there are two interfaces in HF-LPT120. One is for STA, and another is for AP. When HF-LPT120 works as AP, other STA equipments are able to connect to HF-LPT120 module directly. Wireless Networking with HF-LPT120 is very flexible.
UART data. If this interval time exceeds defined value (50ms default), HF-LPT120 will think it as the end of one frame and transfer this free-frame to WiFi port, or HF-LPT120 will receive UART data until 1000 bytes, then transfer 1000 bytes frame to WiFi port.
HF-LPT120 Low Power WiFi Module User Manual HF-LPT120’s default interval time is 50ms. (If the UART data interval is less than 300ms, the data may be packaged into one fragment ) User can also set this interval to fast through AT command. The UART data may be divided as fragment.
Webpage based Wi-Fiupgrade,please refer to 3.1.8 firmware upgrade page , user can upload firmware file from PC to HF-LPT120. HF-LPT120 module also support upgrade from remote HTTP server, keep module connects to AP router before execute remote HTTP upgrade. Remote upgrade have two methods: Direct Download and Upgrade, Configure File Based Upgrade.
2.8. Multi-TCP Link Connection (Reserved) When HF-LPT120 module configured as TCP Server, it supports Multi-TCP link connection, and maximum 5 TCP clients permit to connect to HF-LPT120 module. User can realize multi- TCP 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.
HF-LPT120 Low Power WiFi Module User Manual 3. OPERATION GUIDELINE 3.1. Default Parameter When first use HF-LPT120 modules, user may need some configuration. User can connect to HF- LPT120 module’s wireless interface with following default setting information. Table 8 HF-LPT120 Default Setting...
Figure 20. ―CommTools‖ Serial Debug Tools PC2 open ―TCPUDPDbg‖ program, and create a new connection. If HF-LPT120 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 24. Wireless Control Application For this wireless control application, HF-LPT120 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-LPT120 module.
3.3.3. Transparent Serial Port Application For this transparent serial port application, two HF-LPT120 modules connect as below figures to build up a transparent serial port connection. HF-LPT120 works as AP mode and STA mode to connect each other. Figure 26. Transparent Serial Port Application - 28 - Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com)
HF-LPT120 Low Power WiFi Module User Manual 4. AT+INSTRUCTION INTRODUCTION 4.1. Configuration Mode When HF-LPT120 power up, it will default works as transparent transmission mode, then user can switch to configuration mode by serial port command. HF-LPT120 UART default parameters setting as below figure.
HF-LPT120 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-LPT120 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 32
HF-LPT120 Low Power WiFi Module User Manual Instruction Description Query module ID information Query module software version information LVER Query module detailed software version FWSZ Query Wi-Fi driver size RELD Restore to factory default setting FCLR Erase factory setting Re-start module...
HF-LPT120 Low Power WiFi Module User Manual Parameters: module_id: Module ID information; HF-LPB120; 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<CR> +ok=<ver><CR><LF><CR><LF>...
HF-LPT120 Low Power WiFi Module User Manual 4.2.2.24. AT+TCPLK Function: Query if TCP link already build-up; Format: AT+TCPLK<CR> +ok=<sta><CR><LF><CR><LF> Parameters: sta.: if module already setup TCP link; on: TCP link setup; off: TCP link not setup;...
HF-LPT120 Low Power WiFi Module User Manual When setting, ―off‖ means close TCP link. After finish this command, module disconnect TCP link and not connect again. ―On‖ means open TCP link. After finish this command, module re- connect TCP server right away.
HF-LPT120 Low Power WiFi Module User Manual Query Operation AT+TCPTOB<CR> +ok=<time><CR><LF><CR><LF> Set Operation AT+TCPTOB=<time ><CR> +ok<CR><LF><CR><LF> Parameters 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.
HF-LPT120 Low Power WiFi Module User Manual If not receive any data in 3 second, then feedback +ok=0. 4.2.2.33. AT+WSSSID Function: Set/Query Wi-Fi associated AP SSID parameters. Setting is valid after reset. Format: Query Operation AT+WSSSID<CR> +ok=<ap’s ssid><CR><LF><CR><LF>...
HF-LPT120 Low Power WiFi Module User Manual AT+WANN<CR> +ok=<mode,address,mask,gateway><CR><LF><CR><LF> Set Operation AT+WANN=< mode,address,mask,gateway ><CR> +ok<CR><LF><CR><LF> Parameters: mode: STA’s IP network setting static: Static IP DHCP: Dynamic IP address: STA IP address; mask: STA subnet mask;...
HF-LPT120 Low Power WiFi Module User Manual Query Operation AT+WADHCP<CR> +ok=<status>,<ip1>,<ip2><CR><LF><CR><LF> Set Operation 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.
HF-LPT120 Low Power WiFi Module User Manual +ok=<status><CR><LF><CR><LF> Set Operation AT+LOGSW=<status><CR> +ok<CR><LF><CR><LF> Parameters: status: on: Open. The UART Port will print some upgrade status when upgrading. the log file will be sent to UDP Port after successfully off: Close.
HF-LPT120 Low Power WiFi Module User Manual Yes: Disable power save mode: No: Enable power save Yes: Disable power save 4.2.2.56. AT+NTPRF Function: Set /Query time calibration interval Format: Query Operation AT+NTPRF<CR> +ok=<num><CR><LF><CR><LF>...
HF-LPT120 Low Power WiFi Module User Manual Format: Query Operation AT+MDCH<CR> +ok=<mode> <CR><LF><CR><LF> Set Operation AT+MDCH=<mode> <CR><LF><CR><LF> Parameters: mode: Wi-Fi Auto Switch Mode off: Disable Wi-Fi auto switch. on: Enable Wi-Fi auto switch. When the module(STA mode) fail to connect to router, it will switch to AP mode itself in one minute.
HF-LPT120 Low Power WiFi Module User Manual 5. PACKAGE INFORMATION 5.1. Recommended Reflow Profile Figure 30. Reflow Soldering Profile Table 11 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-LPT120 Low Power WiFi Module User Manual APPENDIX B: HTTP PROTOCOL TRANSFER HF-LPB120 module support http data transfer in command mode. If any detailed HTTP protocol, contact us and we may support customization. B.1. HTTP AT command(Reserved) B.1.1 AT+HTTPURL ...
HF-LPT120 Low Power WiFi Module User Manual If send ―AT+HTTPDT‖, the data packet will be sent as the following instance including the two new line: POST /abcd HTTP/1.1 Connection:keep-alive User-Agent:lwip1.3.2 Content-Length:0 Host:192.168.0.127:8999 If send AT+HTTPDT=abcd, the data packet will be sent as the following instance: POST /abcd HTTP/1.1...
HF-LPT120 Low Power WiFi Module User Manual B.4. Sending HTTP Request By AT Command Step 1、Configure HTTP AT command. SOCKB must set as None. - 62 - Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com)
Page 63
HF-LPT120 Low Power WiFi Module User Manual Step 2、Configure module connecting to router AP and reboot. Step 3、Send HTTP request - 63 - Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com)
HF-LPT120 Low Power WiFi Module User Manual APPENDIX D: CONTACT INFORMATION ------------------------------------------------------------------------------------------------------------ Address: Room 1002,Building 1,No.3000,Longdong Avenue,Pudong New Area,Shanghai,China,201203 Web: www.hi-flying.com Service Online: 400-189-3108/18616078755 Sales Contact: sales@hi-flying.com ----------------------------------------------------------------------------------------------------------- For more information about High-Flying modules, applications, and solutions, please visit our web site http://www.hi-flying.com/en/...
Need help?
Do you have a question about the HF-LPT120 and is the answer not in the manual?
Questions and answers