Quick Start Guide

High-Flying

HF-LPB100 Rev1.0

www.hi-flying.com

Copyright © 2013. All rights reserved

The drawings, specifications and the data contained in this document are exclusively the property of Shanghai High-Flying Electronics Technology Co., Ltd. The information is intended for internal use only and is subject to change without any notice. With no written permission from Shanghai High-Flying Electronics Technology Co., Ltd, this document, in parts or as a whole, shall not be reproduced, copied, or used in any form or by any means to make any derivatives such as translation, transformation, or adaptation, for any purpose whatever is a registered trademark of Shanghai High-Flying Electronics Technology Co., Ltd. Other brands and product names mentioned herein are trademarks or registered trademarks of their respective holders.

1. Introduction of EVK

High-Flying provides an evaluation kit for users to become familiar with the product and develop applications quickly. The evaluation kit is shown below. Users can connect to the HF-LPB100 module via RS-232 UART, RS485, USB (Internal UART-USB convertor), or a wireless interface (webpage) to configure parameters, manage the module, or perform functional tests.

EVK list:

Image shows the HF-LPB100 evaluation kit components: 1. HF-LPB100 module, 2. HF-LPB100 evaluation board, 3. Power Adapter (DC5V/1A), 4. Antenna (3dBi), 5. Serial Line or USB line.

2. Use Step

2.1 Connect Device

Connect the power adapter ? to power, and the serial line ? to the computer's serial port. After that, the "Power" LED should be on, indicating the HF-LPB100 is powered on.

After 2-3 seconds, the "nReady" LED light turns on, indicating that the module has launched successfully.

Notes:

Image shows a close-up of the HF-LPB100 evaluation board with various ports and components labeled, including USB ports, UART/SPI, RS485, and status LEDs (Power, Reset, Sleep, ON, n.Ready, nlink, Reload).

2.2 Serial setting:

2.2.1 Serial Tool: SecureCRT

Download site: www.hi-flying.com/download_detail_dc/...

Decompress the downloaded file, find "SecureCRT", open it, and click the button ▶️ to create a connection.

2.2.2 Set Serial Parameter as follows:

Screenshot of SecureCRT 'Quick Connect' dialog box, configured for serial connection with Baud rate 115200, 8 Data bits, None Parity, 1 Stop bit, and NONE Flow control.

3. AT command configure

3.1 UART input "+++"

After the module receives "+++", it will feedback "a" as confirmation.

3.2 UART input "a"

After the module receives "a", it will feedback "+ok" to enter the AT+ instruction set configuration mode.

Notes:

After entering command mode via the serial tool, input "AT+H" and press Enter. This will display all AT+ commands. For detailed information, please refer to chapter 4 "AT command description" in the "HF-LPB100 user Manual".

Screenshot of SecureCRT terminal displaying AT command configuration, showing a list of available AT commands such as AT+H, AT+ASWD, AT+E, AT+ENTM.

Notes:

4. Test Case

4.1 Test Case 1: Under AP mode, transparent transmit between UART and Wi-Fi

Prepare:

4.1.1 Test Topology

Diagram illustrating Test Case 1 topology: Power source connected to HF-LPB100 module (AP mode), which connects via WiFi to PC1 (running TCPUDPDbg). A serial line connects the HF-LPB100 to PC2 (running SecureCRT).

4.1.2 PC1 Connect to HF-LPB100 Module by Wireless

Configure the module wirelessly (requires a notebook with WIFI). Power up the HF-LPB100 EVK. After 3 seconds, the Ready LED light turns on. At this time, the user can search for the "HF-LPB" SSID through the notebook. After connection, the Link LED light will turn on.

4.1.3 TCPUDP Test Tool Configure

Decompress "TCPUDPDbg", select ▶️, open TCPUDP, and create a TCP connect, configure as follows:

Press "create connection" and select "TCP". Set the target IP to 10.10.100.254 and Port to 8899.

After connection, press "Connect". Input data in the send area, such as "Hi-flying HF-A11 Test 0123abc".

Screenshot of TCPUDPDbg tool for creating a TCP connection.

4.1.4 PC2 Serial Tool Configure

Connect PC2 to HF-LPB100 through the serial line. Click "SecureCRT" to create a connection. Detail settings are as follows:

Screenshot of SecureCRT 'Quick Connect' dialog box for PC2 serial connection.

4.1.5 Data Transparent Transmit

After connecting with the COM port, enter transparent transmit mode. Then, the user can run the data transmit test. As shown in the photo below, press "send" on the TCPUCP test tool interface; the data will be transmitted directly to the COM port. Meanwhile, input a message in the COM port tool; the message will be transmitted to the TCPUCP receive area directly, such as "Back HI-FLYING-A11".

Screenshots showing SecureCRT Quick Connect, TCP&UDP Test Tool interface, and SecureCRT terminal during data transmission test.

Notes:

4.2 Test Case 2: HF-LPB100 as STA mode, connect with router, transparent transmit between UART and Wi-Fi

Please install "SecureCRT" and the TCP/IPD" test tool before testing.

4.2.1 Test Topology:

Diagram illustrating Test Case 2 topology: Router connected via WiFi to HF-LPB100 module (STA mode). PC1 connects to HF-LPB100 via TCPUDPDbg. PC2 connects via Serial Line and SecureCRT. Power source shown.

4.2.2 HF-LPB100 work mode configuration

Initially, the HF-LPB100 operates in AP mode. PC1 connects to HF-LPB100 wirelessly. Input http://10.10.100.254, then input the username and password, both of which are "admin".

Web browser showing a Windows Security login prompt for server 10.10.100.254, requiring username and password (default 'admin').

Next, enter the "mode setting" menu and change the setting as follows: select STA mode and save.

Screenshots showing HF-LPB100 mode selection (AP+STA mode) and STA setting interface for network search.

Third, enter the STA setting menu and click the "Search" button. The AP list will be displayed. Select the wireless network, press confirm, and input the router's password. (If the target AP is not found during the search, please refresh or move the HF-LPB100 module closer to the router).

Screenshots showing Site Survey of wireless networks and STA setting interface for IP address configuration (DHCP or Static).

When connecting to the router as STA, to correctly find the IP address of HF-LPB100, the user can set a static IP manually.

Forth, configure serial and network parameters. If there are no specific requirements, apply the default settings for the rest.

Screenshots showing Serial Port Parameters Setting, Network Parameters setting, and Restart Device dialog.

4.2.3 PC2 serial configuration and check

Check the IP address of HF-LPB100 connected to the router. This IP address can be set statically or acquired automatically from the router.

  1. Static set: In STA setting, disable "acquire IP address automatically", then you can set the IP address manually.
  2. Acquire IP address automatic: Connect PC2 to HF-LPB100 through the serial port and enter command mode. Input "AT+WANN". The feedback message will contain the IP address. For example: "+ok=DHCP,192.168.10.23,255.255.255.0,192.168.10.1". The IP address of HF-LPB100 is "192.168.10.23". Please remember this IP address.

Then, input "AT+ENTM" to enter transparent transmit mode.

4.2.4 TCPUDP test tool configuration

Connect PC1 to the "wireless router", open TCPUDP, and create a TCP connect. Details are as follows:

Press "create connect" and select TCP. Set the target IP to 192.168.10.23 (This IP is acquired automatically) and Port to 8899.

4.2.5 Data Transparent Transmit

After TCPUDP finishes the connection, press the "connect" button. Input a message in the send area, such as "Hi-flying HF-LPB100 Test 0123abc". Under the condition of COM connected, the user can run the data transparent transmit test. As shown in the photo below: press send on the TCPUDP interface; the message will be transparently transmitted directly to COM. Meanwhile, input a message on the COM port tool; the message will be transparently transmitted directly to TCPUDP, such as "hi-flying HF-A11 test".

Screenshots showing TCP&UDP Test Tool and SecureCRT terminal during data transmission test.

Notes:

4.3 Test Case 3: HF-LPB100 work under AP+STA mode, STA connect with wireless router, phone connect with LPB100 AP, and realize double socket communication

Please install the "SecureCRT" serial test tool as in Test Case 1.

4.3.1 Test Topology:

Diagram illustrating Test Case 3 topology: Router connected via WiFi to HF-LPB100 module (AP+STA mode). PC1 connects via TCPUDPDbg. PC2 connects via Serial Line and SecureCRT. Smart Phone connects via WiFi to HF-LPB100.

4.3.2 HF-LPB100 work mode configuration

Initially, the HF-LPB100 operates in AP mode. PC1 connects to HF-LPB100 wirelessly. Input http://10.10.100.254, then input the username and password, both of which are "admin".

Web browser showing a Windows Security login prompt for server 10.10.100.254, requiring username and password (default 'admin').

Second, enter the "mode setting" menu, change the setting as follows: select APSTA mode and save.

Screenshots showing HF-LPB100 mode selection (AP+STA mode) and STA setting interface for network search.

Third, enter the STA setting menu and click the "Search" button. The AP list will be displayed. Select the wireless network, press confirm, and input the router's password. (If the target AP is not found during the search, please refresh or move the HF-LPB100 module closer to the router).

Screenshots showing Site Survey of wireless networks and STA setting interface for IP address configuration.

When connecting to the router as STA, to correctly find the IP address of HF-LPB100, the user can set a static IP manually.

Forth, configure serial and network parameters. If there are no specific requirements, apply the default settings for the rest.

Enable the Socket B function via serial tool. Use "AT+SOCKB=UDP,9000,10.10.100.150" to enable Socket B to work as UDP protocol, with source and destination port: 9000, and destination IP: 10.10.100.150.

Screenshots showing STA setting interface for IP address configuration and Serial/Network Parameters setting. Command for enabling Socket B function.

4.2.3 PC2 serial configuration and check

Check the IP address of HF-LPB100 connected to the router. This IP address can be set statically or acquired automatically from the router.

  1. Static set: In STA setting, disable "acquire IP address automatically", then you can set the IP address manually.
  2. Acquire IP address automatic: Connect PC2 to HF-LPB100 through the serial port and enter command mode. Input "AT+WANN". The feedback message will contain the IP address. For example: "+ok=DHCP,192.168.10.23,255.255.255.0,192.168.10.1". The IP address of HF-LPB100 is "192.168.10.23". Please remember this IP address.

Then, input "AT+ENTM" to enter transparent transmit mode.

4.3.4 Smart Phone Configure

Install the "Network Debug Assistant" APP and create a UDP socket as shown in the following picture.

Screenshot of 'Network Debug Assistant' mobile app for UDP socket configuration.

4.3.5 TCPUDP Test Tool Configure

Connect PC1 to the "wireless router", open TCPUDP, and create a TCP connect. Details are set as follows:

Press "create connect" and select TCP. Set the target IP to 192.168.10.23 (This IP is acquired automatically) and Port to 8899.

4.3.6 Data Transparent Transmit

After TCPUDP finishes the connection, press the "connect" button. Input a message in the send area, such as "Hi-flying HF-LPB100 Test 0123abc". Under the condition of COM connected, the user can run the data transparent transmit test. As shown in the photo below: press send on the TCPUDP interface; any message from PC1 via TCP protocol or from the Smart Phone via UDP protocol will be transparently transmitted directly to COM. Meanwhile, input a message on the COM port tool; the message will be transparently transmitted directly to TCPUDP(PC1) and UDP(Smart Phone), such as "hi-flying HF-A11 test".

Screenshots showing TCP&UDP Test Tool and SecureCRT terminal during data transmission test. Diagram illustrating data flow chart for Test Case 3.

Notes:

Shenzhen High-Flying Technology Co., Ltd

www.hi-flying.com

HF-LPB100 EVK Quick Start Guide-V1.0(20131219) Microsoft Office Word 2007

Related Documents

Preview HF-LPT230 Low Power WiFi Module User Manual - High-Flying
Explore the HF-LPT230, a low-power Wi-Fi module from High-Flying, offering IEEE 802.11b/g/n connectivity for embedded systems. Learn about its features, specifications, and applications in home automation, smart grids, and industrial control.