Home

HF-LPB200 Wi-Fi Module User Manual

image

Contents

1. Erar Application Frarr Resthul Firmware Web Services UN Upgrade mDNS 1 HTTP Client WLAN l Connection Power Tr E Manager Manager em gre ra uer CIEN ma m ee TN e a 1 ST Tata Faf ertr area d eal ime Operating System Freen rub i Gy mi a GPIO PWM d 7 P K ALX DAC UART GPIOs seein OTG n Figure 10 HF LPB200 Software SDK Architecture Shanghai High Flying Electronics Technology Co Ltd www hi flying com 18 HF LPB200 Low Power WiFi Module User Manual HEY High Flying 3 FUNCTIONAL DESCRIPTION 3 1 Wireless Networking HF LPB200 module can be configured as both wireless STA and AP base on network type Logically there are two interfaces in HF LPB200 One is for STA and another is for AP When HF LPB200 works as AP other STA equipments are able to connect to wireless LAN via HF LPB200 module Wireless Networking with HF LPB200 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 3 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 Th
2. esses nennen nnn nnns 32 AP Interface Debug Connections herr vv aao gege geed 33 CommTools Serial Debug Tools AE 33 TCPUDPDbg Tools Create Conpnechon nennen 33 TCPUDPDbg Tools Gettmg eese 34 JT OPUDPDDG TE MENN 34 Wireless Control Application 0 nanaanonnanennnnannnannnnennnnensrrnrnnrrrrnrersrrnrrrnrnnrernnrnrnrrernnene 34 Remote Management Application o nnanannnnnnnnenenenenensnsinrrnrnrernrrnrnrerersrsrrrsrsrrnrnrnrenne 35 Transparent Serial Port Application nennen 35 HF LPB200 Default UART Port Harameters 36 Switch to Configuration Mode cisnes 36 PR Instruction for Help retrata 37 Reflow Soldering te UN 53 NOOO TAN te p ERR TER ODDO 54 Shanghai High Flying Electronics Technology Co Ltd www hi flying com HF LPB200 Low Power WiFi Module User Manual High Flying LIST OF TABLES Table 1 HF LPB200 Module Technical Specifications 0 00n0nnanannnnennnnnnnnsrnnnennnrnrnnrnrnnrernrrnrernene 8 Table 2 HF LPB200 Pins Defmpon nmn mnm 9 Table 3 HF LPB200 External Antenna Parameters o occoccoccnoccccconconcononcononnnnnonnonnnancnnonnnnnnnonnnnnons 13 Table 4 HF LPB200 Evaluation Kit Interface Description oocooccoccconconcconononcnonnonncnnnnanonncnncnos 15 Table6 Difference between Wi Fi Wakeup Mode and Standb Deep Sleep Mode 23 Table 7 Power Consumption with Different Power Save Mode seem 23 Table HPFEPB200 G
3. CARTON Size 440 260 320 mm inside High Flying BOX Size 422 247 72 mm inside Figure 39 Shipping Information Note 1 tray 5 20pcs 100 pcs 1 box 2 trays 2 100 pcs 200pcs 1 carton 4 boxes 4 200 pcs 800pcs Shanghai High Flying Electronics Technology Co Ltd www hi flying com 54 HF LPB200 Low Power WiFi Module User Manual HEY High Flying APPENDIX A HW REFERENCE DESIGN TM Detailed HF LPB200 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 5 HF LPB200 Low Power WiFi Module User Manual HEY High Flying APPENDIX B 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 Qhi flying com For more information about High Flying modules applications and solutions please visit our web site http www hi flying com en END OF DOCUMENT 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 s
4. AP STA APSTA 9 2 2 3 AT ENTM B Function Set module into transparent transmition mode m Format AT ENTM lt CR gt ok 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 0 2 2 4 AT TMODE B Function Set Query module data transfer mode B Format Query Operation AT TMODE lt CR gt ok lt tmode gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT TMODE lt tmode gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt B Parameters tmode data transfer mode include throughput cmd 0 2 2 5 AT MID B Function Query module ID information B Format Shanghai High Flying Electronics Technology Co Ltd www hi flying com 40 HF LPB200 Low Power WiFi Module User Manual Query Operation AT MID lt CR gt ok lt module_id gt lt CR gt lt LF gt lt CR gt lt LF gt B Parameters module id Module ID information HF LPB200 Notes User can set this parameter through AT WRMID 9 2 2 6 AT VER B Function Query module software version information m Format Query Operation AT VER lt CR gt ok lt ver gt lt CR gt lt LF gt lt CR gt lt LF gt m Parameters ver Module software version information 9 2 2 AT RELD B Function module restore to factory default setting Format Set Operation AT RELD lt CR gt ok rebooting lt CR gt lt LF
5. JTAG nTRST nReady 5 lt JTAG TMS nReload E RO JTAG TDI N C CP TDO EXT RESETn D 47 ST JTAG TCK GND m3 4 GND RF Connector Figure 2 HF LPB200 Pins Map Table2 HF LPB200 Pins Definition Pin Describtion Net Name Signal Type Comments 1 17 32 48 Shanghai High Flying Electronics Technology Co Ltd www hi flying com HF LPB200 Low Power WiFi Module User Manual HEY High Flying JTAG Debug functional pin 8 JTAG Function JTAG TDO O Mo connect if not use po DEE 6 JTAG Function JTAG nTRST IPU Sleep Control Sleep ON o GPIO8 No connect if use SS 13 14 15 16 U 18 19 9 3 3VPower DVDD Power 13 cero 593 Vo 14 GPIO 594 GPIO14 No connect if not use wspo NC Nocomect MustFloat 16 USB interface USB PIO I O USB dedicated interface 18 PWMOutput1 PWM 1 I O GPIO18 No connect if not use 19 USB interface USB VBUS USB dedicated interface 27 SPiDataln SPLMISO GPIO27 No connect if not use 30 SPiDataQut SPI MOSI o GPIO30 No connect if not use 31 3 3VPower DVDD Power gt 38 po P NC J Nocomet 34 3 3Power DVDD Power gt gt ores 36 o NC Novconnect la LL no 1 Nocone 38 po P NC X Nocomet gt 39 UARTO UARTOTX o UART Communication Pin UART
6. 0 after 1 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 0 after 1 s assert to high 1 to put the module to wake up the module Sleep ON Module Pin Sleep Indicator Output 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 2 2 2 Internal MCU Hardware Feature MCU and hardware Key Features as following for customized application eo ARM Cortex M3 Core Up to 200Mhz 1MB in package QSPI Flash 512KB SRAM SPI Extend 1MB flash available Multiple power down mode w SRAM Retention Configurable GPIO function Module output ADC 16 bit 2 channel PWM 4 channel One 2 interface One SPI I2S UART interface One USB OTG FS2 0 interface RTC extend interface x e xw NN Cortex M3 32 Bit 1MB Flash in Package Figure 9 HF LPB200 Internal MCU Hardware Architecture Shanghai High Flying Electronics Technology Co Ltd www hi flying com 17 HF LPB200 Low Power WiFi Module User Manual HE High Flying 2 2 3 Software SDK Architecture HF LPB software platform as following picture and High Flying will provide full SDK for customer application development Detailed SDK introduction refer to SDK API interface and user guide document
7. LF gt lt CR gt lt LF gt B Parameters ap site AP searched 5 2 2 30 AT WSDNS B Function Set Query STA static DNS server address m Format Query Operation AT WSDNS lt CR gt ok lt address gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT WSDNS lt address gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt Shanghai High Flying Electronics Technology Co Ltd www hi flying com 47 HF LPB200 Low Power WiFi Module User Manual B Parameters address STA s DNS server address Effective right away 9 2 2 31 AT LANN B Function Set Query AP s network parameters B Format Query Operation AT LANN lt CR gt ok lt ipaddress mask gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT LANN lt ipaddress mask gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt B Parameters ipaddress AP s IP address mask AP s net mask 5 2 2 32 AT WAP B Function Set Query AP Wi Fi parameters B Format Query Operation AT WAP lt CR gt ok lt wifi_mode ssid channel gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT WAP lt wifi_mode ssid channel gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt m Parameters wifi mode Wi Fi mode include 11BGN Default Value ssid SSID at AP mode channel Wi Fi channel selection lt gt AUTO CH1 CH11 Default CH1 9 2 2 33 AT WAKEY B F
8. User can upgrade new software firmware version through Wi Fi AX English Upgrade Software System Work Mode STA Setting AP Setting Other Setting Account Upgrade SW Restart Restore Current version V1 1 6 A E Figure 23 Upgrade SW page 4 1 9 Restart Page Most of the settting and configuration can only effective after system restart User shall restart after finish all setting Restart Device System Work Mode STA Setting Important notice i After restart you will need to re login the configuration interface lt AP Setting is recommended to restart after completing all configurations Other Setting Restart will interrupt the network for a very short period are you sure to restart now Account Upgrade SW Restart Restore Figure 24 Restart Page 4 1 10 Restore Page After module restore factory default setting all user configuration profile will lose Shanghai High Flying Electronics Technology Co Ltd www hi flying com 31 HF LPB200 Low Power WiFi Module User Manual HF User can access http 10 10 100 254 to set again and user name and password is admin HF LPB200 will restore to AP mode for factory default setting Restore Factory Setting System Work Mode STA Setting Important notice After restoring factory settings all users configuration will be AP Setting deleted You can reconfigure it on http 10 10 100 254 Account Other Setting and password are both admin Acc
9. Wireless 802 11n 13 2dBm HT20 MCS7 Receiver Sensitivity mpm Data Interface Operating Voltage Peak Continuous TX 240mA Hardware Normal WiFi ON OFF DTIM 100ms Parameters Operating Current AP Associate 21mA No AP Associate 26mA Wakeup on Wireless Mode 10mA Deep Sleep lt 100uA Operating Temp O C 70 C Storage Temp Dimensions and Size Network Type Security Mechanisms Encryption Update Firmware Parameters Provide SDK for application develop Reserved Resource Network Protocol jeerConfiauration AT instruction set Web page Android iOS i Smart Link APP tools 1 1 3 Key Application o Remote equipment monitoring omart Home Energy Industrial sensors and controls Home automation Medical Healthcare devices Shanghai High Flying Electronics Technology Co Ltd www hi flying com HF LPB200 Low Power WiFi Module User Manual HEY High Flying 1 2 Hardware Introduction Figure 1 HF LPB200 Demo 1 2 1 Pins Definition ea ao o Soo S oe e 1199 gt a Er HES ME MES B a E m gt 5 AA AA I MMM 7 58 585 59 op 90 18 18 GND gt 17 4 Jeno N C CR 16 FO USB PIO pvop CE is we 8 14 DR GPIO14 NC ini 3 1 DT GPIO13 c CBI 4 anca me p s aes UARTU TX H1 HF LPB200 1 EI GPIO10 UARTO RTS gt UARTO RX gt UARTDO CTS gt RO Sleep ON rm Sleep RO am d nLink gt 5 f
10. data_content gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt B Parameters data lenth Lenth of send data Range 0 1000 Byte data content contents of send data When two parameters conflict select smaller value to send data 5 2 2 17 AT RECV B Function Receive Data at Command Mode B Format AT RECV lt data lenth2 CR ok lt data lenth data content CR LF gt lt CR gt lt LF gt B Parameters data lenth Lenth of receive data Range 0 1000 Byte data content contents of receive data If not receive any data in 3 second then feedback ok 0 Shanghai High Flying Electronics Technology Co Ltd www hi flying com 43 HF LPB200 Low Power WiFi Module User Manual High Flying 5 2 2 18 AT PING m Function Network PING Instruction Format Set Operation AT PING lt IP_address gt lt CR gt ok lt sta gt lt CR gt lt LF gt lt CR gt lt LF gt B Parameters sta feedback result lt gt Success Timeout Unknown host 5 2 2 19 AT NETP B Function Set Query network protocol parameters Format Query Operation AT NETP lt CR gt ok lt protocol CS port IP gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT NETP lt protocol CS port IP gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt B Parameters protocol TCP UDP CS Network mode SERVER lt gt CLIENT Port protocol port ID
11. Decimal digit and less than 65535 IP Server s IP address when module set as client 5 2 2 20 AT TCPLK B Function Query if TCP link already build up B Format AT TCPLK lt CR gt ok lt sta gt lt CR gt lt LF gt lt CR gt lt LF gt B Parameters sta if module already setup TCP link TCP link setup Off TCP link not setup 5 2 2 21 AT TCPTO m Function Set Query TCP timeout Shanghai High Flying Electronics Technology Co Ltd www hi flying com 44 HF LPB200 Low Power WiFi Module User Manual HEY m Format Query Operation AT TCPTO lt CR gt ok 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 ok lt CR gt lt LF gt lt CR gt lt LF gt B Parameters time TCP timeout time lt gt lt 600 600s lt gt 0 0 means no timeout Default 300s 5 2 2 22 AT TCPDIS m Function Open Close TCP link B Format Query Opera AT TCPDIS lt CR gt ok 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 ok lt CR gt lt LF gt lt CR gt lt LF gt B Parameters When query sta Feedback if TCP Client can be link On TCP link close off TCP link on When setting off means close TCP link After finish this command module disconnect TCP link and not connect again On means open TCP link After finish this command module re connect TCP
12. Figure 15 Figure 16 Figure 17 Figure 18 Figure 19 Figure 20 Figure 21 Figure 22 Figure 23 Figure 24 Figure 25 Figure 26 Figure 27 Figure 28 Figure 29 Figure 30 Figure 31 Figure 32 Figure 33 Figure 34 Figure 35 Figure 36 Figure 37 Figure 38 Figure 39 A o OP o PEE 9 MF BP NN 9 rF LPB200 Mechanical DIMENSION espinita 12 ME LRBZ2000POB S Lee EE 12 Suggested Module Placement Hegon ener nnne 13 MF LPB200 Evaluation RE 14 EREECHEN 15 HF LPB200 Hardware Typical Appltcaton eese 16 HF LPB200 Internal MCU Hardware Architecture nnannennnnnnnnnnenenrennnnnnnsnerrrsrrerenns 17 HF LPB200 Software SDK Architecture essere 18 HF LPB200 Basic Wireless Network Structure annannnnnnnnennnnnnnsnnnnnnrenrnnnnrsrrnnrsrrerenns 19 HF A11 AP STA Network Gtruchure eee eeeeeseeseeeeeseeeeeeeeeaeeseeseeseeeeees 19 HF LPB200 1 1 P2P Networking meme 20 HF LPB200 1 N RZbNetbworkimg 20 Multi TCP Link Data Transmition Structure coocccocccocccoccocnnocnncnnnconanoncnnnnnnncnnanonannnnnns 22 Open Web Management page o nonnennsnnsnnenernsrrersrrrrrrrrrrsrrsrrnrrsrrrrrrrnnrnrnnrsrrnrrnrenreenne 27 SySIEImn VVeD I AG IPP ranean a 28 Work Mode Eege e 28 SN 29 lo e o 29 Ue Seta uec 30 ACCOUN e gt NOR 30 PRE NNN arr 31 FT 31 DERG gt Te NN EN 32 STA Interface Debug Connection
13. address mask gateway gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt B 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 5 2 2 26 AT WSMAC B Function Query STA MAC address parameters m Format Query Operation AT WSMAC lt CR gt ok lt mac_address gt lt CR gt lt LF gt lt CR gt lt LF gt B Parameters Shanghai High Flying Electronics Technology Co Ltd www hi flying com 46 HF LPB200 Low Power WiFi Module User Manual HEY code security code lt gt 8888 default value Mac address STA MAC address such as ACCF23FF1234 5 2 2 27 AT WSLK B Function Query STA WiFi link status Format Query Operation AT WSLK lt CR gt ok lt ret gt lt CR gt lt LF gt lt CR gt lt LF gt B Parameters ret Disconnected if no WiFi connection lt gt AP SSID CAP s MAC if WiFi connection available gt RF Off if WiFi OFF 5 2 2 28 AT WSLQ B Function Query STA WiFi signal strength B Format Query Operation AT WSLQ lt CR gt ok lt ret gt lt CR gt lt LF gt lt CR gt lt LF gt B Parameters ret Disconnected if no WiFi connection AP s WiFi signal strength if WiFi connection available 5 2 2 29 AT WSCAN B Function Scan AP Format AT WSCAN lt CR gt ok lt ap_site gt lt CR gt lt
14. and password in the page as following and click OK button The server 10 10 10 254 at GoAhead requires a username and password User name Password Figure 16 Open Web Management page The HF LPB200 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 4 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 Shanghai High Flying Electronics Technology Co Ltd www hi flying com 297 i HF LPB200 Low Power WiFi Module User Manual MID System Software Version Work Mode WiFi Work Mode STA Setting AP mode AP Setting IP Address Other Setting MAC Address Account STA Mode Upgrade SW Router SSID Restart Signal Strength Restore IP Address MAC Address Figure 17 System Web Page 4 1 3 Work Mode Page H F EY High Flying FAX English HF LPB V1 1 6 APSTA HF LPB 10 10 100 254 ACCF23FF8889 SuSu 58 192 168 1 100 ACCF23FF8888 HF LPB200 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 co
15. device personal medical application and industrial control that have lower data rates and transmit or receive data on an infrequent basis The HF LPB200 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 GHz with support for WEP security mode as well as WPA WPA2 Fully self contained serial to wireless functionality Support IEEE802 11b g n Wireless Standards Ultra Low Power for Battery Applications with Excellent Power Save Scheme Support UART SPI USB PWM ADC GPIO Data Communication Interface Support Work As STA AP AP STA Wi Fi Direct Mode Support Smart LinkTM Function APP for smart configuration Support Wireless OTA and Remote Firmware Upgrade Function Support Wakeup on Wireless and Wakeup Local Support TLS SSL and mDNS Protocal Reserve More Than 512KB Flash and 128KB SRAM For User Defined Application Support PCB External Antenna Option Single 3 3V Power Supply Smallest Size 23 1mm x 32 8mm x2 mm FCC CE Certificated Shanghai High Flying Electronics Technology Co Ltd www hi flying com HF LPB200 Low Power WiFi Module User Manual HEY High Flying 1 1 2 Device Paremeters Table 1 HF LPB200 Module Technical Specifications Gass fem Pwamtes 2 Wireless standard Frequency range
16. if required CR Enter Key it s 0x0a or OxOd in ASCII Shanghai High Flying Electronics Technology Co Ltd www hi flying com E HF LPB200 Low Power WiFi Module User Manual HEY Notes When input AT Instruction AT lt CMD gt character will display capital letter automatic and other_parts will not change as you input gt Response Message lt RSP gt op para 1 para 2 para 3 para 4 lt CR gt lt LF gt lt CR gt lt LF gt B Prefix of response message B RSP Response string ok Success ERR Failure op para n Parameters if query command or Error code when error happened CR ASCII Ox0d lt LF gt ASCIII 05208 gt Error Code Table 9 Error Code Describtion 1 A Invalid Command Format Operation Not Permitted 5 2 2 AT Instruction Set Table 10 AT Instruction Set List Description lt null gt NULL Managment Instruction Set Open Close show back function Set Query Wi Fi work mode AP STA APSTA Set module into transparent transition mode Set Query module data transfer mode Query module ID information Query module software version information Restore to factory default setting Re start module Help Configure Parameters Instruction Set Batch Read User Configure Parameters Batch Write Configure Parameters Batch Read Factory Default Configure Parameters Copy User Parameters to Factory Default Parameters WMODE ENTM TMODE MID R RELD E Open Clos
17. lt CR gt lt LF gt lt CR gt lt LF gt B Parameters mode power save mode standby Wi Fi wakeup mode lt gt dslp Deep Sleep Mode mask only available at standby mode Wi Fi wake up condition This is multiple choice option 1111 mean slect all wake up condition lt 0001 broadcast 0010 unicast 0100 mac event lt 1000 multicast timeout timer wakeup parameters after this time module will wake up Unit second 0 wake up trigger no related to timer 4 1s 9 2 2 43 AT WRMID B Function Set module ID m Format Shanghai High Flying Electronics Technology Co Ltd www hi flying com 51 HF LPB200 Low Power WiFi Module User Manual HEY Set Operation AT WRMID lt wrmid gt lt CR gt lt LF gt lt CR gt lt LF gt B Parameters wrmid set module s ID within 20 characters 5 2 2 44 AT ASWD B Function Set Query WiFi Configuration Password m Format Query Operation AT ASWD lt CR gt ok 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 B Parameters aswd WiFi Configuration Password within 20 characters Shanghai High Flying Electronics Technology Co Ltd www hi flying com 52 HF LPB200 Low Power WiFi Module User Manual HEY High Flying 6 PACKAGE INFORMATION 6 1 Recommended Reflow Profile oou 223040 2000 730 MATA Figure 38 Reflow S
18. server right away 5 2 2 23 AT WSSSID B Function Set Query Wi Fi associated AP SSID parameters m 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 ok lt CR gt lt LF gt lt CR gt lt LF gt B Parameters ap sssid AP s SSID Within 32 character 0 2 2 24 AT WSKEY B Function Set Query STA security parameters Shanghai High Flying Electronics Technology Co Ltd www hi flying com 45 HF LPB200 Low Power WiFi Module User Manual HEY m Format Query Operation AT WSKEY lt CR gt ok lt auth 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 ok lt CR gt lt LF gt lt CR gt lt LF gt B Parameters auth Authentication mode OPEN lt gt SHARED lt gt WPAPSK WPA2PSK encry Encryption algorithm lt gt NONE When auth OPEN effective WEP When auth OPEN or SHARED effective TKIP When auth WPAPSK or WPA2PSK effective AES When auth WPAPSK WPA2PSK effective key password ASCII code shall less than 64 bit and greater than 8bit 9 2 2 25 AT WANN B Function Set Query STA network setting Format Query Operation AT WANN lt CR gt ok lt mode address mask gateway gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT WANN lt mode
19. 54 Send Hex Send File Send Received DestPort esas I LocalPort 4001 Send Stop Clear Option Broad ption 5 Rec StopShow Clear Save ption ShowHex Send I Save In Time be Figure 31 TCPUDPDbg Tools Connection Now in transparent transmission mode data can be transferred from CommTools program to TCPUDPDbg program or in reverse You can see data in receiver side will keep same as in sender side 4 3 Typical Application Examples 4 3 1 Wireless Control Application User Device Figure 32 Wireless Control Application Shanghai High Flying Electronics Technology Co Ltd www hi flying com 34 HF LPB200 Low Power WiFi Module User Manual HEY High Flying For this wireless control application HF LPB200 works as Ad Hoc 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 LPB200 module 4 3 2 Remote Management Application HF LPB200 Figure 33 Remote Management Application For this remote management application HF LPB200 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 proce
20. ADC is a second oeder sigma delta converter with up to 16 bit resolution The conversion results can be written to memory through DMA Several modes of operation are available for the ADC The main features of ADC are follows VV ON v V Selectable decimation rates with also set the effective resolution 910 to 16 bits Throughput rate as fast as 4uS 250KHz PGA setting support 2x 1x and 0 5x Reference voltage Vref interface reference 1 2V Offset and gain calibration Embedded temperature sensor with internal or external diode options Interrupt generation and or DMA request GPIO n OUT 0 Set GPIOn as output and output OU Response GPIO OK or GPIO NOK Shanghai High Flying Electronics Technology Co Ltd www hi flying com 206 HF LPB200 Low Power WiFi Module User Manual HEY High Flying 4 OPERATION GUIDELINE 4 1 Configuration via Web Accessing When first use HF LPB200 modules user may need some configuration User can connect to HF LPB200 modules wireless interface with following default setting information and configure the module through laptop Table 8 HF LPB200 Web Access Default Setting Default Setting SSID HF LPB200 IP Address 10 10 100 254 4 1 1 Open Web Management Interface Step 1 Connect laptop to SSID HF LPB200 of HF LPB200 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
21. E Set Get the WIFI Operation Mode AP or STA AT WSKEY Set Get the Security Parameters of WIFI STA Mode AT W5551D Set Get the AP s SSID of WIFI STA Mode AT WSLK Get Link Status of the Module Only for STA Mode AT WSLO 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 37 AT H Instruction for Help Instruction Syntax Format AT Instruction protocol is based on the instruction of ASCII command style the description of syntax format as follow Format Description lt gt Means the parts must be included Means the optional part Command Message AT lt CMD gt op para 1 para 2 para 3 para 4 lt CR gt AT Prefix of command message CMD Command string op Symbol of command operator The command requires parameters input NULL Query the current command parameters setting para n Parameters input for setting
22. HF LPB200 Low Power WiFi Module User Manual HEY High Flying HF LPB200 Low Power WiFi Module User Maunal Overview of Characteristic lt gt Support IEEE802 11b g n Wireless Standards Marvell Solutions for Smart Energy and Home Building Automation Low Power Applications with Excellent Power Save Scheme Support UART SPI USB PWM ADC GPIO Data Communication Interface Support Work As STA AP AP STA Wi Fi Direct Mode Support Smart Link Function APP for smart configuration Support Wireless OTA and Remote Firmware Upgrade Function Support Wakeup on Wireless and Wakeup Local Support FTTPS TLS and mDNS Application Support PCB External Antenna Option Single 3 3V Power Supply Smallest Size 23 1mm x 32 8mm x2 7mm FCC CE Certificated Shanghai High Flying Electronics Technology Co Ltd www hi flying com HF LPB200 Low Power WiFi Module User Manual HEY High Flying TABLE OF CONTENTS OP GR me O EE o E 5 LIST OP TABLES re 6 PFISTORY Se 6 ls PRODUCT OVERVIEW RE 7 EL Gea De TN 7 1 1 1 Device IER 1 1 2 Device PA MUSE aliadas 8 IE INE MAPDICA NON EEE ee EE EEE ee eee ere 8 1 2 Hardware Introducir 9 12 PIS DEI Nas 9 2 1 1 Electrical Characteristics nisi iinet nition iis 11 212 Mechanical ZE tes 11 219 On board Chip Antenna ara 12 2 1 4 External Antenna nds 13 1 EVNE 13 ERO ENN 15 2 2 VYPICAl ADDICAUON usina tii dde 16 2 2 1 Hardware Typic
23. HF LPB200 module supports following Shanghai High Flying Electronics Technology Co Ltd www hi flying com 2 04 x HF LPB200 Low Power WiFi Module User Manual HEY WEP WPA PSK TKIP WPA PSK AES WPA2 PSK TKIP WPA2 PSK AES 9 0 3 5 Multi TCP Link Connection When HF LPB200 module configured as TCP Server it supports Multi TCP link connection and maximum eight TCP clients permit to connect to HF LPB200 module User can realize multi TCP link connection at each work mode Multi TCP link connection will work as following structure Upstream All dates from different TCP connection or client will be transmitted to the serial port as a sequence 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 WIFI 88 User ES Device 1 e CH d ep leel dei Lo Te User BO rips AA re ibo User Device 3 Figure 15 Multi TCP Link Data Transmition Structure User Device 3 6 Power Save Scheme HF LPB200 module can work at three modes based on different power save scheme B Normal Mode Active Sleep AP Associated Wi Fi ON OFF based on internal control B Wi Fi Wakeup Mode Standby AP Associated MCU OFF Wi Fi wakeup B Deep Sleep Mode Shutdown Non AP Associated Wi Fi Shut dwon MCU Sleep Pin Timer Wakeup Normal Mode Active Sleep Norma
24. O ion P 41 42 UART Communication Pin 43 4 MEA Wi Fi Status nLink 0 Wi Fi Linked 1 No WIFI Linked No connect if not use 4 Module Boot Up nReady 0 Boot up OK Indicator Shanghai High Flying Electronics Technology Co Ltd www hi flying com GPI013 No connect if not use 1 Boot up No OK Also used as hardware watch dog trigger signal No connect if not use 10 HF LPB200 Low Power WiFi Module User Manual HEY High Flying 45 Restore nReload IPU Module will restore factory Configuration default after set this pin 0 more than 1s then set 1 AMA 4 No connect Module Reset EXT RESET B Low effective reset input 1 Detailed GPIO functional application refers ro Chapter 2 GPIO Function Section 2 For customer which plan migrate from HF LPB to HF LPB200 please pay attention Pin 35 Pin 46 is NC for HF LPB200 2 1 1 Electrical Characteristics Absolute Maximum Ratings Condition Storage temperature range Supply voltage O Vottageonanyvopn TO ESD Human Body Model HEM Jager ESD Charged Device Model COM TAMB 25 0 Power Supply amp Power Consumption Parameter Condition Max Operating Supply voltage e 5 308 E250 input high voltage DE inputlow voltage fo input leakage curet fvooon input capacitance 3 3 Pu
25. P Security Setting Upgrade SW Encryption Mode Restart Restore Network Parameters Setting IP Address DHCP Gateway Setting Subnet Mask DHCP Server ibn AECF23FF0020 2412MHz channel 1 y Figure 20 AP Setting Page Shanghai High Flying Electronics Technology Co Ltd www hi flying com 29 HF LPB200 Low Power WiFi Module User Manual HE High Flying 4 1 6 Other Setting Page HF LPB200 usually works at data transparent transmission mode At this mode the user device which connected with HF LPB200 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 Serial Port Parameters Setting System Baud Rate Work Mode joris STA Setting cany De AP Setting DEN Other Setting CISRIS Account Upgrade SW Network Parameters setting Restart Protocol Restore Port ID Server Address TCP Time Out Setting Figure 21 Other Setting Page 4 1 7 Account Management Page This page set web server s user name and password Set a New Account and Password System Work Mode STA Setting CETE S AP Setting Current Password Other Setting New User Name Account Upgrade SW Restart Restore New Password Figure 22 Account Page Shanghai High Flying Electronics Technology Co Ltd www hi flying com 30 HF LPB200 Low Power WiFi Module User Manual HE High Flying 4 1 8 Upgrade Software Page
26. PIO Pin Mapping Table iii lid 25 Table 8 HF LPB200 Web Access Default Gettmg eese 27 Table 9 Error Code Describtion nennen nnne nenne nne nnn nnne nnn senis 38 Table 10 AT Instruction Geteste 38 Table 11 Reflow Soldering Harameter 53 HISTORY Ed V1 0 Created on 5 20 2013 Shanghai High Flying Electronics Technology Co Ltd www hi flying com HF LPB200 Low Power WiFi Module User Manual HEY High Flying 1 PRODUCT OVERVIEW 1 1 General Description The HF LPB200 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 USB GPIO interface for data transfer HF LPB200 integrate MAC baseband processor RF transceiver with power amplifier in hardware and all Wi Fi protocol and configuration functionality and networking stack in embedded firmware to make a fully self contained 802 11b g n Wi Fi solution for a variety of applications HF LPB200 support AP STA wireless networking and support Wi Fi Direct mode HF LPB200 also provides wireless and remote firmware upgrade which satisfied all kinds of application requirement HF LPB200 support wakup on wireless feature which make it a very suitable solution for battery applications with excellent power save scheme The HF LPB200 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
27. Sleep ON Sleep RQ 3 3V GND Figure 8 HF LPB200 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 When module connects to AP AP associated this pin will output 0 This signal used to judge if module already at WiFi connection status Thers is pull up resister internal and no external pull up required If nLink function not required can leave this pin open 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 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 Shanghai High Flying Electronics Technology Co Ltd www hi flying com 16 HF LPB200 Low Power WiFi Module User Manual HEY Sleep RQ Module Pin Sleep Control Input The user should de assert this pin low
28. T TH SEW MMO fd HAG TAO BO BRA BIO Serial COM3 3 1 2647 90 VT100 BF Figure 36 Switch to Configuration Mode Notes 1 When user input No Enter key required the UART port will display feedback information a and not display input information as above UART display 2 Any other input or wrong step to UART port will cause the module still works as original mode transparent transmission Shanghai High Flying Electronics Technology Co Ltd www hi flying com 36 HF LPB200 Low Power WiFi Module User Manual HEY High Flying 5 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 9 2 1 AT H 0k AT NONE command reply 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 WMOD
29. al Application nennen nnne 16 2 2 2 Internal MCU Hardware teature nennen nnne nennen 17 2235 SOMWare SDK ArchitectU G vvs 18 3 FUNCTIONAL DESCRIPTION H 19 3 1 Wireless NelWoOrkiNg EI 1 000 nn 19 3 1 1 Basic Wireless Network Based On AP Infrastructure esses 19 3 1 2 Wireless Network Based On AbxrGIA 19 91 9 Wi Fi Direct NO WO Kid 20 3 2 Work Mode Transparent Transmission Mode eere eese 20 2 9 UART Eug 21 2 FIN IN 21 3 5 Multi TCP Link Connection cisne 22 3 6 PT Save STEMME rene 22 Jl Parameters CohnlIgurdtion sisi 24 30 Firmware UNN 24 29 FUNCION parisen o 25 3 10 Analog Digital Converter ADC Function x axrnnurnnnnnnnnnnnnnnvnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnenuenn 26 4 OPERATION GUIDEEINE Le 27 4 1 Configuration via Web Accessing rrarrnnrnnnnnnnnnnnnnnnnnnannnnnnnnnnnnnnnnnnnnnnnnnnnnnenunnnnnnennunnunnnnr 27 4 1 1 Open Web Management Interface onnnennnnnnnenennnesennnnsrrrrrrrnnrerrsnrsrrrrrrrererrsrrnrenrnne 27 2 OY SUC 0 SJ 27 4 1 3 Work Mode agoe EE ENEE NENNEN 28 ANA STA Seng o EE 28 Shanghai High Flying Electronics Technology Co Ltd www hi flying com HF LPB200 Low Power WiFi Module User Manual HEY High Flying 2 15 AF End ue Ne 29 210 Other Setting Pag renne 30 4 1 7 Account Management Page RENE ENNEN 30 4 1 8 Upgrade Software Hade nennen nnne nnne nnne senes ae i nasse sra sa
30. and transmit data withour router HF LPB200 module support following Wi Fi Direct networking gt 1 1 P2P Networking gt 1 N P2P Networking TBD En c EB mea am a BUST 15000 mr c dE P2P Group Owner P2P Client Phone HF LPB200 Figure 13 HF LPB200 1 1 P2P Networking AS P2P Client TV mee npa gt 46 Bg por Client Projector P2P Group Owner HF LPB200 Le P2PClient Camera 2 PREEN ku dech A eeng Figure 14 HF LPB200 1 N P2P Networking 3 2 Work Mode Transparent Transmission Mode HF LPB200 module support serial interface transparent transmission mode The benefit of this mode is achieves a plug and play serial data port and reduces user complexity furthest In this mode user should only configure the necessary parameters After power on module can automatically connect to the default wireless network and server Shanghai High Flying Electronics Technology Co Ltd www hi flying com 20 HF LPB200 Low Power WiFi Module User Manual HEY High Flying 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 fu
31. anghai High Flying Electronics Technology Co Ltd www hi flying com 14 HF LPB200 Low Power WiFi Module User Manual HEY High Flying Table A HF LPB200 Evaluation Kit Interface Description External UART to USB debug interface For PC without RS232 need load USB2TTL driver Can be power input nReady Module Bootup Ready Indicator nReady On low Module bootup OK Off high Mouule botup failed Twinkle Remote Upgrade Ongoing Sleep ON Module asleep or awake Indicator On low Module in shundown deep sleep status Off high Mouule in normal status Twinkle Bootloader Upgrade Ongoing Button Used to reset the module nReload Restore factory configuration after push this pin more than 3s WPS Button Pin Sleep Control more than 1s to put module in standby mode Sleep ON 2 1 6 Order Information Base on customer detailed requirement HF LPB200 series modules provide different variants and physical type for detailed application HF LPB200 XX Flash 0 No SPI Flash 1 Internal 1MB SPI Flash Antenna 0 External I PEX 1 Internal PCB Ant Product Number LPB200 Vendor Information HF Figure 7 HF LPB200 Order Information Shanghai High Flying Electronics Technology Co Ltd www hi flying com 15 HF LPB200 Low Power WiFi Module User Manual HEY High Flying 2 2 Typical Application 2 2 1 Hardware Typical Application User Board HF LPB200 nReset
32. ck input option EEGEN GPIO27 Three Functions 1 SPI Master Slave 2 UART w flow ct a User need get HF LPB200 SDK to configure these GPIOs to different functions Please contact high flying technical people to acquire more information Shanghai High Flying Electronics Technology Co Ltd www hi flying com 25 HF LPB200 Low Power WiFi Module User Manual HEY High Flying When module works at GPIO mode PC and other equipts can setup connection TCP UDP through Wi Fi then read write GPIO information through command gt gt gt gt gt gt GPIO IN Set GPIOn as input Response GPIO OK or GPIO NOK 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 SW Set GPIOn as output and switch the output status Response GPIO OK or GPIO NOK GPIO PWM m1 m2 Set GPIOn output a wave m1 is high duration and m2 is low duration Time unit is ms and minimal is 10ms Response GPIO OK or GPIO NOK GPIO n GET Read GPIOn status Response 10 11 00 01 means input low input 75 7 55 high output low output high Notes Some SW version may not include these GPIO command set please contact with high flying technical people 3 10 Analog Digital Converter ADC Function HF LPB200 integrate two identical ADCs ADCO and ADC1 which be programmed separately The
33. e and open serial port connection Figure 28 CommTools Serial Debug Tools PC2 open TCPUDPDbg program and create a new connection If HF LPB200 configured as Server mode TCPUDPDbg Tools shall create Client mode connection Or otherwise create a Server mode connection Operate O View V Windows Help H Language CreateConnn WX Createserver 3B startServer 4 O S2 connect SE SDisconnall Bi Set CreateConnection C a CreateServer 5 AE StartServer T DisconnectAll A DeleteConnectioni E DeleteAllConn L Exit x OSX MRK Of D Figure 29 TCPUDPDbg Tools Create Connection Shanghai High Flying Electronics Technology Co Ltd www hi flying com 33 HF LPB200 Low Power WiFi Module User Manual HFA High Flying Then setting the TCP UDP connection parameters Default as following Create Connection E xx LocalPort Auto SpeciaJ1001 AutoConn Eve E 5 Send When Conn Eve ms Figure 30 TCPUDPDbg Tools Setting Then click Create button to create a connection Operate O View V Windows W Help H Language x CreateConnn Ki createserver V StartServer ZS 03 S Connect x 3 Disconn ll S DeleteConn Se 2 E Properties BOX 32 10 10 100 254 8899 LES E Al Client Mode 6 10 10 100 254 8899 E Server Mode DestIP Send tuoSend Eve roo ms fio 10 100 2
34. e characters of network of this type are that AP is the centre and all communication between STAs is transmitted through the AP The figure following shows such type of networking User Device User Device E Figure 11 HF LPB200 Basic Wireless Network Structure 3 1 2 Wireless Network Based On AP STA HF LPB200 module support AP STA network mode means module support one AP interface and one STA interface at the same time as following figure User Device HF LPB200 STA e o La we ss a w oun Figure 12 HF A11 AP STA Network Structure Shanghai High Flying Electronics Technology Co Ltd www hi flying com 19 HF LPB200 Low Power WiFi Module User Manual HEY When module enables AP STA function Module s STA interface can connect with router and connect to TCP server in the network At the same time module s AP interface is also active and permit phone PAD to connect through TCPB then phone PAD can control user device and and setting the module parameters The advantage of AP STA mode is gt Users can easily setting and track user device through Phone PAD and not change the orginal network setting gt Users can easily setting module s parameters through WiFi when module works as STA mode 3 1 3 Wi Fi Direct Network Wi Fi Direct standard permits the wireless connection without AP router Like blue tooth this standard use point to point interconnection and all devices connect each other
35. e show back function VER Query module software version information Z Restartmodue 00 AA Shanghai High Flying Electronics Technology Co Ltd www hi flying com 38 HF LPB200 Low Power WiFi Module User Manual HEY High Flying UART Instruction Set UART Set Query serial port parameters UARTTE Set Query UART free frame triggerf time between two bytes SEND Send Data at Command Mode RECV PING Network Ping Instruction NETP TCPLK TCPTO TCPDIS WSKEY WSSSID WANN WSMAC WSLK WSLQ WSCAN WSDNS LANN AP WAKEY WAMAC WADHCP WADMN WEBSWITCH PLANG WEBU UPURL UPFILE UPST MSLP Others Instruction Set oet module ID 9 2 2 1 AT E B Function Open Close show back function B Format AT E lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt Shanghai High Flying Electronics Technology Co Ltd www hi flying com 39 HF LPB200 Low Power WiFi Module User Manual When HF LPB200 module firstly switch from transparent transmission to configuration mode show back status is open input AT E to close show back function input AT E again to open show back function 9 2 2 2 AT WMODE m Function Set Query WIFI work mode Format Query Operation AT WMODE lt CR gt ok lt mode gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT WMODE lt mode gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt B Parameters mode Wi Fi work mode
36. gt lt CR gt lt LF gt When operate this command module will restore to factory default setting and reboot 5 2 2 8 AT Z Function Re start module Format AT Z lt CR gt 5 2 2 9 AT H m Function Help B 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 B Parameters command help command introduction 5 2 2 10 AT CFGRD B Function Batch Read User Configure Parameters m Format Query Operation AT CFGRD lt CR gt Shanghai High Flying Electronics Technology Co Ltd www hi flying com 44 HF LPB200 Low Power WiFi Module User Manual HEY ok lt config gt lt CR gt lt LF gt lt CR gt lt LF gt B Parameters config the first two bytes means the length of configuration parameters 5 2 2 11 AT CFGWR B Function Batch Write User Configure Parameters m Format Set Operation AT CFGWR lt config gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt B Parameters config the first two bytes means the length of configuration parameters 5 2 2 12 AT CFGFR B Function Batch Read Factory Default Configure Parameters m Format Query Operation AT CFGFR lt CR gt ok lt config gt lt CR gt lt LF gt lt CR gt lt LF gt B Parameters config the first two bytes means the length of configuration parameters 5 2 2 13 AT CFGTF B Function Copy User Parameters to Factory Default Parameters B Format Q
37. i ON AP Associated lt 250mA Active Sleep DTIM 100ms No Data Active Sleep Assoiated DTIM 100ms No Data Active Sleep DTIM 100ms Date 1KB s In addition for Wi Fi Wakeup Deep Sleep mode module provides three 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 B Pin Sleep RQ Wake Up B Timeout Wake Up m Wi Fi Wake Up Pin Wake Up Option allows an external microcontroller to determine when HF LPB200 should sleep and when it should wake by controlling the Sleep RQ and Sleep ON pin at the Wi Fi wakeup mode Deep Sleep 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 Shanghai High Flying Electronics Technology Co Ltd www hi flying com 205 x HF LPB200 Low Power WiFi Module User Manual HEY Timeout Wake Up Option allows the sleep timeout period to be configured through the use of AT Instruction In this option the module will exit sleep based on the lt Timeout gt AT Instruction parameters Wi Fi Wake Up Option only applicatable for Wi Fi Wakeup mode which provide the flexibility for network server or user to control and manage the Wi Fi device to go into power save mode but still keep the Wi Fi link associated Refer to AT Instruction to know more about the WiFi wakeup c
38. l mode means Wi Fi circuitry works at IEEE PS mode and MCU circuitry work at normal mode That s the default working mode for HF LPB200 to communication with outside and no data transceiving latency Shanghai High Flying Electronics Technology Co Ltd www hi flying com 292 HF LPB200 Low Power WiFi Module User Manual HEY Wi Fi Wakeup Mode Standby allows the MCU circuitry to be powered down and still keep Wi Fi AP associated which save more power compared with normal mode and module can be wake up through Wi Fi at network server side Deep Sleep Mode Shutdown allows the Wi Fi circuitry and MCU 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 Deep sleep mode can trigger Sleep RQ pin to go in The Difference between Wi Fi Wakeup and Deep Sleep mode as follows Table 6 Difference between Wi Fi Wakeup Mode and Standb Deep Sleep Mode module Status Wake Up Method MCU Curent UART GPIO Timeout AT Com Wi Fi_ Following typical measurement parameters can be used for select suitable power save scheme based on the real application case Table 7 Power Consumption with Different Power Save Mode Deep Sleep Wi Fi MCU Shutdown 100uA 100uA Wi Fi Wakeup MCU Shundown lt 200mA Normal WiF
39. listed in the configure file General config txt file format as following example URL http www hi flying com ladmin down 20133181764087523 zip Shanghai High Flying Electronics Technology Co Ltd www hi flying com 24 HF LPB200 Low Power WiFi Module User Manual HEY Direct Download and Upgrade AT UPURL command to set the remote directory and file name such as AT UPURL http www hi flying com ladmin down Job Dun After excuate this command the module will directly download the Ipb bin file from remote directory and start upgrade Notes please contact with high flying technical people before upgrade firmware or maybe damage the module and can t work again 3 9 GPIO Function HF LPB200 module can provide maximum 17 GPIO pins which include following configurable interface application B Two A D analog input pins dual channel 16 bit ADC with sample rate upto 250KHz Four PWM ouput pins 4 channel 32 68KHz Crystal input for RTC function support Two Pin sleep control pins for low power application One WPS functional pin One 2 interace One General Serial Communication Port which can configured as e Master Slave SPI Interface e UART2 Interface with flow control e 12S audio interface HF LPB200 GPIO pin map as following table Table 7 HF LPB200 GPIO Pin Mapping Table GPIO Function1 Function2 Default Setting Describtion Function Pins 16 Bits ADC input pins Dual ADC input RTC clo
40. lldowm strength Analog input range Analog output range 2 1 2 Mechanical Size Pullup strength 3 y HF LPB200 modules physical size Unit mm as follows Shanghai High Flying Electronics Technology Co Ltd www hi flying com 11 HF LPB200 Low Power WiFi Module User Manual HFA High Flying RF CONNNECTOR Figure 3 HF LPB200 Mechanical Dimension HF LPB200 Module PCB symbol size mm as follows 32 8 Keep out area for PCB antenna 3 4 Figure 4 HF LPB200 PCB Symbol Size 2 1 3 On board Chip Antenna HF LPB200 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 Shanghai High Flying Electronics Technology Co Ltd www hi flying com S HF LPB200 Low Power WiFi Module User Manual HEY gt Antenna must away from metal or high components at least 10mm gt Antenna can t be shieldedby any meal enclosure All cover include plastic shall away from antenna at least 10mm Figure 5 Suggested Module Placement Region High Flying suggest HF LPB200 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 2 1 4 External Anten
41. lly 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 B Security Mode B Encryption Key TCP UDP Linking Parameters B Protocol Type m Link Type Server or Client m Target Port ID Number m Target Port IP Address gt Serial Port Parameters B Baud Rate Data Bit Parity Check Bit Stop Bit Hardware Flow Control 3 3 UART Frame Scheme HF LPB200 support UART free frame function Module will check the intervals between any two bytes when reciving UART data If this interval time exceeds defined value 50ms default HF LPB200 will think it as the end of one frame and transfer this free frame to WiFi port or HF LPB200 will receive UART data untill 1400 bytes then transfer 1400 bytes frame to WiFi port HF LPB200 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 3 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
42. na HF LPB200 module supports internal antenna and external antenna option for user dedicated application If user select external antenna HF LPB200 modules must be connected to the 2 4G antenna according to IEEE 802 11b g n standards The antenna parameters required as follows Table3 HF LPB200 External Antenna Parameters tem Parameters Frequency range 2 4 2 5GHz 50 Ohm VSWR 2 Max 10dB Max Connector Type PEX or populate directly 2 1 5 Evaluation Kit High Flying provides the evaluation kit to promote user to familiar the product and develop the detailed application The evaluation kit shown as below user can connect to HF LPB200 module with the RS 232 UART RS485 USB Internal UART USB convetor or Wireless port to configure the parameters manage the module or do some functional tests Detailed EVK applicarion pls refer to HF LPB200 SDK user guide Shanghai High Flying Electronics Technology Co Ltd www hi flying com i ee HF LPB200 Low Power WiFi Module User Manual HF A High Flying TAE COL IO Fal Ree Ree n eee FAA mnm Jee Be Eu maT ral esd Es Ux 4 T D wt E 8 WPS nHemei Sleep AQ nRelced MC E d EDME Power Sleep ON nReady Figure 6 HF LPB200 Evaluation Kit Notes User may needs download USB 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 Sh
43. na ns 31 212 Resta PAGE E LER 31 A o Po 31 4 2 HF LPB200 Usage Introduction ama a 32 4 2 1 Software Debug TOO EE 32 272 NTN 32 42 3 Default Parameter SCulinG cuina taaan 33 ALA Module D 33 4 3 Typical Application Examples axraxnnnnnnrnnnnunnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnen 34 4 3 1 Wireless Control Application nnns 34 4 3 2 Remote Management Application sesescessssesseseennnen memes 35 4 3 3 Transparent Serial Port Application 0nnannnnannnnennnnnnnnnnnnnensrrnrnrrnnnnrnrsrnnrerrrnnrnrnrrnrees 35 5 AT INSTRUCTION INTRODUCTION 1 eee RE RE ENER nen n nnn nnn nnn nn nnn nnn nnn nnn nns 36 94 AOU UI NOTE 36 5 1 1 Switch to Configuration Mode enne nnn nennen nnns 36 5 2 AIF Instruction e UE 37 5 2 1 Instruction Syntax FO Matan iaa ao abolir 37 22 NEA U ON G EE recia 38 AAN PRE 39 5222 ARAN MODE eege eege 40 TEN 40 SALE EN TIO tee 40 A 40 9 2 25 NER 41 ET ATTEN hj 41 A EEE 41 SE PN 41 ZN AAFC PGR EE 41 AE SS ere 42 ER PNG EE 42 PU Eque cu A e cess EEE ERE EEE 42 A AA o 42 A An PE E RA 43 ASEO EEE EE EE 43 PN TREN 43 VI NU c M 44 EM SEMEN LE EE 44 2 2 20d MTP 44 2 M A LE ALO EE 44 VL O O AA A ener ee teeter DENM 45 Shanghai High Flying Electronics Technology Co Ltd www hi fl
44. nfigure 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 18 Work Mode Page 4 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 HF LPB200 Low Power WiFi Module User Manual Network Name SSID Note case sensitive system Encryption Method Work Mode Obtain an IP address automatically STA Setting IP Address AP Setting Subnet Mask Other Setting Gateway Address Account Upgrade SW DNS Server Address Restart Restore EX English mms Scan Dissi EX Figure 19 STA Setting Page 4 1 5 AP Setting Page p High Flying 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 Work Mode Network Name SSID STA Setting Module MAC Address AP Setting Select Channel Other Setting eo Wireless A
45. oldering Profile Table 11 Reflow Soldering Parameter Reflow Time Time of above 220 35 55 sec Peak Temp Note 1 Recommend to supply N2 for reflow oven 2 N2 atmosphere during reflow O2 lt 300ppm 6 2 Device Handling Instruction Module IC SMT Preparation 1 Shelf life in sealed bag 12 months at lt 30 C and lt 60 relative humidity RH 2 After bag is opened devices that will be re baked required after last baked with window time 168 hours 3 Recommend to oven bake with N2 supplied 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 10 RH with vacuum packing 7 f 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 253 HF LPB200 Low Power WiFi Module User Manual 6 3 Shipping Information TRAY Size 420 245 34 mm y WI D NODI WW M NARA Xx i iN T y ht i UNG if Vi
46. ommand 3 7 Parameters Configuration HF LPB200 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 LPB200 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 3 8 Firmware Update HF LPB200 module supports two on line upgrade methods B Webpage Wi Fi Upgrade B Remote Upgrade Webpaged based Wi Fi upgrade please refer to 3 1 8 firmware upgrade page user can upload firmware file from PC to HF LPB200 HF LPB200 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 hitp www hi flying com admin 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 upgrade After excuate this command the module will firstly download configuration file config txt then download the upgrade file base on the URL address
47. ount Upgrade SW KD Restart Restore Figure 25 Restore Page 4 2 HF LPB200 Usage Introduction 4 2 1 Software Debug Tools High Flying use two common software tools debugging and applying HF LPB200 module User can also select other tools used to debug serial port m Serial Debugging Software ComTools ComTools exe Ethernet Debugging Software TCPUDPDbg ZC TUPUDPDbg exe 4 2 2 Network Connection User can select two methods to connect HF LPB200 module base on dedicated application gt Use HF LPB200 STA interface HF LPB200 and debug PC2 connect to a wireless AP another PC1 or user device connect to HF LPB200 module with serial port PCT WiFi PEZ Figure 26 STA Interface Debug Connection gt Use HF LPB200 AP interface Debug PC2 connect to HF LPB200 through wireless connection another PC1 or user device connect to HF LPB200 module with serial port Shanghai High Flying Electronics Technology Co Ltd www hi flying com NR HF LPB200 Low Power WiFi Module User Manual High Flying Figure 27 AP Interface Debug Connection 4 2 3 Default Parameter Setting m Default SSID HF LPB200 Deault security mode open none User UART parameter setting 115200 8 1 None Default network parameter setting TCP Server 8899 10 10 100 254 Module IP address dhcp 0 0 0 0 0 0 0 0 0 0 0 0 4 2 4 Module Debug PC1 open Comm Tools program setting the same serial port parameters with HF LPB200 modul
48. ssing Also remote TCP server can send command to control and manage the user device through the wireless network 4 3 3 Transparent Serial Port Application For this transparent serial port application two HF LPB200 modules connect as below figures to build up a transparent serial port connection HF LPB200 works as Ad Hoc mode to connect each other User Device User Device Figure 34 Transparent Serial Port Application Shanghai High Flying Electronics Technology Co Ltd www hi flying com 35 HF LPB200 Low Power WiFi Module User Manual High Flying 5 AT INSTRUCTION INTRODUCTION 5 1 Configuration Mode When HF LPB200 power up it will default works as transparent transmission mode then user can switch to configuration mode by serial port command HF LPB200 UART default parameters setting as below figure Data Bits Parity Mone e Stop ji CTSRTS Disable Figure 35 HF LPB200 Default UART Port Parameters In configuration mode user can setting the module through AT instruction set which cover all web page setting function 5 1 1 Switch to Configuration Mode Two steps to finish switching from transparent transmission mode to configuration mode gt UART input after module receive and feedback a as confirmation gt UART input a after module receive a and feedback ok to go into AT instruction set configuration mode E Serial COM3 Secure CR
49. t Query AP webpage domain name m Format Query Operation AT WADMN lt CR gt ok lt domain_name gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT WADMN lt domain_name gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt B Parameters Domain name Webpage domain name within 20 characters can t all numbers Shanghai High Flying Electronics Technology Co Ltd www hi flying com 49 HF LPB200 Low Power WiFi Module User Manual HEY High Flying 5 2 2 37 AT PLANG B Function Set Query webpage language option m Format Query Operation AT PLANG lt CR gt ok lt language gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT PLANG lt language gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt B Parameters language webpage s language CN Chinese Version Default EN English Version 9 2 2 38 AT UPURL m Function Set Query remote upgrade URL address m Format Query Operation AT UPURL lt CR gt ok lt url gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT UPURL lt url filename gt CR ok lt CR gt lt LF gt lt CR gt lt LF gt B Parameters the upgrade file url address the last charter shall be within 20 characters filename the upgrade file name it s optional and not saved parameter If provide this file name here the module will start upgrade right away 9 2 2 39 AT UPFILE B F
50. tored 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 56
51. uery Operation AT CFGTF lt CR gt ok lt status gt lt CR gt lt LF gt lt CR gt lt LF gt B Parameters status feedback operation status 5 2 2 14 AT UART B Function Set Query serial port parameters B 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 ok lt CR gt lt LF gt lt CR gt lt LF gt B Parameters baudrate 300 600 1200 1800 2400 4800 9600 19200 38400 57600 115200 data bits Shanghai High Flying Electronics Technology Co Ltd www hi flying com 42 HF LPB200 Low Power WiFi Module User Manual High Flying lt 8 stop bits 1 2 parity lt gt NONE EVEN lt gt ODD Flowctrl CTSRTS NFC No hardware flow control lt gt FC hardware flow control 9 2 2 15 AT UARTTE B Function Set Query UART free frame trigger time between two bytes B 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 ok lt CR gt lt LF gt lt CR gt lt LF gt m Parameters mode fast free frame trigger time between two bytes is 10ms normal free frame trigger time between two bytes is 50ms 5 2 2 16 AT SEND m Function Send Data at Command Mode m Format AT SEND lt data_lenth
52. unction Set Query remote upgrade configure file name B Format Query Operation AT UPFILE lt CR gt ok lt filename gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT UPFILE lt filename gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt B Parameters filename the upgrade configure file name within 20 characters 5 2 2 40 AT UPST B Function Start remote upgrade m Format Shanghai High Flying Electronics Technology Co Ltd www hi flying com 50 HF LPB200 Low Power WiFi Module User Manual Query Operation AT UPST lt CR gt ok lt log gt lt CR gt lt LF gt lt CR gt lt LF gt B Parameters log feedback the status of remote upgrade Note After execute this command the HF LPB200 will automatic start upgrade base on the setting of UPURL UPFILE command contents 9 2 2 41 AT WEBU B Function Set Query webpage user name and password m Format Query Operation AT WEBU lt CR gt ok lt username password gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT WEBU lt username password gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt B Parameters username User Name within 15 characters not support empty password password within 15 characters support empty 5 2 2 42 AT MSLP B Function Set power save mode Wi Fi wake up and deep sleep parameters Format Set Operation AT MSLP lt mode mask timeout gt
53. unction Set Query AP Wi Fi secruity parameters B Format Query Operation AT WAKEY lt CR gt ok lt auth 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 ok lt CR gt lt LF gt lt CR gt lt LF gt B Parameters auth include Shanghai High Flying Electronics Technology Co Ltd www hi flying com 48 HF LPB200 Low Power WiFi Module User Manual lt gt 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 5 2 2 34 AT WAMAC B Function Query AP MAC address parameters Format Query Operation AT WAMAC lt CR gt ok lt mac_address gt lt CR gt lt LF gt lt CR gt lt LF gt B Parameters mac address AP s MAC address Note Module AP mode s MAC address is related to STA mode s MAC address If user need changeto others please contact with high flying technical people 5 2 2 35 AT WADHCP B Function Set Query AP DHCP server status Format Query Operation AT WADHCP lt CR gt ok lt status gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT WADHCP lt status gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt B Parameters status AP s DHCP server function status lt on DHCP Server Open off DHCP Server Close 5 2 2 36 AT WADMN B Function Se
54. ying com HF LPB200 Low Power WiFi Module User Manual HEY High Flying UA E E Ao o mo en UNE 45 9222A IU Pol du eH 45 22 S uU RR A 46 22 20 SS O A PNE 46 LT AFEN L e o desee 47 E ATEN EE a 47 22 MUNN 47 AS H E MK AE RE LE 47 5 a ALAN a eee eee 48 E AAA NIE Iu e A 48 AT A EEE EE 48 EE 49 5223 OA o A 49 TE FVN 49 221 ME E EE 50 EUST MEOS uU EE 50 AA PUPPE a E 50 NN UP Te 50 oM EE WE E E 51 SALAA ATIM EP A 51 A 51 PUE APRA WD ais 52 6 PACKAGE INFORMATION rei UE S ERRRER EFE REPE eeg 53 6 1 Recommended Reflow nnn nnn nnn 53 6 2 Device Handling Instruction Module IC SMT Preparation 53 63 Shipping lh Me Nun e E 54 APPENDIX A HW REFERENCE DESIGN revnnrnernnrnnennnrnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnennnnnunnnenn 55 APPENDIX B CONTACT INFORMATION i esunnurnnennnnnnnnnnnnnnnnnnnnnnnnnennnnnnnnnnnnnnennnnnnnnnnnnnnnnnennunnnnenn 56 Shanghai High Flying Electronics Technology Co Ltd www hi flying com HF LPB200 Low Power WiFi Module User Manual High Flying LIST OF FIGURES Figure 1 Figure 2 Figure 3 Figure 4 Figure 5 Figure 6 Figure 7 Figure 8 Figure 9 Figure 10 Figure 11 Figure 12 Figure 13 Figure 14

Download Pdf Manuals

image

Related Search

Related Contents

EPP-600  Senseo Senseo HD7860  User manual    Visualizza/apri - POLITesi  Untitled - Aviasport  PROGRAMMING GUIDE - TVS-E  Digitaler Servoverstärker SERVOSTAR® 400  InLine 0.5m, SFF-8644 - SFF-8088  Pairtrade Finder (PTF) Version 2.97 User Manual  

Copyright © All rights reserved.
Failed to retrieve file