HF-LPB Low Power WiFi Module User Manual HF-LPB Low Power WiFi Module User Maunal V 1.1 Copyright Hi-flying is a registered trademark of Hi-flying Incorporated. Copyright © 2012 Hi-flying Incorporated. All rights reserved. No part of this publication may be reproduced or distributed in any form or by any means, or stored in a database or retrieval system, without the prior written permission of the publisher.
HF-LPB Low Power WiFi Module User Manual Overview of Characteristic Support IEEE802.
HF-LPB Low Power WiFi Module User Manual 1.2.6. 1.3. Order Information..............................................................................................................15 Typical Application ................................................................................................................16 1.3.1. 2. FUNCTIONAL DESCRIPTION ..................................................................................................18 2.1. Wireless Networking ..............................
HF-LPB Low Power WiFi Module User Manual 4.1.1. 4.2. Switch to Configuration Mode ...........................................................................................36 AT+ Instruction Set Overview ...............................................................................................37 4.2.1. Instruction Syntax Format .................................................................................................37 4.2.2. AT+ Instruction Set ...........................................
HF-LPB Low Power WiFi Module User Manual 4.2.2.40. 5. AT+ASWD .................................................................................................................51 PACKAGE INFORMATION ........................................................................................................52 5.1. Recommended Reflow Profile ..............................................................................................52 5.2. Device Handling Instruction (Module IC SMT Preparation) ............
HF-LPB Low Power WiFi Module User Manual LIST OF FIGURES Figure 1. HF-LPB Demo ..................................................................................................................10 Figure 2. HF-LPB Pins Map .............................................................................................................10 Figure 3. HF-LPB Mechanical Dimension ........................................................................................13 Figure 4. HF-LPB PCB Symbol Size.........
HF-LPB Low Power WiFi Module User Manual LIST OF TABLES Table 1 HF-LPB Module Technical Specifications ...............................................................................9 Table 2 HF-LPB Pins Definition ..........................................................................................................10 Table 4 HF-LPB Evaluation Kit Interface Description ........................................................................15 Table 5 HF-LPB IP Stack Features ....................
HF-LPB Low Power WiFi Module User Manual 1. PRODUCT OVERVIEW 1.1. General Description The HF-LPB 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 interface for data transfer.HF-LPB 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.
HF-LPB Low Power WiFi Module User Manual 1.1.2 Device Paremeters Table 1 Class Wireless Parameter s HF-LPB Module Technical Specifications Item Parameters Certification Wireless standard US Frequency range EU Frequency range FCC/CE 802.11 b/g/n 2.412GHz-2.462GHz 2.412GHz-2.472GHz 802.11b: +18dBm (Max.) 802.11g: +14dBm (Max.) 802.11n: +11dBm (Max.) Configurable 802.11b: -93 dBm (@11Mbps ,CCK) 802.11g: -85 dBm (@54Mbps, OFDM) 802.
HF-LPB Low Power WiFi Module User Manual 1.2. Hardware Introduction Figure 1. 1.2.1. HF-LPB Demo Pins Definition Figure 2. Table 2 HF-LPB Pins Map HF-LPB Pins Definition Pin Describtion Net Name 1,17,32,48 2 3 4 5 Ground JTAG Function JTAG Function JTAG Function JTAG Function GND JTAG_TCK JTAG_TDO JTAG_TDI JTAG_TMS Signal Type Power I, PU O I,PU I,PU Comments JTAG/Debug functional pin, No connect if not use. Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.
HF-LPB Low Power WiFi Module User Manual 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 RTC Input 1 RTC Output 1 +3.3V Power A/D Input 1 A/D Input 2 RTC Input 2 USB 5V Detect GPIO USB Interface USB Interface PWM Output0+ PWM Output0GPIO SPI Interface SPI Interface SPI Interface SPI Interface +3.3V Power +3.3 Power GPIO UART0 UART0 UART0 UART0 Wi-Fi Status N.C ALARM1 RTC_OUT1 DVDD N.C ADC1 ADC2 ALARM2 N.C N.C USB_PIO N.C N.
HF-LPB Low Power WiFi Module User Manual 1.2.2. Electrical Characteristics Absolute Maximum Ratings: Parameter Condition Max. Unit -45 125 °C 260 °C Supply voltage 0 3.8 V Voltage on any I/O pin 0 3.3 V Storage temperature range Maximum soldering temperature Min. Typ. IPC/JEDEC J-STD-020 ESD (Human Body Model HBM) TAMB=25°C 2 KV ESD (Charged Device Model, CDM) TAMB=25°C 1 KV Typ. Max. Unit 3.3 3.
HF-LPB Low Power WiFi Module User Manual Figure 3. HF-LPB Mechanical Dimension HF-LPB Module PCB symbol size (mm) as follows: Figure 4. 1.2.4. HF-LPB PCB Symbol Size On-board Chip Antenna HF-LPB 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-LPB Low Power WiFi Module User Manual High-Flying suggest HF-LPB module better locate in following region at customer board, which to reduce the effect to antenna and wireless signal, and better consult High-Flying technical people when you structure your module placement and PCB layout. 1.2.5. Evaluation Kit High-Flying provides the evaluation kit to promote user to familiar the product and develop the detailed application.
HF-LPB Low Power WiFi Module User Manual Table 4 Function External Interface LED Button Name Description COM1 Main data/command RS-232 interface RS485 Main data/command RS-485 interface JTAG JTAG data debug interface (Not for user use) USB2TTL UART to USB debug interface. (For PC without RS232, need load driver). Can be Power input. USB DEBUG USB2.0 data interface. DC Jack DC jack for power in, 5~18V input. DC5-18V DC jack for power in, 5~18V input. BAT 2 Li-Battery Power Supply.
HF-LPB Low Power WiFi Module User Manual 1.3. Typical Application 1.3.1. Hardware Typical Application Figure 8. HF-LPB 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-LPB Low Power WiFi Module User Manual module acquire password and build link. Next time, module will link with same AP without autonegotiation required. User can use “AT+WSSSID” and “AT+WSKEY” command to query SSID and password. 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.
HF-LPB Low Power WiFi Module User Manual 2. FUNCTIONAL DESCRIPTION 2.1. Wireless Networking HF-LPB module can be configured as both wireless STA and AP base on network type. Logically there are two interfaces in HF-LPB. One is for STA, and another is for AP. When HF-LPB works as AP, other STA equipments are able to connect to wireless LAN via HF-LPB module. Wireless Networking with HF-LPB is very flexible.
HF-LPB Low Power WiFi Module User Manual Figure 10. 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-LPB Low Power WiFi Module User Manual Figure 12. HF-LPB 1:N P2P Networking Figure 13. HF-LPB Concurrent Operation Networking 2.2. Work Mode : Transparent Transmission Mode HF-LPB 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.
HF-LPB Low Power WiFi Module User Manual ¾ ¾ Encryption Key TCP/UDP Linking Parameters Protocol Type Link Type(Server or Client) Target Port ID Number Target Port IP Address Serial Port Parameters Baud Rate Data Bit Parity (Check) Bit Stop Bit Hardware Flow Control 2.3. UART Frame Scheme 2.3.1. UART Free-Frame HF-LPB support UART free-frame function. If user select open this function, module will check the intervals between any two bytes when reciving UART data.
HF-LPB Low Power WiFi Module User Manual 2.4. Encryption Encryption is a method of scrambling a message that makes it unreadable to unwanted parties, adding a degree of secure communications. There are different protocols for providing encryption, and the HF-LPB module supports following: WEP WPA-PSK/TKIP WPA-PSK/AES WPA2-PSK/TKIP WPA2-PSK/AES 2.5. Network Protocal HF-LPB includes a fully IPv4 and IPv6 capable stack supporting TCP and UDP connection.
HF-LPB Low Power WiFi Module User Manual 2.6. Multi-TCP Link Connection When HF-LPB module configured as TCP Server, it supports Multi-TCP link connection, and maximum eight TCP clients permit to connect to HF-LPB 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.
HF-LPB Low Power WiFi Module User Manual 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.
HF-LPB Low Power WiFi Module User Manual 2.8. Parameters Configuration HF-LPB 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-LPB 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.
HF-LPB Low Power WiFi Module User Manual ¾ GPIO n IN, ¾ 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 input, Response GPIO OK or GPIO NOK; Set GPIOn as output and switch the output status, Response GPIO OK or GPIO NOK; ¾ GPIO n 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), Respons
HF-LPB Low Power WiFi Module User Manual 3. OPERATION GUIDELINE 3.1. Configuration via Web Accessing When first use HF-LPB modules, user may need some configuration. User can connect to HF-LPB module’s wireless interface with following default setting information and configure the module through laptop. Table 9 HF-LPB Web Access Default Setting Parameters SSID Default Setting HF-LPB IP Address 10.10.100.254 Subnet Mask 255.255.255.0 User Name Admin Admin Password 3.1.1.
HF-LPB Low Power WiFi Module User Manual Figure 16. System Web Page 3.1.3. Work Mode Page HF-LPB 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 17. Work Mode Page 3.1.4. STA Setting Page User can push “Scan” button to auto search Wi-Fi AP router nearby, and can connect with associate AP through some settings.
HF-LPB Low Power WiFi Module User Manual Figure 18. STA Setting Page 3.1.5. AP Setting Page When user select module works at AP and AP+STA mode, then need setting this page and provide wireless and network parameters. Most of the system support DHCP to achieve IP address, so we suggest to “Enable” DHCP server in most applications. Figure 19. AP Setting Page 3.1.6. Other Setting Page HF-LPB usually works at data transparent transmission mode.
HF-LPB Low Power WiFi Module User Manual Figure 20. Other Setting Page 3.1.7. Account Management Page This page set web server’s user name and password. Figure 21. Account Page 3.1.8. Upgrade Software Page User can upgrade new software (firmware) version through Wi-Fi. Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.
HF-LPB Low Power WiFi Module User Manual Figure 22. Upgrade SW page 3.1.9. Restart Page Most of the settting and configuration can only effective after system restart. User shall restart after finish all setting. Figure 23. Restart Page 3.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.
HF-LPB Low Power WiFi Module User Manual User can access http://10.10.100.254 to set again, and user name and password is “admin”. HF-LPB will restore to AP mode for factory default setting. Figure 24. Restore Page 3.2. HF-LPB Usage Introduction 3.2.1. Software Debug Tools High-Flying use two common software tools debugging and applying HF-LPB module. (User can also select other tools used to debug serial port). 3.2.2.
HF-LPB Low Power WiFi Module User Manual Figure 26. AP Interface Debug Connection 3.2.3. 3.2.4. Default Parameter Setting Default SSID: HF-LPB; 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-LPB module and open serial port connection. Figure 27.
HF-LPB Low Power WiFi Module User Manual Then setting the TCP/UDP connection parameters. Default as following: Figure 29. “TCPUDPDbg” Tools Setting Then, click “Create” button to create a connection. Figure 30. “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. 3.3. Typical Application Examples 3.3.1.
HF-LPB Low Power WiFi Module User Manual For this wireless control application, HF-LPB 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-LPB module. 3.3.2. Remote Management Application Figure 32. Remote Management Application For this remote management application, HF-LPB works as STA mode and connects to Internet through wireless AP.
HF-LPB Low Power WiFi Module User Manual 4. AT+INSTRUCTION INTRODUCTION 4.1. Configuration Mode When HF-LPB power up, it will default works as transparent transmission mode, then user can switch to configuration mode by serial port command. HF-LPB UART default parameters setting as below figure, Figure 34. HF-LPB Default UART Port Parameters In configuration mode, user can setting the module through AT+ instruction set, which cover all web page setting function. 4.1.1.
HF-LPB Low Power WiFi Module User Manual 4.2. AT+ Instruction Set Overview User can input AT+ Instruction through hyper terminal or other serial debug terminal, also can program the AT+ Instruction to script. User can also input “AT+H” to list all AT+ Instruction and description to start. Figure 36. ”AT+H” Instruction for Help 4.2.1. Instruction Syntax Format AT+Instruction protocol is based on the instruction of ASCII command style, the description of syntax format as follow.
HF-LPB 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-LPB Low Power WiFi Module User Manual UARTFL Set/Query UART auto-frame trigger length UARTTE Set/Query UART free-frame triggerf time between two bytes Command Mode Set SEND Send Data at Command Mode RECV Receive Data at Command Mode Network Instruction Set PING Network ”Ping” Instruction NETP Set/Query network protocol parameters 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) WSKEY Set/Query ST
HF-LPB Low Power WiFi Module User Manual 4.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 4.2.2.3.
HF-LPB Low Power WiFi Module User Manual Parameters: module_id: Module ID information; HF-LPB; Notes: User can set this parameter through AT+WRMID. 4.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; 4.2.2.7.
HF-LPB Low Power WiFi Module User Manual +ok< LF >< LF > Parameters: baudrate: 300,600,1200,1800,2400,4800,9600,19200,38400,57600,115200,230400, 380400,460800. data_bits: stop_bits: 8 1,2 parity: NONE EVEN ODD Flowctrl: (CTSRTS) NFC: No hardware flow control FC: hardware flow control 4.2.2.11.
HF-LPB Low Power WiFi Module User Manual 4.2.2.13. AT+ UARTFL Function: Set/Query UART auto-frame trigger length; Format: Query Operation AT+ UARTFL +ok=< LF >< LF > Set Operation AT+ UARTFL= +ok< LF >< LF > Parameters: len: Range 16 ~1400; Unit: Byte. Auto-frame trigger length; 4.2.2.14.
HF-LPB Low Power WiFi Module User Manual data_content: contents of receive data. If not receive any data in 3 second, then feedback +ok=0. 4.2.2.17. AT+ PING Function: Network “PING” Instruction. Format: Set Operation AT+ PING= +ok=< LF >< LF > Parameters: sta: feedback result Success Timeout Unknown host 4.2.2.18.
HF-LPB Low Power WiFi Module User Manual 4.2.2.20. AT+ TCPTO Function: Set/Query TCP timeout; Format: Query Operation AT+ TCPTO +ok=
HF-LPB Low Power WiFi Module User Manual 4.2.2.23.
HF-LPB Low Power WiFi Module User Manual AT+WSMAC +ok=< LF >< LF > Set Operation AT+ WSMAC= +ok< LF >< LF > Parameters: code: security code 8888 (default value) Mac_address: STA MAC address, such as ACCF23FF1234 4.2.2.26.
HF-LPB Low Power WiFi Module User Manual 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; 4.2.2.30.
HF-LPB Low Power WiFi Module User Manual AES: When “auth=WPA2PSK” available; key: security code, ASCII code, smaller than 64bit and bigger than 8 bit; 4.2.2.32. 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. If user need changeto others, please contact with high-flying technical people. 4.
HF-LPB Low Power WiFi Module User Manual Query Operation AT+ PSPAR +ok= < LF >< LF > Set Operation AT+ PSPAR= < LF >< LF > Parameters: mode: pf:Continuous TX Mode (NO WiFi OFF) ps1:Normal Mode, Disable DTIM (Default, 100ms interval) ps2:Normal Mode, Enable DTIM 4.2.2.36.
HF-LPB Low Power WiFi Module User Manual 4.2.2.38. AT+TSPAR Function: Set/Query timeout wake up parameters; Format: Query Operation AT+ TSPAR +ok= < LF >< LF > Set Operation AT+ TSPAR= < LF >< LF > Parameters: timeout: set timeout time, unit: second. 4.2.2.39. AT+WRMID Function: Set module ID; Format: Set Operation AT+ WRMID= < LF >< LF > Parameters: wrmid: set module’s ID (within 20 characters). 4.2.2.40.
HF-LPB Low Power WiFi Module User Manual 5. PACKAGE INFORMATION 5.1. Recommended Reflow Profile Figure 37. Reflow Soldering Profile Table 12 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) 5.2. Device Handling Instruction (Module IC SMT Preparation) 1.
HF-LPB Low Power WiFi Module User Manual 5.3. Shipping Information TRAY BOX Size: 420*245*34 mm Size: 422*247*72 mm (inside) CARTON Size: 440*260*320 mm (inside) Figure 38. 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-LPB Low Power WiFi Module User Manual APPENDIX A: HW REFERENCE DESIGN Detailed HF-LPB 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-LPB 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.
HF-LPB Low Power WiFi Module User Manual FCC RF EXPOSURE REQUIREMENTS 1 STANDARDS AND REGULATORY COMPLIANCE 1.2 Standards and certification The EUT conforms to the following standards and certification requirements: 802.11 b/g/n FCC ❒ 47 CFR Part 1 - RF radiation exposure limits ❒ 47 CFR Part 2 - Equipment authorization ❒ 47 CFR Part C - WIFI 1.3 FCC certification requirements. According to the definition of mobile and fixed device is described in Part 2.1091(b), this device is a mobile device.
HF-LPB Low Power WiFi Module User Manual ❒ 802.11g band <0.8 dBi ❒ 802.11n band <0.8 dBi 5. This module must not transmit simultaneously with any other antenna or transmitter 6. The host end product must include a user manual that clearly defines operating requirements and conditions that must be observed to ensure compliance with current FCC RF exposure guidelines.
HF-LPB Low Power WiFi Module User Manual The user manual or instruction manual for an intentional or unintentional radiator shall caution the user that changes or modifications not expressly approved by the party responsible for compliance could void the user's authority to operate the equipment.
HF-LPB Low Power WiFi Module User Manual NATIONAL RESTRICTIONS-CE 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.