HF-LPT100F & HF-LPT100S & HF-LPT100 Low Power WiFi Module Difference 1. PRODUCT OVERVIEW 1.1. Hardware Introduction 1.1.1. Pins Definition Figure 1. HF-LPT100F Pins Map Table 2 HF-LPT100F Pins Definition Description Net Name Signal Comments Type Ground Power +3.3V Power DVDD Power 3.3V@250mA...
Page 3
HF-LPT100F & HF-LPT100S & HF-LPT100 Low Power WiFi Module Difference Figure 2. HF-LPT100S Pins Map Table 2 HF-LPT100S Pins Definition Description Net Name Signal Comments Type Ground Power +3.3V Power DVDD Power 3.3V@250mA Detailed functions see <Notes> Restore nReload I,PU Configuration “Low”...
Page 4
HF-LPT100F & HF-LPT100S & HF-LPT100 Low Power WiFi Module Difference Figure 3. HF-LPT100 Pins Map Table 2 HF-LPT100 Pins Definition Description Net Name Signal Comments Type Ground Power +3.3V Power DVDD Power 3.3V@250mA Restore nReload I,PU Detailed functions see <Notes>...
Page 5
HF-LPT100F & HF-LPT100S & HF-LPT100 Low Power WiFi Module Difference 1.1.2. Order Information Base on customer detailed requirement, HF-LPT100 series modules provide different variants and physical type for detailed application. Figure 4. HF-LPT100F Order Information Figure 5. HF-LPT100S Order Information Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com)
Page 6
HF-LPT100F & HF-LPT100S & HF-LPT100 Low Power WiFi Module Difference Figure 6. HF-LPT100 Order Information 1.1.3. Module Application Please refer to LPT100 User Manual for moudle application. Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com) - 6 -...
Page 7
Support Dial Switch Power Control.(Reserved) Support External I-PEX or Pad Interface Antenna Option Single +3.3V Power Supply Smallest Size: 22mm x 13.5mm x 6mm, 1x10 2mm Connector FCC/CE Certificated - 1 - Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com)
Compact surface mount module 22mm x 13.5mm x 6mm Full IPv4 stack. Low power RTOS and drivers. FCC Certified. RoHS and CE compliant. Single supply – 3.3V operation. - 9 - Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com)
After module is powered up, short press this button ( “Low” < 3s ) to make the module go into “Smart Link “ config mode, waiting for APP to set password and other information. (See Appendix D to download SmartLink APP) - 11 - Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com)
After module is powered up, long press this button ( “Low” > 3s ) 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.
PAD interface(remove the I-PEX connector). The user may choose one of them. If user select external antenna, HF-LPT100 modules must be connected to the 2.4G antenna according to IEEE 802.11b/g/n standards. The antenna parameters required as follows: Figure 3. HF-LPT100 External Antenna picture - 13 - Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com)
I-PEX or populate directly 1.2.5. Evaluation Kit 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-LPT100 module with the RS- 232 UART, or Wireless interface to configure the parameters, manage the module or do the some functional tests.
HF-LPT100 Low Power WiFi Module User Manual 1.2.6. Order Information Base on customer detailed requirement, HF-LPT100 series modules provide different variants and physical type for detailed application. Figure 5. HF-LPT100 Order Information - 15 - Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com)
Page 23
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. - 17 - Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com)
HF-LPT100 Basic Wireless Network Structure 2.1.2. Wireless Network Based On AP+STA HF-LPT100 module support AP+STA network mode, means module support one AP interface and one STA interface at the same time, as following figure, - 18 - Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com)
Detailed UART auto-frame function can refer to AT+ instruction set “UARTF/UARTFT/UARTFL” introduction. 2.4. Encryption Encryption is a method of scrambling a message that makes it unreadable to unwanted parties, - 20 - Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com)
(“config.txt”), then download the upgrade file base on the URL address listed in the configure file. General “config.txt” file format as following example: [URL]=”http://10.10.100.100:80/lpb.bin” [URL]= the URL address of Application. - 21 - Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com)
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 the module and can’t work again. 2.7. GPIO/PWM Function HF-LPT100 module can provide many GPIOs, which include max 3 PWM control pins.
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: Figure 11. Multi-TCP Link Data Transmition Structure - 23 - Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com)
Setting”, “Account”, “Upgrade SW”, “Restart”, “Restore”. (HF-LPT100 exists 1M Flash and 2M Flash version, 1M Flash is only with internal upgrade webpage while 2M Flash is with internal and external webpage. Please contact High-Flying to confirm physical type.) - 24 -...
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. - 25 - Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com)
HF-LPT100 usually works at data transparent transmission mode. At this mode, the user device which connected with HF-LPT100 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. - 26 - Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com)
Figure 17. Other Setting Page 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. - 27 - Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com)
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 LPT100 will restore to AP mode for factory default setting. - 28 - Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com)
After wireless connection is OK. Open Wen browser and access “http://10.10.100.254 ”; It /iweb.html is for upgrading application and external webpage. Please contact High-Flying if need support on custimization for external webpage. Figure 22. Internal Webpage 3.2. HF-LPT100 Usage Introduction 3.2.1.
Module IP address: dhcp,0.0.0.0,0.0.0.0,0.0.0.0; 3.2.4. Module Debug PC1 open “CommTools” program, setting the same serial port parameters with HF-LPT100 module and open serial port connection. Figure 25. “CommTools” Serial Debug Tools - 30 - Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com)
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. - 32 - Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com)
For this transparent serial port application, two HF-LPT100 modules connect as below figures to build up a transparent serial port connection. HF-LPT100 works as Ad-Hoc mode to connect each other. Figure 31. Transparent Serial Port Application - 33 - Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com)
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. - 34 - Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com)
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 [ ]: Means the optional part Command Message - 35 - Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com)
AT+Instruction Set List Instruction Description <null> 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 - 36 - Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com)
Page 43
Set/Query STA’s Static DNS server address WSDNS Wi-Fi AP Instruction Set (Effective when module works as AP) Set/Query AP’s network parameters LANN Set/Query AP Wi-Fi parameters WAKEY Set/Query AP security parameters - 37 - Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com)
Close echo 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 function. - 38 - Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com)
Format: Query Operation AT+CFGFR<CR> +ok=<config><CR><LF><CR><LF> Parameters: config: the first two bytes means the length of configuration parameters; 4.2.2.16. AT+CFGTF Function: Copy User Parameters to Factory Default Parameters; - 41 - Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com)
10ms; normal: free-frame trigger time between two bytes is 50ms; 4.2.2.22. AT+SEND Send Data to SOCKA at Command Mode Function: Format: AT+SEND=<data_lenth><CR> +ok<CR><LF><CR><LF> - 43 - Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com)
If set as UDP SERVER, the module will save the IP address and port of the latest UDP packet received. The data will be sent to the saved IP address and port. If the module hasn’t - 46 - Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com)
The module will not connect SOCKB after TCP timeout. The module will make connection after another “TCPDISB” command. 4.2.2.33. AT+TCPLKB Function:Query SOCKB connection status Format: AT+TCPLKB<CR> +ok=<sta><CR><LF><CR><LF> Parameters: sta.: SOCKB connection status on: TCP connected - 47 - Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com)
If not receive any data in 3 second, then feedback +ok=0. 4.2.2.37. 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> Set Operation AT+WSSSID=<ap’s ssid ><CR> +ok<CR><LF><CR><LF> - 48 - Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com)
DHCP: Dynamic IP address: STA IP address; mask: STA subnet mask; gateway: STA gateway address; 4.2.2.40. AT+WSMAC Function: Set/Query STA MAC address parameters. Setting is valid after reset. - 49 - Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com)
mac_address:AP’s MAC address; Note: Module AP mode’s MAC address is related to STA mode’s MAC address. If user need changeto others, please contact with high-flying technical people. 4.2.2.49. AT+WADHCP Function: Set/Query AP DHCP server status; Setting is valid after reset.
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. - 54 - Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com)
Parameters: time:networ time, for example: 2013-10-9 16:10:42 Wed,if it shows Not Available means that the time calibration function is not enabled or the module doesn’t connect to the internet. - 56 - Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com)
SmartLink function , the module work in SmartLink status and nLink LED is fast flashing waiting for APP to push information. See the Appendix for more details. 4.2.2.71. AT+WPS Function: Start WPS function - 58 - Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com)
WPS function are mapping to HF-LPB100 corresponding pin.(Pin44, Pin43, Pin15) on/lpt100: nReady,nLink, WPS function are mapping to HF-LPT100 corresponding pin.(Pin9, Pin10, Pin8) lpt200: nReady,nLink, WPS function are mapping to HF-LPT200 corresponding pin.(Pin11, Pin13, Pin14) - 59 - Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com)
Case 2: Wifi module mounted on bottom side, follow normal bake rule before process Note: Window time means from last bake end to next reflow start that has 168 hours space. - 60 - Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com)
Function: Query GPIO Channel value Parameters: channel: GPIO Channel number,it can be 11、12、18(GPIO Pin Number ) Return Data: +ok=<value> value:GPIO Channel value GPIO NOK: Command failed - 63 - Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com)
Page 70
Channel number, it can be 11、12、18(GPIO Pin Number ) frequency:PWM Channel frequency, it can be 500~60000 duty:PWM Channel duty, it can be 0~100. Return Data: PWM OK: Command successful PWM NOK: Command failed - 64 - Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com)
Page 71
PWM Channel number,it can be 11、12、18(GPIO Pin Number ) Return Data: +ok=<frequency duty> frequency:PWM Channel frequency duty:PWM Channel duty PWM NOK: Command failed B.1.6 PWM <channel> SET - 65 - Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com)
HTTP parameter settings are as follows: AT+HTTPURL=192.168.1.1,80 Set HTTP server address and port AT+HTTPTP=POST Set HTTP request type AT+HTTPPH=/abcd Set HTTP protocol header path AT+HTTPCN= keep-alive Set HTTP Connection area AT+HTTPUA= lwip1.3.2 Set HTTP User-Agent area - 69 - Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com)
Page 76
The data received from HTTP server will be output to serial port and end with “+ok”. If the module hasn’t received data from HTTP server for 5 second, it will cut the TCP link with HTTP server. - 70 - Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com)
Need help?
Do you have a question about the HF-LPT100F and is the answer not in the manual?
Questions and answers