HF-LPB200 Low Power WiFi Module User Manual HF-LPB200 Low Power WiFi Module User Maunal V 1.0 Overview of Characteristic Support IEEE802.
HF-LPB200 Low Power WiFi Module User Manual TABLE OF CONTENTS LIST OF FIGURES ...................................................................................................................................5 LIST OF TABLES.....................................................................................................................................6 HISTORY ...............................................................................................................................................
HF-LPB200 Low Power WiFi Module User Manual 4.1.5. AP Setting Page ................................................................................................................30 4.1.6. Other Setting Page ...........................................................................................................31 4.1.7. Account Management Page..............................................................................................31 4.1.8. Upgrade Software Page ...............................
HF-LPB200 Low Power WiFi Module User Manual 6. 5.2.2.23. AT+WSSSID ..............................................................................................................46 5.2.2.24. AT+WSKEY ...............................................................................................................46 5.2.2.25. AT+ WANN ................................................................................................................47 5.2.2.26. AT+ WSMAC ....................................
HF-LPB200 Low Power WiFi Module User Manual LIST OF FIGURES Figure 1. HF-LPB200 Demo...............................................................................................................9 Figure 2. HF-LPB200 Pins Map .........................................................................................................9 Figure 3. HF-LPB200 Mechanical Dimension ..................................................................................12 Figure 4. HF-LPB200 PCB Symbol Size .........
HF-LPB200 Low Power WiFi Module User Manual LIST OF TABLES Table 1 HF-LPB200 Module Technical Specifications .........................................................................8 Table 2 HF-LPB200 Pins Definition ....................................................................................................10 Table 3 HF-LPB200 External Antenna Parameters ................................................. 错误!未定义书签。 Table 4 HF-LPB200 Evaluation Kit Interface Description ......................
HF-LPB200 Low Power WiFi Module User Manual 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 Low Power WiFi Module User Manual 1.1.2 Device Paremeters Table 1 Class Wireless Parameters HF-LPB200 Module Technical Specifications Item Parameters Certification Wireless standard Frequency range FCC/CE 802.11 b/g/n 2.412GHz-2.484GHz 802.11b: +16 +/-2dBm (@11Mbps) 802.11g: +14 +/-2dBm (@54Mbps) 802.11n: +13 +/-2dBm (@HT20, MCS7) 802.11n: +12 +/-2dBm (@HT40, MCS7) 802.11b: -93 dBm (@11Mbps ,CCK) 802.11g: -85 dBm (@54Mbps, OFDM) 802.
HF-LPB200 Low Power WiFi Module User Manual 1.2. Hardware Introduction Figure 1. 1.2.1. HF-LPB200 Demo Pins Definition Figure 2. HF-LPB200 Pins Map Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.
HF-LPB200 Low Power WiFi Module User Manual Table 2 Pin 1,17,32,48 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 18 19 20 21 22 23 24 25 26 27 28 29 30 31 33 34 35 36 37 38 39 40 41 42 43 Describtion Ground JTAG Function JTAG Function JTAG Function JTAG Function JTAG Function Sleep Control Sleep Control +3.
HF-LPB200 Low Power WiFi Module User Manual Indicator 45 46 47 Restore Configuration Module Reset nReload I,PU N.C EXT_RESETn I,PU “1” – Boot-up No OK; Also used as hardware watch dog trigger signal. No connect if not use.; Module will restore factory default after set this pin “0” more than 1s, then set “1”. No connect “Low” effective reset input. Notes: 1. Detailed GPIO functional application refers ro Chapter 2 “GPIO Function” Section. 2.
HF-LPB200 Low Power WiFi Module User Manual Figure 3. HF-LPB200 Mechanical Dimension HF-LPB200 Module PCB symbol size (mm) as follows: Figure 4. 2.1.3. HF-LPB200 PCB Symbol Size 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: For customer PCB, RED color region (8.3x18.
HF-LPB200 Low Power WiFi Module User Manual 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; Figure 5.
HF-LPB200 Low Power WiFi Module User Manual 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: Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.
HF-LPB200 Low Power WiFi Module User Manual Table 4 Function External Interface LED Name Description COM1 Main data/command RS-232 interface RS485 Main data/command RS-485 interface JTAG JTAG/JLink debug interface USB2TTL UART to USB debug interface. (For PC without RS232, need load driver). Can be power input. USB DEBUG HF-LPB200 USB2.0 data interface (Reserved for future use) DC Jack DC jack for power in, 5~18V input. DC5-18V DC jack for power in, 5~18V input.
HF-LPB200 Low Power WiFi Module User Manual 2.2. Typical Application 2.2.1. Hardware Typical Application 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.
HF-LPB200 Low Power WiFi Module User Manual Sleep-RQ- Module Pin Sleep Control. Input. The user should de-assert this pin low “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.
HF-LPB200 Low Power WiFi Module User Manual 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. Figure 10. HF-LPB200 Software SDK Architecture Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.
HF-LPB200 Low Power WiFi Module User Manual 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.
HF-LPB200 Low Power WiFi Module User Manual Figure 12. HF-A11 AP+STA Network Structure When module enables AP+STA function, Module‟s STA interface can connect with router and connect to TCP server in the network.
HF-LPB200 Low Power WiFi Module User Manual 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.
HF-LPB200 Low Power WiFi Module User Manual 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.
HF-LPB200 Low Power WiFi Module User Manual Figure 15. Multi-TCP Link Data Transmition Structure 3.6.
HF-LPB200 Low Power WiFi Module User Manual Table 7 Power Consumption with Different Power Save Mode WiFi Mode Condition Average Current Peak Current Deep Sleep Wi-Fi/MCU Shutdown < 100uA < 100uA Wi-Fi Wakeup MCU Shundown ~10mA < 200mA Normal (Active/Sleep) Normal (Active/Sleep) Normal (Active/Sleep) WiFi ON - AP Associated DTIM = 100ms, No Data WiFi ON - AP No-Assoiated DTIM = 100ms, No Data WiFi ON – AP Connected DTIM = 100ms, Date:1KB/s ~21mA < 250mA ~27mA < 250mA ~50mA < 250mA In a
HF-LPB200 Low Power WiFi Module User Manual 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.
HF-LPB200 Low Power WiFi Module User Manual Table 7 HF-LPB200 GPIO Pin Mapping Table GPIO GPIO7 GPIO8 GPIO10 GPIO11 GPIO12 GPIO13 GPIO14 GPIO18 GPIO20 GPIO23 GPIO24 GPIO25 GPIO26 Function 1 Sleep_RQ Sleep_ON WPS A/D Input 1 A/D Input 2 OSC32K_IN OSC32K_OUT PWM 1 PWM 2 PWM 3 PWM 4 I2C_SCL I2C_SDA Function 2 GPIO GPIO GPIO GPIO GPIO27 GPIO28 GPIO29 GPIO30 SPI_MISO SPI_CLK SPI_CS SPI_MOSI UART2_TXD UART2_CTS UART2_RTS UART2_RXD GPIO GPIO GPIO ADC2 Vfef GPIO GPIO GPIO GPIO GPIO Default Setting Sleep_RQ
HF-LPB200 Low Power WiFi Module User Manual 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 „0‟, Response GPIO OK or GPIO NOK; Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.
HF-LPB200 Low Power WiFi Module User Manual 4. OPERATION GUIDELINE 4.1. Configuration via Web Accessing When first use HF-LPB200 modules, user may need some configuration. User can connect to HFLPB200 module‟s wireless interface with following default setting information and configure the module through laptop. Table 8 HF-LPB200 Web Access Default Setting Parameters SSID Default Setting HF-LPB200 IP Address 10.10.100.254 Subnet Mask 255.255.255.0 User Name Admin Admin Password 4.1.1.
HF-LPB200 Low Power WiFi Module User Manual Figure 17. System Web Page 4.1.3. Work Mode Page 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 configure at AP+STA mode which provide very flexible application for customers. 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.
HF-LPB200 Low Power WiFi Module User Manual Figure 19. STA Setting Page 4.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. Figure 20. AP Setting Page Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.
HF-LPB200 Low Power WiFi Module User Manual 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. Figure 21. Other Setting Page 4.1.7. Account Management Page This page set web server‟s user name and password. Figure 22.
HF-LPB200 Low Power WiFi Module User Manual 4.1.8. Upgrade Software Page User can upgrade new software (firmware) version through Wi-Fi. 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. 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.
HF-LPB200 Low Power WiFi Module User Manual User can access http://10.10.100.254 to set again, and user name and password is “admin”. HFLPB200 will restore to AP mode for factory default setting. 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). 4.2.2.
HF-LPB200 Low Power WiFi Module User Manual Figure 27. AP Interface Debug Connection 4.2.3. 4.2.4. Default Parameter Setting 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; Module Debug PC1 open “CommTools” program, setting the same serial port parameters with HF-LPB200 module and open serial port connection.
HF-LPB200 Low Power WiFi Module User Manual Then setting the TCP/UDP connection parameters. Default as following: Figure 30. “TCPUDPDbg” Tools Setting Then, click “Create” button to create a connection. 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.
HF-LPB200 Low Power WiFi Module User Manual 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 Figure 33. Remote Management Application For this remote management application, HF-LPB200 works as STA mode and connects to Internet through wireless AP.
HF-LPB200 Low Power WiFi Module User Manual 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, 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.
HF-LPB200 Low Power WiFi Module User Manual 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. Figure 37. ”AT+H” Instruction for Help 5.2.1. Instruction Syntax Format AT+Instruction protocol is based on the instruction of ASCII command style, the description of syntax format as follow.
HF-LPB200 Low Power WiFi Module User Manual Notes: When input AT+Instruction, “AT+” character will display capital letter automatic and other parts will not change as you input.
HF-LPB200 Low Power WiFi Module User Manual UART Instruction Set UART Set/Query serial port parameters UARTTE Set/Query UART free-frame triggerf time between two bytes Command Mode Set SEND Send Data at Command Mode RECV Receive Data at Command Mode Network Instruction Set PING Network ”Ping” Instruction NETP Set/Query network protocol parameters TCPLK Query if TCP link already build-up TCPTO Set/Query TCP timeout TCPDIS Open/Close TCP link Wi-Fi STA Instruction Set (Effective when module works as STA) WSKE
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. 5.2.2.2. AT+WMODE Function: Set/Query WIFI work mode; Format: Query Operation AT+WMODE +ok=< LF >< LF > Set Operation AT+ WMODE= +ok< LF >< LF > Parameters: mode:Wi-Fi work mode AP STA APSTA 5.2.
HF-LPB200 Low Power WiFi Module User Manual Query Operation AT+MID +ok=< LF >< LF > Parameters: module_id: Module ID information; HF-LPB200; Notes: User can set this parameter through AT+WRMID. 5.2.2.6. AT+VER Function: Query module software version information; Format: Query Operation AT+VER +ok=< LF >< LF > Parameters: ver: Module software version information; 5.2.2.7.
HF-LPB200 Low Power WiFi Module User Manual +ok=< LF >< LF > Parameters: config: the first two bytes means the length of configuration parameters; 5.2.2.11. AT+CFGWR Function: Batch Write User Configure Parameters; Format: Set Operation AT+CFGWR= +ok< LF >< LF > Parameters: config: the first two bytes means the length of configuration parameters; 5.2.2.12.
HF-LPB200 Low Power WiFi Module User Manual stop_bits: 8 1,2 parity: NONE EVEN ODD Flowctrl: (CTSRTS) NFC: No hardware flow control FC: hardware flow control 5.2.2.15.
HF-LPB200 Low Power WiFi Module User Manual 5.2.2.18. AT+ PING Function: Network “PING” Instruction. Format: Set Operation AT+ PING= +ok=< LF >< LF > Parameters: sta: feedback result Success Timeout Unknown host 5.2.2.19.
HF-LPB200 Low Power WiFi Module User Manual Format: Query Operation AT+ TCPTO +ok=
HF-LPB200 Low Power WiFi Module User Manual Format: Query Operation AT+WSKEY +ok=< LF >< LF > Set Operation AT+ WSKEY=< auth,encry,key> +ok< LF >< LF > Parameters: auth: Authentication mode OPEN SHARED WPAPSK WPA2PSK encry:Encryption algorithm 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
HF-LPB200 Low Power WiFi Module User Manual code: security code 8888 (default value) Mac_address: STA MAC address, such as ACCF23FF1234 5.2.2.27. AT+ WSLK Function: Query STA WiFi link status Format: Query Operation AT+ WSLK +ok=< LF >< LF > Parameters: ret ”Disconnected”, if no WiFi connection; ”AP‟ SSID(AP‟s MAC” ), if WiFi connection available; ”RF Off”, if WiFi OFF; 5.2.2.28.
HF-LPB200 Low Power WiFi Module User Manual Parameters: address: STA‟s DNS server address; Effective right away. 5.2.2.31. AT+ LANN Function: Set/Query AP‟s network parameters; Format: Query Operation AT+LANN +ok=< LF >< LF > Set Operation AT+ LANN=< ipaddress,mask> +ok< LF >< LF > Parameters: ipaddress: AP‟s IP address; mask: AP‟s net mask; 5.2.2.32.
HF-LPB200 Low Power WiFi Module User Manual 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 Function: Query AP MAC address parameters; Format: Query Operation AT+WAMAC +ok=< LF >< LF > Parameters: mac_address:AP‟s MAC address; Note: Module AP mode‟s MAC address is related to STA mode‟s MAC address.
HF-LPB200 Low Power WiFi Module User Manual 5.2.2.37. AT+PLANG Function: Set/ Query webpage language option; Format: Query Operation AT+ PLANG +ok= < LF >< LF > Set Operation AT+ PLANG= +ok< LF >< LF > Parameters: language: webpage’s language CN: Chinese Version (Default); EN: English Version; 5.2.2.38.
HF-LPB200 Low Power WiFi Module User Manual Query Operation AT+ UPST +ok= < LF >< LF > 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; 5.2.2.41.
HF-LPB200 Low Power WiFi Module User Manual Set Operation AT+ WRMID= < LF >< LF > Parameters: wrmid: set module‟s ID (within 20 characters). 5.2.2.44. AT+ASWD Function: Set/Query WiFi Configuration Password; Format: Query Operation AT+ ASWD +ok= < LF >< LF > Set Operation AT+ ASWD= < LF >< LF > Parameters: aswd: WiFi Configuration Password (within 20 characters). Shanghai High-Flying Electronics Technology Co., Ltd www.
HF-LPB200 Low Power WiFi Module User Manual 6. PACKAGE INFORMATION 6.1. Recommended Reflow Profile Figure 38. Reflow Soldering Profile Table 11 Reflow Soldering Parameter NO. Item 1 Reflow Time 2 Peak-Temp Temperature (Degree) Time of above 220 Time(Sec) 35~55 sec 260 max Note: 1. Recommend to supply N2 for reflow oven. 2. N2 atmosphere during reflow (O2<300ppm) 6.2. Device Handling Instruction (Module IC SMT Preparation) 1.
HF-LPB200 Low Power WiFi Module User Manual 6.3. Shipping Information TRAY BOX Size: 420*245*34 mm Size: 422*247*72 mm (inside) CARTON Size: 440*260*320 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.
HF-LPB200 Low Power WiFi Module User Manual APPENDIX A: HW REFERENCE DESIGN 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.
HF-LPB200 Low Power WiFi Module User Manual 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@hi-flying.
FCC STATEMENT 1. This device complies with Part 15 of the FCC Rules. Operation is subject to the following two conditions: (1) This device may not cause harmful interference. (2) This device must accept any interference received, including interference that may cause undesired operation. 2. Changes or modifications not expressly approved by the party responsible for compliance could void the user's authority to operate the equipment.