Home

HF-LPB100 Low Power Wi-Fi Module User Manual

image

Contents

1. 61 Shanghai High Flying Electronics Technology Co Ltd www hi flying com 4 uF HF LPB100 Low Power Wi Fi Module User Manual LM A 4 2 2 69 ME TTT 61 4 2 2 70 AT3WPSBTNEN cives ca eex Teve aan e aper a CHE Ka aaa a GR a haa aa a CER Ed XXX dies 61 4 2 2 71 PT LIP H e 62 5 PACKAGE INFORMATION EEN 63 5 1 Recommended Reflow Profile ss sss ss ss esse ss sees eenn neee eee eee nnn 63 5 2 Device Handling Instruction Module IC SMT Preparation cs ssssss esse esse esse esse esse esse 63 5 3 Shipping Informiationi naa KAN awane eege EE aaa Lose ean EES 64 APPENDIX A HW REFERENCE DESIGN eeeeee sees ee eenn ennenen nenen ennenen nenen nn 65 APPENDIX B CONTROL GPIO PWM FUNCTION WITH NETWORK COMMANDS 66 B 1 Network Command ss sss ss ss ss sss sss ss sse sss sse senenn ennenen ennenen a Y 66 B 2 Hexadecimal Network Command sss ss sss sss sss sss sss sss sss sese nanes 69 APPENDIX C HTTP PROTOCOL TRANSFER s ss ss ss sees ee eenn nenen nenen nenen ennenen 72 C 1 HTTP AT command sss ss ss ss sssssss esse sss ss veso esse sss asses ve ant aane E 72 eh E AE BR eee ee E ee eee 72 CA2 ATEHTTPTBPz iie A aa E 72 C13 AT HTTPPH DEET EEN Mei NAR 72 C 1 4 O AA ea m hse 73 1 5 AT HTTPUA iiim M MB O ooo 73 C 1 6 AT HTTPDT 18 t Is nnn 73 C 2 HTTP Example
2. M d nen sees 73 APPENDIX D REFERENGES esses ves nn nana anane nana ea nana naa vee nee nane 75 D 1 High Flying Mass Production Tog sssssssss esse sese esse essere essere essere ennenen ennenen 75 D 2 SmartLink APP Config TOO nnnssrnnnvvnnnnvnnnnnvnnnnnnnnnvnnnnnvnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn 75 D 3 EVK Quick Start G te 8 2 aan anen anenun cnn 75 APPENDIX E CONTACT INFORMATION i nnnnvnnnnnnnnnvnnnnnvnnnnnnnnnnnnnnnvnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn 76 Shanghai High Flying Electronics Technology Co Ltd www hi flying com 5 uF HF LPB100 Low Power Wi Fi Module User Manual LM A LIST OF FIGURES Figure T HE LPBTOO VIGW zen e Gene Meberg 11 Figure 2 HF LPB100 CHE DEE 11 Figure 3 HF LPB100 Mechanical Dimension 4 srasah as sani ANAN KANAAN A eect aaa KA nennen 14 Figure 4 HF LPB100 PCB Symbol Glze sese eee 14 Figure 5 Suggested Module Placement Hegion nano nn cnn nc cnn rca nnnn caracas 15 Figure 6 HF LPB100 Evaluation km 16 Figure 7 HF LPB100 Order Information sss sees eee eee eee ee ee eee 17 Figure 8 HF LPB100 Hardware Typical Application 18 Figure 9 HF LPB100 Basic Wireless Network Structure NEE 20 Figure 10 HF LPB100 AP STA Network Structure EE 21 Figure 11 Socket B function demo sss ne nn AG T 25 Figure 12 Multi TCP Link Data Transmition Structure ue 26 Figure 13 Open Web Management pa
3. Shanghai High Flying Electronics Technology Co Ltd www hi flying com 15 HF LPB100 Low Power Wi Fi Module User Manual 4 1 2 6 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 LPB100 module with the RS 232 UART RS485 USB Internal USB to UART convetor or Wireless port to configure the parameters manage the module or do the some functional tests AROD 2E2IAIM ASN Figure 6 HF LPB100 Evaluation Kit Notes User need download USB to UART port driver from High Flying web or contact with technical support people for more detail The external interface description for evaluation kit as follows Table 4 HF LPB100 Evaluation Kit Interface Description 7 A PE USB2TTL UART to USB debug interface For PC without RS232 need load driver Can be Power input EXT PORT HF LPB100 GPIO function extend interface connector Shanghai High Flying Electronics Technology Co Ltd www hi flying com 16 KEN HF LPB100 Low Power Wi Fi Module User Manual t External Interface nLink nLink WiFi LINK Indicator See 1 2 1 nReady Module Bootup Ready Indicator On low Module bootup OK Off high Mouule botup failed Twinkle Remote Upgrade Ongoing Sleep ON Module asleep or awake Indicator Reserved On low Module in shundown dee
4. B 2 3 Send Speed B S 0 Receive Speed B S 2 r 34 TCPRUDPRISCT RI 10 10 1 254 8899 O 4 CreateConnn CreateServer M BO e S Se DisconnAll 3 DeleteConn TE Operate O View V Windows W Help H Language x Properties AX E 1010 1 254 8899 UNES e E Client Mode DestIP 100 E 10110 1 254 8899 RE Sand RE e Sena ses El Server Mode nette Es V Send Hex Send File Send Received Chear Option Broaddption E 03 01 Type be B Eve r Eve Disconnect Rec StopShow Clear Save Option IV ShowHex Count Sed P Save In Tine m 3 01 00 Rev f L Read All PWM Channel Frequency m Send Data 30 Return Data b0 lt value1 value value3 value4 value5 value6 value7 value8 gt High byte of PWM Channel O GPIO11 frequency Low byte of PWM Channel 0 GPIO1 1 frequency High byte of PWM Channel 1 GPIO12 frequency Low byte of PWM Channel 1 GPIO1 2 frequency High byte of PWM Channel 2 GPIO18 frequency Low byte of PWM Channel 2 GPIO18 frequency High byte of PWM Channel 3 GPIO20 frequency Low byte of PWM Channel S GPIO20 frequency 9 4499090900 value1 value2 value3 value4 valued value6 value7 values B 2 4 Write PWM Channel Frequency E Send Data 32 channel value1 value2 B 2 5 channel PWM Channel number valuet High byte of PWM Channel frequency value2 Low byte of PWM Channel frequency Return Data
5. Query Operation AT CFGTF lt CR gt 0k lt status gt lt CR gt lt LF gt lt CR gt lt LF gt E Parameters status feedback operation status 4 2 2 17 AT UART W Function Set Query serial port parameters Setting is valid after reset E 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 W Parameters baudrate lt 300 600 1200 1800 2400 4800 9600 19200 38400 57600 115200 230400 380400 460800 921600 data bits 8 stop bits 12 9 parity NONE EVEN ODD Flowctrl CTSRTS lt gt NFC No hardware flow control FC hardware flow control 4 2 2 18 AT UARTF W Function Open Close UART auto frame function W 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 E Parameters para disable Close auto frame function enable Open auto frame function Shanghai High Flying Electronics Technology Co Ltd www hi flying com 45 HF LPB100 Low Power Wi Fi Module User Manual et 4 2 2 19 AT UARTFT W Function Set Query UART auto frame trigger time E Format Query Operation AT UARTFT lt CR gt ok lt time gt lt CR
6. 4 2 2 25 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 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 AT NETP ba Ga Ga ANE 47 RE el mm 48 ME AE PIK 25 arasan EE 48 AT AT CRT O E 48 ARTOPD Sutil 49 AT SOCKB iii la 49 AT TOPDISB ini dan 50 AT TEPTOB EE 50 ATETCPLKB EE 50 La KREE A 51 AT ROVB EH p 51 DE RISSIPM 0 51 AT4WSKEY A al NR 51 ATEWANN eret steterat tte rte e c o Nec 52 ATIWSMBAGO esito iaa MB e ke on ee 52 L EI ioter tte beer da banrang Nei cct 52 ATAWSLO NEU WU uL 53 SERGE a Mi Werte 53 ER ESN NJ eee 53 EE LA NA 53 EN AAA A AA PARRA 54 SEIERE TEE EE 54 DES OE ia EE A 55 E A O MA 0 nenen 55 ATAWADMN tret a een nentes 55 ATAWAURB vm EE 55 SEE p VE 56 SEE ME SR 56 DET A RR 56 DE GER FEN NE 57 ATTNBOSW k WEE 57 DK ON AAA 57 Lib AA A ited E A E T 57 TW BU aT 58 MO MSL TT 58 ATENTE EE 58 ETE ad D 59 AT NIPTM iet rea net 59 AT WRMID corsa en 59 ER EE 59 ER SD ER 60 DEN 216 e ES 60 ME OR akas sana nana 60 DIERUM anank nganan
7. CR 0k lt num 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 60 HF LPB100 Low Power Wi Fi Module User Manual et 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 68 AT SMTLK m Function Start WPS function E Format Query Operation AT SMTLK lt CR gt 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 69 AT WPS m Function Start WPS function E Format Query Operation AT WPS lt CR gt 0k lt status gt lt CR gt lt LF gt lt CR gt lt LF gt W Parameters status Start WPS Scan function The module will reboot and work in STA mode connecting to specific router when WPS communication is OK 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 4 2 2 70 AT WPSBTNEN m Funct
8. 3 OPERATION GUIDELINE eege eu ege EENEG SE y uka sende 3 1 Configuration via Web Accessing se esse sees renes eene nnn nnne nenen eee 3 1 1 Open Web Management Interface eee eee eee eee eee eee 9 1 2 System Te L 3 1 39 Work Mode Page et di ii 3 1 4 STA Setting Page iio a a a wi aa eden aue ke e eben ented 3 1 5 AP Setting Page ciet tee pedea aa KAG a eda aste b dn Ene aaa a 3 1 6 Other Setting Me EE Shanghai High Flying Electronics Technology Co Ltd www hi flying com 2 KEN HF LPB100 Low Power Wi Fi Module User Manual t 3 1 7 Account Management Page itd ee te Eee aA ete 30 3 1 8 Upgrade Software Te L 30 9419 Restart Page seen 31 3 110 Restore PAGO ra sasa 31 31 17 Mema Webpage aas sandika pana aab ett reete tentabat ADI apan sin ae putetur eds 32 3 2 HF LPB100 Usage Introduction sss esse esse esse esse esse essere esse enserre enesenn nnn nnnm 32 3 2 1 Software Debug Tools sese eee eee 32 3 2 2 Network Connection sees eee ee ee eee 33 3 2 9 Default Parameter Setting ce ht na aan a e eat ii 33 3 2 4 Module Debug sss essere cae eit ennenen eaaa nganan nenn nenn ln 33 3 3 Typical Application Examples srennnnnnvvnnnnnnvnnnnnnnvnnnnnnnvnnnnnnnnnnnnnnnnnnnnnnnnnnennnnnnnnnnnnnnennnnneennnnnnr 35 3 3 1 Wireless Control Application enne enne intrante nnne 35 3 3 2 Remote Manageme
9. 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 23 AT RECV m Function Receive Data from SOCKA at Command Mode E Format AT RECV lt data_lenth gt lt CR gt 0k lt data_lenth data_content gt lt CR gt lt LF gt lt CR gt lt LF gt m 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 0k 0 4 2 2 24 AT PING W Function Network PING Instruction W 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 m Parameters sta feedback result lt Success lt Timeout lt gt Unknown host 4 2 2 25 AT NETP W Function Set Query network protocol parameters Setting is valid after reset Hm Format Query Operation AT NETP lt CR gt 0k 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 W Parameters protocol TCP UDP CS Network mode SERVER CLIENT Port protocol port ID Decimal digit and less than 65535 Shanghai High Flying Electronics Technology Co Ltd www hi flying com 47 uF HF LPB100 Low Power Wi Fi Module User Manual LM A IP Server s IP address when module set as client If set as UDP SE
10. 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 E Parameters Time TCP timeout lt lt 600 600s gt 0 0 means no timeout Default 300s The module will not connect SOCKB after TCP timeout The module will make connection after another TCPDISB command 4 2 2 33 AT TCPLKB W Function Query SOCKB connection status E Format AT TCPLKB lt CR gt 0k lt sta gt lt CR gt lt LF gt lt CR gt lt LF gt m Parameters sta SOCKB connection status On TCP connected lt oft TCP disconnected Shanghai High Flying Electronics Technology Co Ltd www hi flying com 50 KEN HF LPB100 Low Power Wi Fi Module User Manual et 4 2 2 34 AT SNDB W Function Send datas to SOCKB at Command Mode E Format AT SNDB 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 SOCKB If the interval of two bytes is more than 10ms the data will be sent instantly 4 2 2 35 AT RCVB W Function Receive datas from SOCKB at Command Mode E 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 W Parameters data lenth Lenth of receive data Range 01000 Byte data content contents
11. user can upload firmware file from PC to HF LPB100 HF LPB100 module also support upgrade from remote HTTP server keep module connects to AP router before excuate 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 file 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 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 Shanghai High Flying Electronics Technology Co Ltd www hi flying com 24 ee HF HF
12. HF LPB100 PCB Symbol Size 1 2 4 On board Chip Antenna HF LPB100 module support internal on board chip antenna option When customer select internal antenna you shall comply with following antenna design rules and module location suggestions gt For customer PCB RED color region 8 3x18 4mm can t put componet or paste GND net gt Antenna must away from metal or high components at least 10mm Antenna can t be shieldedby any meal enclosure All cover include plastic shall away from antenna at least 10mm Shanghai High Flying Electronics Technology Co Ltd www hi flying com 14 uF HF LPB100 Low Power Wi Fi Module User Manual LM A Figure 5 Suggested Module Placement Region High Flying suggest HF LPB100 module better locate in following region at customer board which to reduce the effect to antenna and wireless signal and better consult High Flying technical people when you structure your module placement and PCB layout 1 2 5 External Antenna HF LPB100 module supports internal antenna and external antenna I PEX or SMA option for user dedicated application If user select external antenna HF LPB100 modules must be connected to the 2 4G antenna according to IEEE 802 11b g n standards The antenna parameters required as follows Table 3 HF LPB100 External Antenna Parameters Item Parameters Frequency range 2 4 2 5GHz 50 Ohm VSWR 2 Max 10d8 Max Connector Type l PEX or populate directly
13. Normal WiFi ON OFF DTIM 100ms Operating Current Average 12mA Peak 200mA Parameters Standby lt 200uA Reserved Power Down Switch 10uA Reserved Operating Temp 40 C 85 C Storage Temp 45 C 125 C Dimensions and Size 23 1mmx32 8mmx2 7mm Network Type STA AP STA AP Security Mechanisms WEP WPA PSK WPA2 PSK Encryption WEP64 WEP128 TKIP AES S Update Firmware Local Wireless Remote SE Web Page Upgrade Parameters Action Support SDK for application develop Network Protocol IPv4 TCP UDP FTP HTTP P A ion 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 LPB100 Low Power Wi Fi Module User Manual Ai 1 2 Hardware Introduction Dm MAC ACCF2320CEAA SI Figure 1 HF LPB100 View 1 2 1 Pins Definition 8958 bail a o Q KAET T A JL IMM MMMMMMI m 27 26 25 24 23 22 21 20 19 18 xi enn PD 32 GND L N C D ss 16 N C L i ovo D 34 15 lt epio1s Py wc D s 14 lt Tuc Co nc P 3 13 4 GPIO13 E Py nc s 12 lt Pwm_2 Py nc D s 11 lt PWMA vapm Tx p 30 10 Rune ax p s HF LPB100 UARTO RTS p 1 lt ovoo gt UARTO RX D 4 s lt Sleep ON L UARTO CTS D 42 7 Sle
14. R CreateServer 3 B Q SS Connect Z Xe DisconnAll 3 DeleteConn amp S S gt Properties ax J 192 168 1 141 8899 SE EB Client Mode DestIP o 6 192 168 1 141 8899 a r a Pas mz Send 5s S Mod Send Hex Send File Send Receive B Server Mode metere BS Clear Option Broaddption LocalPort EES Type rcr zl T AtuoConn Eve H s r Eve 0 Connect Rec StopShow Clear Save Option ShowHex Ee e El sed P ave In Time IGPIO OK Rev fT Clear Send Speed B S 0 Receive Speed B S 0 4 L B 1 2 GPIO channel GET W Function Query GPIO Channel value W Parameters channel GPIO Channel number it can be 11 12 15 18 20 23 GPIO Pin number W Return Data ok lt value gt value GPIO Channel value GPIO NOK Command failed Shanghai High Flying Electronics Technology Co Ltd www hi flying com 66 HF LPB100 Low Power Wi Fi Module User Manual kahi r el 3 TCP amp UDPMIE 192 168 1 141 8899 se Operate O View V Windows W Help H Language x sj CreateConnn Ri CreateServer 3 SO ze SE XeDisconnAll 3 DeleteConn Be SR Properties ax 3 192 168 1 141 8899 dbx GE Client Mode Dest IP 00 E 192 168 1 141 8899 Lasar Lend T Ma Eve un ms Send Ss S Mod Send Hex Send File Send Received s B Server Mode Sen Es Clear Option BroadOption r GPIO 11 GET 4001 Typ TCP Ed F E
15. Rec PHM 11 500 100 StopShow Clear Save Option ShowHex Save In Tine E PWM OK Send Speed B S 0 Receive Speed B S 0 B 1 5 PWM channel GET W Function Query PWM Channel output W Parameters channel PWM Channel number it can be 11 12 18 20 GPIO Pin number B Return Data ok lt frequency duty frequency PWM Channel frequency duty PWM Channel duty PWM NOK Command failed Clear a e A TCPRUDPIAIS LA 192 168 1 141 8899 ki HA lola Operate O View V Windows W Help H Language x E CreateConnn amp CreateServer 3 Bos amp XeDisconnAIl 3 DeleteConn Properties ax 3192 168 1141 8899 SS D P Client Mode F DestIP 100 D gt 192168 1 141 8899 WEST Send LE zap e Sena so SU Send Hex Send Filef Send Received z z M Server Mode EE Ps Clear Option Broad ption E LocalPort PWM 11 GET 4001 Type TCF y Eve 0 s 7 hutoSend Eve 0 ms Disconnect Rec StopShow Clear Save Dption Shomtex Count S Sud ES 7 Save In Tine IS 1500 100 Recv 111 Send Speed B S 0 Receive Speed B S 3 B 1 6 PWM channel SET Shanghai High Flying Electronics Technology Co Ltd www hi flying com 68 HF LPB100 Low Power Wi Fi Module User Manual Ai W Function Save PWM Channel setting W Parameters channel PWM Channel numbe
16. b2 channel value1 value2 Channel PWM Channel number Value High byte of PWM Channel frequency value2 Low byte of PWM Channel frequency Read All PWM Channel Duty m Send Data 20 Return Data a0 lt value1 value2 value3 value4 gt Value Duty of PWM Channel 0 value2 Duty of PWM Channel 1 value3 Duty of PWM Channel 2 Shanghai High Flying Electronics Technology Co Ltd www hi flying com 270 HF LPB100 Low Power Wi Fi Module User Manual et value4 Duty of PWM Channel 3 B 2 6 Write All PWM Channel Duty W Send Data 24 lt value1 value2 value3 gt W Return Data a4 value value2 value3 gt Value Duty of PWM Channel 0 value2 Duty of PWM Channel 1 value3 Duty of PWM Channel 2 B 2 6 Write PWM Channel Duty W Send Data 22 channel value channel PWM Channel number valuet Duty of PWM Channel m Return Data a2 channel value Channel PWM Channel number valuet Duty of PWM Channel B 2 7 Save Present GPIO PWM Setting E Send Data 7a m Return Data fa B 2 8 Assert All GPIO Channel Low E Send Data 04 m Return Data 84 00 B 2 9 Assert All GPIO Channel High E Send Data 05 m Return Data 85 01 B 2 10 Read Resources of module m Send Data 7e m Return Data fe lt value1 value value3 gt Value Module s GPIO ouput pin number value2 Module s GPIO input pin number value3 Mo
17. 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 Format Description E lt gt Means the parts must be included E J Means the optional part Command Message Shanghai High Flying Electronics Technology Co Ltd www hi flying com 38 HF LPB100 Low Power Wi Fi Module User Manual KEN AT lt CMD gt op para 1 para 2 para 3 para 4 J lt CR gt m AT Prefix of command message CMD Command string W op Symbol of command operator The command requires parameters input NULL Query the current command parameters setting E para n Parameters input for setting if required W lt CR gt Enter Key it s OxOa or OxOd 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 Response Message lt RSP gt 0p 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 ok Success ERR Failure op CR ASCII 0x0d lt LF gt ASCIII 0x0a Error Code Table9 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 Operati
18. gt 0 0 means no timeout Shanghai High Flying Electronics Technology Co Ltd www hi flying com 48 uF HF LPB100 Low Power Wi Fi Module User Manual LM A 4 2 2 29 4 2 2 30 lt gt 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 it will connect the TCP server instantly and when the module work in TCP Server the TCP client device should make the connection itself AT TCPDIS W Function Open Close TCP link W 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 ka 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 AT SOCKB m Function Set Query SOCKB parameters Setting is valid after reset W Format 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
19. 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 20 AT UARTFL W Function Set Query UART auto frame trigger length E 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 21 AT UARTTE m Function Set Query UART free frame trigger time between two bytes E Format Query Operation AT UARTTE lt CR gt ok 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 m Parameters mode lt fast free frame trigger time between two bytes is 10ms normal free frame trigger time between two bytes is 50ms 4 2 2 22 AT SEND W Function Send Data to SOCKA at Command Mode B Format AT SEND lt data_lenth gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt m Parameters Shanghai High Flying Electronics Technology Co Ltd www hi flying com 46 HF LPB100 Low Power Wi Fi Module User Manual et 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
20. indication of module AP connection status lt On Enable nLink indication function When STA device connecting to module AP nLink output Low otherwise output High lt Off Disable nLink indication function default mode 4 2 2 52 AT PLANG W Function Set Query webpage language option E Format Query Operation AT PLANG lt CR gt 0k lt language gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT PLANG lt language gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt W Parameters language webpage s language CN Chinese Version Default EN English Version 4 2 2 53 AT UPURL m Function Set Query remote upgrade URL address E Format Query Operation AT UPURL lt CR gt okz url lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT UPURL lt lt url 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 Shanghai High Flying Electronics Technology Co Ltd www hi flying com 56 KEN HF LPB100 Low Power Wi Fi Module User Manual t 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 54 AT UPFILE W Function Set Query remote upgrade configure file name E Format Query Operation AT UPFILE lt CR gt 0k lt filename gt lt CR gt lt LF
21. of receive data If not receive any data in 3 second then feedback 0k 0 4 2 2 36 AT WSSSID W Function Set Query Wi Fi associated AP SSID parameters Setting is valid after reset B 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 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 m Parameters ap sssid AP s SSID Within 32 character 4 2 2 37 AT WSKEY W Function Set Query STA security parameters Setting is valid after reset E Format Query Operation AT WSKEY lt CR gt 0k 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 W Parameters auth Authentication mode Shanghai High Flying Electronics Technology Co Ltd www hi flying com 51 HF LPB100 Low Power Wi Fi Module User Manual et OPEN SHARED WPAPSK WPA2PSK encry Encryption algorithm NONE When auth OPEN effective lt 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 lt gt lt gt lt gt lt gt 4 2 2 38 AT WANN W Function Set Query STA network setting Setting is valid after reset E Format Query
22. 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 TCPLK Query if TCP link already build up TCPTO 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 signal 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 Shanghai High Flying Electronics Technology Co Ltd www hi flying com 40 HF LPB100 Low Power Wi Fi Module User Manual KEN Instruction Description WADHCP Set Query AP DHCP Server status WADMN Set Query AP webpage domain name WALK Query MAC address of STA device connecting
23. 000 D EE T KIM Us ETEN SE Etagen Figure 26 CommTools Serial Debug Tools Shanghai High Flying Electronics Technology Co Ltd www hi flying com 33 5N HF LPB100 Low Power Wi Fi Module User Manual HF nen ncn PC2 open TCPUDPDbg program and create a new connection If HF LPB100 configured as Server mode TCPUDPDbg Tools shall create Client mode connection Or otherwise create a Server mode connection Operate Q View V Windows W Help H Language D createconnn WS Createserver 3E Startserver 48 O 8 Connect Be Spisconnall e CreateServer S a B se DisconnectAll A DeleteConnection E DeleteAllConn L OSX HM KK G Exit X Figure 27 TCPUDPDbg Tools Create Connection Then setting the TCP UDP connection parameters Default as following Create Connection ES LocalPort Auto T AutoConn Eve p s Send When Conn Eve ms NUN Figure 28 TCPUDPDbg Tools Setting Then click Create button to create a connection Operate Q view Windows W Help H Language L E createconnn WE createserver S startserver 38 3 Z Connect Set Sig Disconnall 9 Deleteconn e 2 ax J 10 10 100 254 8899 dbx EM Client Mode 10 10 100 254 8899 B Server Mode desert Send P Atuosena Eve 100 RE reil Eer 10 10 100 254 T Send Hex Send File Send Received i S DestPort 8699 Clea
24. 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 28 NY HF LPB100 Low Power Wi Fi Module User Manual HF FX English Systam Note case sensitive y Encryption Method Disable Is Work Mode Obtain an IP address automatically Enable STA Setting 5 IP Address AP Setting i Subnet Mask Other Setting EAS Gateway Address Account Upgrade SW a Server Address Restart Restore Figure 16 STA Setting Page 3 1 5 AP 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 fin l Work Mode STA Setting Module MAC Address AECF23FF0020 AP Setting Other Setting 5 EE Wireless AP Security Setting Upgrade SW Encryption Mode Restart Restore Network Parameters Setting IP Address DHCP Gateway Se Subnet Mask DHCP S Figure 17 AP Setting Page 3 1 6 Other Setting Page HF LPB100 usually works at data transparent transmission mode At t
25. 6 Path Maxlength is 50 bytes AT HTTPCN W Function Set Query Connection of HTTP protocol header E 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 B Format Query Operation AT HTTPUA lt CR gt 0k 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 m Parameters Parameter Max length is 20 bytes AT HTTPDT m Function Send HTTP request or data E Format Set Operation AT HTTPDT lt Data gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt E 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 wip1 3 2 Set HTTP User Agent area Shanghai High Flying Electronics Technology Co Ltd www hi flying com 73 HF LPB100 Low Power Wi Fi Module User Manual et If send AT HTTPDT the data packet will be sent as the fol
26. ADHCP lt CR gt ok lt status gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT WADHCP 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 off DHCP Server Close 4 2 2 49 AT WADMN W Function Set Query AP webpage domain name E Format Query Operation AT WADMN lt CR gt 0k 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 50 AT WALK m Function Query MAC address of STA device connecting to module AP E Format Query Operation AT WALK lt CR gt 0k lt status 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 LPB100 Low Power Wi Fi Module User Manual et status MAC address of STA device connecting to module AP lt No Connection No STA device connecting to module AP 4 2 2 51 AT WALKIND W Function Enable Disable indication of module AP connection status E Format Query Operation AT WALKIND lt CR gt 0k 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 E Parameters status
27. ALK AT WALKIND AT WPS AT WPSBTN AT FWSZ add HF LPB100 SMA type Ed V1 5 01 02 2014 Update AT command add AT SMTLK AT LPTIO Ed V1 51 01 22 2014 Update Shipping information Shanghai High Flying Electronics Technology Co Ltd www hi flying com 8 HF LPB100 Low Power Wi Fi Module User Manual et 1 PRODUCT OVERVIEW 1 1 General Description The HF LPB100 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 SPI interface for data transfer HF LPB100 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 LPB100 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 LPB100 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 2 4 GH
28. Device 3 Figure 12 Multi TCP Link Data Transmition Structure Shanghai High Flying Electronics Technology Co Ltd www hi flying com 26 HF LPB100 Low Power Wi Fi Module User Manual Ai 3 OPERATION GUIDELINE 3 1 Configuration via Web Accessing When first use HF LPB100 modules user may need some configuration User can connect to HF LPB100 module s wireless interface with following default setting information and configure the module through laptop Table 8 HF LPB100 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 LPB100 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 7 The server 10 10 10 254 at GoAhead requires a username and password Warning This server is regu Sting that your usernaniena password be sent in ap fhsecure manner basic authenticatiq without a secure corfnection User name i admin Password Figure 13 O
29. HF LPB100 Low Power Wi Fi Module User Manual Ai HF LPB100 Low Power Wi Fi Module User Manual V 1 51 SN 130825492 Overview of Characteristic Support IEEE802 11b g n Wireless Standards Based on Self developed High Cost Effective MCU V Ultra Low Power for Battery Applications with Excellent Power Save Scheme Support UART SPI PWM GPIO Data Communication Interface lt Support Work As STA AP AP STA Mode Support Smart Link Function APP program provide lt gt Support Wireless and Remote Firmware Upgrade Function Support WPS Function Support Multi TCP Link 5 Channel Apllication Support Soft Key Power Control Reserved lt gt Support Internal External I PEX SMA Antenna Option lt gt Single 3 3V Power Supply V Smallest Size 23 1mm x 32 8mm x2 7mm FCC CE Certificated Shanghai High Flying Electronics Technology Co Ltd www hi flying com 1 nr HF LPB100 Low Power Wi Fi Module User Manual et TABLE OF CONTENTS LIST OF uci lzlpe e S LISTOFTABLES QA HISTORY EE ME 1 PRODUCT OVERVIEW ah kadak ageet KE rain DEE Lt General D SGrIPUON sasasi tm 14 4 Device EEN 1 1 2 Device Paremeters A e tenens RAE RR sn 1 1 3 Key Application sanaos iuran adan ana aa a UN dag a Ka a Na E 1 2 Hardware Introduction 11e Leere cnc 1 2 1 Pins Definition eee crece sese ee eree ee eee eee En ll 1 2 2 Electrical Cha
30. I Method Status MER MCU urent UART GPIO Timeout AT Commend Reset Pin Standby OFF OFF lt 80uA OFF Yes Yes Sleep RQ Pin Wake Up Option allows an external microcontroller to determine when HF LPB100 should sleep and when it should wake by controlling the Sleep RQ and Sleep ON pin at the standby mode user can de assert this pin low 0 after 1 s assert to high 1 to put the module to wake up the module If user doesn t use pin sleep function can leave this pin open Sleep RQ Pin Wake Up Option allows an external microcontroller to de assert Reset pin to low 0 to reset the module Shanghai High Flying Electronics Technology Co Ltd www hi flying com 23 HF LPB100 Low Power Wi Fi Module User Manual et 2 6 Parameters Configuration HF LPB100 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 LPB100 module connected to wireless 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 7 Firmware Update HF LPB100 module supports two on line upgrade methods B Webpage Wi Fi Upgrade E Remote Upgrade Webpaged based Wi Fiupgrade please refer to 3 1 8 firmware upgrade page
31. LPB100 Low Power Wi Fi Module User Manual LM A 2 8 GPIO PWM Function HF LPB100 module can provide many GPIOs which include max 6 PWM GPIO control pins User devices can read write GPIO PWM pins status Table7 HF LPB100 GPIO PWM Pin Mapping Table GPIO Configured Function Describtion Default Setting Type GPIO18 PWM GPIO Channel PWM 3 GPIO18 GPIO20 PWM GPIO Channel GPIO20 GPIO23 GPIO Channel PWM 5 GPIO23 When module works at PWM mode PC and other devices can setup connection TCP UDP through WiFi then read write GPIO PWM information through command data 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 1 Response GPIO OK 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 ok frequency duty or PWM NOK gt PWMn SET Save PWMn Channel set Response PWM OK or PWM NOK Notes Please refer to Appendix B for details to use GPIO PWM VV VV V 2 9 SOCKET B Function HF LPB100 support double socket communication the socket B function is disabled by default After the module is started send command AT SOCKB to set the connection parameter send command AT TCPDISB 0r to try to connect with TCP server the module wi
32. Operation AT WANN lt CR gt okz mode address mask gateway CR LF CR LF SetOperation 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 IP address STA IP address mask STA subnet mask gateway STA gateway address 4 2 2 39 AT WSMAC W Function Set Query STA MAC address parameters Setting is valid after reset E Format Query Operation AT WSMAC lt CR gt 0k 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 m Parameters code security code lt 8888 default value Mac address STA MAC address such as ACCF23FF1234 4 2 2 40 AT WSLK W Function Query STA WiFi link status Shanghai High Flying Electronics Technology Co Ltd www hi flying com 52 KEN HF LPB100 Low Power Wi Fi Module User Manual et W 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 lt gt Disconnected if no WiFi connection AP SSID CAP s MAC if WiFi connection available 4 2 2 41 AT WSLQ W Function Query STA WiFi signal strength E 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 Parameter
33. Pin Sleep Indicator Output Reserved This pin is used to indicate that the module is asleep Module output 0 or awake Module output 1 status If user doesn t use pin sleep function can leave this pin open UARTO TXD RXD UART port data transmit and receive signal Shanghai High Flying Electronics Technology Co Ltd www hi flying com 19 HF LPB100 Low Power Wi Fi Module User Manual AE 2 FUNCTIONAL DESCRIPTION 2 1 Wireless Networking HF LPB100 module can be configured as both wireless STA and AP base on network type Logically there are two interfaces in HF LPB100 One is for STA and another is for AP When HF LPB100 works as AP other STA equipments are able to connect to HF LPB100 module directly Wireless Networking with HF LPB100 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 net
34. RAY BOX Size 440 330 5 mm Size 440 330 100 mm inside MAN ERER TE FTIIT TTT Joosse LOA EEE EREEREER DE Figure 37 Shipping Information Note 1 tray 10 10pcs 100 pcs 1 box 20 trays 20 100 pcs 2000pcs Shanghai High Flying Electronics Technology Co Ltd www hi flying com 64 NY HF LPB100 Low Power Wi Fi Module User Manual HF APPENDIX A HW REFERENCE DESIGN Detailed HF LPB100 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 65 HF LPB100 Low Power Wi Fi Module User Manual et APPENDIX B CONTROL GPIO PWM FUNCTION WITH NETWORK COMMANDS Send command data to control module s GPIO PWM port after make network connection with TCP or UDP protocol The status of GPIO won t be changed if the module is reset B 1 Network Command B 1 1 GPIO channel OUT value W Function Set GPIO Channel value temporarily W Parameters channel GPIO Channel number it can be 11 12 15 18 20 23 GPIO Pin number value GPIO Channel value 1 high voltage O low voltage W Return Data GPIO OK Command successful GPIO NOK Command failed r n 3 TCPRUDPRI LE 192 168 1 141 8899 se Operate O View V Windows W Help H Language x i CreateConnn
35. RVER 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 26 AT MAXSK W Function Set Query TCP Client connection number B 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 m 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 27 AT TCPLK m Function Query if TCP link already build up E Format AT TCPLK lt CR gt 0k lt sta gt lt CR gt lt LF gt lt CR gt lt LF gt W Parameters sta if module already setup TCP link on TCP link setup lt off TCP link not setup 4 2 2 28 AT TCPTO W Function Set Query TCP timeout Setting is valid after reset m 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 m Parameters time TCP timeout time lt lt 600 600s
36. UARTO UARTORX P1041 No connect if not use 42 PIO42 No connect if not use EN HEN C C C C C C C C ial PIO40 No connect if not use 43 Wi Fi Status Detailed functions see lt Notes gt Module Boot Up 0 Boot up OK Indicator 1 Boot up No OK No connect if not use Detailed functions see Notes A 45 Multi Function 46 A NN 47 Module Reset EXT RESETn 22 26 27 28 po go gr S3 ga 40 i K aa 43 Y a5 Bs ar Low effective reset input Shanghai High Flying Electronics Technology Co Ltd www hi flying com 12 KEN HF LPB100 Low Power Wi Fi Module User Manual eee Notes nReload Pin Button function 1 When this pin is set to low during module boot up the module will enter wireless 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 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 3 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 L
37. Wi Fi Module User Manual et 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 LPB100 module supports following WEP WPA PSK TKIP WPA PSK AES WPA2 PSK TKIP WPA2 PSK AES o 2 5 Power Save Scheme Reserved HF LPB100 module can work at two modes based on different power save scheme B Normal Active Sleep Mode AP Associated WiFi ON OFF based on internal control m Standby Mode Non AP Associated WiFi Shut dwon Normal Active Sleep Mode Normal mode is no DTIM related Default mode module will monitor the interval to Active Sleep Standby Mode allows the WiFi circuitry to be powered down which results in the lowest sleep current but at the expense of longer wake up times This is due to the module associating with the access point every time when it wakes up The intent of this option is to allow for longer sleep times Standby mode can through AT MSLP command or trigger Sleep RO pin to go in The standby mode status and wakeup method as follows For standby mode module provides two wakes up options user can select one or whole as the module wake up option Refer to AT Instruction Power Management Instruction Set for more detailed setting E Sleep RO Pin Wake Up Em Reset Pin Wake Up Table 6 Standby Mode Status and Wake Up Wake SE
38. 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 transparent 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 gt Wireless Network Parameters m Wireless Network Name SSID m Security Mode W Encryption Key Shanghai High Flying Electronics Technology Co Ltd www hi flying com 21 HF LPB100 Low Power Wi Fi Module User Manual et TCP UDP Linking Parameters W Protocol Type W Link Type Server or Client W Target Port ID Number W Target Port IP Address Serial Port Parameters W 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 wh
39. ase on the setting of UPURL UPFILE command contents 4 2 2 58 AT WEBU W Function Set Query webpage user name and password Setting is valid after reset E Format Query Operation AT WEBU lt CR gt 0k 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 W Parameters username User Name within 15 characters not support empty password password within 15 characters support empty 4 2 2 59 AT MSLP W Function Set Query deep sleep standby mode parameters E Format Query Operation AT MSLP lt CR gt 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 W Parameters ret normal normal mode 100ms interval mode normal normal mode 100ms interval standby WiFi shut down mode Reserved 4 2 2 60 AT NTPRF W Function Set Query time calibration interval W 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 Shanghai High Flying Electronics Technology Co Ltd www hi flying com 58 uF HF LPB100 Low Power Wi Fi Module User Manual LM A 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 fo
40. ctronics Technology Co Ltd www hi flying com 43 HF LPB100 Low Power Wi Fi Module User Manual et 4 2 2 11 4 2 2 12 4 2 2 13 4 2 2 14 4 2 2 15 4 2 2 16 AT Z W Function Re start module H Format AT Z lt CR gt AT H W Function Help H 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 W Parameters command help command introduction AT CFGRD m Function Batch Read User Configure Parameters B Format Query Operation AT CFGRD lt CR gt 0k lt config gt lt CR gt lt LF gt lt CR gt lt LF gt E Parameters config the first two bytes means the length of configuration parameters AT CFGWR W Function Batch Write User Configure Parameters E Format Set Operation AT CFGWR lt config gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt W Parameters config the first two bytes means the length of configuration parameters AT CFGFR W Function Batch Read Factory Default Configure Parameters B Format Query Operation AT CFGFR lt CR gt 0k lt config gt lt CR gt lt LF gt lt CR gt lt LF gt E Parameters config the first two bytes means the length of configuration parameters AT CFGTF m Function Copy User Parameters to Factory Default Parameters W Format Shanghai High Flying Electronics Technology Co Ltd www hi flying com 44 HF LPB100 Low Power Wi Fi Module User Manual et
41. dule s PWM pin number Shanghai High Flying Electronics Technology Co Ltd www hi flying com 71 HF LPB100 Low Power Wi Fi Module User Manual et APPENDIX C HTTP PROTOCOL TRANSFER HF LPB100 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 B 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 m Parameters IP IP address Port Port number C 1 2 AT HTTPTP W Function Set Query HTTP request type m Format Query Operation AT HTTPTP lt CR gt 0k 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 E Parameters Type GET default or POST C 1 3 AT HTTPPH W Function Set Query HTTP protocol header path R 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 HTTPPHz Path CR 0k lt CR gt lt LF gt lt CR gt lt LF gt E Parameters Shanghai High Flying Electronics Technology Co Ltd www hi flying com 72 HF LPB100 Low Power Wi Fi Module User Manual KEN C 1 4 6 1 5 C 1
42. en reciving 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 untill 1000 bytes then transfer 1000 bytes frame to WiFi port HF LPB100 s default interval time is 50ms User can also set this interval to fast 10ms through AT command But user have to consider if user MCU can send UART data with 10ms interval or the UART data may be divide as fragment Through AT command AT UARTTE fash normal user can set the interval time fast 10ms and normal 50ms 2 3 2 UART Auto Frame HF LPB100 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 22 HF LPB100 Low Power
43. ennen nnn nnne 38 Figure 36 Reflow Soldering Profile 63 Figure 37 Shipping Information nnne nennen nennen sinere nennen 64 Shanghai High Flying Electronics Technology Co Ltd www hi flying com 6 KEN HF LPB100 Low Power Wi Fi Module User Manual et LIST OF TABLES Table 1 HF LPB100 Module Technical Specifications sees eee ee eee eee 10 Table2 HF LPB100 Pins Definition sssini nennen nnne 11 Table 3 HF LPB100 External Antenna Parameters AAA 15 Table 4 HF LPB100 Evaluation Kit Interface Description sees eee eee eee eee eee 16 Table 6 Standby Mode Status and Wake Up 23 Table7 HF LPB100 GPIO PWM Pin Mapping Table tns 25 Table 8 HF LPB100 Web Access Default Seng eee eee ee e eee 27 Table9 Error Code Describtion sss sss ssss esse esse esse sees senenn nenn naon nnn nnn esed 39 Table 10 AT lnsiruction Set List aenanenanenaneenaoenao lif De 39 Table 11 Reflow Soldering Parameter ENEE 63 Shanghai High Flying Electronics Technology Co Ltd www hi flying com f HF LPB100 Low Power Wi Fi Module User Manual et HISTORY Ed V1 0 08 01 2013 First Version Ed V1 1 09 10 2013 Update AT command Ed V1 2 10 10 2013 Update AT command Update PWM GPIO function Add HTTP protocol demo Add auto frame function Ed V1 3 10 18 2013 Update module view 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 W
44. ep RQ E Py nLink D 4 6 S jue nReady D 44 s lt swo m nReload D 4 4 N C L wc D 46 3 lt Tuc L EXT RESETn D 47 2 lt SWCLK mmm LJ enn LD 4 1 lt cno RE Md YY Figure 2 HF LPB100 Pins Map iN Table2 HF LPB100 Pins Definition emm 1 17 32 48 Ground GND Power b Debug Pin SWCLK EE Debug functional pin c MENOS S onm RNG 5 DebugRin SWD VOPU p e ore B GPO Sep ON o GPIOB Noconnecifnotuse Shanghai High Flying Electronics Technology Co Ltd www hi flying com 11 KEN HF LPB100 Low Power Wi Fi Module User Manual Ai ECL NEU Type o Power DVD Powr p NC J Nocomeet O mn 55 NC Noconneet m NC AJ Noconneet p NC Noconneet e 5 NC Noconneet LL NO No connect PWMS No connect N L BENE l PU 0 Power Down Mode Function is x reserved 1 Normal mode L gF O0 Power Control Switch PWR_SW No connect 206 NO 27 28 29 30 B1 33VPower d DVDD Power o WR NS No connect 94 33Power DVDD Power PIO27 No connect if not use PIO28 No connect if not use PIO29 No connect if not use PIO30 No connect if not use No connect o No connect N No connect 00 No connect N UARTO_TX c PIO39 No connect if not use po NR 40 41
45. eply ok 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 Only 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 35 AT H Instruction
46. et 5 PACKAGE INFORMATION 5 1 Recommended Reflow Profile Figure 36 Reflow Soldering Profile Table 11 Reflow Soldering Parameter INO 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 300ppm 5 2 Device Handling Instruction Module IC SMT Preparation 1 Shelf life in sealed bag 12 months at 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 Recommend to store at 5 1096 RH with vacuum packing 7 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 63 5N HF LPB100 Low Power Wi Fi Module User Manual HF 5 3 Shipping Information T
47. ge EEN 27 Figure 14 System Web Page EEN REER 28 Figure 15 Work Mode Page eee Mee 28 Figure 16 STA Setting Page 4 8 e D Een 29 Figure 17 AP Setting Page 2 Ms E Nee 29 Figure 18 Other Setting Page sees eee sez eee REER 30 Figure 19 Account Page nenn EK eee a nn 30 Figure 20 Upgrade SW page J bnn annee 31 Figure 21 Restart Page aan raaa dipan eaaa saa in aana naa aaa aan a aaa aa aaa nnne nnne nnne 31 Figure 22 Restore Page norr Barr kanaka nn cnn cnn 32 Figure 23 Internal Webpage ssassn MP na A aa GAE AA NABA SANA EAEE E NASARA AA 32 Figure 24 STA Interface Debug Connection sese ee ee eee ee 33 Figure 25 AP Interface Debug Connection sse sese eee eee ee 33 Figure 26 CommTools Serial Debug Tools 33 Figure 27 TCPUDPDbg Tools Create Connection 34 Figure 28 gil CPUDBDbg ToGlSiSetting EE 34 Figure 29 TCPUDPDbg Tools Connection sss sss ss seves sese sese esse ee nenen 34 Figure 30 Wireless Control Application nennen nennen nennen 35 Figure 31 Remote Management Applcaton nnn 35 Figure 32 Transparent Serial Port Application sese 36 Figure 33 HF LPB100 Default UART Port Parameters AA 37 Figure 34 Switch to Configuration Mode 37 Figure 3898 AT H Instruction for Help sawiak Taayi bani SANG Ga 4 rada NET Taa nennen n
48. 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 CR gt lt LF gt W Parameters filename the upgrade configure file name within 20 characters 4 2 2 55 AT LOGSW m Function Open Close remote upgrade logfile E Format Query Operation AT LOGSW lt CR gt 0k 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 lt on Open The UART Port will print some upgrade status when upgrading the log file will be sent to UDP Port after successfully lt gt off Close 4 2 2 56 AT LOGPORT m Function Set Query remote upgrade UDP port of log file E 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 Operatioin AT LOGPORT lt port gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt m Parameters port The remote upgrade UDP port of log file 4 2 2 57 AT UPST W Function Start remote upgrade B Format Shanghai High Flying Electronics Technology Co Ltd www hi flying com 57 KEN HF LPB100 Low Power Wi Fi Module User Manual et Query Operation AT UPST lt CR gt 0k lt log gt 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 b
49. gt lt LF gt m Parameters Protocol Protocol type lt TOP Only for TCP Client 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 Shanghai High Flying Electronics Technology Co Ltd www hi flying com 49 KEN HF LPB100 Low Power Wi Fi Module User Manual t If set as UDP CLIENT the data will always be sent to the IP address and port set by this command 4 2 2 31 AT TCPDISB W Function Open Close SOCKB connection B 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 W 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 32 AT TCPTOB W Function Set Query Operation SOCKB timeout Setting is valid after reset W Format Query Operation AT TCPTOB lt CR gt 0k lt time gt lt CR gt lt LF gt
50. his mode the user device which connected with HF LPB100 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 29 HF LPB100 Low Power Wi Fi 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 Network Parameters setting Protocol ort ID TCP Time Out Setting Figure 18 Other Setting Page 3 1 7 Account Management Page This page 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 19 Account Page User can upgrade new software firmware version through Wi Fi Shanghai High Flying Electronics Technology Co Ltd www hi flying com 30 NY HF LPB100 Low Power Wi Fi Module User Manual HF FEX English Upgrade Software System Work Mode STA Setting AP Setting Other Setting Account Upgrade SW Restart Restore Current version V1 1 6 Figure 20 Upgrade SW page 3 1 9 Restart Page Most of the settting and configuration can only effective after sy
51. ink 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 Characteristics Absolute Maximum Ratings Parameter Gondiion Mi Typ Mex Uni Storage temperature range as res 9 Maximum soldering temperature TPGUEDECJ STO 020 Taa Supply voltage OJ gt fo Jos fv Votageonanyvopm OJ fo I oc fv ESD Human Body Model HEM Tanga 2 Ier ESD Charged Device Model CDM TAMB 25 C 1 KV Power Supply amp Power Consumption Parameter Renan Wim Typ max Uni Operating Supplyvotae as 33 fas V Output nigholtage sowcngema 28 w Output ow voltage mge ha fv Imungnwoae fea NG Input low voltage 0 8 V Shanghai High Flying Electronics Technology Co Ltd www hi flying com 13 HF LPB100 Low Power Wi Fi Module User Manual AE 1 2 3 Mechanical Size HF LPB100 modules physical size Unit mm as follows 32 7 347 4 v RF CONNNECTOR 8 244 341 Figure 3 HF LPB100 Mechanical Dimension HF LPB100 Module PCB symbol size mm as follows 32 8 Keep out area for PCB antenna Figure 4
52. ion Enable Disable WPS function E Format Query Operation AT WPSBTNEN lt CR gt 0k lt status gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT WPSBTNEN lt status gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt W Parameters status lt on 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 Shanghai High Flying Electronics Technology Co Ltd www hi flying com 61 HF LPB100 Low Power Wi Fi Module User Manual et 4 2 2 71 AT LPTIO W Function nReady nLink WPS function mapping Setting is valid after reset E 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 gt 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 Ping lt l pt200 nReady nLink WPS function are mapping to HF LPT200 corresponding pin Pin11 Pin13 Pin14 Shanghai High Flying Electronics Technology Co Ltd www hi flying com 62 HF LPB100 Low Power Wi Fi Module User Manual
53. ll 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 inqure TCP connection r I I Serial COM4 SecureCRT PEN File Edit View Options Transfer Script Tools Help a SJ 5 53 29 Qalsa erT A Seri al COM4 ATI SOCKBSECD 899 292 268 10 100 0 AT TCPDISB on ok AT RCVB 100 AT RCVB 1 0 0k 10 ddddddssdd AT SNDB 10 gt 0k 1 AT TCPLKB ok on AT TCPTOB 0k 0 AT TCPDISB 0ff A Ready Serial COM4 26 1 26 Rows 72 Cols VT100 L Figure 11 Socket B function demo Shanghai High Flying Electronics Technology Co Ltd www hi flying com 25 HF LPB100 Low Power Wi Fi Module User Manual 2 10 Multi TCP Link Connection When HF LPB100 module configured as TCP Server it supports Multi TCP link connection and maximum 5 TCP clients permitted to connect to HF LPB100 module User can realize multi TCP link connection at each work mode Multi TCP link connection will work as following structure Upstream All dates from different TCP connection or client will be transmitted to the serial port asa sequence 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 User Device 1 User User Device Device 2 User
54. loads listO1 dc html Shanghai High Flying Electronics Technology Co Ltd www hi flying com 75 HF LPB100 Low Power Wi Fi Module User Manual et APPENDIX E 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 O 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 Co Ltd www hi flying com 76
55. lowing instance including the two new line POST abcd HTTP 1 1 Connection keep alive User Agent lwip1 3 2 Content Length 0 Host 192 168 0 127 8999 If send AT HTTPDT abcd the data packet will be sent as the following instance POST abcd HTTP 1 1 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 tok 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 74 KEN HF LPB100 Low Power Wi Fi Module User Manual t APPENDIX D REFERENCES D 1 High Flying Mass Production Tool Download Address http www hi flying com download detail dc amp downloadsld 07bc0a59 0a0d 4fb4 a5e5 c3403f09ab08 amp comp stats comp FrontDownloads listO1 dc html D 2 SmartLink APP Config Tool IOS Platform http www hi flying com download detail dc amp downloadsld 5cc0c241 77b4 48c1 bf9c 2ad2954b3b50 amp comp stats comp FrontDownloads list01 dc html Android Platform http www hi flying com download detail dc amp downloadsld 9a0d0290 477e 4184 8636 18510eaed6b1 amp comp stats comp FrontDownloads list01 dc html D 3 EVK Quick Start Guide Download Address http www hi flying com download detail dc amp downloadsld b545c662 4ec7 49a4 aea4 e09971062a62 amp comp stats comp FrontDown
56. lt CR gt lt LF gt W Parameters status The status of module s nReload pin function lt on nReload pin function is enabled lt off nReload pin function is disabled 4 2 2 65 AT ASWD m Function Set Query WiFi Configuration Password E 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 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 66 AT MDCH W Function Set Wi Fi Auto Switch Function Setting is valid after reset E 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 lt On Enable Wi Fi auto switch When the module STA mode fail to connect to router it will switch to AP mode itself in one minute auto Enable Wi Fi auto detect function The module will reset itself when encounter any abnormal The default time interval is 10 minutes default mode 9 120 unit minute Set the time interval to reset itself when abnormal 4 2 2 67 AT TXPWR W Function Set Query Wi Fi Transmit Power Real Transmit Power Default Transmit Power 16dBm Setting Value 0 5dBm Setting is valid after reset E Format Query Operation AT TXPWR
57. 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 Shanghai High Flying Electronics Technology Co Ltd www hi flying com 4 HF LPB100 Low Power Wi Fi Module User Manual et W Format Query Operation AT WMODE lt CR gt 0k 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 W Parameters mode Wi Fi work mode AP STA APSTA 4 2 2 3 AT ENTM W Function Set module into transparent transmition mode W Format AT ENTM lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt When operate 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 W Format Query Operation AT TMODE lt CR gt 0k lt imode 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 W Parameters imode data transfer mode include lt throughput throughput mode lt gt cmd command mode lt gt pwm PWM GPIO mode 4 2 2 5 AT MID W Function Query module ID information B Format Query Operation AT MID lt CR gt ok lt module_id gt lt CR g
58. nel gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt m Parameters wifi mode Wi Fi mode include 11B 11BG 11BGN Default Value ssid SSID at AP mode channel Wi Fi channel selection AUTO CH1 CH11 Default CH1 4 2 2 46 AT WAKEY W Function Set Query AP Wi Fi secruity parameters Setting is valid after reset E Format Query Operation AT WAKEY lt CR gt 0k 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 OPEN WPA2PSK Encry include NONE When auth OPEN available AES When auth WPA2PSK available key security code ASCII code smaller than 64bit and bigger than 8 bit Shanghai High Flying Electronics Technology Co Ltd www hi flying com 54 HF LPB100 Low Power Wi Fi Module User Manual et 4 2 2 47 AT WAMAG W Function Query AP MAC address parameters W Format Query Operation AT WAMAC lt CR gt 0k lt mac_address gt lt CR gt lt LF gt lt CR gt lt LF gt m Parameters mac address Abies 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 48 AT WADHCP W Function Set Query AP DHCP server status Setting is valid after reset W Format Query Operation AT W
59. ng use two common software tools debugging and applying HF LPB100 module User can also select other tools used to debug serial port W Serial Debugging Software ComTools Y ComTools exe W Ethernet Debugging Software TCPUDPDbg E TCPUDPDbg exe Shanghai High Flying Electronics Technology Co Ltd www hi flying com 32 HF LPB100 Low Power Wi Fi Module User Manual Ai 3 2 2 Network Connection User can select two methods to connect HF LPB100 module base on dedicated application UseHF LPB100 STA interface HF LPB100 and debug PC2 connect to a wireless AP another PC1 or user device connect to HF LPB100 module with serial port x PC2 PC1 HF LPB100 WiFi WAN TOM e gt gt BC E e S gt Figure 24 STA Interface Debug Connection gt Use HF LPB100 AP interface Debug PC2 connect to HF LPB100 through wireless connection another PC1 or user device connect to HF LPB100 module with serial port Pot HF LPB100 PC2 UART KD my AP i a d Figure 25 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 LPB100 module and open serial port connection E 0
60. nt Appltcaton esse seves sese nd nnn 35 3 3 8 Transparent Serial Port Application essence nennen 36 AT INSTRUCTION INTRODUCTION sss esse seves vese sees seer seene ereer nass sns snnm enre 37 4 1 Configuration Mode nean nean A e Re 37 4 1 1 Switch to Configuration Mode REENEN 37 4 2 AT Instruction Set Overview monica 38 4 2 1 Instruction Syntax Format Woo MBA anana nne nenen nen 38 42 2 AT Instruction Get asn nenen nen 39 ENE gt NE MD EN AAA 41 SE NEO ME 41 4 22 23 AT ENIM E cett ado tte 42 42 24 AT4TMODE cnc ek nn nl ei ei i ie eee 42 E EE ME DO RE ENT edere e pete Si aa dara ea dus iuri apaa ga ai 42 4 2 2 6 AT VER 28 fin WEEN 43 4 2 2 7 NET EEN es Pasient 43 4228 ATEFWSZU p oda di di db 43 AA A A AAA 43 4 2 2 10 Dus vM cm 43 4 2 2 11 En A AR 44 4 2 2 12 ho Ced Ic 44 4 2 2 13 ATENG AD ME rie rere ere ee iere tin expe tuere 44 4 2 2 14 Bal CE GW babas 44 4 2 2 15 AT CFGER ER A4 4 2 2 16 AT CP GI EE 44 4 2 2 17 MEET RE 45 4 2 2 18 ATRUART TE 45 4 2 2 19 POE H TET EE aanhbveceusute 46 4 2 2 20 MECH AR NEE 46 4 2 2 21 ATUAR RR NEE 46 4 2 2 22 AT SEND EE 46 4 2 2 23 A TREG EE 47 4 2 2 24 AT PING m UE 47 Shanghai High Flying Electronics Technology Co Ltd www hi flying com 3 KEN HF LPB100 Low Power Wi Fi Module User Manual t
61. on Symbol 4 Invalid Parameter 5 Operation Not Permitted 4 2 2 AT Instruction Set Table 10 AT Instruction Set List Instruction Description null 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 235 uF HF LPB100 Low Power Wi Fi Module User Manual LM A Instruction Description MID Query module ID information 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 CFGRD Batch Read User Configure Parameters CFGWR Batch Write Configure Parameters CFGFR Batch Read Factory Default Configure Parameters 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
62. p sleep status Off high Mouule in normal status Button Restore factory default configuration after push this nReload pin more than 3s See 1 2 1 WPS Button Sleep RQ Pin Sleep Control button more than 3s to put module in standby mode Reserved Sleep ON 1 2 7 Order Information Base on customer detailed requirement HF LPB100 series modules provide different variants and physical type for detailed application HF LPB100 X Antenna 0 External I PEX 1 Internal PCB SMA External SMA Product Type LPB100 Vendor Information HF Figure 7 HF LPB100 Order Information Shanghai High Flying Electronics Technology Co Ltd www hi flying com 17 HF LPB100 Low Power Wi Fi Module User Manual Ai 1 3 Typical Application 1 3 1 Hardware Typical Application User Board HF LPB100 UARTO RXD UARTO TXD nLINK nReady nReload WPS nReset Sleep ON Sleep RQ 3 3V GND Figure 8 HF LPB100 Hardware Typical Application Notes nReset Module hardware reset signal Input Logics 0 effective There is pull up resister internal and no external pull up required When module power up or some issue happened MCU need assert nRST signal 0 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 connect
63. pen Web Management page The HF LPB100 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 Shanghai High Flying Electronics Technology Co Ltd www hi flying com 27 NY HF LPB100 Low Power Wi Fi 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 FX English MID HF LPB System Software Version V1 1 6 Work Mode WiFi Work Mode APSTA STA Setting AU Dus gt SSID HF LPB AP Setting S DEN SU IP Address 10 10 100 254 Buseund MAC Address ACCF23FF8889 Account SNE Upgrade SW Router SSID SuSu Restart Signal Strength 58 Restore IP Address 192 168 1 100 MAC Address ACCF23FF8888 Figure 14 System Web Page 3 1 3 Work Mode Page HF LPB100 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 15 Work Mode Page
64. r Option BroadOption StopShow Clear Save Option I ShowHex I Save in Tine SSS kt Figure 29 TCPUDPDbg Tools Connection Shanghai High Flying Electronics Technology Co Ltd www hi flying com 34 HF LPB100 Low Power Wi Fi Module User Manual sees Now in transparent transmission mode data can be transferred from Comm Tools 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 LPB100 User Device Wu NE ET Figure 30 Wireless Control Application For this wireless control application HF LPB100 works as AP mode Module s serial port connects to user device So control agent Smart phone for this example can manage and control the user device through the wireless connection with HF LPB100 module 3 3 2 Remote Management Application HF LPB100 s gt u UART Ea L b 3j User Device HF LPB100 A UART MUR User Device Figure 31 Remote Management Application 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 p
65. r each step set 0 means no time calibration automatically 4 2 2 61 AT NTPEN W Function Enable Disable time calibration function Setting is valid after reset m Format Query Operation AT NTPEN lt CR gt 0k 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 W Parameters status status of time calibration on Enable time calibration off Disable time calibration 4 2 2 62 AT NTPTM m Function Query network time W 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 time networ time for example 2013 10 9 16 10 42 Wed ifit shows Not Available means that the time calibration function is not enabled or the module doesn t connect to the internet 4 2 2 63 AT WRMID m Function Set module ID W 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 64 AT RLDEN W Function Set Query nReload Pin function status W 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 Shanghai High Flying Electronics Technology Co Ltd www hi flying com 59 uF HF LPB100 Low Power Wi Fi Module User Manual LM A AT RLDEN lt status gt lt CR gt 0k lt CR gt lt LF gt
66. r it can be 11 12 18 20 GPIO Pin number W Return Data PWM OK Command successful PWM NOK Command failed B 2 Hexadecimal Network Command Send hexadecimal data to fastly read module s port status B 2 1 Read all GPIO Channel m Send Data 0a m Return Data 8a lt value gt value bitO0 bit represent GPIO15 GPIO23 value r 3 TCPSUDPAKATEA 10 10 1 254 8899 se G CreateConnn CreateServer Ki X 3 Connect Z e DisconnAll 3 DeleteConn BR Se Operate O View V Windows W Help H Language x Properties ax J 10 10 1 254 8899 dbx E M Client Mode DestIP 100 6 10 10 1 254 8899 erer et Msc ES ke B Server Mode A Send Hex Send File Send Receive d Clear Option BroadDption DestPort 8899 LocalPort p 4001 Type rcr zi AtuoConn Eve 0 s r Eve 0 Connect Rec StopShow Clear Save Option Y ShowHex Count SNR Save In Tine S Ba 03 Reer 2 Clear Send Speed B S 0 Receive Speed B S 0 V d B 2 2 Reverse GPIO Channel value W Send Data 03 channel channel GPIO Channel number it can be 01 02 GPIO15 GPIO23 W Return Data 83 channel value channel GPIO Channel number it can be 01 02 GPIO15 GPIO23 value GPIO Channel value 0 or 1 Shanghai High Flying Electronics Technology Co Ltd www hi flying com 69 HF LPB100 Low Power Wi Fi Module User Manual uen Sic
67. racteristics EEN 1 2 3 Mechanical SIze sss sese n E 1 2 4 On board Chip Antenna sees sees nnr Aene 1 2 5 External Antenna sese sees cesse ee eee essere nenen N 1 2 6 Evaluation Kit suna saat gagian aan aaa na aa saang aan aana Manan MP alien ga aa a ata naga ia 1 2 7 Order Information ue E Ee Bene 1 3 Typical Application 499 M cr 1 3 1 Hardware Typical Application AANEREN EEN 2 FUNCTIONAL DESCRIPTION rnnnnennnnvnnnnnvnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnenn 2 1 Wireless Networking rrrsssvnnnnnnnvnnnnnnnvnnnnnnnvnnninnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn 2 1 1 Basic Wireless Network Based On AP Infrastructure sees eee eee eee eee eee eee 2 1 2 Wireless Network Based On AP STA ener nennen nennen nns 2 2 Work Mode Transparent Transmission Mode eere 2 3 UART Frame Schema naen amen anen naen naen amen nn wane nane sm naa san ene eee 2 3 1 UART WHK EN O 2 3 2 UART Au Frame GP asser TO 24 2 Tode it a WE 2 5 Power Save Scheme Reserved sss ss ssss esse esse ennenen ennenen nenen NEEN ENEE 2 6 Parameters Config ratio cocoa cnn cnn NIEBIpo IO CEET TZ AA nn KL SOCKET BW dato 2 10 Multi TCP Link Connection s nnssvrnnnvnnnnnvnnnnnnnnnvvnnnnvnnnnnnnnnnnnnnnvnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnenn
68. rocessing 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 35 HF LPB100 Low Power Wi Fi Module User Manual ne ncn 3 3 8 Transparent Serial Port Application For this transparent serial port application two HF LPB100 modules connect as below figures to build up a transparent serial port connection One HF LPB100 works as AP mode another HF LPB100 works as STA mode Make the STA device connects to AP User Device HF LPB100 HF LPB100 User Device uy Ea E 4 Xp c A Figure 32 Transparent Serial Port Application Shanghai High Flying Electronics Technology Co Ltd www hi flying com 36 HF LPB100 Low Power Wi Fi Module User Manual Ai 4 AT INSTRUCTION INTRODUCTION 4 1 Configuration Mode When HF LPB100 power up it will default works as transparent transmission mode then user can switch to configuration mode by serial port command HF LPB100 UART default parameters setting as below figure Quick Connect ko Protocol En Port COMZ Flow Control DTR DSR Baud rate 115200 Data bits a D Parity Hone a Stop bits i X Figure 33 HF LPB100 Default UART Port Parameters In configuration mode user can setting the module through AT instruction set which cover all web page setting function 4 1 1 Switch to Configuration Mode Two step
69. s ret lt gt Disconnected if no WiFi connection AP s WiFi signal strength if WiFi connection available 4 2 2 42 AT WSCAN W Function Scan AP E Format AT WSCAN lt CR gt ok lt ap_site gt lt CR gt lt LF gt lt CR gt lt LF gt m Parameters ap site AP searched 4 2 2 43 AT WSDNS W Function Set Query STA static DNS server address E Format Query Operation AT WSDNS lt CR gt 0k 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 44 AT LANN W Function Set Query AP s network parameters Setting is valid after reset E Format Query Operation AT LANN lt CR gt Shanghai High Flying Electronics Technology Co Ltd www hi flying com 53 HF LPB100 Low Power Wi Fi Module User Manual et 0k 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 m Parameters ipaddress AP s IP address mask AP s net mask 4 2 2 45 AT WAP m Function Set Query AP Wi Fi parameters Setting is valid after reset W Format Query Operation AT WAP lt CR gt 0k 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 chan
70. s 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 nReady Module boot up ready signal Output Logics 0 effective The module will output 0 after normal boot up This signal used to judge if module finish boot up and ready for application or working at normal mode If nReady function not required can leave this pin open nReload Module restore to factory default configuration Input Logics 0 effective This pin is recommend to connect to button is used to enter wireless upgrade mode Shanghai High Flying Electronics Technology Co Ltd www hi flying com 18 HF LPB100 Low Power Wi Fi Module User Manual et User can de assert nReload signal 0 more than 3s 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 Sleep RQ Module Pin Sleep Control Input Reserved The user should de assert this pin low 07 after 3 s assert to high 1 to put the module to sleep status Also at the deep sleep standby mode user can de assert this pin low O after 1 s assert to high 1 to put the module to wake up the module If Sleep RQ function not required can leave this pin open Sleep ON Module
71. s to finish switching from transparent transmission mode to configuration mode gt UART input after module receive and feedback a as confirmation UART input a after module receive a and feedback tok to go into AT instruction set configuration mode t Serial CON3 Secure CRT RHE REO TEN ETO sem HEG TAG 588500 9994966 AMA Seria COm3 a ok Serial COM3 3 1 2667 903 vri00 BF Figure 34 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 rr as above UART display Shanghai High Flying Electronics Technology Co Ltd www hi flying com 37 HF LPB100 Low Power Wi Fi Module User Manual bd 2 Any other input or wrong step to UART port will cause the module still works as original mode transparent transmission 3 and a should be input in a certain period of time to make the module switch to configuration mode Like the following sequence input input input input a 300ms 300ms lt 3s 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 AT H to list all AT Instruction and description to start AT H ok AT NONE command r
72. stem restart User shall restart after finish all setting Restart Device System Work Mode i Imp otic STA Setting nportant notice AP Settin After restart y d to re login the configuration interface It 9 fter co Il configuratioi Other Setting M tem network for a v ort period are you Account Upgrade SW Restart Restore Figure 21 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 LPB100 will restore to AP mode for factory default setting Shanghai High Flying Electronics Technology Co Ltd www hi flying com 3l 5N HF LPB100 Low Power Wi Fi Module User Manual HF Restore Factory Setting System Work Mode STA Setting Important notice i gs all users configuration will be AP Setting e it on http 10 10 100 254 Account g Other Setting Account Upgrade SW Restart Restore Figure 22 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 23 Internal Webpage 3 2 HF LPB100 Usage Introduction 3 2 1 Software Debug Tools High Flyi
73. t lt LF gt lt CR gt lt LF gt m Parameters module id Module ID information Shanghai High Flying Electronics Technology Co Ltd www hi flying com 42 HF LPB100 Low Power Wi Fi Module User Manual et HF LPB100 Notes User can set this parameter through AT WRMID 4 2 2 6 AT VER W Function Query module software version information E Format Query Operation AT VER lt CR gt 0k lt ver gt lt CR gt lt LF gt lt CR gt lt LF gt m Parameters ver Module software version information 4 2 2 7 AT LVER W Function Query module detailed software version information E Format Query Operation AT LVER lt CR gt 0k lt ver gt lt CR gt lt LF gt lt CR gt lt LF gt W Parameters ver Module software detailed version information 4 2 2 8 AT FWSZ W Function Query Wi Fi driver size E Format Query Operation AT FWSZ lt CR gt 0k lt size gt lt CR gt lt LF gt lt CR gt lt LF gt E Parametewrs size Wi Fi driver size Byte 4 2 2 9 AT RELD W Function module restore to factory default setting W 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 W Function Erase factory setting E 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 Ele
74. to module AP 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 Others Instruction Set WRMID Set module ID RLDEN Set Query GP1045 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 WPS Start WPS function WPSTNEN Enable Disable GPIO 15 WPS function LPTIO nRead nLink WPS function mapping WIFI Config Tools don t support CFGRD command yet 4 2 2 1 AT E W Function Open Close show back function W Format Set Operation AT E lt status gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt E Parameters status Echo status On Open echo lt off Close echo When HF LPB100 module firstly switch from transparent transmission to configuration
75. ve 0 s r Eve 0 E Rec StepShow Clear Save Option ShowHex por MC sayetin tine El sed E ave In Tine 1 Rev f8 Clear Send Speed B S 0 Receive Speed B S 0 LS A B 1 3 GPIO channel SET W Function Save GPIO Channel setting W Parameters channel GPIO Channel number it can be 11 12 15 18 20 23 GPIO Pin number W Return Data GPIO OK Command successful GPIO NOK Command failed B 1 4 PWM channel frequency duty W Function Set PWM Channel output temporarily E Parameters channel PWM Channel number it can be 11 12 18 20 GPIO Pin number frequency PWM Channel frequency it can be 500 60000 duty PWM Channel duty it can be 0 100 W Return Data 9 PWM OK Command successful PWM NOK Command failed Shanghai High Flying Electronics Technology Co Ltd www hi flying com 67 HF LPB100 Low Power Wi Fi Module User Manual p ne ncn DestPort 8899 32 TOPRUDPR TE 192 168 1 141 8899 E Y E Soa Operate O View V Windows W Help H Language x EJ CreateConnn Ri CreateServer Start Box SE Sg Disconnall 3 DeleteConn BW B Properties Rx 2 1921681141889 o DE TA Keen e Send 7 AtuoSend Eve 100 ms Send sto M Server Mode Send Hex Send File Send Received Clear Option BroadDption LocalPort 4001 Type TCP y T Mapes Eve A s AutoSend Eve 0 ns Disconnect
76. working HF LPB100 User Device gt 4 REETIS WiFi AP ee I A We d HF LPB100 User Device S A j W WH gt Y xy Figure 9 HF LPB100 Basic Wireless Network Structure 2 1 2 Wireless Network Based On AP STA HF LPB100 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 20 HF LPB100 Low Power Wi Fi Module User Manual Ai Bes FOUR HF LPB100 T om STA qM CR BRS BS DULL e n bn DN rcp IDE SN 1 Server MAC ACCF2320CEAA ra 4 T TCP Client F N PAD 33 Figure 10 HF LPB100 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 modules 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 gt Users can easily setting and track user device through Phone PAD and not change the orginal network setting gt Users can easily setting modules parameters through WiFi when module works as STA mode 2 2 Work Mode Transparent Transmission Mode HF LPB100 module support serial interface transparent transmission mode The benefit of this mode is achieves a plug and play serial data port
77. z with support for WEP security mode as well as WPA WPA2 Based on Self developed High Cost Performance 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 Max 6 Channel PWM GPIO Output Integrated chip antenna antenna connector options Compact surface mount module 23 1mm x 32 8mm x 2 7mm Full IPv4 stack Low power RTOS and drivers CE FCC Certified RoHS compliant Single supply 3 3V operation Shanghai High Flying Electronics Technology Co Ltd www hi flying com 9 HF LPB100 Low Power Wi Fi Module User Manual uF 1 1 2 Device Paremeters Table 1 HF LPB100 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 Transmit Power 802 119 14 2dBm 54Mbps Wireless 802 11n 13 2dBm HT20 MCS7 Parameters 802 11b 93 dBm 11Mbps CCK Receiver Sensitivity 802 11g 85 dBm 54Mbps OFDM 802 11n 82 dBm HT20 MCS7 External l PEX Connector or SMA Antenna Option connector Internal On board PCB antenna UART Data Interface SPI PWM GPIO Operating Voltage 2 8 3 6V Peak Continuous TX 200mA Hardware

Download Pdf Manuals

image

Related Search

Related Contents

Environmental criteria comparison between TED – The Eco  3.2 Jonction des Lés  Descargar el manual de usuario  M16C/26 Using the DMAC with a Forward Source  Register and win! B 80 W Bp - Alfred Kärcher and Company    Fond documentaire - Université du Sahel  Lochinvar Installation and Operations manual  ICY BOX IB-i001  新規採用職員 - 公益財団法人 岡山県市町村振興協会  

Copyright © All rights reserved.
Failed to retrieve file