Hi-flying HF-LPB User Manual

Low power wifi module
Table of Contents

Advertisement

Quick Links

HF-LPB Low Power WiFi Module User Manual
Low Power WiFi Module User Maunal
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. Hi-flying Incorporated reserves the right to make changes in
technical and product specifications without provisional notification. This
module is limited to OEM installation only and must not be sold to end-
users. OEM integrators must be instructed to ensure that the end-user has
no manual instructions to remove or install the device. The end-user can
not remove or install this module to any other devices.
Changes or modifications not expressly approved by the manufacturer
could void the user's authority to operate the equipment.
If the FCC ID of the module cannot be seen when it is installed, then the
host label must include the text: Contains FCC ID: AZY-HF-LPB
Shanghai High-Flying Electronics Technology Co., Ltd
HF-LPB
V 1.1
www.hi-flying.com
- 1 -

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the HF-LPB and is the answer not in the manual?

Questions and answers

Summary of Contents for Hi-flying HF-LPB

  • Page 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.
  • Page 2: Table Of Contents

    HF-LPB Low Power WiFi Module User Manual Overview of Characteristic Support IEEE802.11b/g/n Wireless Standards Fully Self-Contained Serial-to-Wireless Functionality Ultra-Low-Power for Battery Applications with Excellent Power Save Scheme Support UART/SPI/USB/PWM/GPIO Data Communication Interface Support Work As STA/AP/AP+STA Mode Support Wi-Fi Direct...
  • Page 3 HF-LPB Low Power WiFi Module User Manual 1.2.6.   Order Information ......................15   1.3.   Typical Application ........................16   1.3.1.   Hardware Typical Application ...................16   2.   FUNCTIONAL DESCRIPTION ....................18   2.1.   Wireless Networking ......................18   2.1.1.   Basic Wireless Network Based On AP (Infrastructure) ............18  ...
  • Page 4 HF-LPB Low Power WiFi Module User Manual 4.1.1.   Switch to Configuration Mode ...................36   4.2.   AT+ Instruction Set Overview ....................37   4.2.1.   Instruction Syntax Format ....................37   4.2.2.   AT+ Instruction Set ......................38   4.2.2.1.   AT+E ..........................39  ...
  • Page 5 HF-LPB Low Power WiFi Module User Manual 4.2.2.40.   AT+ASWD .........................51   5.   PACKAGE INFORMATION ......................52   5.1.   Recommended Reflow Profile ....................52   5.2.   Device Handling Instruction (Module IC SMT Preparation) ..........52   5.3.   Shipping Information ......................53  ...
  • Page 6: List Of Figures

    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 ....................13  ...
  • Page 7: List Of Tables

    HF-LPB Low Power WiFi Module User Manual LIST OF TABLES HF-LPB Module Technical Specifications ................9   Table 1 HF-LPB Pins Definition ......................10   Table 2 HF-LPB Evaluation Kit Interface Description ................15   Table 4 HF-LPB IP Stack Features ....................22  ...
  • Page 8: Product Overview

    The HF-LPB integrates all Wi-Fi functionality into a low-profile, 23x32.5x 2.7mm SMT module package that can be easily mounted on main PCB with application specific circuits.
  • Page 9: Device Paremeters

    HF-LPB Low Power WiFi Module User Manual 1.1.2 Device Paremeters Table 1 HF-LPB Module Technical Specifications Class Item Parameters Certification FCC/CE Wireless standard 802.11 b/g/n US Frequency range 2.412GHz-2.462GHz EU Frequency range 2.412GHz-2.472GHz 802.11b: +18dBm (Max.) Wireless 802.11g: +14dBm (Max.)
  • Page 10: Hardware Introduction

    HF-LPB Low Power WiFi Module User Manual 1.2. Hardware Introduction Figure 1. HF-LPB Demo 1.2.1. Pins Definition Figure 2. HF-LPB Pins Map Table 2 HF-LPB Pins Definition Describtion Net Name Signal Comments Type 1,17,32,48 Ground Power JTAG Function JTAG_TCK I, PU JTAG/Debug functional pin, No connect if not use.
  • Page 11 HF-LPB Low Power WiFi Module User Manual No connect RTC Input 1 ALARM1 I.PD GPIO7, Sleep_RQ Pin RTC Output 1 RTC_OUT1 GPIO8, Sleep_ON Pin +3.3V Power DVDD Power No connect A/D Input 1 ADC1 I/O,PD GPIO11, No connect if not use.
  • Page 12: Electrical Characteristics

    Output low voltage Sinking 6mA Input high voltage Input low voltage Input leakage current +/-25 Analog input range Analog output range 1.2.3. Mechanical Size HF-LPB modules physical size (Unit: mm) as follows: Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 12 -...
  • Page 13: On-Board Chip Antenna

    HF-LPB PCB Symbol Size 1.2.4. 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.4mm) can’t put componet or paste GND net;...
  • Page 14: 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-LPB module with the RS-232 UART, RS485, USB (Internal UART-USB convetor) or Wireless port to configure the parameters, manage the module or do the some functional tests.
  • Page 15: Order Information

    Pin Sleep Control button, more than 1s to put Sleep_RQ module in standby mode. 1.2.6. Order Information Base on customer detailed requirement, HF-LPB series modules provide different variants and physical type for detailed application. Figure 7. HF-LPB Order Information Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com...
  • Page 16: Typical Application

    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”...
  • Page 17 HF-LPB Low Power WiFi Module User Manual module acquire password and build link. Next time, module will link with same AP without auto- negotiation 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.
  • Page 18: Functional Description

    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.
  • Page 19: Wi-Fi Direct Network

    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. At the same time, module’s AP interface is also active and permit...
  • Page 20: Work Mode : Transparent Transmission Mode

    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.
  • Page 21: Uart Frame Scheme

    UART data. If this interval time exceeds defined value (50ms default), HF-LPB will think it as the end of one frame and transfer this free-frame to WiFi port, or HF-LPB will receive UART data untill 1400 bytes, then transfer 1400 bytes frame to WiFi port.
  • Page 22: Encryption

    2.5. Network Protocal HF-LPB includes a fully IPv4 and IPv6 capable stack supporting TCP and UDP connection.Following table shows the key features of the HF-LPB module IP stack, which including support for DHCP, multicast, and ARP. The Frame size limits are (including IP headers):...
  • Page 23: Multi-Tcp Link Connection

    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.
  • Page 24: Table 6 Difference Between Deelp Sleep And Standby Mode

    If user doesn't use pin sleep function, can leave this pin open. UART Wake Up Option. HF-LPB can use AT command to put module into normal/sleep mode. When module works at deep sleep or standby mode, user can use ”AT+MSLP =normal” to wake up module.
  • Page 25: Parameters Configuration

    2.10. GPIO Function HF-LPB module can provide maximum 12 GPIO pins, which include 2 A/D analog input pins, 3 PWM control pins, 2 Pin sleep control pins, 1 WPS pin, 1 RTC pin, 1 USB 5V control pin, and 2 general GPIO pin.
  • Page 26 HF-LPB Low Power WiFi Module User Manual GPIO n 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;...
  • Page 27: Operation Guideline

    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.
  • Page 28: Work Mode Page

    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.
  • Page 29: Ap Setting Page

    HF-LPB usually works at data transparent transmission mode. At this mode, the user device which connected with HF-LPB 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.
  • Page 30: Account Management Page

    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.
  • Page 31: Restart Page

    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.
  • Page 32: Hf-Lpb Usage Introduction

    3.2.2. Network Connection User can select two methods to connect HF-LPB module base on dedicated application. Use HF-LPB STA interface. HF-LPB and debug PC2 connect to a wireless AP, another PC1 (or user device) connect to HF-LPB module with serial port: Figure 25.
  • Page 33: Default Parameter Setting

    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; 3.2.4. Module Debug PC1 open “CommTools” program, setting the same serial port parameters with HF-LPB module and open serial port connection. Figure 27. “CommTools” Serial Debug Tools PC2 open “TCPUDPDbg” program, and create a new connection. If HF-LPB configured as Server mode, “TCPUDPDbg”...
  • Page 34: Typical Application Examples

    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”...
  • Page 35: Remote Management Application

    3.3.3. Transparent Serial Port Application For this transparent serial port application, two HF-LPB modules connect as below figures to build up a transparent serial port connection. HF-LPB works as Ad-Hoc mode to connect each other. Figure 33. Transparent Serial Port Application Shanghai High-Flying Electronics Technology Co., Ltd...
  • Page 36: At+Instruction Introduction

    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.
  • Page 37: At+ Instruction Set Overview

    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.
  • Page 38: At+ Instruction Set

    HF-LPB Low Power WiFi Module User Manual Notes: When input AT+Instruction, “AT+<CMD>” character will display capital letter automatic and other parts will not change as you input. Response Message +<RSP>[op] [para-1,para-2,para-3,para-4…]<CR><LF><CR><LF> +: Prefix of response message; RSP: Response string; “ok” : Success “ERR”: Failure...
  • Page 39: At+E

    Format: AT+E<CR> +ok<CR>< LF ><CR>< LF > When HF-LPB 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. Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com...
  • Page 40: At+Wmode

    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<CR> +ok=<mode><CR>< LF ><CR>< LF > Set Operation AT+ WMODE=<mode><CR> +ok<CR>< LF ><CR>< LF > Parameters: mode:Wi-Fi work mode APSTA 4.2.2.3. AT+ENTM Function: Set module into transparent transmition mode;...
  • Page 41: At+Ver

    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<CR> +ok=<ver><CR>< LF ><CR>< LF > Parameters: ver: Module software version information;...
  • Page 42: At+ Uartf

    HF-LPB Low Power WiFi Module User Manual +ok<CR>< LF ><CR>< LF > Parameters: baudrate: 300,600,1200,1800,2400,4800,9600,19200,38400,57600,115200,230400, 380400,460800. data_bits: stop_bits: parity: NONE EVEN Flowctrl: (CTSRTS) NFC: No hardware flow control FC: hardware flow control 4.2.2.11. AT+ UARTF Function: Open/Close UART auto-frame function;...
  • Page 43: At+ Uartfl

    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<CR> +ok=<len><CR>< LF ><CR>< LF > Set Operation AT+ UARTFL=<len ><CR> +ok<CR>< LF ><CR>< LF > Parameters: len: Range 16 ~1400; Unit: Byte. Auto-frame trigger length;...
  • Page 44: At+ Ping

    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=<IP_address ><CR> +ok=<sta><CR>< LF ><CR>< LF >...
  • Page 45: At+ Tcpto

    HF-LPB Low Power WiFi Module User Manual 4.2.2.20. AT+ TCPTO Function: Set/Query TCP timeout; Format: Query Operation AT+ TCPTO<CR> +ok=<time><CR>< LF ><CR>< LF > Set Operation AT+ TCPTO=<time ><CR> +ok<CR>< LF ><CR>< LF > Parameters: time: TCP timeout time. <= 600, (600s);...
  • Page 46: At+Wskey

    HF-LPB Low Power WiFi Module User Manual 4.2.2.23. AT+WSKEY Function: Set/Query STA security parameters; Format: Query Operation AT+WSKEY<CR> +ok=<auth,encry,key><CR>< LF ><CR>< LF > Set Operation AT+ WSKEY=< auth,encry,key><CR> +ok<CR>< LF ><CR>< LF > Parameters: auth: Authentication mode OPEN SHARED WPAPSK...
  • Page 47: At+ Wslk

    HF-LPB Low Power WiFi Module User Manual AT+WSMAC<CR> +ok=<mac_address><CR>< LF ><CR>< LF > Set Operation AT+ WSMAC=<code,mac_address><CR> +ok<CR>< LF ><CR>< LF > Parameters: code: security code 8888 (default value) Mac_address: STA MAC address, such as ACCF23FF1234 4.2.2.26. AT+ WSLK Function: Query STA WiFi link status...
  • Page 48: At+Wap

    HF-LPB Low Power WiFi Module User Manual Query Operation AT+LANN<CR> +ok=<ipaddress,mask><CR>< LF ><CR>< LF > Set Operation AT+ LANN=< ipaddress,mask><CR> +ok<CR>< LF ><CR>< LF > Parameters: ipaddress: AP’s IP address; mask: AP’s net mask; 4.2.2.30. AT+WAP Function: Set/Query AP Wi-Fi parameters;...
  • Page 49: At+Wamac

    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<CR> +ok=<mac_address><CR>< LF ><CR>< LF >...
  • Page 50: At+Mslp

    HF-LPB Low Power WiFi Module User Manual Query Operation AT+ PSPAR<CR> +ok=<mode> <CR>< LF ><CR>< LF > Set Operation AT+ PSPAR=<mode> <CR>< LF ><CR>< LF > Parameters: mode: pf:Continuous TX Mode (NO WiFi OFF) ps1:Normal Mode, Disable DTIM (Default, 100ms interval) ps2:Normal Mode, Enable DTIM...
  • Page 51: At+Tspar

    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<CR> +ok=<timeout> <CR>< LF ><CR>< LF > Set Operation AT+ TSPAR=<timeout> <CR>< LF ><CR>< LF > Parameters: timeout: set timeout time, unit: second.
  • Page 52: Package Information

    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 Item Temperature (Degree) Time(Sec) Reflow Time Time of above 220 35~55 sec Peak-Temp 260 max Note: 1. Recommend to supply N2 for reflow oven.
  • Page 53: Shipping Information

    HF-LPB Low Power WiFi Module User Manual 5.3. Shipping Information TRAY 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...
  • Page 54: Appendix A: Hw Reference Design

    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.com...
  • Page 55: Appendix B: Contact Information

    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.com ----------------------------------------------------------------------------------------------------------- For more information about High-Flying modules, applications, and solutions, please visit our web site http://www.hi-flying.com/en/...
  • Page 56: Standards And Regulatory Compliance

    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 ❒ 47 CFR Part 1 - RF radiation exposure limits ❒...
  • Page 57 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.
  • Page 58: Fcc Rf Exposure Requirements

    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. In cases where the manual is provided...
  • Page 59 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.

Table of Contents