User Manual

HF-LPB200 Low Power WiFi Module User Manual
Shanghai High-Flying Electronics Technology Co., Ltd
www.hi-flying.com
- 25 -
Webpaged based Wi-Fi upgrade, please refer to 3.1.8 firmware upgrade page, user can upload
firmware file from PC to HF-LPB200.
HF-LPB200 module also support upgrade from remote HTTP server, keep module connects to AP
router before excuate remote HTTP upgrade. Remote upgrade have two methods: Direct Download
and Upgrade, Configure File Based Upgrade.
Configure File Based Upgrade
AT+UPURL command to set the remote directory which the configuration file located, such as
AT+UPURL=http://www.hi-flying.com/!admin/down/
Notes: The last / can‟t be remove
AT+UPFILE command to set the configuration file name, such as AT+UPFILE=config.txt
AT+UPST command to start remote upgrade. After excuate this command, the module will firstly
download configuration file (“config.txt”), then download the upgrade file base on the URL address
listed in the configure file.
General “config.txt” file format as following example:
[URL]=”http://www.hi-flying.com/!admin/down/20133181764087523.zip
Direct Download and Upgrade
AT+UPURL command to set the remote directory and file name, such as:
AT+UPURL=http://www.hi-flying.com/!admin/down/,lpb.bin
After excuate this command, the module will directly download the “lpb.bin file from remote directory
and start upgrade.
Notes: please contact with high-flying technical people before upgrade firmware, or maybe damage
the module and can‟t work again.
3.9. GPIO Function
HF-LPB200 module can provide maximum 17 GPIO pins, which include following configurable
interface application:
Two A/D analog input pins, dual channel, 16-bit ADC with sample rate upto 250KHz;
Four PWM ouput pins (4 channel);
32.768KHz Crystal input for RTC function support;
Two Pin sleep control pins for low power application;
One WPS functional pin;
One I2C interace;
One General Serial Communication Port, which can configured as
Master/Slave SPI Interface;
UART2 Interface with flow control;
I2S audio interface;
HF-LPB200 GPIO pin map as following table: