Download Print this page
Hide thumbs Also See for HF-LPB100:

Advertisement

Quick Links

Quick Start Guide
HF-LPB100 &HF-LPB120 Rev1.1
www.hi-flying.com
www.hi-flying.com
1
Copyright © 2013 . All rights reserved

Advertisement

loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for High-Flying HF-LPB100

  • Page 1 Quick Start Guide HF-LPB100 &HF-LPB120 Rev1.1 www.hi-flying.com www.hi-flying.com Copyright © 2013 . All rights reserved...
  • Page 2 Copyright © 2013 By Shanghai High-Flying Electronics Technology Co., Ltd. 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.
  • Page 3 1. Introduction of EVK High-Flying provides evaluation kit for users to be familiar with the product and develop application quickly. The evaluation kit is shown as below, users can connect to HF-LPB100 or HF-LPB120 module with the RS-232 UART, RS485, USB (Internal UART-USB convertor) or wireless interface (webpage) to configure the parameters, manage the module or do some functional tests.
  • Page 4: Serial Setting

    2.1 Connect Device Notes: The way to connect the module with the computer serial port is similar between HF-LPB100 and HF-LPB120. So in this case, we take HF-LPB100 as an example in this chapter. Power adapter③ connect to power, serial line⑤ connect to computer serial port.
  • Page 5 , create a connection. 2.2.2 Set Serial Parameter as follows: protocol: Serial port: computer port(“My computer”->“device manager”->“port(COM and LPT)”as the left photo shows。 Baud rate: 115200 (HF-LPB100 default 115200) Data bit: 8 Parity check: None Stop bit: 1 Flow control: NONE(Please remove “√”...
  • Page 6 Any other input or wrong step to UART port will cause the module still works as original mode (transparent transmission). After entering command mode through serial tool, input “AT+H” and enter, will display all AT+ command as follow. Detail info please check “HF-LPB100 user Manuel” chapter 4 “AT command description. www.hi-flying.com...
  • Page 7 Note:  When input “+++” (No “Enter” key required), the UART port will display feedback information “a”, but not ”+++” ;then input another “a”, will display feedback “+OK”, enter into command mode If did not enter into command mode at first time, probably the space time is wrong when input, please try again by input “+++”...
  • Page 8 4.1.2 PC1 Connect to HF-LPB100 Module by Wireless Configure the module by wireless (require a notebook with WIFI). Power up HF-LPB100 EVK, after 3 seconds, the Ready LED light turn on. At this time, user can search “HF-LPB” SSID through notebook. After connection, the Link Led light will turn on.
  • Page 9 The SSID of module HF-LPB120 is HF-LPB120 under AP mode. It is shown as follows: TCPUDP Test Tool Configure 4.1.3 Decompress “TCPUDPDbg”, select , open TCPUDP and create a TCP connect, configure as follow: Press “create connection” and select “TCP’, target IP: 10.10.100.254, Port 8899. After connection, press “Connect”, input the data in the send area, such as “Hi-flying HF-A11 Test 0123abc”.
  • Page 10 4.1.4 PC2 Serial Tool Configure PC2 connect to HF-LPB100 through serial line, click “SecureCRT” to create a connection, detail setting as follow: Protocol: Serial Port: computer COM port Baud rate: 115200 Data bit: 8 Parity check: None Stop bit: 1 Flow control: none (Please remove “√”...
  • Page 11 4.1.5 Data Transparent Transmit After connect with COM port, enter into transparent transmit mode. Then user can run data transmit test. As below photo, press “send” on TCPUCP test tool interface, the data will be transmitted directly to COM port. Meanwhile, input message in COM port tool, the message will be transmitted to TCPUCP receive area directly, such as “Back HI-FLYING-A11”...
  • Page 12 Notes:  Use“SecureCRT”serial tool, after connection with COM port, there is a green sign “|”, . If it is red, it indicates that the COM port is disconnect  When transmit, the message inputted in “SecureCRT” will not display in SecureCRT interface, but transmitted to receive area in “TCPUCP test tool interface”...
  • Page 13 Please install “SecureCRT” and TCP/IPD” test tool before test. 4.2.1 Test Topology: 4.2.2 HF-LPB100 work mode configuration At first, HF-LPB100 work under AP mode, PC1 connect to HF-LPB100 by wireless. Input http://10.10.100.254, then input user and password, both of them are “admin”.
  • Page 14 Third, enter STA setting menu, click “Search” button. The AP list will be displayed, select the wireless network, press confirm and input password of router. (If did not find the target AP when search, please refresh or move HF-LPB100 module to a place near to router) www.hi-flying.com...
  • Page 15 When connect to router as STA, in order to find IP address of HF-LPB100 correctly, user can set static IP manually. Forth, serial and network parameter setting. If not specific demand, can apply default setting to run the rest. www.hi-flying.com...
  • Page 16 If connect to serial port of device directly, requires to configure the matched serial parameter; if connect to server, requires to configure the matched network parameter. Fifth, after all parameter is configured, enter “restart” menu and press “ok” button, the module will restart. After restart, when the “Link”...
  • Page 17 Second, search the AP nearby and take the following figure as an example: www.hi-flying.com Copyright © 2013 . All rights reserved...
  • Page 18 Type the command AT+WSCAN, and then you will see some information like channel, SSID of the AP nearby. There are totally three commands in the figure above. The first one is used to set the SSID of the related AP. The second one is to set the encryption parameter of STA.
  • Page 19 4.2.4 PC2 serial configuration and check Check the IP address of HF-LPB100 which connected to router, this IP address can set static or automatically acquire from router. (1) Static set: in STA setting. Disable “acquire IP address automatically”, then you...
  • Page 20 4.2.6 Data Transparent Transmit After TCPUDP finished the connection, press “connect” button, input message in send area, such as “Hi-flying HF-LPB100 Test 0123abc”. Under the condition of COM connected, user can run the data transparent transmit test. As below photo shows: press send on TCPUDP interface, the message will be transparent transmitted directly to COM;...
  • Page 21 Notes:  when use “SecureCRT” serial tool, and once connected with COM port successfully ,there will be a green “|” sign, as , if is shows red, then it indicates COM port disconnected.  When transparent transmit through serial, the message inputted in “SecureCRT” will not displayed in “SecureCRT”...
  • Page 22 4.3 Test Case 3: HF-LPB100 or HF-LPB120 work under AP+STA mode, STA connect with wireless router, phone connect with LPB100 AP, and realize double socket communication Notes: HF-LPB120 cannot support for ATSTA mode, so please DO NOT test this example by using HF-LPB120.
  • Page 23 Third, enter STA setting menu, click “Search” button. The AP list will be displayed, select the wireless network, press confirm and input password of router. (If did not find the target AP when search, please refresh or move HF-LPB100 module to a place near to router) www.hi-flying.com...
  • Page 24 When connect to router as STA, in order to find IP address of HF-LPB100 correctly, user can set static IP manually. Forth, serial and network parameter setting. If not specific demand, can apply default setting to run the rest. www.hi-flying.com...
  • Page 25 Enable the Socket B function via serial tool. “AT+SOCKB=UDP,9000,10.10.100.150” to enable Socket B work as UDP protocol, source and destination port: 9000, destination IP:10.10.100.150 If connect to serial port of device directly, requires to configure the matched serial parameter; if connect to server, requires to configure the matched network parameter.
  • Page 26 4.2.3 PC2 serial configuration and check Check the IP address of HF-LPB100 which connected to router, this IP address can set static or automatically acquire from router. (1) Static set: in STA setting. Disable “acquire IP address automatically”, then you can set IP...
  • Page 27 4.3.4 Smart Phone Configure Install Network Debug Assistant APP and create a UDP socket like the following picture. 4.3.5 TCPUDP Test Tool Configure PC1 connect to “wireless router”, open TCPUDP and create a TCP connect, details set as follow: www.hi-flying.com Copyright ©...
  • Page 28 4.3.6 Data Transparent Transmit After TCPUDP finished the connection, press “connect” button, input message in send area, such as “Hi-flying HF-LPB100 Test 0123abc”. Under the condition of COM connected, user can run the data transparent transmit test. As below photo shows: press send on TCPUDP interface, any message from PC1 via TCP protocol or from Smart Phone via UDP protocol will be transparent transmitted directly to COM;...
  • Page 29 When module work in “APSTA” mode, it allows only one STA device connecting to it’s AP. © 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.

This manual is also suitable for:

Hf-lpb120