Page 1
HF-LPC100 Wi-Fi/Bluetooth Module User Manual HF-LPC100 Wi-Fi/Bluetooth Module User Manual V 1.0 Overview of Characteristic Support 802.11b/g Wireless Standard, STA Mode Support Bluetooth 2.1+EDR Standard Support Bluetooth SmartLink Cost Effective Solution With High-Flying MCU Support UART/GPIO Data Communication Interface ...
HF-LPC100 Wi-Fi/Bluetooth Module User Manual TABLE OF CONTENTS LIST OF FIGURES ........................... 5 LIST OF TABLES ............................ 6 HISTORY ..............................7 PRODUCT OVERVIEW ........................8 1.1. General Description ......................... 8 1.2. Device Features ........................8 1.3. Device Parameters ........................9 1.4.
HF-LPC100 Wi-Fi/Bluetooth Module User Manual HISTORY V 1.0 12-05-2014. First version - 7 - Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com...
PRODUCT OVERVIEW 1.1. General Description HF-LPC100 is a embedded Wi-Fi /BT module ,which provide wireless interface to any equipment with a UART or other interface to data transmission. It integrated MAC, baseband processor, RF transceiver with power amplifier in hardware and Wi-Fi/BT protocol and configuration functionality and network TCP/IP stack, in embedded firmware to make a fully self-contained 802.11b/g Wi-Fi solution...
HF-LPC100 Wi-Fi/Bluetooth Module User Manual 1.5. Hardware Introduction HF-LPC100 View Figure 1. 1.5.1. Pin Definition Figure 2. HF-LPC100 Pins map Table 2 HF-LPC100 Pins Definition Describtion Net Name Signal Type Comments 1,17,32,48 Ground Power Debug Pin SWCLK I, PD Debug functional pin, No connect if not use.
Page 11
HF-LPC100 Wi-Fi/Bluetooth Module User Manual Describtion Net Name Signal Type Comments No connect No connect No connect +3.3V Power DVDD Power No connect No connect No connect No connect No connect No connect No connect No connect No connect No connect...
HF-LPC100 Wi-Fi/Bluetooth Module User Manual Describtion Net Name Signal Type Comments GPIO44,No connect if not use.; Multi-Function nReload I,PU No connect ―Low‖ effective reset input. Module Reset EXT_RESETn I,PU <Remark>: I — input;O — output PU—pull up;PD—pull down; I/O: digital I/O; Power—power supply 1.5.2.
1.5.5. External Antenna HF-LPC100 module supports internal antenna and external antenna(I-PEX) option for user dedicated application. If user select external antenna, HF-LPC100 modules must be connected to the 2.4G antenna according to IEEE 802.11b/g/n standards. The antenna parameter required as table 5...
HF-LPC100 Wi-Fi/Bluetooth Module User Manual 1.5.6. 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-LPC100 module with the RS-232 UART, RS485, USB (Internal USB to UART convertor) or Wireless port to configure the parameters, manage the module or do the some functional tests.
Reset button Press the button over 3 seconds to restore factory nReload setting 1.5.7. Order Information Based on customer requirement, HF-LPC100 can support difference variants and physical type ,detail as below: HF-LPC100 order information Figure 7. - 16 Shanghai High-Flying Electronics Technology Co., Ltd...
HF-LPC100 Wi-Fi/Bluetooth Module User Manual 1.6. Typical Application 1.6.1. Hardware Typical Application HF-LPC100 hardware typical application Figure 8. <Notes>: nReset- module reset signal. Input, low level 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‖...
HF-LPC100 Wi-Fi/Bluetooth Module User Manual 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.. If nReload function not required, can leave this pin open.
Basic HF-LPC100 wireless networking structure 2.2. Work mode:Transparent Transmission Mode HF-LPC100 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.
Module will check the intervals between any two bytes when receiving UART data. If this interval time exceeds defined value (50ms default), module will think it as the end of one frame and transfer this free-frame to Wi-Fi port, or HF-LPC100 will receive UART data until 1000 bytes, then transfer 1000 bytes frame to Wi-Fi port.
Compared to traditional UART upgrade, HF-LPC100 support more flexible and convenient method to realize the update of firmware and application. HF-LPC100 module also support upgrade from remote HTTP server, keep module connects to AP router before execute remote HTTP upgrade. Remote upgrade have two methods: Direct Download and Upgrade, Configure File Based Upgrade.
Page 22
HF-LPC100 Wi-Fi/Bluetooth Module User Manual Notes: please contact with high-flying technical people before upgrade firmware, or maybe damage the module and can‘t work again. - 22 Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com...
Notes: Please refer to Appendix B for details. 2.7. Double SOCKET Communication Function HF-LPC100 WI-FI module support double socket communication, the Socket B function is disabled by default. After the module boot-up, send command ―AT+SOCKB‖ to set the connection parameter, send command ―AT+TCPDISB=on‖...
HF-LPC100 Wi-Fi/Bluetooth Module User Manual 3. AT INSTRUCTION INTRODUCTION 3.1. Configuration Mode When HF-LPC100 power up, it will default works as transparent transmission mode, then user can switch to configuration mode by serial port command. The UART default parameters setting as below figure:...
HF-LPC100 Wi-Fi/Bluetooth Module User Manual When user input ―+++‖ (No ―Enter‖ key required), the UART port will display feedback information ―a‖, and not display input information‖+++‖ as above UART display. ―+++‖ and ―a‖ should be input in a certain period of time to make the module switch to configuration mode.
HF-LPC100 Wi-Fi/Bluetooth Module User Manual < >: Means the parts must be included [ ]: Means the optional part Command Message AT+<CMD>[op][para-1,para-2,para-3,para-4…]<CR> AT+: Prefix of command message; CMD: Command string; [op]: Symbol of command operator, ―=‖...
Page 28
HF-LPC100 Wi-Fi/Bluetooth Module User Manual instruction Description WMODE Set/Query Wi-Fi work mode (AP/STA/APSTA) ENTM Set module into transparent transition mode TMODE Set/Query module data transfer mode Query module ID information Query module software version information LVER Query module detailed software version...
HF-LPC100 Wi-Fi/Bluetooth Module User Manual on:open echo off:close echo When 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.
HF-LPC100 Wi-Fi/Bluetooth Module User Manual +ok=<config><CR><LF><CR><LF> Parameter config: the first two bytes means the length of read configure parameter. 3.2.2.12. AT+CFGWR Function : bulk write user configure parameter Format Set operation AT+CFGWR=<config><CR> +ok<CR><LF><CR><LF> Parameter ...
HF-LPC100 Wi-Fi/Bluetooth Module User Manual data_bits: stop_bits: parity: NONE EVEN flowctrl:(CTSRTS) NFC:no hard ware flow control FC:hard ware flow control 3.2.2.16. AT+UARTF Function :open/close UART auto-frame function ...
HF-LPC100 Wi-Fi/Bluetooth Module User Manual Setting AT+PING=<IP_address><CR> +ok=<sta><CR><LF><CR><LF> Parameter sta:feedback result Success Timeout Unknown host 3.2.2.23. AT+NETP Function :set/query network protocol parameter. The change of TCP port and address of TCP clients valid immediately, the other changes is valid after reset ...
HF-LPC100 Wi-Fi/Bluetooth Module User Manual Any data received by each socket will send to serial directly, the data received from serial will send out by each socket in sequence. 3.2.2.25. AT+TCPLK Function : query if TCP link already build-up ...
HF-LPC100 Wi-Fi/Bluetooth Module User Manual On, TCP link close off,TCP link on When setting, ―off‖ means close TCP link. After finish this command, module disconnect TCP link and not connect again. ―On‖ means open TCP link. After finish this command, module re- connect TCP server right away.
HF-LPC100 Wi-Fi/Bluetooth Module User Manual AT+SNDB=<data_lenth ><CR> +ok<CR><LF><CR><LF> Parameter data_lenth:the length of send data, range :1~1000 byte The UART port will wait 3 seconds for input after this command is succeed and feedback ‖>‖. The data received from UART port is sent to SOCKB. If the interval of two bytes is more than 10ms, the data will be sent instantly.
log: feedback the status of remote upgrade Note: After execute this command, the HF-LPC100 will automatic start upgrade base on the setting of UPURL, UPFILE like URL address and configure file name. after upgrade succeeded , module will restart automatically 3.2.2.49.
HF-LPC100 Wi-Fi/Bluetooth Module User Manual time:network time, for example: 2013-10-9 16:10:42 Wed,if it shows Not Available means that the time calibration function is not enabled or the module doesn‘t connect to the internet. 3.2.2.53. AT+NTPSER Function: set /query NTP server IP address ...
HF-LPC100 Wi-Fi/Bluetooth Module User Manual AT+SMTLK<CR> SmartLink is a One-Key config function. Config the module connecting to router easily. After start SmartLink function , the module work in SmartLink status and nLink LED is fast flashing waiting for APP to push information. See the Appendix for more details.
HF-LPC100 Wi-Fi/Bluetooth Module User Manual APEENDIX A: HARD REFERENCE DESIGN Detailed HF-LPC100 Evluation Board design source files, pls access High-Flying web download page or contact with High-Flying technical support people to acquire. - 50 Shanghai High-Flying Electronics Technology Co., Ltd...
HF-LPC100 Wi-Fi/Bluetooth Module User Manual APPENDIX B: CONTROL GPIO、PWM FUNCTION WITH NETWORK COMMAND(TBD) Send command data to control module‘s GPIO, PWM port after make network connection with TCP or UDP protocol.(module must at PWM mode) The status of GPIO won‘t be changed if the module is reset B.1 Network Command...
Page 52
HF-LPC100 Wi-Fi/Bluetooth Module User Manual value:GPIO channel value GPIO NOK: command failed B.1.3 GPIO <channel> SET Function : save GPIO channel value Parameter : channel:GPIO channel number, can be 11、12、15、18、20、23(GPIO pin umber) return data ...
Page 53
HF-LPC100 Wi-Fi/Bluetooth Module User Manual B.1.5 PWM <channel> GET Function: query PWM channel output value Parameter channel:PWM channel number, can be11、12、18、20(GPIO pin number) return data +ok=<frequency duty> frequency:PWM channel frequency duty:PWM channel duty ...
HF-LPC100 Wi-Fi/Bluetooth Module User Manual B.1.6 PWM <channel> SET Function : save PWM channel output value Parameter channel:PWM channel number, can be 11、12、18、20(GPIO pin number) return data PWM OK:command succeed PWM NOK:command failed B.2 Hexadecimal Network Command Send hexadecimal data to quickly read module‘s I/O status, send area and receive area must send...
Page 55
HF-LPC100 Wi-Fi/Bluetooth Module User Manual B.2.3 Read All PWM Channel Frequency Send Data:【30】: Return Data:【b0 <value1 value2 value3 value4 value5 value6 value7 value8>】 value1: High byte of PWM Channel 0(GPIO11) frequency value2: Low byte of PWM Channel 0(GPIO11) frequency ...
Page 56
HF-LPC100 Wi-Fi/Bluetooth Module User Manual value4: Duty of PWM Channel 3 B.2.6 Write All PWM Channel Duty Send Data:【24 <value1 value2 value3>】: Return Data:【a4 <value1 value2 value3>】 value1: Duty of PWM Channel 0 value2: Duty of PWM Channel 1 ...
HF-LPC100 Wi-Fi/Bluetooth Module User Manual APPENDIX C: HTTP PROTOCOL TRANSFER HF-LPB100 module support http data transfer in command mode. If any detailed HTTP protocol, contact us and we may support customization. C.1. HTTP AT Command C.1.1. AT+HTTPURL Function:Set /Query HTTP server IP address and Port Number.
HF-LPC100 Wi-Fi/Bluetooth Module User Manual Parameters: Path:Max length is 50 bytes. C.1.4. AT+HTTPCN Function:Set/Query Connection of HTTP protocol header Format: Query Operation AT+HTTPCN<CR> +ok=<Connection><CR><LF><CR><LF> Set Operation AT+HTTPCN=<Connection><CR> +ok<CR><LF><CR><LF> Parameters: Connection:Max length is 20 bytes.
Page 59
HF-LPC100 Wi-Fi/Bluetooth Module User Manual If send ―AT+HTTPDT‖, the data packet will be sent as the following instance including the two new line: POST /abcd HTTP/1.1 Connection:keep-alive User-Agent:lwip1.3.2 Content-Length:0 Host:192.168.0.127:8999 If send AT+HTTPDT=abcd, the data packet will be sent as the following instance: POST /abcd HTTP/1.1...
HF-LPC100 Wi-Fi/Bluetooth Module User Manual APPENDIX D: BLUETOOH ONE-KEY CONFIGURATION APP download IOS /Android IOS APP download address: http://www.pgyer.com/bNwD Android APP download address: http://www.pgyer.com/5zg5 Step 1:after installation, user can find below icon shows on smart terminal Step 2: press 【nReload】on LPC100 module to start Bluetooth one-key configuration.
Page 61
HF-LPC100 Wi-Fi/Bluetooth Module User Manual Note: module‘s default Bluetooth name is BTFFFF(BT+ last four byte of MAC address), user can revise MAC address via AT+BTMAC=8888,XXXXXXXXXXXX. Step 4:click APP icon and enter the main page SSID: the mobile connected router’s SSDI Password : router’s password...
Page 62
HF-LPC100 Wi-Fi/Bluetooth Module User Manual Step 5: press APP【开始连接】(start connect) button ,sending the configuration information to module. After configuration, module will restart automatically and switch to STA module to connect router . nLink light stays on, indicate the module already connected to router ...
Page 63
HF-LPC100 Wi-Fi/Bluetooth Module User Manual 3、High Flying Wi-Fi module recommended hardware connection nReload:press this button when use smart configure nLink: link status indicator Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 63 -...
Need help?
Do you have a question about the HF-LPC100 and is the answer not in the manual?
Questions and answers