Home
HF-A11
Contents
1. Q7 PC works as server all HF A11 modules works as data acquisition card and connect with PC how to configure this application axrrenannnnnnrnnnnnnnnnnnnnnnnnnnennnnnnnnnennnnnnnnennnnnnnnnennnnnnnnnnnn APPENDIX B EVB REFERENCE DESIGN Qun APPENDIX C EXTERNAL POWER SHUTDOWN MODE REFERENCE DESIQN APPENDIX D USER DEVICE PSEUDO CODE REFERENCE FOR AGREEMENT TRANSMITION MOD TE e i APPENDIX E COMPACRBIFOREWATION re rere Shanghai High Flying Electronics Technology Co Ltd www hi flying com 4 50 50 51 51 52 53 53 HF A11 Embedded WiFi Module User Manual LIST OF FIGURES Figure 1 Figure 2 Figure 3 Figure 4 Figure 5 Figure 6 Figure 7 Figure 8 Figure 9 Figure 10 Figure 11 Figure 12 Figure 13 Figure 14 Figure 15 Figure 16 Figure 17 Figure 18 Figure 19 Figure 20 Figure 21 Figure 22 Figure 23 Figure 24 Figure 25 Figure 26 Figure 27 Figure 28 Figure 29 Figure 30 Figure 31 Figure 32 Figure 33 Figure 34 Figure 35 Figure 36 Figure 37 Figure 38 Figure 39 Figure 40 Figure 41 Figure 42 Figure 43 Figure 44 Figure 45 Figure 46 Figure 47 zo A ND CO 8 ea Ea EA el T 8 HF A11 Mechanical Dimension n nannnannnnannnannnnnnnnnnnnnnnnnnnnnnnnnnnrnnnrnnnrronnrrnnernnrronnrrnnern
2. Set Operation AT WSSSID lt ap s ssid gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt B Parameters ap s ssid AP s SSID This Instruction only effective for HF A11 works as STA After HF A11 module boots up again the setting will be effective But user can set this command when module configured as AP 4 2 2 12 AT WSLK B Function Query WiFi link status as STA B Format Query Operation AT WSLK lt CR gt 0k lt ret gt lt CR gt lt LF gt lt CR gt lt LF gt B Parameters ret lt gt Disconnected if no WiFi connection lt gt AP SSID CAP s MAC if WiFi connection available gt HF Off if WiFi OFF This Instruction only effective for HF A11 works as STA After HF A11 module boots up again the setting will be effective But user can set this command when module configured as AP 4 2 2 13 AT WEBU B Function Set Query WEB page login parameters B Format Query Operation AT WEBU lt CR gt ok lt usr password gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT WEBU lt usr password gt lt CR gt Shanghai High Flying Electronics Technology Co Ltd www hi flying com 41 HF A11 Embedded WiFi Module User Manual HFA 0k lt CR gt lt LF gt lt CR gt lt LF gt B Parameters usr User name for WEB page access password Password for WEB page access 4 2 2 14 AT WAP B Function Set Query WIFI parameters as AP B Format
3. address fors subnet Mask 255 255 0 0 Default Gateway cE 0 10 99 254 Apply Cancel Figure 44 Module WAN IP Setting Q3 How to configure transparent serial port application UDP protocol with two HF A11 modules gt Network structure as below figure B Module 1 Setting lt gt Works as AP mode See Mode Selection Page lt LAN IP address 10 10 100 254 See AP Interface Setting Page lt Network Protocal UDP Port ID 8899 Application IP address 10 10 100 100 See Application Setting Page B Module 2 Setting lt gt Works as STA mode See Mode Selection Page lt WAN connection type Static IP 10 10 100 100 See STA Interface Setting Page lt gt Network Protocal UDP Port ID 8899 Application IP address Module 1 s LAN IP address 10 10 100 254 See Application Setting Page lt LAN IP address 10 10 99 254 Different net segment with WAN port See AP Interface Setting Page Li WIFI MCU HART HF ALIx p AP STA LAN IP 10 10 100 254 LAN IP 10 10 99 254 UDP WAN IP 10 10 100 100 10 10 100 100 8899 UDP 10 10 100 254 8899 Figure 45 Configure Transparent Serial Port Connection UDP Q4 Where to set HF A11 module network protocol TCP UDP gt HF A11 network protocol setting see Application Setting Page as below Figure B Protocol TCP Server lt gt Only Port ID required 8899 Default Shanghai High Flying Electronics Technol
4. 0k lt ver gt lt CR gt lt LF gt lt CR gt lt LF gt B Parameters ver Module software version information 4 2 2 40 AT H m Function Help m Format Query Operation AT H lt CR gt ok lt commod help gt lt CR gt lt LF gt lt CR gt lt LF gt B Parameters commod help command introduction Shanghai High Flying Electronics Technology Co Ltd www hi flying com 48 HF A11 Embedded WiFi Module User Manual HFA High Flying 5 PACKAGE INFORMATION 5 1 Shipping Information TRAY BOX Size 420 245 34 mm Size 422 247 72 mm inside MN y ar Ur AFG NA WW Wi Mut AATA AI aN dd CARTON Size 440 260 320 mm inside Figure 41 Shipping Information Note 1 tray 5 20pcs 100 pcs 1 box 2 trays 2 100 pcs 200pcs 1 carton 4 boxes 4 200 pcs 800pcs Shanghai High Flying Electronics Technology Co Ltd www hi flying com 49 HF A11 Embedded WiFi Module User Manual HFA APPENDIX A QUESTIONS AND ANSWERS Q1 How to configure transparent serial port application TCP protocol with two HF A11 modules gt Network structure as below figure B Module 1 Setting lt gt Works as AP mode See Mode Selection Page lt LAN IP address 10 10 100 254 See AP Interface Setting Page lt gt Network Protocal T CP Server Port ID 8899 See Application Setting Page Module default setting B Module 2 Setting lt gt Works as STA mode See Mode Selection Pag
5. Option Broad ption DestPort EE LocalPort kon Type TCP DN IT AtuoConn sdfasdf _StopShor Clear Save ption ShowHex Save In Time Figure 33 TCPUDPDbg Tools Connection Now in transparent transmission mode HF A11 default setting data can be transferred from CommTools program to TCPUDPDbg program or in reverse You can see data in receiver side will keep same as in sender side 3 3 Typical Application Examples 3 3 1 Wireless Control Application Ee HF A11x AP SSID HF A11x AP Figure 34 Wireless Control Application For this wireless control application HF A11 works as AP mode Module s serial port connects to user device So control agent Smart phone for this example can manage and control the user device through the wireless connection with HF A11 module Shanghai High Flying Electronics Technology Co Ltd www hi flying com 32 HF A11 Embedded WiFi Module User Manual High Flying 3 3 2 Remote Management Application E el y UART en 3 j t EPSE Figure 35 Remote Management Application Ke HOF xw HF ATix For this remote management application HF A11 works as STA mode and connects to Internet through wireless AP Module configured as TCP Client and communicates with remote TCP server at Internet Module s serial port connects to user device So user device s data or sampling information can send to remote TCP ser
6. PC2 open TCPUDPDbg program and create a new connection If HF A11 configured as Server mode TCPUDPDbg Tools shall create Client mode connection Or otherwise create a Server mode connection E4TCP amp UDP Debug Operate view Windows W Help H Language CreateConnn createserver R StartServer E SI S Connect X Discannall i Properties m x VC CreateConnectian c CreateServer 5 StartServer T Stopserver 01 DeleteServer R Connecti DiscanneckLr DiscannecEAlJl DeleteConnectior E DelereAllConn L SER DERG Exit Figure 31 TCPUDPDbg Tools Create Connection Then setting the TCP UDP connection parameters Default as following Create Connection Ka LocalFort Auto C Speci a 4001 AutoConn Eve E 5 Send When Conn Eve ms Caen Figure 32 TCPUDPDbg Tools Setting Then click Create button to create a connection Shanghai High Flying Electronics Technology Co Ltd www hi flying com 31 HF A11 Embedded WiFi Module User Manual HEY High Flying Operate O View V Windows w Help H Language x CreateConnn WS CreateServer 28 Startserver X O SS Connect S Disconnall 3 Deleteconn 3 O Z E Properties EM S 10 10 100 254 8899 E Client Mode r 6 10 10 100 254 8899 DestIP E AtuoSend Eve 100 ax Sends ET EI Server Mode 1o 10 100 254 Pr E WEE end Hex end Pile sale id Clear
7. Query Operation AT WAP lt CR gt ok lt wifi mode ssid channel gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT WAPz wifi mode ssid channel2 CR 0k lt CR gt lt LF gt lt CR gt lt LF gt B Parameters wifi mode WiFi protocols 11BG 4999 5 ssid SSID when module works as AP channel WIFI channel selection lt gt AUTO gt CH1 CH11 This Instruction only effective for HF A11 works as AP After HF A11 module boots up again the setting will be effective But user can set this command when module configured as STA 4 2 2 15 AT WAKEY B Function Set Query WIFI security parameters as AP B Format Query Operation AT WAKEY lt CR gt ok lt auth encry key gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT WAKEY lt auth encry key gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt B Parameters auth Authentication mode OPEN ze SHARED v WPAPSK encry Encryption algorithm NONE When auth OPEN effective WEP When auth OPEN effective or SHARED effective TKIP When auth WPAPSk effective AES When auth WPAPSK effective TKIPAES When auth WPAPSK effective key password ASCII code shall less than 64 bit and greater than 8bit This Instruction only effective for HF A11 works as AP After HF A11 module boots up again the setting will be effective But user can set this command when module configured as
8. 10 10 100 100 UART TCP Server HF Allx 8899 WIFI 2 3 UART UART HF AlIx HF Al 1x STA STA LAN IP 10 10 99 254 LAN IP 10 10 98 254 WAN IP 10 10 100 101 WAN IP 10 10 100 102 TCP Client TCP Client 10 10 100 100 8899 10 10 100 100 8899 Figure 50 Wireless Data Acquisition Card Setting 54 HF A11 Embedded WiFi Module User Manual HEY APPENDIX B EVB REFERENCE DESIGN ig is Q Zi og gt Y Shanghai High Flying Electronics Technology Co Ltd www hi flying com 55 HF A11 Embedded WiFi Module User Manual HFA APPENDIX C EXTERNAL POWER SHUTDOWN MODE REFERENCE DESIGN Hg Pa eos aR Dp 74LVC1G126 DIODES TI 0 06 pcs S AP2280 1WG 7 ERAP2280 2WG 7 DIODES 0 13 pcs Shanghai High Flying Electronics Technology Co Ltd www hi flying com 56 HF A11 Embedded WiFi Module User Manual HFA APPENDIX D USER DEVICE PSEUDO CODE REFERENCE FOR AGREEMENT TRANSMITION MODE define MAX_DAT_BUF_LEN 1024 define AGREE HEAD LEN 6 define MAX SEND CMD LEN MAX DAT BUF LEN 8 define RECV CMD LEN AGREE HEAD LEN 2 Define data structure struct STRAGREE SEND fit unsigned char send cmd MAX SEND CMD LEN unsigned short send len unsigned char send s int waiting 4 send ack RECV p unsigned char recv cmd RECV CMD LEN unsigned short recv len unsigned char recv s int waiting 4 recv ack agree data function do send cma if is waiting for send ack amp is timeout send cmd
9. 10 10 100 101 E E IP 182 168 1 1 IP 192 188 1 100 Gateway 10 10 100 254 ONUS Gateway 192 188 1 1 Figure 19 HF A11 Ethernet Interface Networking As STA N Ver For above networking HF A11 module works as STA Firmware is N Version and module configured as router mode When module connect to AP it will get wireless port IP address from AP For example 192 168 1 100 At the same time module also form a subnet Default 10 10 100 254 and all devices connected to module Ethernet interface will get assigned IP address For example 10 10 100 101 So for above networking PC1 at internal subnet can initiate a connection to PC2 For HF A11 works as router mode but PC2 can t active initiate a connection to PC1 Shanghai High Flying Electronics Technology Co Ltd www hi flying com 23 HF A11 Embedded WiFi Module User Manual 2 6 3 HF A11 Ethernet Interface Networking As STA Z Ver PC t e IP 182 168 1 101 D 182 168 1 10 IP 182 168 1 1 IP 192 168 1 100 Gateway 192 168 1 1 Gateway 192 168 1 1 Gateway 192 168 1 1 Figure 20 HF A11 Ethernet Interface Networking As STA Z Ver For above networking HF A11 module works as STA Firmware is Z Version and module configured as bridge mode When module connect to AP all devices connected to module Ethernet interface will get assigned IP address from AP For example 192 168 1 101 For module works as bridge mode it can be treated as a transparent device and PC1 PC2 can
10. 2 34 TONN 4 2 2 35 EPI M 4 2 2 36 AFERE LD MEM 4 2 2 37 uq v 4 2 2 38 xp upmm m C 4 2 2 39 up V 4 2 2 40 UND M c 9 5 PACKAGE INFORMATION meesnanaaneennnnnnaneennnnnnaneennnnnnnnennnnnnnnnennnnnnnnnennennensggonge gt n dl 5 1 Shipping Information uere Anna SEP APPENDIX A QUESTIONS AND ANSWERS M9 95 Q1 How to configure transparent serial port application TCP protocol with two HF A11 ls EU T Uu WE Q2 Where to Set HF A11 Module LAN IP and WAN IP through Web Page Q3 How to configure transparent serial port application UDP protocol with two HF A11 modules ecce O NEE Q4 Where to set HF A11 module network protocol TCP UDP Q5 How to configure transparent serial port application Two HF A11 modules all configured as STA and connection through AP u nas svennnannnnnvnnnnnnnnnnnennnnnnnennnnnnnnnnnnnnnnnnnnnnnnnnnnr Q6 How to avoid IP address confliction when apply HF A11 module
11. B Parameters lt domain domain to acess to module webpage 4 2 2 35 AT FRLDEN B Function Enable Disable nReload pin function B Format Query Operation AT FRLDEN lt CR gt 0k lt on off gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT FRLDEN lt on off gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt B Parameters on off Enable or Disable nReload pin function lt On enable nReload pin function lt gt Off disable nReload pin function Shanghai High Flying Electronics Technology Co Ltd www hi flying com 47 HF A11 Embedded WiFi Module User Manual HFA Notes AT FRLDEN is F Setting means restore to factory setting will not affect this command 4 2 2 36 AT RELD W Function Restore to factory default setting B Format AT RELD lt CR gt ok rebooting lt CR gt lt LF gt lt CR gt lt LF gt This command restores the module to factory default setting and then re starts the module 4 2 2 37 AT Z B Function Re start module B Format AT 4 Z lt CR gt 4 2 2 38 AT MID B Function Query module ID information B Format Query Operation AT MID lt CR gt ok lt module_id gt lt CR gt lt LF gt lt CR gt lt LF gt B Parameters module id Module ID information lt Ali yymmddnnnn yymmad date nnnn serial number 4 2 2 39 AT VER B Function Query module software version information B Format Query Operation AT VER lt CR gt
12. E 27 STA Interface Setting Page fN nnne 28 Application SEN PAGS ucc vn 28 Device Management Hage 29 STA Interface Debug Connection cccccccsccccccscsseeeeececsseeeeecsceseeeeeesceseeeeessceseeeeessceseeees 30 AP Interface Debug Connection sese 30 CommToqi Serialiebug Tools ccccccccsecccsecccececeeeeceeescencceeeeceeecaneeceaesceaesceeessess 30 TCPUDPDbg Tools Create Connection cccccccesssecceeceeeseceeeeeeeseceeeseeeeseeeeseaeeeeeeeeas 31 MICI 2899 Ed Le 31 TCPUDPDbg Tools Connection ccccccceeeccesceceeeeceeeceueeceusecaueesueeseeessueessueesueenaass 32 Babi Cle elt el Viel 32 Remote Management Application lssseeeesesesssseeeeeee eene 33 Transparent Serial Port Application ccccccssseceeccseeeceeeceeeeeeeeseeeeeeeessesaaeeeessseageeeeeeeas 33 Wireless Data Acquisition Card Applcaton 34 HF A11 Default UART Port Parameters rrrrnnnrrrnnnnnrornnnnronrnnnnrnnnnnnnnnnnnnrennnnnnennnnnnennnnn 35 Switch to Configuration Mode nennen nennen nnne nnne nnn nnn nnns 35 PR NN TEN 36 SPINS 0 mre Mio EEE EE SE RE 49 Configure Transparent Serial Port Connection TC 50 Module LAN IP Setting ersinnen siia n seian iaaa aiara iaaa Eaa 50 Module NPE 51 Configure Transparent Serial Port Connection UD 51 Module Network Protocols TChiGerver 52 Module Network Protocol TOCP Cli
13. OCI SCEE JP ae 22 200 VAR di ixtch tom 22 242 UARHN LtO Frangp W 22 20 Adidas Bing eee 22 2 6 Ethernet Interface Communication nnx nnrnnnnnnnnnnnnnvennnnnnnnnnnnnvennnnnnnnnnnnnvennnnnnnnnnnnnennnnnnnnnnnn 23 2 6 1 MHF A11 Ethernet Interface Networking As Ab 23 2 6 2 HF A11 Ethernet Interface Networking As GIANVer 23 2 6 3 HF A11 Ethernet Interface Networking As STA Z Ver rrrrnnnnnnnnnnnrvvnnnnrnnnnnnnennnnnnrnnnnn 24 E Search Funcion TOF STA iuiiiceinc d uiii suec chic ect esa eine 24 Pa WWII OG 24 AC llt ORIG POLO ON e E 25 2 10 Parameters Configuration Luvassesesmmusvmmmpvsmisevummniuve use 25 22 E ld OCT eg TE 25 212 GPIO FUNCION e G 25 3 OPERATION GUIDELINE EE 26 3 1 Configuration via Web Accessing rrvnnnnnvennnnnnnnvennnnnnnnnennnnnnnnnennnnnnnnvennnnnnnnennnnnnnnnennnnnnnnnnnn 26 3 1 1 Open Web Management Interface 26 Shanghai High Flying Electronics Technology Co Ltd www hi flying com D HF A11 Embedded WiFi Module User Manual HFA 4 3 1 2 Mode Selection Page rrnrrnnnnnnnnrrnnnnnnnnvvnnnnnnnnvnnnnnnnnnvnnnnnnnnnrnnnnnnnnsvnnnnnnnnesnnnnnnnnesnnnnnnenene 26 3 1 3 AP Interface Setting Hage nennen nennen nennen nnne nnn nnn nn 27 3 1 4 STA Interface Setting Page sseseesesseseeeeeneeeennen nennen nnne nnn nnn 27 3 1 5 App
14. communicate without any limit But in this networking HF A11 module needs assign a static LAN IP address For example 192 168 1 10 if module also needs communication with AP or configuration through web page 2 7 Search Function for STA When using web configuration STA Interface Setting Page user can push Search button to find surrounding AP and find a AP to associated 2 8 Work Mode HF A11 modules provide two kinds of work mode Transparent transmission mode and Agreement Transmission mode Transparent transmission mode achieves a plug and play serial data port and reduces user complexity Agreement Transmission mode can keep 10096 accurate data transmitting User can configure dedicated work mode base on actual requirement and save the configuration information to the flash of HF A11 then module will go into the appointed work mode after power up For a module which already finished parameters setting it will try to connect a wireless network and server with these parameters after power up and serial interface is also active with pre configured parameters Then all the data is transferred directly between serial interface and Wifi interface without any interpreted The parameters which need to configure include Wireless Network Parameters B Wireless Network Name SSID B Security Mode B Encryption Key gt TCP UDP Linking Parameters B Protocol Type B Link Type Server or Client m Target Port ID Number m Target P
15. data from serial port user will be duplicate and broadcast to every TCP connection or client Detailed multi T CP link data transmition structure as following figure WIFI EE User tt Device 1 WE UA e DD AAI tcp User User Device HF A11x M sum vom Device 2 User Device 3 Figure 13 Multi TCP Link Data Transmition Structure 1 4 4 TCPB Function HF A11 support 2xTCP function which means module can support 2 network connections at the same time The 2 net work connection called TCPB TCPB only works as TCP Client and its configuration can only through AT commanrd not Web configuration supported The command as following gt AT TCPBaon Enable TCPB function gt AT TCPPTB lt port gt Set TCPB port number gt AT TCPADDB lt IP or domain Set TCPB s server address gt AT TCPTOB lt time gt Set TCPB timeout gt AT TCPLKB Query TCPB link status Detailed command describtion refer ro AT instruction chapter After enable TCPB function two network interfaces work mode like Multi TCP Link All dates from each TCP connection will be transmitted to the serial port as a sequence and all data from serial port user will be duplicate and broadcast to each TCP connection 1 4 5 GPIO Function HF A11 module support 2 GPIO mode GPIO 1 and GPIO 2 At GPIO 1 mode UART TXD RXD CTS RTS defined as GPIO and others nReady nLink nReload defined as functional pin At GPIO 2 all these 7
16. dc m 39 4220 EN e 39 4225 AFFUARTFT Vase 39 2 Me MT r e 40 4 2 2 8 RIME hv 40 4 2 2 9 AE dl 2 en WEEN 40 4 2 2 10 RED ER GR 40 4 2 2 11 WEE WEN LEESE 41 4 2 2 12 nap TE 41 4 2 2 13 LI En ER I 41 4 2 2 14 Cuba t2 42 4 2 2 15 OD B VEE ee 42 4 2 2 16 up ADR ttt musseeeeeeee nnns 42 4 2 2 17 TRE c 43 4 2 2 18 Lh ble AEE 43 4 2 2 19 Cape 43 4 2 2 20 ATE FOPO c 43 4 2 2 21 AFPWANN 44 4 2 2 22 XEQNI 44 4 2 2 23 AT DAG DEN M 44 4 2 2 24 RER e c P m 45 4 2 2 25 ME Mgr a T 45 4 2 2 26 ATEMAX REE EEE 45 4 2 2 27 ATP 45 4 2 2 28 IJ areldj iS 46 4 2 2 29 MTP 46 Shanghai High Flying Electronics Technology Co Ltd www hi flying com 3 HF A11 Embedded WiFi Module User Manual HFA 4 2 2 30 ATT OPTOD 4 2 2 31 uS AIO 28i EE 4 2 2 32 PENT 4 2 2 33 ES GE EEE EE eee ee 4 2
17. fash normal user can set the interval time fast 10ms and normal 50ms This command is factory default setting command and AT RELD can t change its value 2 4 2 UART Auto Frame HF A11 support UART auto frame function If user select open this function and setting auto frame trigger length and auto frame trigger time parameters then module will auto framing the data which received from UART port and transmitting to the network as pre defined data structure gt Auto frame trigger length The fixed data length that module used to transmitting to the network gt Auto frame trigger time After the trigger time if UART port received data can t reach auto frame trigger length then module will transmitting available data to the network and bypass the auto frame trigger length condition Detailed UART auto frame function can refer to AT instruction set UARTF UARTFT UARTFL introduction 2 5 Address Binding HF A11 module supports the feature of binding the BSSID address of target network According to the provisions of 802 11 protocol different wireless networks can have a same network name i e SSID ESSID but must correspond to a unique BSSID address i e MAC address Illegal intruders can create a wireless network with the same SSID ESSID it will make STAs in the network to join to the illegal AP thereby and then network leakage happen Users can prevent STA from joining to illegal network by binding the BSSID ad
18. gt Shanghai High Flying Electronics Technology Co Ltd www hi flying com 38 HF A11 Embedded WiFi Module User Manual HFA B Parameters protocol gt TCP lt UDP CS Network mode lt SERVER gt CLIENT Port protocol port ID Decimal digit and less than 65535 IP Server s IP address when module set as client After HF A11 module boots up again the setting will be effective 4 2 2 4 AT UART B Function Set Query serial port parameters B Format Query Operation AT UART CR ok lt baudrate data_bits stop_bit parity flowctrl gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT UART lt baudrate data_bits stop_bit parity gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt B Parameters baudrate lt 1200 1800 2400 4800 9600 19200 38400 57600 115200 230400 345600 460800 data_bits gt 5 6 7 8 stop bits 12 parity NONE EVEN ODD MARK SPACE flowctrl hardware flow control CTSRTS gt NFC No flow control FC flow control After HF A11 module boots up again the setting will be effective 9 9 9 4 2 2 5 AT UARTF B Function Open Close UART auto frame function B Format Query Operation AT UARTF lt CR gt 0k lt para gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT UARTF lt para gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt B Parameters para lt disable Close auto frame function lt
19. gt 0k lt mode gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT WMODEz mode CR 0k lt CR gt lt LF gt lt CR gt lt LF gt B Parameters mode WIFI work mode AP gt STA After HF A11 module boots up again the setting will be effective 4 2 2 10 AT WSKEY B Function Set Query WIFI security parameters as STA B Format Query Operation Shanghai High Flying Electronics Technology Co Ltd www hi flying com 40 HF A11 Embedded WiFi Module User Manual HFA AT WSKEY lt CR gt ok lt auth encry key gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT WSKEY lt auth encry key CR 0k lt CR gt lt LF gt lt CR gt lt LF gt B Parameters auth Authentication mode OPEN v SHARED v WPAPSK encry Encryption algorithm lt gt NONE When auth OPEN effective lt WEP When auth OPEN or SHARED effective lt gt TKIP When auth WPAPSK effective lt gt AES When auth WPAPSK effective key password ASCII code shall less than 64 bit and greater than 8bit This Instruction only effective for HF A11 works as STA After HF A11 module boots up again the setting will be effective But user can set this command when module configured as AP 4 2 2 11 AT WSSSID B Function Set Query WIFI target AP SSID parameters as STA B Format Query Operation AT WSSSID lt CR gt 0k lt ap s ssid gt lt CR gt lt LF gt lt CR gt lt LF gt
20. gt enable Open auto frame function 4 2 2 6 AT UARTFT B Function Set Query UART auto frame trigger time B Format Query Operation AT UARTFT CR Shanghai High Flying Electronics Technology Co Ltd www hi flying com 39 HF A11 Embedded WiFi Module User Manual HFA ok lt time gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT UARTFT lt time gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt B Parameters time Range 100 10000 Unit ms Auto frame trigger time 4 2 2 7 AT UARTFL B Function Set Query UART auto frame trigger length B Format Query Operation AT UARTFL CR 0k lt len gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT UARTFL lt len gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt m Parameters len Range 64 4096 Unit byte Auto frame trigger length 4 2 2 8 AT TMODE B Function Set Query data transmition mode B Format Query Operation AT TMODE lt CR gt ok lt tmode gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT TMODE lt tmode gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt m Parameters imode Data transmition mode lt Through Transparent transmition lt Agreement Agreement transmition After HF A11 module boots up again the setting will be effective 4 2 2 9 AT WMODE B Function Set Query WIFI work mode B Format Query Operation AT WMODE lt CR
21. internal When module power up or some issue happened MCU need assert nRST signal 0 at least 300ms then set 1 to keep module fully reset nReady Module boot up ready signal Output Logics O effective There is 4 7K Ohm pull up resister internal The module will output 0 or Palmodic Signal after normal boot up This signal used to judge if module finish boot up and ready for application or working at normal mode nLink Module WIFI connection indication Output There is 4 7K Ohm pull up resister internal When module connect to AP STA mode or some WiFi STA connect to module AP mode the module will output O This signal used to judge if module already at WiFi connection status nReload Module restore to factory default configuration Input Logics 0 effective User can assert nReload signal 0 more than 3 s through button or MCU pin then release module will restore to factory default configuration and re start boot up process User need add 4 7K 10K Ohm pull up resister external the module If not use this function then can use AT command AT FRLDEN off to disable it UART TXD RXD UART port data transmit and receive signal There is 1K Ohm pull down resister internal User can t add pull up resister at these pins 1 3 2 10 100M Ethernet Interface HF A11 modules provide one 10 100M Ethernet PHY layer interface for data transition or user configuration This Ethernet support with transforme
22. out else if is waiting for send ack generate_new_send_cmd send cmd out else add waiting time function do recv cmd if is waiting for recv ack amp is timeout recv cmd out else if lis waiting for recv ack generate_new_recv_cmd recv_cmd_out else add waiting time function do_send_ack_cmd if receiv SEND ACK and check OK amp is_waiting_for_send_ack agree data send S agree data waiting 4 send ack 0 Shanghai High Flying Electronics Technology Co Ltd www hi flying com 57 HF A11 Embedded WiFi Module User Manual else do nothing function do recv ack cma if receiv RECV ACK and check OK amp is waiting for recv ack agree_data recv_S agree_data waiting 4 recv_ack 0 to use the received data else do nothing function main char cmd init agree str init pccom port do if read one byte from uart gt cmd if cmd 0x01 do_send_ack_cmd else if cmd 0x02 do_recv_ack_cmd if want to send data is_wait_for_send_ack do send cma if want to recv data is wait for recv ack do recv cmd while Shanghai High Flying Electronics Technology Co Ltd www hi flying com kp 58 HF A11 V4 0 User Manual HF DN APPENDIX E CONTACT INFORMATION Address Room 511 510 Building 7 No 365 Chuanhong Road Pudong New Area Shanghai China 201202 Web www hi flying com Service Online 400 189 3108 Mail Contact sal
23. pins defined as GPIO So GPIO mode not supports UART communication When module works at GPIO mode PC and other equipts can setup connection TCP UDP through WiFi then read write GPIO information through command gt GPIOnNIN Set GPIOn as input Response GPIO OK or GPIO NOK gt GPIO n OUT 0 Set GPIOn as output and output 0 Response GPIO OK or GPIO NOK gt GPIO n OUT 1 Set GPIOn as output and output 1 Response GPIO OK or GPIO NOK Shanghai High Flying Electronics Technology Co Ltd www hi flying com 17 HF A11 Embedded WiFi Module User Manual HFA gt GPIOnSW Set GPlOn as output and switch the output status Response GPIO OK or GPIO NOK gt QGPIO n PWM m1 m2 Set GPIOn output a wave m1 is high duration and m2 is low duration Time unit is ms and minimal is 10ms Response GPIO OK or GPIO NOK gt GPIO n GET Read GPIOn status Response 10 11 00 01 means input low input high output low output high Notes n can be 3 4 5 6 8 9 10 corresponding module pin GPIO 4 and 10 can only defined as input and GPIO 3 can only defined as output 1 4 6 Palmodic Signal Base on selected factory default setting nReady signal can have two output statuses Status One The module will output O after normal boot up This signal used to judge if module finish boot up and ready for application Status Two The module will output Palmodic Signal after normal boot up The palmodic sign
24. with a STA device 2 1 1 Basic Wireless Network Based On AP Infrastructure Infrastructure it s also called basic network It built by AP and many STAs which join in The characters of network of this type are that AP is the centre and all communication between STAs is transmitted through the AP The figure following shows such type of networking Figure 15 HF A11 Basic Wireless Network Structure Shanghai High Flying Electronics Technology Co Ltd www hi flying com 19 HF A11 Embedded WiFi Module User Manual HFA High Flying 2 1 2 Wireless Network Based On Adhoc Network Adhoc Adhoc It s also called independent basic service set and it s built by two or more STAs without AP this type of network is a loose structure all the STAs in the network can communicate directly As showing in the figure below HF A11 1 can be treat as an AP and HF A11 2 HF A11 3 and the laptop are STAs connected to HF A11 1 Meanwhile all HF A11 modules can connected to user device via UART interface All HF A11 modules can be operated and managed through the laptop So it is convenient to O amp M all HF A11 modules Moreover in such Adhoc network structure the whole coverage of a wireless network can be extended easily UART HS HF A11x T Figure 16 HF A11 Adhoc Network Structure 2 1 3 Wireless Network Based On AP STA HF A11 module support AP STA network mode means module support one AP interface and on
25. 10 10 100 1 to 10 10 100 99 Q7 PC works as server all HF A11 modules works as data acquisition card and connect with PC how to configure this application gt Network structure as below figure Three HF A11 module setup 3 TCP links with PC server Module 1 works as AP and all devices connect to module 1 through WiFi interface B PC Setting lt gt IP address 10 10 100 100 lt gt Network Protocal T CP Server Port ID 8899 B Module 14 Setting lt Works as AP mode lt LAN IP address 10 10 100 254 lt gt Network Protocal TCP Client Port ID 8899 Application IP address 10 10 100 100 B Module 2 Setting lt gt Works as STA mode Shanghai High Flying Electronics Technology Co Ltd www hi flying com 53 HF A11 Embedded WiFi Module User Manual HFA lt gt lt gt lt gt High Flying WAN connection type Static IP 10 10 100 101 Network Protocal TCP Client Port ID 8899 Application IP address 10 10 100 100 LAN IP address 10 10 99 254 Different net segment with WAN port m Module 3 Setting lt gt lt gt lt gt lt gt Shanghai High Flying Electronics Technology Co Ltd www hi flying com Works as STA mode WAN connection type Static IP 10 10 100 102 Network Protocal TCP Client Port ID 8899 Application IP address 10 10 100 100 LAN IP address 10 10 98 254 Different net segment with WAN port AP LAN IP 10 10 100 254 PC WIFI TCP Client 1 10 10 100 100 8899 IP
26. HF A11 Embedded WiFi Module User Manual HFA High Flying HF A11 Embedded WiFi Module User Manual V4 4 Overview of Characteristic Support IEEE802 11b g n Wireless Standards FCC ID AZYHF A11X i Support TCP IP UDP Network Protocols Dee L varriethemetto wn s C 15880 Support UART GPIO Ethernet Data Interface Support Work As STA AP AP STA Mode Support Router Bridge Mode Networking Support Internal External Antenna Option Support Max TCP links 32 Support AT Instruction Set for Configuration Support Friendly Web Configuration Page Support Palmodic Signal Support UART Free Auto Frame Function Support Smart Link Application Tools Single 3 3V Power Supply Small Size 25 x 40mm qr C 4 FC A A A A s A A A A A A A A A FCC CE Certificated A Flexible Software Platform for customization Shanghai High Flying Electronics Technology Co Ltd www hi flying com 1 HF A11 Embedded WiFi Module User Manual HFA TABLE OF CONTENTS 1 PRODUCT 0 AAT tis General SEAN 12 TARA Wale MU OG UI Le EE E E e CRT ai te E e e KE E 1 2 9 On board Chip Antenna euni roni eos poena co ratt taz re ha ssa s dE rens bas asas Eet geSEEEEeEgen EE 10 124 igi ENTE UT TU Mm WE 10 1 2 5 Evaluation uu 4 11 25 gaemiiesme a ee ee MG 12 1 3 Hardware Reference Design nnnnnonnnnnnnnnnonnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn nnna De nananana 13 1 3 1 Hardware Typical Appli
27. Notes Transparent transmission mode as a low level phy layer data transmitting can t keep zero error rates by itself User can enable UART port s hardware flow control CTS RTS function or though higher layer protocol such as TCP to lower error rate and mange the data completeness High Flying recommend when doing large amounts of data transmitting in transparent transmission mode hardware flow control should be enabled so as to fully ensure reliable data transmission In the applications which doesn t need flow control users can simply leave RTS CTS pin vacant 1 4 28 Configuration Mode In configuration mode user can finish HF A11 module configuration management and parameters setting work In work mode Transparent Transmission or Agreement Transmission user can switch to the configuration mode through AT instruction detailed switch operation refer to AT instruction set chapter Shanghai High Flying Electronics Technology Co Ltd www hi flying com 16 HF A11 Embedded WiFi Module User Manual HFA 1 4 3 Multi TCP Link Connection When HF A11 module configured as TCP Server it supports Multi TCP link connection and maximum 32 TCP clients permit to connect to HF A11 module User can realize multi TCP link connection at each work mode Multi TCP link connection will work as following structure Upstream All dates from different TCP connection or client will be transmitted to the serial port as a sequence Downstream All
28. STA booed 4 2 2 16 AT HIDESSID B Function Set Query hide AP s SSID Shanghai High Flying Electronics Technology Co Ltd www hi flying com 42 HF A11 Embedded WiFi Module User Manual B Format Query Operation AT HIDESSID CR ok lt sta gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT HIDESSID lt sta gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt B Parameters When Query sta reply if module s SSID is hide lt On not hide SSID lt Off hide SSID When Set lt Off hide SSID On not hide SSID 4 2 2 17 AT MSLP B Function Set modules into power save mode Turn OFF WiFi B Format Query Operation AT MSLP CR 0k lt sta gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT MSLP lt on off gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt B Parameters When Query sta reply if the module in sleep mode lt gt On Module not in sleep mode WiFi ON lt gt Off Module in sleep mode WiFi OFF When Set lt Off Set module to sleep mode WiFi OFF lt On Set module to normal mode WiFi ON uF When module go into sleep mode user can input AT MSLP on to re start the module and module go into transparent transmission mode 4 2 2 18 AT WSCAN B Function Seek AP when module works as STA mode B Format AT WSCAN lt CR gt 0k lt ap site gt lt CR gt lt LF gt lt CR gt lt LF
29. al is 0 5Hz square wave with dutyfactor 1 1 User can query this signal to judge if moduleis active live or need to re boot When module switches to command mode it will output 0 which used to distinguish work mode and command mode Notes This function is user selected factory setting and RELD instruction will not effective for this function If user not requires this function the default factory setting is Status One Contact with Hi flying for more detailed support Shanghai High Flying Electronics Technology Co Ltd www hi flying com 18 HF A11 Embedded WiFi Module User Manual HFA High Flying 2 FUNCTIONAL DESCRIPTION 2 1 Wireless Networking HF A11 module can be configured as both wireless STA and AP base on network type Logically there are two interfaces in HF A11 One is for STA and another is for AP When HF A11 works as AP other STA equipments are able to connect to wireless LAN via HF A11 module Wireless Networking with HF A11 is very flexible Following figure shows the functional architecture of HF A11 module GPIO WiFi Driver Processing Program Figure 14 HF A11 Functional Architecture Notes AP that is the wireless Access Point the founder of a wireless network and the centre of the network nodes The wireless router we use at home or in office may be an AP STA short for Station each terminal connects to a wireless network such as laptops PDA and other networking devices can be called
30. ange GPIO pin satis through AT commana UART sends request of UART_RTS data transmission GPIO GPIO5 UART receives data UART CTS transmission permission Low 0 effective reset input The reset duration should be kept more than 300ms Module reset signal RESET Shanghai High Flying Electronics Technology Co Ltd www hi flying com 8 HF A11 Embedded WiFi Module User Manual HFA WiFi status Indication nik O 1 WIFI connection available 0 No WIFI connection Can be configured as GPIO Indicate the module nReady um 0 or Palmodic Signal Finish status of power on module boot up process process 1 Module boot up not finish GPIO GPIO9 I O Can be configured as GPIO Restore configuration nReload Module will Restore factory GPIO default configuration after set this pin 0 more than 3s then set 1 Ethernet Interface PHYRX 1 8V Ethernet Data Interface Ethernet Interface PHYRX l Support transformer and direct Ethernet Interface PHYTX O connection AC couple mode Ethernet Interface PHYTX O 1 2 2 Mechanical Size HF A11 modules physical size as follows 40 0 23 1 Figure 3 HF A11 Mechanical Dimension Shanghai High Flying Electronics Technology Co Ltd www hi flying com 9 HF A11 Embedded WiFi Module User Manual HF High Flying 1 2 3 On board Chip Antenna HF A11 module support internal ob board chip antenna option When cos
31. anual HEY High Flying Select Language English Di Apply i Mode Selection Working Mode Configuration m AP Interface Setting You may configure the Uart WIFI module wifi mode and data transfor mode m STA Interface Setting i Application Setting AP Mode Access Point E Device Management C STA Mode Station Mode Data Transfor Mode m reement Mode D Apply Cancel Figure 23 Mode Selection Page 3 1 3 AP Interface Setting Page This page use to setting the parameters when HF A11 module works as AP i Mode Selection AP Interface Setting m AP Interface Setting m STA Interface Setting Application Setting Wireless Network mj Device Management Network Mode 11b g n mixed mode Network Name SSID HF A1 1x AP Hidden Isolated Broadcast Network Name SSID Enable C Disable AP Isolation C Enable S Disable BSSID 88 8B 5D 70 04 87 Frequency Channel AutoSelect Y Apply Cancel HF A11x AP Security Mode Disable Apply Cancel IP Address 10 10 100 254 Subnet Mask 255 255 255 0 MAC Address 88 8B 5D 70 04 87 DHCP Type Server Default DHCP Gateway 1 0 10 100 254 Apply Cancel Figure 24 AP Interface Setting Page 3 1 4 STA Interface Setting Page This page use to setting the parameters when HF A11 module works as STA Such as SSID of AP which module need to connected and also select the networking type DHCP or static IP address Shanghai High Fl
32. ateway address m Format Query Operation AT DHCPGW lt CR gt ok lt address gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT DHCPGW lt address gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt B Parameters address DHCP gate address 4 2 2 25 AT TCPTO B Function Set Query TCP timeout B Format Query Operation AT TCPTO lt CR gt ok lt time gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT TCPTO lt time gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt B Parameters time TCP timeout time lt 4 lt 600 600s lt gt 0 0 means no timeout lt Default 300s 4 2 2 26 AT MAXSK B Function Set Query maxima TCP connection B Format Query Operation AT MAXSK CR ok lt num gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT MAXSK lt num gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt B Parameters num 1 32 default 32 maxima TCP connection When configure as TCP Server HF A11 support maxime 32 TCP connections If not require so much connection user can resetting this parameters 4 2 2 27 AT TCPB B Function Open Close TCPB function B Format Query Operation AT TCPB lt CR gt 0ok lt sta gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation Shanghai High Flying Electronics Technology Co Ltd www hi flying com 45 HF A11 Embedded WiFi Module User Manua
33. cation pili Hl 13 1 3 2 10 100M Ethernet Interface NEEN 13 1 3 2 1 Ethernet Connection with Transformet ccccecctecccecssedeeedenecesseesceeseseeeebasseeesseeeees 14 1 3 2 2 Ethernet Connection without Transiormmer EE 14 T33 E MAL Le EEE A uut 14 1 3 4 Power Interface rnrnnrnrnnnnrnnrnnnnnnrnnnnrnrnnnnrnn00n020000000 A 2 15 1 4 Software Reference Design 9 5 16 1 4 1 Transparent Transmission Mode un 16 1 4 8 Configuration Mode 4 Wb EE M 16 1 4 3 Multi TCP Link Connection 4g 42998 2909 RENE 17 144 FOPB FI IO Lams iif er Ce P 17 1 4 5 GPIO Function 989 999 9 eese 17 OE SEE ME ENE 18 2 FUNCTIONAL DESCRIPTION M Leer suere 19 2 1 Wireless Nerworking eoa EN E 19 2 1 1 Basic Wireless Network Based On AP Infrastructure eesesseeesessseees 19 2 1 2 Wireless Network Based On Adhoc Network Adhoc 20 2 1 3 Wireless Network Based On Ab GIA 20 2 2 Auto Frequency FUNMIOn Nf iiiieiiicenieee nene Ipae eoa ree ceo opea eui sn o Bano eco aa ceo on an at na ru Eu 21 7 p EE 22 24 UART
34. d gt AT FSTTC on off This command is saved after re starting the module 2 2 Auto Frequency Function When module works as STA HF A11 will adjust its wireless channel to keep the same channel with associated AP and connect in When module works as AP and HF A11 enable Auto frequency function then when module boot Shanghai High Flying Electronics Technology Co Ltd www hi flying com 21 HF A11 Embedded WiFi Module User Manual HFA up it will select the best wireless channel based on surrounding environment 2 3 Security HF A11 module supports multiple wireless encryption mechanisms and enables to protect the security of user s data transmission the mechanisms include WEP WPA PSK TKIP WPA PSK AES WPA2 PSK TKIP WPA2 PSK AES 000060 2 4 UART Frame Scheme 2 4 1 UART Free Frame HF A11 support UART free frame function If user select open this function module will check the intervals between any two bytes when reciving UART data If this interval time exceeds defined value 50ms default HF A11 will think it as the end of one frame and transfer this free frame to WiFi port or HF A11 will receive UART data untill 4K bytes then transfer 4KB frame to WiFi port HF A11 s default interval time is 50ms User can also set this interval to fast 10ms through AT command But user have to consider if user MCU can send UART data with 10ms interval or the UART data may be divide as fragment Through AT command AT FUARTTE
35. ded WiFi Module User Manual HFA High Flying Notes Generally Network protocols support three modes TCP Server TCP Client and UDP UDP has no server and client requirement according to standard Besides module working as TCP Server IP address not required in this mode User must set the IP address of the device which need communicate with HF A11 module Also the Port ID between two sides of the communication devices must keep the same 3 1 6 Device Management Page This page use to manage HF A11 module general setting such as administrator setting restart module button restore factory default setting button and update firmware through webpage m Mode Selection Device Management m AP Interface Setting You may configure administrator account and password load default setting or update k firware m STA Interface Setting i Application Setting m Device Management Account admin Password mmm Apply Cancel Restart Module Restart Module Restart Load Factory Defaults Load Default Button Load Default Update Firmware Location Browse Apply Figure 27 Device Management Page Notes Restart module button When you setting the parameters of different web pages you will click Apply button to confirm the setting but the setting take effect only after user click the Restart button here the module will re boot up and reflash the memory information with new changes 3 2 HF A11 Usage Introduc
36. dress to improve wireless network security Shanghai High Flying Electronics Technology Co Ltd www hi flying com 22 HF A11 Embedded WiFi Module User Manual HFA 2 6 Ethernet Interface Communication HF A11 module provides one 10 100M Ethernet interface With this Ethernet interface user can easily realize the three interface WiFi UART and Ethernet intercommunication and networking HF A11 module can configured as Bridge Mode or Router Mode base on different networking technology Notes The Ethenet function is disabled by default because of the large power consumption Users may input AT FEPHY o0n and reset to enable Ethenet HF A11 may need different configuration to support different Ethenet Networking mode Such as N Ver and Z Ver as following which need AT FVER n to switch to N Ver or AT FVER z to switch to Z Ver 2 6 1 HF A11 Ethernet Interface Networking As AP PC2 PC1 100M LA A A L Mu a E v4 bm e E HF A11x IP 10 10 100 101 APES IP 10 10 100 100 GateWay 10 10 100 254 IP 10 10 100 254 GateWay 10 10 100 254 Figure 18 HF A11 Ethernet Interface Networking As AP For above networking HF A11 module works as AP and also the centre of this network All devices IP address in this network shall use the same network segment with HF A11 and they can intercommunication with this method 2 6 2 HF A11 Ethernet Interface Networking As STA N Ver P VG IP
37. e lt gt WAN connection type DHCP or Static IP For this example 10 10 100 100 See STA Interface Setting Page lt gt Network Protocal T CP Client Port ID 8899 Application IP address Module 1 s LAN IP address 10 10 100 254 See Application Setting Page lt Notes When module 2 works as STA mode module s WiFi interface works as WAN port Module s WAN IP address and LAN IP address shall be setting different segment So module 2 s LAN IP address must change to other segment For this sample we change to 10 10 99 254 See AP Interface Setting Page EG HF Allx AP STA LAN IP 10 10 100 254 LAN IP 10 10 99 254 TCP Server WAN IP 10 10 100 100 8899 TCP Client 10 10 100 254 8899 Figure 42 Configure Transparent Serial Port Connection TCP Q2 Where to Set HF A11 Module LAN IP and WAN IP through Web Page gt HF A11 Wireless LAN IP address setting see AP Interface Setting Page as below Figure Subnet Mask 255 255 255 0 MAC Address 88 8B 5D 70 04 87 I DHCP Type Sever zl Default DHCP Gateway 101000100254 Apply Cancel Figure 43 Module LAN IP Setting gt HF A11 Wireless WAN IP address setting see STA Interface Setting Page as below Figure User can set WAN connection type to DHCP and STATIC IP Shanghai High Flying Electronics Technology Co Ltd www hi flying com 50 HF A11 Embedded WiFi Module User Manual HFA WAN Connection Type STATIC fixed IP
38. e LANN Set Query LAN setting only effective as AP mode DHCPDEN Enable Disable LAN DHCP server function Shanghai High Flying Electronics Technology Co Ltd www hi flying com HE para n Parameters if query command or Error code when error happened 3 HF A11 Embedded WiFi Module User Manual Set Query TCP timeout Set Query TCPB time out time Query TCPB link status HE Notes HF A11 module can works as AP or STA user have to use different AT Instruction to set WiFi parameters when module works as AP or STA mode 4 2 2 1 AT E B Function Open Close show back function B Format AT E lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt When HF A11 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 4 2 2 2 AT ENTM B Function Set module into transparent transmition mode B Format AT ENTM lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt When operate this command module switch from configuration mode to transparent transmission mode 4 2 2 3 AT NETP m Function Set Query network protocol parameters B Format Query Operation AT NETP lt CR gt ok lt protocol CS port IP gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT NETP lt protocol CS port IP gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF
39. e STA interface at the same time as following figure Shanghai High Flying Electronics Technology Co Ltd www hi flying com 20 HF A11 Embedded WiFi Module User Manual HFA F EH BR Wi TCP Server Figure 17 HF A11 AP STA Network Structure When module enables AP STA function Module s STA interface can connect with router and connect to TCP server in the network At the same time module s AP interface is also active and permit phone PAD to connect through TCPB then phone PAD can control user device and and setting the module parameters The advantage of AP STA mode is gt Users can easily setting and track user device through Phone PAD and not change the orginal network setting gt Users can easily setting modules parameters through WiFi when module works as STA mode AP STA Mode Setting AP STA mode need serial AT command to enable as follows gt AT FAPSTA on Enable AP STA mode gt Then when you configure module works as STA mode it s AP interface still active AP STA Mode Notes When user enable AP STA function the STA port need to keep connected with other router AP or STA port will have to scan the AP frequently which will affect AP port function and may cause some data loss So if user confirm STA port can t connect with AP at some time user can disable the STA scan through the following command gt AT STTCzon off on Scan AP off No scan AP After re start module this command not save
40. edded WiFi Module User Manual HF High Flying 4 2 AT Instruction Set Overview User can input AT Instruction through hyper terminal or other serial debug terminal also can program the AT Instruction to script User can also input AT H to list all AT Instruction and description to start jS5erial CON3 SecureCkT TER Sig BEM moO fait MEG IAW FHM dag ma each SN e A Serial COM3 4 2 1 AT NONE command reply ok AT E Echo on off to turn on off command line echo function AT ENTM Goto Through Mode AT NETP Set Get the Net Protocol Parameters AT UART Set Get the UART Parameters AT WMODE Set Get the wIFI Operation Mode AP or STA AT WSKEY Set Get the Security Parameters of WIFI STA Mode AT WSSSID Set Get the AP s SSID of WIFI STA Mode AT WEBU Set Get the Login Parameters of WEB page AT WAP Set Get the Parameters of WIFI AP Mode AT WAKEY Set Get the Security Parameters of WIFI AP Mode AT WSCAN Get The AP site Survey only for STA Mode AT Z Reset the Module AT MID bal The Module ID eg All yymmddxxxx Cyyiyear mm month dd day xxxx serial num AT H Help Serial COM3 22 1 2647 985 VT100 Figure 40 AT H Instruction for Help Instruction Syntax Format AT Instruction protocol is based on the instruction of ASCII command style the description of syntax format as follow Notes Format Description m lt gt Means the parts must be included B Means the op
41. ent nnnnn0annnnnnoannnnonennnnnnennnnnnsnnnnnnsnnnrrennrnrrersenrerenne 52 Shanghai High Flying Electronics Technology Co Ltd www hi flying com 5 HF A11 Embedded WiFi Module User Manual Figure 48 Module Network Protocol UD Figure 49 Two HF A11 Modules Connection Through Ab Figure 50 Wireless Data Acquisition Card Setting rrrrrrrnnnnrrrrrrnnnnnrrnrrnnnnnrennnnnnnnrnnnnnnnnnennnnnnsnee LIST OF TABLES Table 1 X HF A11 Module Technical Specifications 0000nn000nnnnannnonannnnannnnnnnnnnnnrnonnnrennnrnrnnnnnnenene Table 2 FN PN DENN Table 3 HF A11 External Antenna Parameters EE Table 4 HF A11 Evaluation Kit Interface Description EE Table 5 HF A11 Web Access Default Gettng EE Table 6 Error Code DescribtionHF A11 Web Access Default Setting sssssuuuuse Table7 AT Instruction Set Uer HISTORY Ed V3 1 Created on 1 14 2012 Ed V4 0 Update AT command information on 6 25 2012 Ed V4 1 Update 2 1 3 AP STA function notes and command setting Add 1 2 3 On board Chip Antenna Update Appendix B C on 10 15 2012 Ed V4 2 Update EVB reference design and picture Ed V4 3 Update on 4 24 2013 Remove agreement transmission mode function support Remove WDS function support Add AT command AT DOMAIN AT FRLDEN AT DHCPDEN AT HIDESSID Ed V4 4 Update on 12 09 2013 Modify order information Add HF A11 SMA type Shanghai High Flying Electronics Technology Co Ltd w
42. er wireless connection OK Open Wen browser and access http 10 10 100 254 Step 3 Then input user name and password in the page as following and click OK button Connect to 10 10 10 254 Sc The server 10 10 10 254 at GoAhead requires a username and password Warning This server isquesting that your username ead password be sent ip n insecure manner basic authenticaths without a secure g nnection User name admin Password Figure 22 Open Web Management page The HF A11 web management page support English and Chinese language User can select language environment at the top right corner and click Apply button The main menu include five pages Mode Selection AP Interface Setting STA Interface Setting Application Setting and Device Management Notes Default High Flying suggests all Web management related operation shall execute at AP mode Even you need configure STA parameters and want module works as STA mode If user selects STA mode and still want to configurate the module through Web browser you have to access the module through another AP and get the module IP address through this AP 3 1 2 Mode Selection Page This page use to setting the module working mode Transparent Transmission or Agreement Transmission and wireless networking mode AP and STA mode Shanghai High Flying Electronics Technology Co Ltd www hi flying com 26 HF A11 Embedded WiFi Module User M
43. es hi flying com For more information about HF modules applications and solutions please visit our web site http www hi flying com en END OF DOCUMENT O 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 The master of this document is stored on an electronic database and is write protected and may be altered only by authorized persons at High Flying Viewing of the master document electronically on electronic database ensures access to the current issue Any other copies must be regarded as uncontrolled copies Shanghai High Flying Electronics Technology Co Ltd www hi flying com 59
44. gt B Parameters ap site AP searched 4 2 2 19 AT TCPLK B Function Query if TCP link already build up B Format AT TCPLK lt CR gt 0k lt sta gt lt CR gt lt LF gt lt CR gt lt LF gt B Parameters sta if module already setup TCP link lt gt on TCP link setup lt gt off TCP link not setup 4 2 2 20 AT TCPDIS B Function Open Cose TCP Only TCP Client available B Format Shanghai High Flying Electronics Technology Co Ltd www hi flying com 43 HF A11 Embedded WiFi Module User Manual HFA Query Operation AT TCPDIS lt CR gt 0k lt sta gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT TCPDIS lt on off gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt B Parameters sta set qurey TCP link status lt on TCP link availabe When setting on module will connect to TCP server right away lt gt off TCP link not availabe when setting off module will disconnect with TCP server and not connect again 4 2 2 21 AT WANN B Function Set Query WAN setting only effective as STA mode B Format Query Operation AT WANN lt CR gt ok lt mode address mask gateway gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT WANN lt mode address mask gateway gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt B Parameters mode IP setting for WAN port lt gt static Static IP lt DHCP Dynamic IP address WAN
45. ive 4 2 2 31 AT TCPLKB B Function Query TCPB link status B Format AT TCPCKB lt CR gt ok lt sta gt lt CR gt lt LF gt lt CR gt lt LF gt B Parameters Shanghai High Flying Electronics Technology Co Ltd www hi flying com 46 HF A11 Embedded WiFi Module User Manual HFA sta TCPB link status lt on TCPB link OK lt off TCPB link not availabe 4 2 2 32 AT EPHY B Function Enable ETH interface B Format Set Operation AT EPHY lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt Ethenet port function is disabled bydefault Inout this command to enable Ethenet This command is not saved this means after the module reset Ethenet is disabled by default Input AT FEPHY o0n to enable Ethenet forever 4 2 2 33 AT STTC B Function Enable Disable STA port scan function B Format Query Operation AT STTC lt CR gt 0k lt sta gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT ST TC lt on off gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt B Parameters sta when query this value feedback lt gt On Enable STA port scan function lt gt Off Disable STA port scan function 4 2 2 34 AT DOMAIN B Function Set Query domain ofmodule webpage B Format Query Operation AT DOMAIN CR ok lt domain gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT DOMAINz domain CR 0k lt CR gt lt LF gt lt CR gt lt LF gt
46. l HFA AT TCPB lt on off gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt B Parameters sta TCPB enable status on CPB enable lt off TCPB disable After HF A11 module boots up again the setting will be effective 4 2 2 28 AT TCPPTB B Function Set Query TCPB port number B Format Query Operation AT TCPPTB lt CR gt 0k lt port gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT TCPBz port CR 0k lt CR gt lt LF gt lt CR gt lt LF gt m Parameters port decimal 65535 After HF A11 module boots up again the setting will be effective 4 2 2 29 AT TCPADDB B Function Set Query TCPB server address B Format Query Operation AT TCPADDB lt CR gt ok lt add gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT TCPADDBz add CR 0k lt CR gt lt LF gt lt CR gt lt LF gt B Parameters add TCPB server address can be IP address or url After HF A11 module boots up again the setting will be effective 4 2 2 30 AT TCPTOB B Function Set Query TCPB time out time B Format Query Operation AT TCPTOB lt CR gt ok lt time gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT TCPTOB lt time gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt B Parameters time TCPB time out time lt 600 600s gt 0 No time out default 300 After HF A11 module boots up again the setting will be effect
47. les with these parameters as factory default configuration It will reduce user s module configuration time for mass production Also if user need different parameters setting for every module High Flying can provide the auto configuration tool to speed up the module conguration duration Please contact High Flying technical interface to acquire this tool if required 2 11 Firmware Upgrade HF A11 module supports firmware upgrade online User can upgrade firmware via web access 2 12 GPIO Function HF A11 module can provide maximum 7 GPIO pins Refer to 1 2 1 Pin Definition charter which include 4 UART pins and 3 general use pins can be customized as GPIO pins if these functions are not required As GPIO functional pin user devices can read write GPIO pins status through AT instruction set Shanghai High Flying Electronics Technology Co Ltd www hi flying com 25 HF A11 Embedded WiFi Module User Manual HFA 3 OPERATION GUIDELINE 3 1 Configuration via Web Accessing When first use HF A11 modules user may need some configuration User can connect to HF A11 module s wireless interface with following default setting information and configure the module through laptop Table 5 HF A11 Web Access Default Setting Default Setting SSID HF A11x AP IP Address 10 10 100 254 Password admin 3 1 1 Open Web Management Interface Step 1 Connect laptop to SSID HF A11x AP of HF A11 module via wireless LAN card Step 2 Aft
48. lication Setting Page nnne nnne nennen nnn nnn nnn 28 3 1 6 Device Management Hage 29 32 HF AT1 Usage NON Ne 29 3 2 1 Software Debug Tools rrrrrrrnnnnnrnnrnnnnnnvnrrnnnnnrrnnrnnnnnrrnnrnnnsnsrnnnnnnnsrnnnnnnnnsrnnnnnnsnssnnnnnnsnssen 29 3 2 2 Network CGonpnechon 30 32 3 NED DS 30 3 3 Typical Application Examples P A 32 3 3 1 Wireless Control Application EE 32 3 3 2 Remote Management Apoplcaton EEN 39 3 3 3 Transparent Serial Port Application 2lssseeseeesseeseeeeeeeseeten nennen nnn 33 3 3 4 Wireless Data Acquisition Card Application eeeeeneeseeeeseeeee nennen 34 AT INSTRUCTION INTRODUCTION NB n 35 4 1 Configuration Mode css s rrcc c DA AA 35 4 1 1 Switch to Configuration Mode EEN EEEEE nnne nn 35 4 2 AT Instruction Set Overview rrrrnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnneennnnnnnnndnnenennnnnnnnnnnnennnnnnnnnnnnnr 36 4 2 1 Instruction Syntax Format 49 Messe 36 4 2 2 AT Instruction Set 4 O a WW ENEE 37 4 2 2 AT E An C een 38 4222 AT ENTM NW EEN 38 4 2 2 8 AT NETP A d MI REENEN 38 LIAE MEME NUES IM
49. lying 4 AT INSTRUCTION INTRODUCTION 4 1 Configuration Mode When HF A11 power up it will default works as transparent transmission mode then user can switch to configuration mode by serial port command HF A11 UART default parameters setting as below figure Baudrate 57600 Data Bits 8 Parity None Stop 1 CTSRTS Disable Figure 38 HF A11 Default UART Port Parameters In configuration mode user can setting the module through AT instruction set which cover all web page setting function 4 1 1 Switch to Configuration Mode Two steps to finish switching from transparent transmission mode to configuration mode gt UART input after module receive and feedback a as confirmation gt UART input a after module receive a and feedback ok to go into AT instruction set configuration mode f Serial CON3 SecureCkT YEE SEG 340 mp fed BAG IAW hw 99923938 8 5309 51 9 Serial COM3 ara Serial COM3 3 1 2647 909 vT100 Figure 39 Switch to Configuration Mode Notes 1 When user input No Enter key required the UART port will display feedback information a and not display input information as above UART display 2 Any other input or wrong step to UART port will cause the module still works as original mode transparent transmission Shanghai High Flying Electronics Technology Co Ltd www hi flying com 25 HF A11 Emb
50. ng Electronics Technology Co Ltd www hi flying com 52 HF A11 Embedded WiFi Module User Manual HFA lt LAN IP address 10 10 99 254 Different net segment with WAN port See AP Interface Setting Page B Module 3 Setting lt gt Works as STA mode See Mode Selection Page lt WAN connection type Static IP 10 10 100 101 See STA Interface Setting Page lt gt Network Protocal T CP Client Port ID 8899 Application IP address Module 2s WAN IP address 10 10 100 100 See Application Setting Page lt gt LAN IP address 10 10 98 254 Different net segment with WAN port See AP Interface Setting Page AP HF Allx LAN IP 10 10 100 254 TCP Server 8899 N L NN STA STA LAN IP 10 10 99 254 LAN IP 10 10 98 254 WAN IP 10 10 100 100 WAN IP 10 10 100 101 TCP Server TCP Client 8899 10 10 100 100 8899 Figure 49 Two HF A11 Modules Connection Through AP Q6 How to avoid IP address confliction when apply HF A11 module gt The following address allocation method can avoid the IP address confliction for dynamic and static IP address mixed application B Module dynamic IP address range from 100 to 200 for last IP address segment lt gt Such as default IP 10 10 100 254 When module works as AP the IP address module can allocate to STA is from 10 10 100 100 to 10 10 100 200 B So if user needs to set static IP for dedicated STA internal network the available IP address range can start from
51. nnrnnnne 9 HF A11 Chip Antenna Keep Out Region en nnnnnneannnnnnennnnnssnnnneonrnrnrnsrnrereosrnrnrrsenrerrsennenee 10 Suggested Module Placement Region rrrrrrnnnnnrvnnrnnnnnvvnvnnnnnnrnnnnnnnnsennnnnnsnsennnnnnnnsennnnnnsnsenn 10 HA BANA Ne 11 HF A11 Order Information REENEN 12 HF A11 Hardware Typical Appltcation kk EEE REENEN d 13 Ethernet Reference Design with Transformer EE 14 Ethernet Reference Design without Transformer EEN 14 UART Interface Reference Design ccccsesseccccceeeeeeeeceeeeeeeeecssadueeeessaubesceessssaneesiiiiaeess 15 User MCU Software Flow Chart ssssssr BR UA 16 Multi TCP Link Data Transmition Structure EEN 17 HF A11 Functional Architecture 44 A 19 HF A11 Basic Wireless Network Structure NEEN 19 HF A11 Adhoc Network Structure M AA uuu 20 HF A11 AP STA Network Structure EEN 21 HF A11 Ethernet Interface Networking As Ab 23 HF A11 Ethernet Interface Networking As STA N Ver esses 23 HF A11 Ethernet Interface Networking As STA Z Ver rrrurrrnnnnnnrrvvnnnnnvrrvennrnnrrrernnnnn 24 HF A11 Transparent Transmission emgoen 25 Open Web Management page Ee 26 Mode Selection Page ccccccsssseccceneeuececcceeeecceeseesecececeeuseceesesaaseeeseseaeeeeessaaeeeeessaaseeess 27 AP Interface Setting Page sara
52. ogy Co Ltd www hi flying com 51 HF A11 Embedded WiFi Module User Manual High Flying Net Setting Mode Server sl Protocol rcP v Port aa IP Address 10 10 10 100 TCP Time out MAX 600 s 300 Apply Cancel Figure 46 Module Network Protocols TCP Server B Protocol TCP Client lt Application IP address required it s target TCP server s IP address lt gt Port ID required 8899 Default Net Setting Mode Client v Protocol Tor v Port Baa IP Address 010430300 TCP Time out MAX 600 s 300 Cancel Figure 47 Module Network Protocol TCP Client m Protocol UDP lt gt NoServer Client selection required lt Application IP address required it s target device s IP address lt Port ID required 8899 Default Het Setting Mode Client zl Protocol UDP sl Port ppp IP Address 10101010 Figure 48 Module Network Protocol UDP Q5 How to configure transparent serial port application Two HF A11 modules all configured as STA and connection through AP Network structure as below figure B Module 14 Setting We use HF A11 as AP for this example lt Works as AP mode and all default setting B Module 2 Setting lt gt Works as STA mode See Mode Selection Page lt gt WAN connection type Static IP 10 10 100 100 See STA Interface Setting Page lt gt Network Protocal TCP Server Port ID 8899 See Application Setting Page Shanghai High Flyi
53. ort IP Address gt Serial Port Parameters Shanghai High Flying Electronics Technology Co Ltd www hi flying com 24 HF A11 Embedded WiFi Module User Manual HFA Baud Rate Data Bit Parity Check Bit Stop Bit Hardware Flow Control gt Work Mode Selection B Transparent transmission or Agreement Transmission mode Transparent transmission demo as showing in the following figure a HF A11 module can be taken as a virtual serial line when UART interface working in transparent transmission mode And user device will realize wireless data transmition almost without any changes UART User Device at W UART User Device HF A11x HF A11x Figure 21 HF A11 Transparent Transmission Demo 2 9 Network Protocol HF A11 module supports TCP UDP network protocol and the port parameters can be set via web accessing or AT instruction set 2 10 Parameters Configuration HF A11 module supports two methods to configuration parameters Web Accessing and AT instruction set Web accessing means users can configure parameters through Web browser When HF A11 module connected to wireless network parameters configuration is done on a PC connected to the same wireless network AT instruction set configuration means user configure parameters through serial interface command Refer to AT instruction set chapter for more detail Notes High Flying can customized the parameters setting as customer request and ship HF A1 1 modu
54. ot up phase the general user board MCU software flow chart will as following Power Up J EL lt nReady 11 gt gt wan Le Total 60s gt Y ms f 1 Transparent Transmittion LL Waiting time depend on real wireless network T di OW gt UART Transparent Data Coomunication Figure 12 User MCU Software Flow Chart When HF A11 modules boot up user can select one work mode base on the setting and user can switch to the configuration mode at any kinds of work mode 1 4 1 Transparent Transmission Mode HF A11 modules 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 As in this mode the module s serial port always work in the transparent transmission mode so users only need to think of it as a virtual serial cable and send and receive data as using a simple serial In other words the serial cable of users original serial devices is directly replaced with the module user devices can be easy for wireless data transmission without any changes The transparent transmission mode can fully compatible with user s original software platform and reduce the software development effort for integrate wireless data transmission
55. port IP address mask WAN port subnet mask gateway WAN port gateway address This Instruction only effective for HF A11 works as STA After HF A11 module boots up again the setting will be effective But user can set this command when module configured as AP 4 2 2 22 AT LANN B Function Set Query LAN setting only effective as AP mode B Format Query Operation AT LANN lt CR gt ok lt address mask gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT LANN lt address mask gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt B Parameters address LAN port IP address mask LAN port subnet mask This Instruction only effective for HF A11 works as AP After HF A11 module boots up again the setting will be effective But user can set this command when module configured as STA 4 2 2 23 AT DHCPDEN B Function Enable Disable LAN DHCP server function B Format Query Operation AT DHCPDEN lt CR gt ok lt sta gt lt CR gt lt LF gt lt CR gt lt LF gt Set Operation AT DHCPDEN lt sat gt lt CR gt Shanghai High Flying Electronics Technology Co Ltd www hi flying com 44 HF A11 Embedded WiFi Module User Manual HFA 0k lt CR gt lt LF gt lt CR gt lt LF gt B Parameters sta if Enable Disable LAN DHCP server function on Enable LAN DHCP server function lt off Disable LAN DHCP server function 4 2 2 24 AT DHCPGW B Function Set Query DHCP g
56. r HF A11 modules User can add RS 232 chipset on user board and convert the signal to RS 232 voltage to communicate with outside equipment or sensors HF A11 modules UART interface include 4 general signals TXD RXD RTS CTS The hardware reference design with RS 232 chipset as following Shanghai High Flying Electronics Technology Co Ltd www hi flying com 14 HF A11 Embedded WiFi Module User Manual HF Allx UART RTS UART TXD UART RXD UART CTS Figure 11 OO E P GND C93 7 100NF fee SERIAL DEBUG PORT uF UART Interface Reference Design Notes TXD pin is also hardware configuration pin internal module So this pin MUST pull down during module power up HFOA11x modules provide internal pull down resister user can t add pull up pull down resister on user board which may cause module can t work 1 3 4 Power Interface HF A11 module support single 3 3V power supply The peak current shall about 350mA and normal WiFi working current shall about 200mA The power save WiFi OFF mode will about 100mA Decoupling at power pin suggested At least one 100uF and one 10uF capacitor required at user board and put near module power input pin will increase the reliability and performance Shanghai High Flying Electronics Technology Co Ltd www hi flying com 15 HF A11 Embedded WiFi Module User Manual HFA 1 4 Software Reference Design When HF A11 modules bo
57. r and without transformer PHY to PHY 2 kinds of connection Shanghai High Flying Electronics Technology Co Ltd www hi flying com 13 HF A11 Embedded WiFi Module User Manual HFA 1 3 2 1 Ethernet Connection with Transformer User board put Ethernet transformer and RJ 45 connector This is a general 10 100M Ethernet phy layer connection The reference design as following HF A11x CMT4 2 1 U19 PHY_TX PHY TXATXOPA PHY RX RXIMA OO 4 OH OY FS Go Ro PHY RX4RXIP4 me R174 T5 C163 WA 1 2 CHGND RJ 45X1P 1000pF 2K V NI Figure 9 Ethernet Reference Design with Transformer 1 3 2 2 Ethernet Connection without Transformer For this application Ethernet will work as internal data transmition interface and save one transformer and RJ 45 connector Ethernet PHY to PHY connection will use AC coupled connection This is a space and cost optimized solution Hardware reference design as following Note VCC signal at reference design shall base on user board PHY chipset voltage level such as 2 5V power supply for general Ethernet PHY chipset HF Allx C117 0 1uF PHY TX4lXOM4 C118 0 TuF PHY TX4TXOP4 1 2 C1191 OI PHY RX RXIMA 1 2 C120 1 PHY RXARXIP4 FH TUF 100M ETH PHY Figure 10 Ethernet Reference Design without Transformer 1 3 3 UART Interface UART interface is the serial data transmition interface mainly used fo
58. r the product and develop the detailed application The evaluation kit shown as below user can connect to HF A11 module with the RS 232 UART port 100M Eth port or Wireless port to configure the parameters manage the module or do the some functional tests BER cela Oe a Figure 6 HF A11 Evaluation Kit The external interface description for evaluation kit as follows Shanghai High Flying Electronics Technology Co Ltd www hi flying com 11 HF A11 Embedded WiFi Module User Manual HFA Table 4 HF A11 Evaluation Kit Interface Description Function Name Description O OZ OZ o O o o o TXD Leese BXD RXDindeatr SS o 1 2 6 Order Information 3 3V Power Indicator Base on customer detailed requirement HF A11 series modules provide different variants and physical type for detailed application HF A11 X Antenna D External l PEX 1 Internal C hip Ant SMA External SMA Product Type A11 Vender Information HF Figure 7 HF A11 Order Information Shanghai High Flying Electronics Technology Co Ltd www hi flying com HF A11 Embedded WiFi Module User Manual HFA 1 3 Hardware Reference Design 1 3 1 Hardware Typical Application User Board HF A1llx UART RXD UART TXD UART RTS UART CTS nReload GND Figure 8 HF A11 Hardware Typical Application Notes nRST Module hardware reset signal Input Logics 0 effective There is 100K Ohm pull up resister
59. tion 3 2 1 Software Debug Tools High Flying use two common software tools debugging and applying HF A11 modules User can also select other tools used to debug serial and Ethernet port m Serial Debugging Software ComTools Com ools exe m Ethernet Debugging Software TCPUDPDbg Di Shanghai High Flying Electronics Technology Co Ltd www hi flying com 29 HF A11 Embedded WiFi Module User Manual HFA High Flying 3 2 2 Network Connection User can select two methods to connect HF A11 module base on dedicated application UseHF A11 STA interface HF A11 and debug PC2 connect to a wireless AP another PC1 or user device connect to HF A11 module with serial port HF 4A1 1x Figure 28 STA Interface Debug Connection Use HF A11 AP interface Debug PC2 connect to HF A11 through wireless connection another PC1 or user device connect to HF A11 module with serial port PCi UART H i allies s P E HF A11x Figure 29 AP Interface Debug Connection 3 2 3 Module Debug PC1 open CommTools program setting the same serial port parameters with HF A11 module and open serial port connection lt 4 Com Tools C 1 Products 1 HF Al 1x Tools ComTools 4110429135313 txt ARE Porta ARR Por tB Figure 30 CommrTools Serial Debug Tools Shanghai High Flying Electronics Technology Co Ltd www hi flying com 30 HF A11 Embedded WiFi Module User Manual HFA High Flying
60. tional part Command Message AT lt CMD gt op para 1 para 2 para 3 para 4 J lt CR gt B AT Prefix of command message B CMD Command string B op Symbol of command operator The command requires parameters input NULL Query the current command parameters setting B para n Parameters input for setting if required B lt CR gt Enter Key it s OxOa or OxOd in ASCII When input AT Instruction AT lt CMD gt character will display capital letter automatic and other parts will not change as you input Response Message lt RSP gt op para 1 para 2 para 3 para 4 CR LF2 CR LF B Prefix of response message Shanghai High Flying Electronics Technology Co Ltd www hi flying com 36 HF A11 Embedded WiFi Module User Manual B RSP Response string ok Success ERR Failure op CHR ASCII 0xOd lt LF gt ASCII Ox0a gt Error Code Table 6 Error Code DescribtionHF A11 Web Access Default Setting Invalid Command Format invalid Command 3 Invalid Operation Symbol Invalid Parameter Operation Not Permitted 4 2 2 AT Instruction Set Table 7 AT Instruction Set List Instruction Description 4 Set Query serial port parameters transparent transmition or agreement transmition User Name and Password TCPDIS Open Cose TCP Only TCP Client available WANN Set Query WAN setting only effective as STA mod
61. tomer select internal antenna you shall comply with following antenna design rules and module location suggestions gt For customer PCB RED color region 6x8mm can t put componet or paste GND net gt Antenna must away from metal or high components at least 10mm Antenna can t be shieldedby any meal enclosure All cover include plastic shall away from antenna at least 10mm H Figure 4 HF A11 Chip Antenna Keep Out Region High Flying suggest HF A11 module better locate in following region at customer board which to reduce the effect to antenna and wireless signal and better consult High Flying technical people when you structure your module placement and PCB layout User PCB Board Figure 5 Suggested Module Placement Region 1 2 4 External Antenna HF A11 modules support internal antenna and external antenna option for user dedicated application If user select external antenna HF A11 modules must be connected to the 2 4G antenna according to IEEE 802 11b g n standards The antenna parameters required as follows Shanghai High Flying Electronics Technology Co Ltd www hi flying com 10 HF A11 Embedded WiFi Module User Manual HEY Table 3 HF A11 External Antenna Parameters Item Parameters Frequency range 2 4 2 5GHz 50 Ohm VSWR 2 Max 10dB Max Connector Type PEX or populate directly 1 2 5 Evaluation Kit High Flying provides the evaluation kit to promote user to familia
62. ver All these operation will be automatic and after finished the two user devices connected to HF A11 module through serial port can communicate each other and think the connection between them is fully transparent 3 3 4 Wireless Data Acquisition Card Application For this wireless data acquisition card application one PC works as data server and every data acquisition card connects with a HF A11 module to support wireless connection function AP SSID HF A11x AP LAN IP 10 10 100 254 Met Prot TOP Client 10 10 100 100 8899 IP 10 10 100 100 nO b Net Prot TCP Server 8899 HE Ais APRS EP bk A UART APRS b ah UT EET CANET 3 HF ATIX HE Ais STA SSID HF ATIx AP STA SSID HF A11x AP AE LAN IP 10 10 98 254 WAN IP 10 10 100 101 WAN IP 10 10 100 102 Net Prot TCP Client 10 10 100 100 8899 BEING NBI MIDIN UE Figure 37 Wireless Data Acquisition Card Application As above figure one HF A11 configured as AP mode and all others configured as STA mode All HF A11 which configured as STA and data server PC wireless connected to HF A11 which configured as AP to make up a wires network Data server PC open TCP Server protocol and all HF A11 modules open TCP Client protocol All data acquisition cards data and sampling information can be transmitted to data server PC for operation Shanghai High Flying Electronics Technology Co Ltd www hi flying com 34 HF A11 Embedded WiFi Module User Manual HFA High F
63. ver for storage or processing Also remote TCP server can send command to control and manage the user device through the wireless network 3 3 3 Transparent Serial Port Application For this transparent serial port application two HF A11 modules connect as below figures to build up a transparent serial port connection My UART en A o UART k ARES 3 CEP AINE W APES HF A11x HF A11x Nj AP SSID HF A11x AP STA SSID HF A11x AP LAN IP 10 10 100 254 WAN IP DHCP Met Prot TCP Ser r Met Prot TCP Client Protocol Port 3699 Protocol Port 8890 LAN IP add 10 10 98 254 Figure 36 Transparent Serial Port Application For left side HF A11 module configured as AP mode and use default SSID and IP address network protocol configured as TCP Server mode and protocol port ID 8899 For right side HF A11 module configured as STA mode and setting the same SSID CHF A11 AP for this example with left side HF A11 module enable DHCP network and network Shanghai High Flying Electronics Technology Co Ltd www hi flying com 33 HF A11 Embedded WiFi Module User Manual HFA High Flying protocol configured as TCP Client mode protocol port ID 8899 Target IP address part setting the same IP address with left side HF A11 module 10 10 100 254 for this example When right side HF A11 boot up it will find wireless AP SSID HF A11 AP for this example and open TCP Client network protocol to connect with left side module s TCP Ser
64. ww hi flying com 6 HF A11 Embedded WiFi Module User Manual HFA 1 PRODUCT OVERVIEW 1 1 General Specification Table1 HF A11 Module Technical Specifications Class item Parameters FCC CE Wireless standard 802 11 b g n Wireless PII SONG Parameters Receiver Sensitivity Data Interface Hardware Operating Voltage 3 3V 5 Parameters Operating Current Operating Temperature Storage Temperature Dimensions and Size Network Type Security Mechanisms Encryption Work Mode Serial command Software Parameters Network Protocol Max TCP Connection User Configuration Support customized application SW User Application SW Provide SDK package Provide smart link tools Shanghai High Flying Electronics Technology Co Ltd www hi flying com HF A11 Embedded WiFi Module User Manual HFA 1 2 Hardware Introduction FCC ID AZYHF A11X qe UART Ethernet to WiFi Figure 1 HF A11 Demo 1 2 1 Pins Definition PHY TX PHY TX PHY RX PHY RX nReady GPIO9 nReload GPIO10 RESET nLink GPIO8 UART_RTS GPIO5 UART_CTS GPIO6 UART_TXD GPIO3 UART_RXD GPIO4 GND 3 3V Figure 2 HF A11 Pins Map Table 2 WHF A11 Pins Definition Pin Description a Name Direction vote 1 Grud Loun Power gt 2 VCC 33V Power 3 3V amp 350mApowerinput UART Data Transmit UART TXD O If notuse UART function this 4 pins can be configured as GPIO UART Data cave UART RxD 1 pins and can ch
65. ying Electronics Technology Co Ltd www hi flying com 27 HF A11 Embedded WiFi Module User Manual HEY High Flying m Mode Selection STA Interface Setting m AP Interface Setting You could configure STA interface parameters here mb STA Interface Setting poa m Device Management SSID HF A1 1x AP MAC Address Optional Security Mode OPEN Encryption Type None Came e WAN Connection Type DHCP Auto config D Hostname P optional Apply Cancel Figure 25 STA Interface Setting Page 3 1 5 Application Setting Page This page use to setting the parameters of serial port communication such as UART setting and high layer network protocol setting which used support serial communication i Mode Selection AP Interface Setting m AP Interface Setting AP Interface Setting such as SSID Security STA Interface Setting Application Setting Dake e RASA NODER ae Wireless Network m gt Device Management Wifi Uart Setting You could configure the Uart parameters and network parameters of the wifi uart application Baudrate 57600 Data Bits 8 v Parity None Stop 19 CTSRTS Disable Apply Cancel Net Setting Mode Server Protocol TCP Port 8899 IP Address 10 10 10 100 TCP Time out MAX 600 s 300 Cae Figure 26 Application Setting Page Shanghai High Flying Electronics Technology Co Ltd www hi flying com 28 HF A11 Embed
Download Pdf Manuals
Related Search
HF A11 hfa 11 hf-a11 hp a117 hf-a11-0 hp a11rnpa hf s11 hf 1167 hf 110 gw hf 112db lf:103db hf 1100 hf 1105 hf 1188 hildesheim
Related Contents
Mode d`emploi. TV. 1986 - Marionnette et Thérapie Philips Brilliance 190S1CB Speed Dome Camera Controller Operation Manual Samsung i85 Felhasználói kézikönyv KOHLER K-16100-4-CP Installation Guide ADVANCED PRESSTM VARIO PRESS® 300.e CDA HVG65BL hob Copyright © All rights reserved.
Failed to retrieve file