Home
HF-LPT100 User Manual
Contents
1. 64 B 2 Hexadecimal Network Command u u u u J 67 APPENDIX C HTTP PROTOCOL TRANSFFER u 69 C 1 HTTP AT commarnd 69 UIS M OE 69 OE NH TIP XC UA WIDE 69 C13 ATAHTTPPH uitae MQM ette 69 C 1 4 AT HTTPCN u Q W 70 1 5 AT HTTPUA 48 Wa Eee 70 C 1 6 E ess Nee 70 C 2 HTTP Example WS AR 85 70 APPENDIX D REFERENCES WN 72 D 1 High Flying Mass Production Tool U U U u uu u u J 72 D 2 SmartLink APP Config TOO nnnssrnnnvvnnnnvnnnnnvnnnnnnnnnvnnnnnvnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn 72 0 3 EVK Quick Start 7 72 D3 SDK D
2. 22 2 2 2 3 2 UART Frame 2 4 2 5 Parameters 2 6 AE CEN Em 2 7 GPIGJPWM F hction P 5 Function u 2 9 Multi TCP Link Connection U 3 OPWEBATION GUIDELINE U u ussssssssskssassasssapkanasaa2 3 1 Configuration via Web Accessing u uu u u u 3 1 1 Open Web Management Interface aa 341 2 System Page iei RE 34 3 Work Mode Page aa 31 4 STA Setting uu te AAA ata RERO ee ete a Rt de en Eua tede 341 5 AP Setting Page eder dade en aue 3 1 6 Other Setting 3 1 7 Account Management Page sissi anaa aN Shanghai High Flying Electronics Technology Co Ltd www hi flying com 2 HF HF LPT100 Low Power WiFi Module User Manual 3 1 8 Upgrade Software Page agamer 27 3 19 Restart Page awa 28 3 1 10 Restor Page guan een man 28 3111 Tema WebPa
3. N W 25 Figure 14 Work Mode Page u Oa e ern 25 Figure 15 STA Setting Page u un una lp qas eee eee 26 Figure 16 Setting Page QM eee a Aes W 26 Figure 17 Other Setting Page a W WW 27 Figure 18 Account W WR 27 Figure 19 Upgrade SW 28 Figure 20 Restart WA 48 F W 28 Figure 21 Restore Page u uuu NP L L u 29 Figure 22 Internal Webpage 2 00422 21 29 Figure 23 STA Interface Debug Connection iii 30 Figure 24 AP Interface Debug Connection naa 30 Figure 25 Serial Debug Tools T 30 Figure 26 TCPUDPDbg Tools Create a 31 Figure 27 TCPUDPJSpSols 31 Figure 2
4. 38 DE EE EE EEE 39 A224 AT TMODE sne ss etan 39 42 25 zu unen ol i ei ne Rue 39 4 2 8 0 AT4VER SE EDA 40 4 2 2 7 40 422 8 ATSPWSZ BA 2 Paa Eats 40 42 2 9 AT RELD u egeret ie detente ce 40 4 2 2 10 YE R M Em 40 4 2 2 11 Dus E 41 4 2 2 12 VE 41 4 2 2 13 PREC PGI ees A ed 41 4 2 2 14 ny ERE A 41 4 2 2 15 BA UART u aada 42 4 2 2 16 ATUA AA 42 4 2 2 17 ATXUARTEE ite a dnb bera 42 4 2 2 18 AT VARTTE rane enes Gene 42 4 2 2 19 agis 43 4 2 2 20 43 4 2 2 21 AT PING aime 43 4 2 2 22 EE EE EEE 44 4 2 2 23 ET GE EEE EEE 44 4 2 2 24 quer 44 4 2 2 25 ss ata es bau ei kausai 45 Shanghai High Flying Electronics Technology Co Ltd www hi flying com 3 uF HF LPT100 Low Power WiFi Module User Manual el 4 2 2 26 4 2 2 27 4 2 2 28 4 2 2 29 4 2 2 30 4 2 2 31 4 2 2 32 4 2 2 33 4 2 2 34 4 2 2 35 4 2 2 36 4 2 2 37 4 2 2 38 4 2 2 39 4 2 2 40 4 2 2 41 4 2 2 42 4 2 2 43 4 2 2 44 4 2 2 45 4 2 2 46 4 2 2 47 4 2 2 48
5. 14 HF LPT100 GPIO PWM Pin Mapping Table 22 HF LPT100 Web Access Default Setting 24 Error Code Describtion EE WA 36 AT Instruction Set List e Eee 36 Reflow Soldering Parameter enne tne tenete nein 61 Shanghai High Flying Electronics Technology Co Ltd www hi flying com 7 HF LPT100 Low Power WiFi Module User Manual ut HISTORY Ed V1 0 08 01 2013 First Version Ed V1 1 09 11 2013 Update AT command Ed V1 2 10 12 2013 Update AT command Update PWM GPIO function Add HTTP protocol demo Add auto frame function Ed V1 3 10 18 2013 Add nReload Pin wireless upgrade and config description add nLink Pin wireless upgrade indication description Ed V1 4 12 02 2013 Update AT command add AT WALK AT WALKIND AT WPS AT FWSZ add update order information Ed V1 5 01 02 2014 Update AT command add AT SMTLK AT LPTIO Ed V1 51 01 22 2014 Update shipping information Ed V1 6 05 10 2014 Update GPIO description Update SDK download Add AT UDPLCPT AT NTPSER command Update Shipping information Ed V1 7 09 25 2014 Add AT WIFI AT SMEM AT SMTLKVER command Modify AT RECV command Modify AT UARTTE AT TCPTOB AT FWSZ command description Delete
6. 1 2 Hardware Introducltion J J u u u u u u u eade ed 1 2 1 Pins 1 2 2 Electrical Characteristics a 1 2 3 Mechanical Size u AGERE esee enne eee 1 2 4 External Antenna W eee 1 2 5 Evaluation Kitu l L nT an Ese 1 2 6 Order Information gerere Nene 1 3 Typical Application 9295 9m 1 3 1 Hardware Typical Application 499 8 QR 1 3 2 Smart LED Application Hardware Typical Connection 2 FUNCTIONAL DESCRIPTION rnnnnnnnnnvnnnnnvnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnennnnnnnnnnnnnnenn 2 1 Wireless Networking 2 1 1 Basic Wireless Network Based On AP Infrastructure 2 2 1 2 Wireless Network Based On 5 2 2 Work Mode Transparent Transmission Mode 2 3 UART Frame Schemew5 W8 2 3 1 UART 4
7. 54 Si ECCE 54 JE 54 55 E MA WA WA rnt AA 55 ED adl Em 55 F NIPSER see ise 56 AVRAM S S Tm 56 ATHRLDEN 56 AT ASWD 56 ATE MBH T 57 LE 57 ESTE SER 57 AER BS 58 MPa cT 58 nugas E 58 Shanghai High Flying Electronics Technology Co Ltd www hi flying com 4 uF HF LPT100 Low Power WiFi Module User Manual 4 2 2 70 ATILP TIO ER 59 4 2 2 71 ATW IF fide 59 4 2 2 72 ATaSNEM EE 59 5 PACKAGE INFORMATION kii kawa kaakaa Kwa 61 5 1 Recommended Reflow Profile u 61 5 2 Device Handling Instruction Module IC SMT Preparation 61 5 3 Shipping Informati n UU ceceeescoeehucuecueccesceetacterceauesscuetarcesennuesecners 62 APPENDIX A HW REFERENCE DESIGN u 63 APPENDIX B CONTROL GPIO PWM FUNCTION WITH NETWORK COMMANDS 64 B 1 Network Commarnd
8. for STA Mode AT WSLQ Get Link Quality of the Module Only for STA Mode AT WSCAN Get The AP site Survey only for STA Mode AT WEBU Set Get the Login Parameters of WEB page AT TCPLK Get The state of TCP link AT TCPTO Set Get TCP time out AT TCPDIS Connect Dis connect the TCP Client link AT RECV Recv data from UART AT SEND Send data to UART AT WANN Set Get The WAN setting if in STA mode AT LANN Set Get The LAN setting if in ADHOC mode AT RELD Reload the default setting and reboot AT RLDEN Put on off the GPIO12 AT Z Reset the Module AT MID Get The Module ID AT VER Get application version AT H Help Figure 34 AT H Instruction for Help 4 2 1 Instruction Syntax Format AT Instruction protocol is based on the instruction of ASCII command style the description of syntax format as follow gt Format Description lt gt Means the parts must be included m Means the optional part gt Command Message Shanghai High Flying Electronics Technology Co Ltd www hi flying com 35 HF LPT100 Low Power WiFi Module User Manual uF AT lt CMD gt op para 1 para 2 para 3 para 4 lt CR gt AT Prefix of command message CMD Command string W op Symbol of command operator command requires parameters input NULL Query the current command parameters setting Parameters input for setting if required lt CR gt Ent
9. lt Default 300s Module begin to count time when TCP channel don t receive any data clecherar time counter when TCP channel receive any data If the time counter reaches the TCPTO the tcp channel will be break If the module work in TCP Client itwill connect the TCP server instantly and when the module work in TCP Server the TCP client device should make the connection itself 4 2 2 26 AT TCPDIS m Function Open Close TCP link Format Query Opera AT TCPDIS lt CR gt 0k lt sta gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT TCPDIS lt on off gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt W Parameters When query sta Feedback if TCP Client can be link On TCP link close off TCP link on 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 4 2 2 27 AT SOCKB W Function Set Query SOCKB parameters Setting is valid after reset Format Shanghai High Flying Electronics Technology Co Ltd www hi flying com 45 uF HF LPT100 Low Power WiFi Module User Manual Query Operation AT SOCKB lt CR gt ok lt protocol port IP gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT SOCKB lt protocol port IP gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt W Parameters Protocol
10. 4 2 2 49 4 2 2 50 4 2 2 51 4 2 2 52 4 2 2 53 4 2 2 54 4 2 2 55 4 2 2 56 4 2 2 57 4 2 2 58 4 2 2 59 4 2 2 60 4 2 2 61 4 2 2 62 4 2 2 63 4 2 2 64 4 2 2 65 4 2 2 66 4 2 2 67 4 2 2 68 4 2 2 69 AT TEPDIS EE 45 AT4SOCKB uas tepidis RU a EE 45 AT TCPDISB uuu u ee Ma PED fa i n eds 46 DIESE Apo 46 ATSTOPEKB c needed ee 47 ATESNDB unni Ga el en aa 47 AT ROVB Line aan divi eas 47 AT WSSSID 47 uuu etait tact eed ation fit atdet 48 Ww 48 An 49 EC Cee ee eee 49 AT4WSLO u u u Me NR 49 ES EG 49 LIP Ai 50 EEE 50 DIEI WE 50 SENSE d le eerie 51 AT4WAMAC NJ Nee 51 AT WADHGCP 8m W WR 51 AT WADMN A W W98 52 SEDER RE ME KE 52 ATAWALNKIND ua n ipe aa exea 52 DEE CE AAA RE 52 PE EEE 53 El OG 7 VEE tere tnmen 53 AT LOGSWSRA 53 DREIER FEED SR 54 osc
11. XeDisconnAIl 3 DeleteConn 5 2 bi Properties a ax _ 36 1921681141 8899 L sa a 4 za gt A Eos Send AtuoSend Eve 100 x Sena sto m Server Mode Send Hex Send File Send Received Clear Option fircadption PYM 11 GET Save In Time Rec StopShow Clear Save Option ShowHex 500 100 Send Speed B S 0 Receive Speed B S 3 PWM channel SET Shanghai High Flying Electronics Technology Co Ltd www hi flying com 66 HF LPT100 Low Power WiFi Module User Manual W Function Save PWM Channel setting Parameters channel PWM Channel number it can be 11 12 18 20 GPIO Pin number W Return Data PWM OK Command successful PWM Command failed B 2 Hexadecimal Network Command Send hexadecimal data to fastly read module s port status B 2 1 Read All PWM Channel Frequency Send Data 30 W Return Data b0 lt value1 value2 value3 value4 value5 value6 value7 value8 gt 1 0 9 99 9 9 value1 value2 value3 value4 value5 value6 value value8 High byte of PWM Channel 0 GPIO11 frequency Low byte of PWM Channel O GPIO1 1 frequency High byte of PWM Channel 1 GPIO12 frequency Low byte of PWM Channel 1 GPIO12 frequency High byte of PWM Channel 2 GPIO18 frequency Low byte of PWM Channel 2 GPIO18 frequency Not used Not used B 2 2 Write PWM Channel Frequency Send Data
12. HF LPT100 Low Power WiFi Module User Manual uF C 1 4 6 1 5 C 1 6 Path Maxlength is 50 bytes AT HTTPON W Function Set Query Connection of HTTP protocol header Format Query Operation AT HTTPCN lt CR gt 0k lt Connection gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT HTTPCN lt Connection gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt W Parameters Connection Max length is 20 bytes AT HTTPUA W Function Set Query User Agent of HTTP protocol header Format Query Operation AT HTTPUA lt CR gt ok lt Parameter gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT HTTPUA lt Parameter gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt Parameters Parameter Max length is 20 bytes AT HTTPDT Function Send HTTP request or data Format Set Operation AT HTTPDT lt Data gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt Parameters Data HTTP request data send AT HTTPDT directly if no data to be sent C 2 HTTP Example 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 Iwip1 3 2 Set HTTP User Agent area Shanghai High Flying Electronics Technology Co Ltd www hi flying com 70 HF LPT100
13. 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 Downstream All data from serial port user will be replicate and broadcast to every TCP connection or client Detailed multi TCP link data transmission structure as following figure WIFI 2 ye 3 User Device 1 User HF LPT100 z BA Device 2 ng Top cA nn De User Device 3 Figure 11 Multi TCP Link Data Transmition Structure Shanghai High Flying Electronics Technology Co Ltd www hi flying com 23 HF LPT100 Low Power WiFi Module User Manual nents 3 OPERATION GUIDELINE 3 1 Configuration via Web Accessing When first use HF LPT100 modules user may need some configuration User can connect to HF LPT100 module s wireless interface with following default setting information and configure the module through laptop Table 8 HF LPT100 Web Access Default Setting Parameters Default Setting SSID HF LPB100 IP Address 10 10 100 254 Subnet Mask 255 255 255 0 User Name Admin Password Admin 3 1 1 Open Web Management Interface There is internal webpage and external webpage in modules The external webpage is for web management The internal webpage is only for upgrading Step 1 Connect laptop to SSID HF LPB100 of HF LPT10
14. 4 2 2 70 4 2 2 71 4 2 2 72 status lt Enable WPS function lt off Disable WPS function Note The router WPS function must be open first then enable module WPS Scan function The module will quit WPS scan status if there is no WPS router in 5 seconds AT LPTIO Function nReady nLink WPS function mapping Setting is valid after reset Format Query Operation AT LPTIO lt CR gt ok lt status gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT LPTIO lt status gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt W Parameters status nReady nLink WPS function mapping lt off lpb100 nReady nLink WPS function are mapping to HF LPB100 corresponding pin Pin44 Pin43 Pin15 lt on lpt100 nReady nLink WPS function are mapping to HF LPT100 corresponding pin Pin9 Pin10 Pin8 lt Ipt200 nReady nLink WPS function are mapping to HF LPT200 corresponding pin Pin11 Pin13 Pin14 AT WIFI m Function Enable Disable Wi Fi Command need to update to V1 0 05 firmware to use this command Format Query Operation AT WIFI lt CR gt ok lt status gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT WIFI lt status gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt Parameters status Wi Fi status lt UP boot default status Enable Wi Fi Chip lt DOWN Disable Wi Fi Chip Note Some Wi Fi status change command AT WMODE and so on need to rebo
15. CR gt lt LF gt W Parameters filename the upgrade configure file name within 20 characters 4 2 2 52 AT LOGSW Function Open Close remote upgrade logfile Format Query Operation AT LOGSW lt CR gt ok lt status gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT LOGSW lt status gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt W Parameters status Shanghai High Flying Electronics Technology Co Ltd www hi flying com 53 uF HF LPT100 Low Power WiFi Module User Manual ut lt Open The UART Port will print some upgrade status when upgrading the log file will be sent to UDP Port after successfully lt off Close 4 2 2 53 AT LOGPORT Function Set Query remote upgrade UDP port of log file Format Query Operation AT LOGPORT lt CR gt 0k lt port gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT LOGPORT lt port gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt Parameters port The remote upgrade UDP port of log file 4 2 2 54 AT UPST W Function Start remote upgrade Format Query Operation AT UPST lt CR gt okz log lt CR gt lt LF gt lt CR gt lt LF gt W Parameters log feedback the status of remote upgrade Note After execute this command the HF LPB100 will automatic start upgrade base on the setting of UPURL UPFILE command contents 4 2 2 55 AT WEBU Function Set Query webpage user name a
16. CR gt lt LF gt lt CR gt lt LF gt Set Operation AT SMTLKVER lt ver gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt W Parameters status SmartLink config version e SMTLK 3 0 SmartLink V3 version sniffer mode e SMTLK 4 0 SmartLink V4 version sonic mode ver 3 Use SmartLink V3 version sniffer mode 4 SmartLink V4 version sonic mode The corresponding APP can be downloaded from our website 4 2 2 68 AT WPS Function Start WPS function Format Query Operation AT WPS lt CR gt ok lt status gt lt CR gt lt LF gt lt CR gt lt LF gt W Parameters status WPS status The module will reboot and work in STA mode connecting to specific router when WPS communication is OK lt WPS Scan Failed WPS communication is failed Note The router WPS function must be open first then enable module WPS Scan function The module will quit WPS scan status if there is no WPS router in 5 seconds If the router s WPS is enabled the module will reboot and enter WPS mode without reply ok 4 2 2 69 AT WPSBTNEN m Function Enable Disable WPS function E Format Query Operation AT WPSBTNEN lt CR gt ok lt status gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation WPSBTNEN lt status gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt Parameters Shanghai High Flying Electronics Technology Co Ltd www hi flying com 58 HF LPT100 Low Power WiFi Module User Manual ut
17. SS Q rep SSS server S TCP Server ya TCP Client FM N PAD 95 Figure 9 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 The advantage of AP STA mode is Userscan easily setting and track user device through Phone PAD and not change the orginal network setting Userscan easily setting module s parameters through WiFi when module works as STA mode 2 2 Work Mode Transparent Transmission Mode HF LPT100 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 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 trans
18. WSSSID m Function Set Query Wi Fi associated AP SSID parameters Setting is valid after reset Format Query Operation AT WSSSID lt CR gt ok lt ap s ssid gt lt CR gt lt LF gt lt CR gt lt LF gt Shanghai High Flying Electronics Technology Co Ltd www hi flying com 47 HF LPT100 Low Power WiFi Module User Manual 4 2 2 34 4 2 2 35 Set Operation AT WSSSID lt ap s ssid gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt Parameters ap s ssid AP s SSID Within 32 character AT WSKEY W Function Set Query STA security parameters Setting is valid after reset Format Query Operation AT WSKEY lt CR gt ok lt auth encry key gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT WSKEY lt auth encry key gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt Parameters auth Authentication mode OPEN SHARED WPAPSK WPA2PSK encry Encryption algorithm lt NONE When auth OPEN effective WEP When auth OPEN or SHARED effective TKIP When auth WPAPSK or WPA2PSK effective AES When auth WPAPSK WPA2PSK effective key password ASCII code shall less than 64 bit and greater than 8bit AT WANN m Function Set Query STA network setting Setting is valid after reset Format Query Operation AT WANN lt CR gt ok lt mode address mask gateway gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operat
19. address and port when power up The data will be sent to the IP address and port which is set by this command If set as UDP CLIENT the data will always be sent to the IP address and port set by this command 4 2 2 23 AT MAXSK W Function Set Query TCP Client connection number Format Query Operation AT MAXSK lt CR gt 0k lt num gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT MAXSK lt num gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt Parameters num TCP Client connection number Range 1 5 5 is the default value it means when the module work in TCP server it accepts max 5 TCP client connect to it 4 2 2 24 AT TCPLK Function Query if TCP link already build up Format AT TCPLK lt CR gt 0k lt sta gt lt CR gt lt LF gt lt CR gt lt LF gt W Parameters Shanghai High Flying Electronics Technology Co Ltd www hi flying com 44 uF HF LPT100 Low Power WiFi Module User Manual if module already setup TCP link lt TCP link setup off TCP link not setup 4 2 2 25 AT TCPTO Function Set Query TCP timeout Setting is valid after reset Format Query Operation AT TCPTO lt CR gt 0k lt time gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT TCPTO lt time gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt W Parameters time TCP timeout time lt lt 600 600s gt 0 0 means no timeout
20. connecting to module AP nLink output Low otherwise output High off Disable nLink indication function default mode 4 2 2 49 AT PLANG Function Set Query webpage language option E Format Query Operation AT PLANG lt CR gt ok lt language gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation Shanghai High Flying Electronics Technology Co Ltd www hi flying com 52 uF HF LPT100 Low Power WiFi Module User Manual AT PLANG lt language gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt Parameters language webpage s language CN Chinese Version Default EN English Version 4 2 2 50 AT UPURL Function Set Query remote upgrade URL address Format Query Operation AT UPURL lt CR gt 0k lt url gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT UPURL lt curl filename gt CR 0k lt CR gt lt LF gt lt CR gt lt LF gt W Parameters url the upgrade file url address the last charter shall be within 20 characters filename the upgrade file name it s optional and not saved parameter If provide this file name here the module will start upgrade right away 4 2 2 51 AT UPFILE W Function Set Query remote upgrade configure file name Format Query Operation AT UPFILE lt CR gt okz filename lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT UPFILE lt filename gt lt CR gt 0k lt CR gt lt LF gt lt
21. input pin number value3 Module s PWM pin number Shanghai High Flying Electronics Technology Co Ltd www hi flying com 68 HF LPT100 Low Power WiFi Module User Manual APPENDIX HTTP PROTOCOL TRANSFER HF LPT100 module support http data transfer in command mode If any detailed HTTP protocol contact us and we may support customization C 1 HTTP AT command C 1 1 AT HTTPURL W Function Set Query HTTP server IP address and Port Number Format Query Operation AT HTTPURL lt CR gt 0k lt IP Port gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT HTTPURL lt IP Port gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt Parameters IP address Port Port number C 1 2 Function Set Query HTTP request type Format Query Operation AT HTTPTP lt CR gt ok lt Type gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT HTTPTP lt Type gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt Parameters GET default or POST C 1 3 HTTPPH Function Set Query HTTP protocol header path Format Query Operation AT HTTPPH lt CR gt 0k lt Path gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT HTTPPH lt Path gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt Parameters Shanghai High Flying Electronics Technology Co Ltd www hi flying com 69
22. lt status gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt W Parameters status AP s DHCP server function status on DHCP Server Open lt off DHCP Server Close Shanghai High Flying Electronics Technology Co Ltd www hi flying com 51 HF LPT100 Low Power WiFi Module User Manual ut 4 2 2 46 AT WADMN W Function Set Query AP webpage domain name Format Query Operation AT WADMN lt CR gt ok lt domain_name gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT WADMN lt domain name gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt W Parameters Domain name Webpage domain name within 20 characters can t all numbers 4 2 2 47 AT WALK m Function Query MAC address of STA device connecting to module AP Format Query Operation AT WALK lt CR gt ok lt status gt lt CR gt lt LF gt lt CR gt lt LF gt W Parameters status MAC address of STA device connecting to module AP No Connection No STA device connecting to module AP 4 2 2 48 AT WALKIND Function Enable Disable indication of module AP connection status Format Query Operation AT WALKIND lt CR gt ok lt status gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT WALKIND lt status gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt Parameters status indication of module AP connection status lt Enable nLink indication function When STA device
23. trigger length W Format Query Operation AT UARTFL lt CR gt 0k lt len gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT UARTFL lt len gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt W Parameters len Range 8 1000 Unit Byte Auto frame trigger length 4 2 2 18 AT UARTTE m Function Set Query UART free frame trigger time between two bytes E Format Shanghai High Flying Electronics Technology Co Ltd www hi flying com 42 uF HF LPT100 Low Power WiFi Module User Manual Query Operation AT UARTTE lt CR gt 0k lt mode gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT UARTTE lt mode gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt W Parameters mode gt fast No free frame trigger time the uart data may be break into two fragment lt normal free frame trigger time between two bytes is 50ms 4 2 2 19 AT SEND m Function Send Data to at Command Mode Format AT SEND lt data lenth gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt W Parameters data lenth Lenth of send data Range 0 1000 Byte The UART port will wait 3 seconds for input after this command is sent OK The data received from UART port is sent to SOCKA If the interval of two bytes is more than 10ms the data will be sent instantly 4 2 2 20 AT RECV m Function Receive Data from at Command Mode Format AT RECV lt data_lenth
24. 0 AP interface Debug PC2 connect to HF LPT100 through wireless connection another PC1 or user device connect to HF LPT100 module with serial port PC1 HF LPT100 UART r r PN b gt Figure 24 AP Interface Debug Connection 3 2 3 Default Parameter Setting m Default SSID HF LPB100 Deault security mode open none User UART parameter setting 115200 8 1 None Default network parameter setting T CP Server 8899 10 10 100 254 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 owes one Figure 25 CommTools Serial Debug Tools Shanghai High Flying Electronics Technology Co Ltd www hi flying com 30 5N HF LPT100 Low Power WiFi Module User Manual HF High Flying PC2 open TCPUDPDbg program and create a new connection If HF LPT100 configured as Server mode TCPUDPDbg Tools shall create Client mode connection Or otherwise create a Server mode connection Operate O View V Windows W Help H Language i E createconnn W Createserver 25 startserver B Connect Be Spisconnall CreateServer S a B se DisconnectAll A DeleteConnection E DeleteAllConn L OSX amp i OnE Figure 26 TCPUDPDbg Tools Create Connection Then
25. 0 module via wireless LAN card Step 2 After wireless connection OK Open Wen browser and access http 10 10 100 254 Step 3 Then input user name and password in the page as following and click OK button Connect to 10 10 10 254 FA 1 The server 10 10 10 254 at GoAhead requires a username and password Warning This server is requesting that your username password be sent in ap fhsecure manner basic authenticatiq without a secure corfnection User name admin Password Figure 12 Open Web Management page The HF LPT100 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 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 Shanghai High Flying Electronics Technology Co Ltd www hi flying com 24 5N HF LPT100 Low Power WiFi Module User Manual HF 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 x English MID HF LPB System Soft
26. 32 channel valuet value2 channel PWM Channel number valuet value2 High byte of PWM Channel frequency Low byte of PWM Channel frequency W Return Data b2 channel value1 value2 gt Channel PWM Channel number value1 value2 High byte of PWM Channel frequency Low byte of PWM Channel frequency B 2 3 Read All PWM Channel Duty Send Data 20 W Return Data a0 lt value1 value2 value3 value4 gt value value2 value3 value4 Duty of PWM Channel 0 Duty of PWM Channel 1 Duty of PWM Channel 2 Not used B 2 4 Write PWM Channel Duty Send Data 22 channel valuet gt channel PWM Channel number value1 Duty of PWM Channel Shanghai High Flying Electronics Technology Co Ltd www hi flying com 67 HF LPT100 Low Power WiFi Module User Manual m Return Data a2 channel value1 gt Channel PWM Channel number 1 Duty of PWM Channel B 2 5 Write All PWM Channel Duty Send Data 24 lt value1 value value3 gt Return Data a4 lt value1 value value3 gt value1 Duty of PWM Channel 0 value2 Duty of PWM Channel 1 value3 Duty of PWM Channel 2 B 2 6 Save Present GPIO PWM Setting Send Data 7 Return Data fa B 2 7 Read Resources of module Send Data 7e Return Data fe lt value1 value value3 gt value1 Module s GPIO ouput pin number value2 Module s GPIO
27. 8 TCPUDPDbg Tools 31 Figure 29 Wireless Control Application nnne nns 32 Figure 30 Remote Management 32 Figure 31 Transparent Serial Port 33 Figure 32 HF LPT100 Default UART Port Parameters u 34 Figure 33 Switch to Configuration Mode ara 34 Figure 34 AT H Instruction for 35 Figure 35 Reflow Soldering Profile 61 Figure 36 Shipping 99 62 Shanghai High Flying Electronics Technology Co Ltd www hi flying com 6 uF HF LPT100 Low Power WiFi Module User Manual Table 1 Table 2 Table 3 Table 4 Table 5 Table 6 Table 7 Table 8 Table 9 Table 10 Table 11 LIST OF TABLES HF LPT100 Module Technical Specifications a 10 HF LPT100 Pins Defintibnsuueen sassanidene ex 11 Absolute Maximum 5 12 Power Supply amp Power Consumption 1 20 24 1161 azizi 12 HF LPT100 External Antenna 14 HF LPT100 Evaluation Kit Interface
28. A Parameters Standby 200uA Reserved Power Down Switch 10uA Reserved Operating Temp 40 C 85 C Storage Temp 45 C 125 C Dimensions and Size 22mm x 13 5mm x 6mm External Interface 1x10 2mm DIP Network Type STA AP STA AP Security Mechanisms WEP WPA PSK WPA2 PSK Encryption WEP64 WEP128 TKIP AES Software Update Firmware EOS eb Page rade Parameters 0 application develop Network Protocol IPv4 TCP UDP FTP HTTP AT instruction set Android iOS Smart Link APP tools 1 1 3 Key Application Remote equipment monitoring Security Medical devices Home automation Asset tracking and telemetry Industrial sensors and controls Shanghai High Flying Electronics Technology Co Ltd www hi flying com 10 HF LPT100 Low Power WiFi Module User Manual eee 1 2 Hardware Introduction 1 2 1 Pins Definition Figure 1 100 Pins Table2 100 Pins Definition bod al e 1 Ground GND Power 2 3 Restore nReload Ll PU Detailed functions see Notes Configuration Module Reset EXT RESETn LPU Low effective reset input UARTO UARTO RX GPIO5 No connect if not use UARTO UARTO TX GPIO6 No connect if not use Power Control PWR SW 0 Power Down Mode Switch 1 Normal mode Reserved PWM Channel 2 PWM 2 10 PWM Channel 1 PWM 1 lt Notes gt nR
29. ART Auto Frame HF LPT100 support UART auto frame function If user select open this function and setting auto frame 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 gt Auto frame trigger length The fixed data length that module used to transmitting to the network gt Auto frame trigger time After the trigger time if UART port received data can t reach auto frame 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 20 HF LPT100 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 the HF LPT100 module supports following WEP WPA PSK TKIP WPA PSK AES WPA2 PSK TKIP WPA2 PSK AES 9 2 5 Parameters Configuration HF LPT100 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 LPT100 module connected to wirele
30. AT UDPLCPT AT CFGWR AT CFGFR AT CFGRD command Delete uart baud rate 300 921600 Shanghai High Flying Electronics Technology Co Ltd www hi flying com 8 HF LPT100 Low Power WiFi Module User Manual 1 PRODUCT OVERVIEW 1 1 General Description The HF LPT100 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 PWM interface for data transfer HF LPT100 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 1 1b g n Wi Fi solution for a variety of applications The HF LPT100 employs the world s lowest power consumption embedded architecture It has been 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 LPT100 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 provides built in antenna external antenna option 1 1 1 Device Features Single stream Wi Fi amp 2 4 GHz with support for WEP security mode as well as WPA WPA2 Based on Self developed High Cost Perfor
31. CP or UDP protocol The status of GPIO won t be changed if the module is reset B 1 Network Command B 1 1 B 1 2 GPIO channel OUT value Function Set GPIO Channel value temporarily Parameters channel GPIO Channel number it can be 11 12 18 GPIO Pin Number value GPIO Channel value 1 high voltage O low voltage Return Data GPIO OK Command successful GPIO NOK Command failed r gt 192 168 1 141 8899 Operate O View V Windows W Help H Language 2 CreateConnn CreateServer 27 B Conect BW 3 DisconnAll 3 DeleteConn amp 9 Properties ax J 192 168 1 141 8899 4 E M Client Mode DestIP 100 192 168 1 141 8899 reisa fot T red ES ser S Mod Send Hex Send File Send Received M Server Mode EL Clear Option Broad ption LocalPort 001 zi AtuoConn Eve 0 s r Eve Connect Rec StepShow Clear Save Option Shomer Ei Seren Time E ave In Tine IGPIO OK Rev 7 Clear Send Speed B S 0 Receive Speed B S 0 i L GPIO lt channel gt GET Function Query GPIO Channel value Parameters channel GPIO Channel number it can be 11 12 18 GPIO Pin Number Return Data oke value value GPIO Channel value NOK Command failed Shanghai High Flying Electroni
32. Co Ltd www hi flying com 73
33. Configuration Mode When HF LPT100 power up it will default works as transparent transmission mode then user can switch to configuration mode by serial port command HF LPT100 UART default parameters setting as below figure Quick Connect Jn 5 Protocol rov WA Port Flow Control DTR DSR Baud rate 115200 Data bits 8 gt Parity Hone a Stop bits i Figure 32 HF LPT100 Default UART Port Parameters In configuration mode user can setting the module through instruction set which cover all web page setting function 4 1 1 Switch to Configuration Mode Two steps to finish switching from transparent transmission mode to configuration mode gt UART input after module receive and feedback as confirmation gt UART input a after module receive and feedback ok to go into AT instruction set configuration mode Serial CON3 Secure CRT RHE BW ETO HEG TAG 58500 33 S9 C 4 y A BE 3 1 489 Seria COM3 a ok Serial COM3 3 1 2667 909 vri00 BF 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 Shanghai High Flying Electronics Technology Co Ltd www hi flying com 34 HF LPT100 Low Power WiFi Module Us
34. EN Function Set Query nReload Pin function status Format Query Operation AT RLDEN lt CR gt ok lt status gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT RLDEN lt status gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt W Parameters status The status of module s nReload pin function lt nReload pin function is enabled lt off nReload pin function is disabled 4 2 2 63 AT ASWD m Function Set Query WiFi Configuration Password Format Query Operation AT ASWD lt CR gt 0k lt aswd gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation Shanghai High Flying Electronics Technology Co Ltd www hi flying com 56 HF LPT100 Low Power WiFi Module User Manual ut AT ASWD lt aswd gt lt CR gt lt LF gt lt CR gt lt LF gt W Parameters aswd WiFi Configuration Password within 20 characters 4 2 2 64 Function Set Wi Fi Auto Switch Function Setting is valid after reset Format Query Operation AT MDCH lt CR gt 0k lt mode gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT MDCH lt mode gt lt CR gt lt LF gt lt CR gt lt LF gt W Parameters mode Wi Fi Auto Switch Mode lt off Disable Wi Fi auto switch 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 lt auto Enable Wi Fi auto detect function The module will reset
35. GPIO45 status ASWD Set Query WiFi configuration code MDCH Set Wi Fi Auto Switch Function TXPWR Set Query Wi Fi Transmit Power SMTLK Start SmartLink function SMTLKVER Set Query SmartLink version WPS Start WPS function WPSTNEN Enable Disable GPIO 15 WPS function LPTIO nRead nLink WPS function mapping WIFI Enable Disable Wi Fi SMEM Query RAM status AT E m Function Open Close show back function Format Set Operation AT E lt status gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt Parameters status Echo status Open echo 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 4 2 2 2 AT WMODE W Function Set Query Wi Fi work mode Setting is valid after reset Format Shanghai High Flying Electronics Technology Co Ltd www hi flying com 38 HF LPT100 Low Power WiFi Module User Manual uF Query Operation AT WMODE lt CR gt ok lt mode gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT WMODE lt mode gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt Parameters mode Wi Fi work mode AP STA APSTA 4 2 2 3 AT ENTM Function Set module into transparent transmition mode Format AT ENTM lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt When oper
36. HF LPT100 Low Power WiFi Module User Manual eee HF LPT100 Low Power WiFi Module User Manual V 1 7 sd F Overview of Characteristic Support IEEE802 11b g n Wireless Standards Based on Self developed High Cost Effective MCU lt Ultra Low Power for Battery Applications with Excellent Power Save Scheme Support UART PWM GPIO Data Communication Interface Support Work As STA AP AP STA Mode gt Support Smart Link Function APP program provide lt Support Wireless and Remote Firmware Upgrade Function support WPS Function 4 Support Multi TCP Link 5 Channel Apllication lt Support Dial Switch Power Control Reserved Support External or Pad Interface Antenna Option gt Single 3 3V Power Supply Smallest Size 22mm x 13 5mm x 6mm 1x10 2mm Connector FCC CE Certificated Shanghai High Flying Electronics Technology Co Ltd www hi flying com 1 uF HF LPT100 Low Power WiFi Module User Manual TABLE OF CONTENTS LIST OF FIGURES sunsets LISTOF TABLES u L HISTORY e 1 aa e e aa ae ten amu 1 1 General Descriptioi si i tm 1127 Device Features u u u ert tu nter RII ede AA 1 1 2 Device Paremeters 1 1 1 3 Key
37. Low Power WiFi Module User Manual ut 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 HTTP 1 1 Connection keep alive User Agent lwip1 3 2 Content Length 4 Host 192 168 0 127 8999 abcd 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 Shanghai High Flying Electronics Technology Co Ltd www hi flying com 71 uF HF LPT100 Low Power WiFi Module User Manual APPENDIX D REFERENCES D 1 High Flying Mass Production Tool Download Address http gb hi flying com download detail dc amp downloadsld 1822d146 343d 4332 af8b 137c0fb4d967 amp comp stats comp FrontDownloads list01 dc html D 2 SmartLink APP Config Tool IOS Platform http gb hi flying com download detail dc amp downloadsld a8be10d9 1687 4984 8bec 90b7f2cb3e08 amp comp stats comp FrontDownloads list01 dc html Android Platform http gb hi flying com download_ detail dc amp downloadsld 3fe69600 8aed 4c8f a5d0 ceea5f5b8f2e amp comp stats comp FrontDownloads list01 dc html D 3 EVK Quick Start Guide Download Address http Awww hi flyin
38. Protocol type lt Only for TCP Client lt UDP UDP Client UDPS UDP Server Port Protocol Port in decimal less than 65535 IP Destination IP address domain name is support 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 saved any IP address and port when power up The data will be sent to the IP address and port which is set by this command If set as UDP CLIENT the data will always be sent to the IP address and port set by this command 4 2 2 28 AT TCPDISB W Function Open Close SOCKB connection Format Query Operation AT TCPDISB lt CR gt 0k lt sta gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT TCPDISB lt on off gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt m Parameters 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 4 2 2 29 AT TCPTOB m Function Set Query Operation SOCKB TCP timeout Setting is valid after reset Format Query Operation AT TCPTOB lt CR gt ok lt time gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT TCPTOB lt time gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt Parameters Shanghai High Flying Electronics Tech
39. ate this command module switch from configuration mode to transparent transmission mode 4 2 2 4 AT TMODE W Function Set Query module data transfer mode Setting is valid after reset Format Query Operation AT TMODE lt CR gt ok lt tmode gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT TMODE lt tmode gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt m Parameters tmode data transfer mode include throughput throughput mode command mode pwm PWM GPIO mode 4 2 2 5 AT MID W Function Query module ID information Format Query Operation AT MID lt CR gt lt id gt lt CR gt lt LF gt lt CR gt lt LF gt Parameters module id Module ID information HF LPB100 Shanghai High Flying Electronics Technology Co Ltd www hi flying com 39 HF LPT100 Low Power WiFi Module User Manual Notes User can set this parameter through AT WRMID 4 2 2 6 AT VER W Function Query module software version information Format Query Operation AT VER lt CR gt 0k lt ver gt lt CR gt lt LF gt lt CR gt lt LF gt Parameters ver Module software version information 4 2 2 7 AT LVER m Function Query module detailed software version information Format Query Operation AT LVER lt CR gt 0k lt ver gt lt CR gt lt LF gt lt CR gt lt LF gt Parameters ver Module software detailed version inform
40. ation 4 2 2 8 AT FWSZ m Function Query Wi Fi driver size Format Query Operation AT FWSZ lt CR gt ok lt size version gt lt CR gt lt LF gt lt CR gt lt LF gt Parametewrs size Wi Fi driver size Byte version Wi Fi driver version 4 2 2 9 AT RELD W Function module restore to factory default setting Format Set Operation AT RELD lt CR gt ok rebooting lt CR gt lt LF gt lt CR gt lt LF gt When operate this command module will restore to factory default setting and reboot 4 2 2 10 AT FCLR Function Erase factory setting Format Query Operation AT FCLR lt CR gt ok lt status gt lt CR gt lt LF gt lt CR gt lt LF gt Shanghai High Flying Electronics Technology Co Ltd www hi flying com 40 HF LPT100 Low Power WiFi Module User Manual 4 2 2 11 AT Z Function Re start module Format AT Z lt CR gt 4 2 2 12 AT H Function Help Format Query Operation AT H lt CR gt ok lt command help gt lt CR gt lt LF gt lt CR gt lt LF gt Parameters command help command introduction 4 2 2 13 AT CFGTF W Function Copy User Parameters to Factory Default Parameters Format Query Operation AT CFGTF lt CR gt ok lt status gt lt CR gt lt LF gt lt CR gt lt LF gt Parameters status feedback operation status 4 2 2 14 AT UART m Function Set Query serial port parameters Setting is valid after re
41. ble 4 2 2 39 AT WSCAN Function Scan AP Format AT WSCAN lt CR gt lt site gt lt CR gt lt LF gt lt CR gt lt LF gt Parameters ap site AP searched Shanghai High Flying Electronics Technology Co Ltd www hi flying com 49 HF LPT100 Low Power WiFi Module User Manual ut 4 2 2 40 AT WSDNS W Function Set Query STA static DNS server address Format Query Operation AT WSDNS lt CR gt ok lt address gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT WSDNS lt address gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt W Parameters address STA s DNS server address Effective right away 4 2 2 41 AT LANN Function Set Query AP s network parameters Setting is valid after reset Format Query Operation AT LANN lt CR gt ok lt ipaddress mask gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT LANN lt ipaddress mask gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt Parameters ipaddress IP address mask AP s net mask 4 2 2 42 AT WAP m Function Set Query AP Wi Fi parameters Setting is valid after reset Format Query Operation AT WAP lt CR gt ok lt wifi mode ssid channel gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT WAP lt wifi mode ssid channel2 CR 0k lt CR gt lt LF gt lt CR gt lt LF gt Parameters wifi mode Wi Fi mode include 11B
42. cs Technology Co Ltd www hi flying com 64 HF LPT100 Low Power WiFi Module User Manual WK r b TCP amp UDPRISCT 192 168 1 141 8899 slu Operate O View V Windows W Help H Language x J CreateConnn CreateServer 27 ROJS S DisconnAll 3 DeleteConn 5 2 Properties ax 3 192 168 1 141 8899 4 E M Client Mode DestIP foo D gt 192 168 1 141 8899 mea Lend MtueSend Eve un s Send S Mod _ Send Hex Send File Send Received M Server Mode er Clear Option Broad ption r GPIO 11 GET 4001 TCP hd F Eve 0 s Eve Rec StopShow Clear Save Option ShowHex Em Time sed E ave In Time 1 Rev 8 Clear Send Speed B S 0 Receive Speed B S 0 1 L B 1 3 GPIO channel SET Function Save GPIO Channel setting Parameters channel GPIO Channel number it can be 11 12 18 GPIO Pin Number Return Data OK Command successful GPIO NOK Command failed B 1 4 PWM channel frequency duty Function Set PWM Channel output temporarily Parameters channel PWM 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 Shanghai High Flying Electronics Tech
43. ction Setting is valid after reset Format Query Operation AT NTPEN lt CR gt ok lt status gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT NTPEN lt status gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt Parameters status status of time calibration Enable time calibration off Disable time calibration 4 2 2 59 AT NTPTM Function Query network time Format Query Operation AT NTPTM lt CR gt 0k lt time gt lt CR gt lt LF gt lt CR gt lt LF gt W Parameters Shanghai High Flying Electronics Technology Co Ltd www hi flying com 55 HF LPT100 Low Power WiFi Module User Manual time networ time for example 2013 10 59 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 4 2 2 60 AT NTPSER W Function Set Query NTP server IP address Format Query Operation AT NTPSER lt CR gt ok lt ipaddress gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT NTPSER lt ipaddress gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt W Parameters ipaddress NTP network server IP address 61 164 36 105 default value 4 2 2 61 AT WRMID Function Set module ID Format Set Operation AT WRMID lt wrmid gt lt CR gt lt LF gt lt CR gt lt LF gt W Parameters wrmid set module s ID within 20 characters 4 2 2 62 AT RLD
44. e set web server s user name and password System Work Mode STA Setting AP Setting Other Setting Account Upgrade SW Restart Restore 3 1 8 Upgrade Software Page Set a New Account and Password Current User Name admin Current P admin New User Name Figure 18 Account Page User can upgrade new software firmware version through Wi Fi Shanghai High Flying Electronics Technology Co Ltd www hi flying com 27 5N HF LPT100 Low Power WiFi Module User Manual HF AX English Upgrade Software System Work Mode STA Setting AP Setting Other Setting Account Upgrade SW Restart Restore Current version V1 1 6 E Figure 19 Upgrade SW page 3 1 9 Restart Page Most of the settting and configuration can only effective after system restart User shall restart after finish all setting Restart Device System Work Mode STA Setting Important notice AP Setting After res y dto the interface It fter Il configuratio Other Setting pam network for a x ee Account a Upgrade SW Restart Restore Figure 20 Restart Page 3 1 10 Restore Page After module restore factory default setting all user configuration profile will lose User can access http 10 10 100 254 to set again and user name and password is admin HF LPT100 will restore to AP mode for factory default setting Shanghai High Flying Electronics Technology Co Ltd ww
45. ecommend to connect to button is used to enter wireless upgrade mode User can de assert nReload signal 0 more than 4s 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 UARTO TXD RXD UART port data transmit and receive signal PWM n PWM control signal output It can also be configured as GPIO output command configure PWM 1 pin as nLink PWM 2 pin as nReady 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 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 Shanghai High Flying Electronics Technology Co Ltd www hi flying com 17 HF LPT100 Low Power WiFi Module User Manual s 2 FUNCTIONAL DESCRIPTION 2 1 Wireless Networking HF LPT100 module can be configured as bot
46. ecommend to store at 10 RH with vacuum packing 7 lf SMT process needs twice reflow 1 Top side SMT and reflow 2 Bottom side SMT and reflow Case 1 Wifi module mounted on top side Need to bake when bottom side process over 168 hours window time no need to bake within 168 hours 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 Shanghai High Flying Electronics Technology Co Ltd www hi flying com 61 HF LPT100 Low Power WiFi Module User Manual HF 5 3 Shipping Information TRAY Size 350 260 20 mm Size 350 260 160 mm inside NIS Figure 36 Shipping Information Note 1 tray 20 6pcs 120 pcs 1 box 8 trays 8 120 pcs 960pcs Shanghai High Flying Electronics Technology Co Ltd www hi flying com 62 HF LPT100 Low Power WiFi Module User Manual APPENDIX HW REFERENCE DESIGN i iii i p Detailed HF LPT100 Evluation Board design source files pls access High Flying web download page or contact with High Flying technical support people to acquire Shanghai High Flying Electronics Technology Co Ltd www hi flying com 63 HF LPT100 Low Power WiFi Module User Manual uF APPENDIX B CONTROL GPIO PWM FUNCTION WITH NETWORK COMMANDS Send command data to control module s GPIO PWM port after make network connection with T
47. eload Pin Button function 1 When this pin is set to low during module boot up the module will enter wireless No connect if not use Detailed functions see lt Notes gt PWM Channel 3 PWM 3 be configured as WPS GPIO18 No connect if not use firmware and config upgrade mode This mode is used for customer manufacture See Appendix D to download software tools for customer batch configuration and upgrade firmware during mass production 2 After module is powered up short press this button Low lt 2s 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 Shanghai High Flying Electronics Technology Co Ltd www hi flying com 11 HF LPT100 Low Power WiFi Module User Manual 3 After module is powered up long press this button Low gt 46 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 nLink Pin LED function 1 At wireless firmware and config upgrade mode this LED used to indicate configure and upgrade status 2 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 High Flying strongly suggest customer fan out this pin to LED 1 2 2 Electrical Characteris
48. er Key it s 0x0a or 0x0d in ASCII Notes When input AT Instruction AT lt CMD gt character will display capital letter automatic and other parts will not change as you input gt Response Message lt RSP gt op para 1 para 2 para 3 para 4 lt CR gt lt LF gt lt CR gt lt LF gt Prefix of response message RSP Response string Success ERR Failure op lt CR gt ASCII 0x0d lt LF gt ASCIII 0x0a Error Code Table 9 Error Code Describtion para n Parameters if query command or Error code when error happened Error Code Description 1 Invalid Command Format 2 Invalid Command 3 Invalid Operation Symbol 4 Invalid Parameter 5 Operation Not Permitted 4 2 2 AT lInstruction Set Table 10 AT Instruction Set List Instruction Description lt null gt NULL Managment Instruction Set E 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 Shanghai High Flying Electronics Technology Co Ltd www hi flying com 36 uF HF LPT100 Low Power WiFi Module User Manual Instruction Description MID Query module ID in
49. er Address Restart Restore Figure 15 STA Setting Page 3 1 5 Setting Page When user select module works at AP and AP STA mode then need setting this page and provide wireless and network parameters Most of the system support DHCP to achieve IP address so we suggest to Enable DHCP server in most applications Wireless AP Setting Network Mode System let od Work Mode Network Name SSID STA Setting Module MAC Address AECF23FF0020 AP Setting Other Setting E Wireless AP Security Setting Upgrade SW Encryption Mode Restart Restore Network Parameters Setting IP Address DHCP Gateway Se Subnet Mask DHCP 5 Figure 16 Setting Page 3 1 6 Other Setting Page 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 Shanghai High Flying Electronics Technology Co Ltd www hi flying com 26 HF LPT100 Low Power WiFi Module User Manual HF System Work Mode STA Setting AP Setting Other Setting Account Upgrade SW Restart Restore Serial Port Parameters Setting Baud Rate Data Bit Parity Bit TCP Time Out Setting Figure 17 Other Setting Page 3 1 7 Account Management Page This pag
50. er Manual 2 Any other input 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 Like the following sequence input input input input lt 300ms lt 300ms lt 35 feedback a 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 to list all AT Instruction and description to start AT H AT NONE command reply AT ASWD Set Query WiFi configuration code AT E Echo ON off to turn on off command line echo function AT ENTM Goto Through Mode AT NETP Set Get the Net Protocol Parameters AT UART Set Get the UART Parameters AT UARTF Enable disable UART AutoFrame function AT UARTFT Set Get time of UART AutoFrame AT UARTFL Set Get frame length of UART AutoFrame AT UARTTE Set Query UART free frame triggerf time between two byte AT PING General PING command AT WAP Set Get the AP parameters AT WAKEY Set Get the Security Parameters of WIFI AP Mode AT WMODE Set Get the WIFI Operation Mode AP or STA AT WSKEY Set Get the Security Parameters of WIFI STA Mode AT WSSSID Set Get the AP s SSID of WIFI STA Mode AT WSLK Get Link Status of the Module
51. er device So control agent Smart phone for this example can manage and control the user device through the wireless connection with HF LPB100 module 3 3 2 Remote Management Application HF LPT100 VART 3 User Device HF LPT100 AV W UART 3 ER User Device Figure 30 Remote Management Application Internet 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 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 Shanghai High Flying Electronics Technology Co Ltd www hi flying com 32 HF LPT100 Low Power WiFi Module User Manual eee 3 3 3 Transparent Serial Port Application 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 User Device HF LPT100 HF LPT100 User Device gt I y Figure 31 Transparent Serial Port Application Shanghai High Flying Electronics Technology Co Ltd www hi flying com 33 HF LPT100 Low Power WiFi Module User Manual nents 4 AT INSTRUCTION INTRODUCTION 4 1
52. f 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 Shanghai High Flying Electronics Technology Co Ltd www hi flying com 13 HF LPT100 Low Power WiFi Module User Manual Table 5 HF LPT100 External Antenna Parameters Item Parameters Frequency range 2 4 2 5GHz 50 Ohm VSWR 2 Max 10dB Max Connector Type 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 The EVK support 5V DC power supply Figure 4 HF LPT100 Evaluation Kit The external interface description for evaluation kit as follows Table 6 HF LPT100 Evaluation Kit Interface Description Used to reset the module Restore factory default configuration after push this nReload pin more than 4s See 1 2 1 WPS button Reserved Shanghai High Flying Electronics Technology Co Ltd www hi flying com 14 HF LPT100 Low Power WiFi Module User Manual High Flying 1 2 6 Order Information Base on customer detailed requirement HF LPT100 series mod
53. formation VER 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 Z Re start module H Help Configure Parameters Instruction Set 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 Query if TCP link already build up 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 signa
54. g com download detail dc amp downloadsld b545c662 4ec7 49a4 aea4 e09971062a62 amp comp stats comp FrontDownloads listO1 dc html D 3 SDK Download Download Address http www hi flying com download detail sdk amp downloadsld 8dd69136 6e5c 9 2 1 381450 6 Shanghai High Flying Electronics Technology Co Ltd www hi flying com 72 HF LPT100 Low Power WiFi Module User Manual APPENDIX CONTACT INFORMATION Address Room 511 510 Building 7 No 365 Chuanhong Road Pudong New Area Shanghai China 201202 Web www hi flying com Service Online 400 189 3108 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 lt END OF DOCUMENT gt Copyright High Flying May 2011 The information disclosed herein is proprietary to High Flying and is not to be used by or disclosed to unauthorized persons without the written consent of High Flying The recipient of this document shall respect the security status of the information The master of this document is stored on an electronic database and is write protected and may be altered only by authorized persons at High Flying Viewing of the master document electronically on electronic database ensures access to the current issue Any other copies must be regarded as uncontrolled copies Shanghai High Flying Electronics Technology
55. ge Aa 29 3 2 HF LPT100 Usage Introduction u u u uu u u nnn nnns 29 3 244 Software Debug Tools iii Gee 29 3 2 2 Network 30 3 2 8 Default Parameter Setting 30 3 24 Module 30 3 3 Typical Application Examples 32 3 8 1 Wireless Control 32 3 3 2 Remote Management 32 3 3 3 Transparent Serial Port Application u 33 AT INSTRUCTION INTRODUCTION 34 4 1 Configuration Mode e ss 34 4 1 1 Switch to Configuration Mode 00000 a a 34 4 2 AT Instruction Set Overview W Wa 35 4 2 1 Instruction Syntax Format R a aa 35 4 2 8 AT Instruction Set 9 9290 36 42243 AA Ra a uu a a 38 42 22 A
56. h wireless STA and AP base on network type Logically there are two interfaces in HF LPT100 One is for STA and another is for AP When HF LPT100 works as AP other STA equipments are able to connect to HF LPB100 module directly Wireless Networking with HF LPT100 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 networking devices can be called with a STA device 2 1 1 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 is transmitted through the AP The figure following shows such type of networking HF LPT100 User Device w WiFi AP i I gt HF LPT100 User Device lt p a Figure 8 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 Shanghai High Flying Electronics Technology Co Ltd www hi flying com 18 HF LPT100 Low Power WiFi Module User Manual STA Ea TCPB
57. ion AT WANN lt mode address mask gateway gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt m Parameters mode STA s IP network setting static Static IP DHCP Dynamic address STA IP address mask STA subnet mask gateway STA gateway address Shanghai High Flying Electronics Technology Co Ltd www hi flying com 48 uF HF LPT100 Low Power WiFi Module User Manual 4 2 2 36 AT WSMAG m Function Set Query STA MAC address parameters Setting is valid after reset Format Query Operation AT WSMAC lt CR gt ok lt mac_address gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT WSMAC lt code mac_address gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt Parameters code security code 8888 default value Mac address STA MAC address such as ACCF23FF1234 4 2 2 37 AT WSLK W Function Query STA WiFi link status Format Query Operation AT WSLK lt CR gt 0k lt ret gt lt CR gt lt LF gt lt CR gt lt LF gt W Parameters ret Disconnected if no WiFi connection lt AP SSID AP s MAC if WiFi connection available 4 2 2 38 AT WSLQ Function Query STA WiFi signal strength Format Query Operation AT WSLQ lt CR gt 0k lt ret gt lt CR gt lt LF gt lt CR gt lt LF gt W Parameters ret gt Disconnected if no WiFi connection lt AP s WiFi signal strength if WiFi connection availa
58. itself when encounter any abnormal The default time interval is 10 minutes default mode lt 3 120 unit minute Set the time interval to reset itself when abnormal 4 2 2 65 AT TXPWR m Function Set Query Wi Fi Transmit Power Real Transmit Power Default Transmit Power 16dBm Setting Value 0 5dBm Setting is valid after reset Format Query Operation AT TXPWR lt CR gt 0k lt num gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT TXPWR lt num gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt W Parameters num Setting Value The default is 0 it can be sent from 0 24 If set to 24 the moudule transmit power will be at a minium of 4dBm Reboot to make this setting change valid It will not restore to default if reload the module 4 2 2 66 AT SMTLK W Function Start SmartLink function Format Query Operation AT SMTLK lt CR gt Shanghai High Flying Electronics Technology Co Ltd www hi flying com 57 HF LPT100 Low Power WiFi Module User Manual t 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 See the Appendix for more details 4 2 2 67 AT SMTLKVER W Function Set Query SmartLink config version for LPB100U only Format Query Operation AT SMTLKVER CR ok lt status gt lt
59. l 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 WALK Query MAC address of STA device connecting to module AP Shanghai High Flying Electronics Technology Co Ltd www hi flying com 37 HF LPT100 Low Power WiFi Module User Manual uF Instruction Description WALKIND Enable Disable indication of connection status 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 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 NTPSER Set Query NTP server IP Others Instruction Set WRMID Set module ID RLDEN Set Query
60. lt 11BG 11BGN Default Value ssid SSID at AP mode channel Wi Fi channel selection lt AUTO Default CH1 CH1 CH11 Shanghai High Flying Electronics Technology Co Ltd www hi flying com 50 uF HF LPT100 Low Power WiFi Module User Manual 4 2 2 43 AT WAKEY W Function Set Query AP Wi Fi secruity parameters Setting is valid after reset Format Query Operation AT WAKEY lt CR gt ok lt auth encry key gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT WAKEY lt auth encry key gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt W Parameters auth include WPA2PSK Encry include lt NONE When auth OPEN available gt AES When auth WPA2PSK available key security code ASCII code smaller than 64bit and bigger than 8 bit 4 2 2 44 AT WAMAG W Function Query AP MAC address parameters Format Query Operation AT WAMAC lt CR gt ok lt mac address gt lt CR gt lt LF gt lt CR gt lt LF gt Parameters 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 45 AT WADHCP Function Set Query AP DHCP server status Setting is valid after reset E Format Query Operation AT WADHCP lt CR gt ok lt status gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT WADHCP
61. mance 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 External Pad Interface antenna connector options Support Dial Switch to Control Power Reserved Support Max 3 Channel PWM Output 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 Shanghai High Flying Electronics Technology Co Ltd www hi flying com 9 HF LPT100 Low Power WiFi Module User Manual HF 1 1 2 Device Paremeters Table 1 HF LPT100 Module Technical Specifications Class Item Parameters Certification FCC CE Wireless standard 802 11 b g n Frequency range 2 412GHz 2 484GHz 802 11b 16 2dBm 911Mbps Wireless Transmit Power 802 110 14 2dBm 54Mbps Parameters 802 11n 13 2dBm HT20 MCS7 802 11b 93 dBm 11Mbps Receiver Sensitivity 802 11g 85 dBm 54Mbps OFDM 802 11n 82 dBm HT20 MCS7 Antenna Option External l PEX Connector External Pad connector UART Data Interface PWM GPIO Operating Voltage 2 8 3 6V Peak Continuous TX 200mA Normal WiFi ON OFF DTIM 100ms Hardware Operating Current Average 12mA Peak 200m
62. nd password Setting is valid after reset W Format Query Operation AT WEBU lt CR gt ok lt username password gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT WEBU lt username password gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt Parameters username User Name within 15 characters not support empty password password within 15 characters support empty 4 2 2 56 AT MSLP W Function Set Query deep sleep standby mode parameters Format Query Operation AT MSLP lt CR gt Shanghai High Flying Electronics Technology Co Ltd www hi flying com 54 HF LPT100 Low Power WiFi Module User Manual 0k lt ret gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT MSLP lt mode gt lt CR gt lt LF gt lt CR gt lt LF gt Parameters ret normal normal mode 100ms interval mode normal normal mode 100ms interval standby WiFi shut down mode Reserved 4 2 2 57 AT NTPRF W Function Set Query time calibration interval Format Query Operation AT NTPRF lt CR gt 0k lt num gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT NTPRF lt num gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt W Parameters num time calibration inverval range 0 720 default 30 minutes 10 minutes for each step set 0 means no time calibration automatically 4 2 2 58 AT NTPEN Function Enable Disable time calibration fun
63. nology Co Ltd www hi flying com 46 uF HF LPT100 Low Power WiFi Module User Manual Time TCP timeout lt lt 600 600s gt 0 0 means no timeout lt 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 4 2 2 30 AT TCPLKB W Function Query SOCKB connection status Format AT TCPLKB lt CR gt 0k lt sta gt lt CR gt lt LF gt lt CR gt lt LF gt Parameters sta SOCKB connection status lt TCP connected lt off TCP disconnected 4 2 2 31 AT SNDB Function Send datas to SOCKB at Command Mode Format AT SNDB lt data lenth CR 0k lt CR gt lt LF gt lt CR gt lt LF gt W Parameters data lenth Lenth of send data Range 0 1000 Byte The UART port will wait 3 seconds for input after this command is sent OK The data received from UART port is sent to SOCKB If the interval of two bytes is more than 10ms the data will be sent instantly 4 2 2 32 AT RCVB W Function Receive datas from SOCKB at Command Mode Format AT RCVB lt data_lenth gt lt CR gt ok lt data lenth data content gt lt CR gt lt LF gt lt CR gt lt LF gt Parameters data lenth Lenth of receive data Range 0 1000 Byte data content contents of receive data If not receive any data in 3 second then feedback ok 0 4 2 2 33 AT
64. nology Co Ltd www hi flying com 65 HF LPT100 Low Power WiFi Module User Manual p High Flying B 1 5 B 1 6 lo Eve 0 ns Disconnect r 3 amp TCPRUDPRICT R 192 168 1 141 8899 PII A EY Operate O View V Windows W Help H Language x 2 CreateConnn CreateServer f 3 DisconnAll DeleteConn Properties ax J 192 168 1 141 8899 4 b E M Client Mode DestIP 00 D gt 192 168 1 141 8899 Send AtaSend 100 ns Send 5e Server Mode vin Send Send File Send Received Genese estPort 6899 PWM 11 500 100 LocalPor 4001 Type TCP T Eve s StopShow Clear Save Option ShowHex Count Save In Tine Sea PW OK 104 1 PWM lt channel gt GET m Function Query PWM Channel output Parameters channel PWM Channel number it can be 11 Return Data ok lt frequency duty frequency PWM Channel frequency duty PWM Channel duty PWM Command failed 12 18 GPIO Pin Number DestPort 8899 fit Port 4001 fa s r Eve 0 ms Disconnect Count Send 45 11 Clear 32 TCPRUDPRIT R 192 168 1 141 8899 E E Y yen Operate O View V Windows W Help H Language x CreateConnn CreateServer 2 Boiss amp
65. ok frequency duty PWM NOK gt PWMnSET Save PWMn Channel set Response PWM OK PWM NOK Notes Please refer to Appendix B for details to use GPIO PWM v V V 2 8 SOCKET B Function HF LPT100 support double socket communication the socket B function is disabled by default After the module is started send command 5 to set the connection parameter send command AT TCPDISB o0n 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 inquire TCP connection Shanghai High Flying Electronics Technology Co Ltd www hi flying com 22 HF LPT100 Low Power WiFi Module User Manual eee Serial COM4 SecureCRT sju File Edit View Options Transfer Script Tools Help xd SJ 1 53 23 QR es 6 em t 1 AT SOCKB tcp 8899 192 168 10 100 ok AT TCPDISB On AT RCVB 100 AT RCVB 10 ok 10 ddddddssdd AT SNDB 10 gt 0k 1 AT TCPLKB ok on AT TCPTOB ok 0 AT TCPDISB of f E Ready Serial COM4 26 1 26 Rows 72 Cols VT100 K Figure 10 Socket B function demo 2 9 Multi TCP Link Connection When HF LPT100 module configured as TCP Server it supports Multi TCP link connection and maximum 5 TCP clients permit to connect to HF LPT100 module User can realize multi
66. ot before valid But may use this command only to reboot the Wi Fi Chip to make the corresponding command valid This is AT WIFIZDOWN and then AT WIFI UP AT SMEM W Function Query the RAM status Shanghai High Flying Electronics Technology Co Ltd www hi flying com 59 uF HF LPT100 Low Power WiFi Module User Manual Format Query Operation AT SMEM lt CR gt ok lt status gt lt CR gt lt LF gt lt CR gt lt LF gt Parameters status The RAM status Shanghai High Flying Electronics Technology Co Ltd www hi flying com 60 HF LPT100 Low Power WiFi Module User Manual et 5 PACKAGE INFORMATION 5 1 Recommended Reflow Profile Figure 35 Reflow Soldering Profile Table 11 Reflow Soldering Parameter N item Temperature Degree Time Sec Reflow Time Time of above 220 35 55 sec Peak Temp Note 1 Recommend to supply N2 for reflow oven 2 N2 atmosphere during reflow O2 lt 300ppm 5 2 Device Handling Instruction Module IC SMT Preparation 1 Shelf life in sealed bag 12 months at lt 30 C and lt 60 relative humidity RH 2 After bag is opened devices that will be re baked required after last baked with window time 168 hours 3 Recommend to oven bake with N2 supplied 4 Recommend end to reflow oven with N2 supplied 5 Baked required with 24 hours at 125 5 C before rework process for two modules one is new module and two is board with module 6 R
67. ownload EN GR GE 1 n cca tac cn E 12a re nnocens 72 APPENDIX E CONTACT 73 Shanghai High Flying Electronics Technology Co Ltd www hi flying com 5 HF HF LPT100 Low Power WiFi Module User Manual LIST OF FIGURES Figure T HF LPT100 Pins Map uu e amet sidene ERE 11 Figure 2 HF LPT100 Mechanical Dimension U 13 Figure 3 HF LPT100 External Antenna 13 Figure 4 HF LPT100 Evaluation Kit uu AAA 14 Figure 5 HF LPT100 Order Information sesssssssssseseseeeee nennen nennen nnne nenne 15 Figure 6 HF LPT100 Hardware Typical 16 Figure 7 HF LPT100 Smart LED Application Hardware Connection sse 16 Figure 8 HF LPT100 Basic Wireless Network Structure a zawa 18 Figure 9 HF A11 AP STA Network Structure aaa 19 Figure 10 Socket B function demo sssssssssssssssessseeeenee nennen nennen nennt adden 23 Figure 11 Multi TCP Link Data Transmition Structure 100 23 Figure 12 Open Web Management page a tna dann enne nnns 24 Figure 13 System Web Page
68. parent 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 gt TCP UDP Linking Parameters Shanghai High Flying Electronics Technology Co Ltd www hi flying com 19 HF LPT100 Low Power WiFi Module User Manual et 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 UART Frame Scheme 2 3 1 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 receiving 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 until 1000 bytes then transfer 1000 bytes frame to WiFi port HF LPB100 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 Through AT command AT UARTTE fast normal We recommend to use just normal parameter 2 3 2 U
69. set Format Query Operation AT UART lt CR gt ok lt baudrate data_bits stop_bit parity gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT UART lt baudrate data bits stop bit parity gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt Parameters baudrate 600 1200 1800 2400 4800 9600 19200 38400 57600 115200 230400 380400 460800 data bits 8 stop bits gt 1 2 parity NONE EVEN ODD Shanghai High Flying Electronics Technology Co Ltd www hi flying com 41 HF LPT100 Low Power WiFi Module User Manual ut Flowctrl CTSRTS NFC No hardware flow control hardware flow control 4 2 2 15 AT UARTF W Function Open Close UART auto frame function Format Query Operation AT UARTF lt CR gt 0k lt para gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT UARTF lt para gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt Parameters para disable Close auto frame function enable Open auto frame function 4 2 2 16 AT UARTFT W Function Set Query UART auto frame trigger time Format Query Operation AT UARTFT lt CR gt ok lt time gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT UARTFT lt time gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt W Parameters time Range 100 10000 Unit ms Auto frame trigger time 4 2 2 17 AT UARTFL m Function Set Query UART auto frame
70. setting the TCP UDP connection parameters Default as following Create Connection LocalPort Auto AutoConn Eve p s Send When Conn Eve ms NUN Figure 27 TCPUDPDbg Tools Setting Then click Create button to create a connection Operate O Windows W Help H Language gt 1 createconnn W createserver startsevver 3 S Connect 3 S Disconnall 9 DeleteConn 5 2 ax 28 10 10 100 254 8899 EL Client Mode 10 10 100 254 8899 I Server Mode Send AtucSend Eve 00 PETER 10 10 100 254 Send Send File Send Received i DestPort 8999 Clear Option Bread ption StopShow Clear Save Option ShowHex Save In Tine uu Figure 28 TCPUDPDbg Tools Connection Shanghai High Flying Electronics Technology Co Ltd www hi flying com 31 HF LPT100 Low Power WiFi Module User Manual eee 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 HF LPT1 00 User Device 82 Sp Figure 29 Wireless Control Application For this wireless control application HF LPB100 works as AP mode Module s serial port connects to us
71. ss 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 2 6 Firmware Update HF LPT100 module supports two on line upgrade methods Webpage Wi Fi Upgrade Remote Upgrade Webpage based Wi Fiupgrade please refer to 3 1 8 firmware upgrade page user can upload firmware file from PC to HF LPT100 HF LPT100 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 Configure File Based Upgrade AT UPURL command to set the remote directory which the configuration file located such as AT UPURL http Awww hi flying com ladmin down 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 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 Ipb bin Shanghai High Flying Electronics Technology Co Ltd www hi flying com 21 uF HF LPT100 Low Power WiFi Mod
72. tics Table 3 Absolute Maximum Ratings Parameter amp ondition Mm Unit Storage temperaturerange sje Maximum soldering temperature PCGUEDEC J STD 020 29 Suppyvotage v Votageonanyvopn bh ep ESD Human Body Model Hem TAMB 25 Je wv ESD Charged Device Model CDM TAMB 25 1 KV Table4 Power Supply amp Power Consumption Parameter Condition unit Operating Supply votage 8 v Suplycumnpesk eo m Supply current EE PS oTiM tooms Jr m Output high votage 7 seucmgsma 28 fv Output owvotage for V Finputhigh voltage ge jv wowote ooo 198 v IGPOmptpuwprssy f fo GPIO Input pull down resistor 200 kQ Shanghai High Flying Electronics Technology Co Ltd www hi flying com 12 HF LPT100 Low Power WiFi Module User Manual ut 1 2 3 Mechanical Size HF LPT100 modules physical size Unit as follows oat 0 06 0 0 JE Antenna PAD Unit mm E rce Chipset Connector Figure2 100 Mechanical Dimension 1 2 4 External Antenna HF LPT100 supports two way of external antenna as the following picture show The interface or the PAD interface remove the connector The user may choose one o
73. timeout gt lt CR gt lt data lenth data content gt lt CR gt lt LF gt lt CR gt lt LF gt Parameters data lenth Lenth of receive data Range 0 1000 Byte timeout wait for timeout 0 10 sec data content contents of receive data If not receive any data in 3 second then feedback ok 0 4 2 2 21 AT PING Function Network PING Instruction Format Set Operation AT PING lt IP_address gt lt CR gt 0k lt sta gt lt CR gt lt LF gt lt CR gt lt LF gt Parameters sta feedback result lt Success lt Timeout Unknown host Shanghai High Flying Electronics Technology Co Ltd www hi flying com 43 uF HF LPT100 Low Power WiFi Module User Manual 4 2 2 22 Function Set Query network protocol parameters Setting is valid after reset Format Query Operation AT NETP lt CR gt ok lt protocol CS port IP gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT NETP lt protocol CS port IP gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt Parameters protocol TCP UDP CS Network mode SERVER CLIENT Port protocol port ID Decimal digit and less than 65535 IP Server s IP address when module set as client 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 saved any IP
74. ule User Manual URL the URL address of Application Direct Download and Upgrade AT UPURL command to set the remote directory and file name such as AT UPURL http Awww hi flying com admin down pb bin After excuate this command the module will directly download the Ipb 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 PWM control pins User devices can read write GPIO PWM pins status Table 7 HF LPT100 GPIO PWM Pin Mapping Table Pin Num Configured Function Default Setting 5 UARTO RX UARTO RX GPIO5 6 UARTO TX UARTO TX GPIO6 8 PWM Channel 3 PWM 3 GPIO18 9 PwmCnannel2 PWM2 oPiO12 PWM Channel 1 PWM 1 GPIO11 When module works at PWM mode PC and other equipts can setup connection TCP UDP through WiFi then read write GPIO PWM information through command gt 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 17 Response GPIO 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
75. ules provide different variants and physical type for detailed application HF LPT100 XX Connector 0 180 Straight 2 90 Bend X No DIP Connector ANT Option 1 1 Connector X Depopulate Pex Product LPT100 Company HF Figure 5 HF LPT100 Order Information Shanghai High Flying Electronics Technology Co Ltd www hi flying com 15 HF LPT100 Low Power WiFi Module User Manual s 1 3 Typical Application 1 3 1 Hardware Typical Application User Board HF LPT100 UARTO RXD UARTO TXD nReset nReload PWR SW GPIO8 GPIO9 GPIO10 GND Figure 6 100 Hardware Typical Application 1 3 2 Smart LED Application Hardware Typical Connection 2 4G Antenna Other Control ANT Function HF LPT100 M PWM Control LED Driver Selectable Control Function GND Figure 7 HF LPT100 Smart LED Application Hardware Connection Shanghai High Flying Electronics Technology Co Ltd www hi flying com 16 HF LPT100 Low Power WiFi Module User Manual 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 at least 10ms then set 1 to keep module fully reset nReload Module restore to factory default configuration Input Logics 0 effective This pin is r
76. w hi flying com 28 HF LPT100 Low Power WiFi Module User Manual HF Restore Factory Setting System Work Mode STA Setting Important notice AP Setting ee ier erri Other Setting Account Upgrade SW Restart Restore Figure 21 Restore Page 3 1 11 Internal Webpage After wireless connection is OK Open Wen browser and access http 10 10 100 254 iweb html It is for upgrading application and external webpage Please contact High Flying if need support on custimization for external webpage Upgrade firmware Upload Upgrade customized webpage Upload Figure 22 Internal Webpage 3 2 HF LPT100 Usage Introduction 3 2 1 Software Debug Tools High Flying use two common software tools debugging and applying HF LPT100 module User can also select other tools used to debug serial port m Serial Debugging Software ComTools ComTools exe Ethernet Debugging Software TCPUDPDbg E TCPUDPDbg exe Shanghai High Flying Electronics Technology Co Ltd www hi flying com 29 HF LPT100 Low Power WiFi Module User Manual eee 3 2 2 Network Connection User can select two methods to connect HF LPT100 module base on dedicated application gt Use HF LPT100 STA interface HF LPT100 and debug PC2 connect to a wireless AP another PC1 or user device connect to HF LPT100 module with serial port PC1 PC2 HF LPT100 Figure 23 STA Interface Debug Connection gt Use HF LPT10
77. ware Version V1 1 6 Work Mode WiFi Work Mode APSTA STA Setting AU Dus SSID HF LPB AP Setting EEE ETER as IP Address 10 10 100 254 er sering MAC Address ACCF23FF8889 Account le Upgrade SW Router SSID SuSu Restart Signal Strength 58 Restore IP Address 192 168 1 100 MAC Address ACCF23FF8888 Figure 13 System Web Page 3 1 3 Work Mode Page HF LPT100 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 flexible application for customers Select Mode System Work Mode STA Setting AP Setting Other Setting Select Mode Account Upgrade SW Restart Restore Figure 14 Work Mode Page 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 Shanghai High Flying Electronics Technology Co Ltd www hi flying com 25 5N HF LPT100 Low Power WiFi Module User Manual HF English 5 stem Note case sensitive WA y Encryption Method Disable gt Work Mode Obtain an IP address automatically Enable v STA Setting IP Address AP Setting E Subnet Mask Other Setting DEG Gateway Address Account Upgrade SW DNS Serv
Download Pdf Manuals
Related Search
Related Contents
Samsung P1201 Bruksanvisning animeo LON® Großobjektsteuerungssystem für den 本体取扱説明書 簡易版 第1.1版 Untitled VPCEB2UFX/BI Benzene Manual Copyright © All rights reserved.
Failed to retrieve file