HF-LPB100 Low Power Wi-Fi Module User Manual
Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com)
- 24 -
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 Application.
Notes:
please contact with high-flying technical people before upgrade firmware, or maybe damage
the module and can‟t work again.
2.7.
GPIO/PWM Function
HF-LPB100 module can provide many GPIOs, which include max 6 PWM/GPIO control pins. User
devices can read/write GPIO/PWM pins status.
Table 7 HF-LPB100 GPIO/PWM Pin Mapping Table
When module works at PWM mode, PC and other devices can setup connection (TCP/UDP) through
WiFi, then read/write GPIO/PWM information through command data.
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;
GPIO n GET, Read GPIOn pin status, Reok=1 or GPIO NOK
GPIO n SET, Save GPIOn set, Response GPIO OK or GPIO NOK
PWM n frequency duty, Set PWMn Channel output, Response GPIO OK or GPIO NOK
PWM n GET, Read PWMn Channel set, Reok=frequency duty or PWM NOK
PWM n SET, Save PWMn Channel set, Response PWM OK or PWM NOK
Notes:
Please refer to Appendix B for details to use GPIO/PWM.
2.8.
SOCKET B Function
HF-LPB100 support double socket communication, the socket B function is disabled by default.
GPIO
Configured Function
Describtion
Default Setting
Type
GPIO11 PWM/GPIO Channel
PWM_1
GPIO11
I/O
GPIO12 PWM/GPIO Channel
PWM_2
GPIO12
I/O
GPIO15 GPIO Channel
GPIO15
GPIO15
I/O
GPIO18 PWM/GPIO Channel
PWM_3
GPIO18
I/O
GPIO20 PWM/GPIO Channel
PWM_4
GPIO20
I/O
GPIO23 GPIO Channel
PWM_5
GPIO23
I/O