background image

HF2211S_EW1X_PW1X 

Operation Guide    

                           

 

http://www.hi-flying.com/ 

 

- 35 - 

 

Use MQTT.fx tools to test, set publish topic to the device Subscribe Topic and the publish 
data will be sent to device UART. 

 

Set tools subscribe topic to the device publish topic and the send UART data, the MQTT.fx 
tools got the packet.

 

Summary of Contents for Elfin-EW10

Page 1: ...hi flying com 1 HF2211S_EW1X_PW1X Operation Guide This document applies to the following series of products please refer to the user manual for product hardware description Elfin EW10 Elfin EW10 0 El...

Page 2: ...SUPPLY 8 2 2 POWER SUPPLY 8 2 3 INTERFACE CONNECTION 8 3 INITIAL SETUP 9 3 1 WEBPAGE SET 9 3 2 IOTSERVICE SET 13 4 SERIAL PORT SETTINGS 16 4 1 SERIAL PORT TOOL SECURECRT 16 4 2 SETTING SERIAL PORT PA...

Page 3: ...has a brief description of these products hardware and take EW for example of software introduction All tools can be download at following link http www hi flying com index php route download category...

Page 4: ...www hi flying com 4 1 3 Elfin EW11 4PIN Connector 1 4 Elfin EW10 8PIN Connector 1 5 Elfin EW11 8PIN Connector 1 6 Elfin EW10 EW11 RJ45 Cable The RJ45 cable can be done as following picture 5 6 7 8 A...

Page 5: ...HF2211S_EW1X_PW1X Operation Guide http www hi flying com 5 1 7 EW10 Interface Conversion Cable...

Page 6: ...HF2211S_EW1X_PW1X Operation Guide http www hi flying com 6 1 8 EW11 Interface Conversion Cable 1 9 HF2211S Hardware...

Page 7: ...HF2211S_EW1X_PW1X Operation Guide http www hi flying com 7 1 10 Protoss PW11 Hardware...

Page 8: ...nough for power supply HF2211S DC 5 36VDC 1A PW1X H AC Version 100 240VAC M DC Version 9 48VDC 1A 2 2 Power Supply See products user manual 2 3 Interface Connection Elfin EW10 is RS232 7V voltage need...

Page 9: ...ED will be repeat flash on 0 3s then off 0 3s indicate it works normally HF2211S Link LED will be repeat flash on 0 3s then off 0 3s indicate it works normally PW1X Net LED will be repeat flash on 0 3...

Page 10: ...HF2211S_EW1X_PW1X Operation Guide http www hi flying com 10 Brower input 10 10 100 254 input default user name and password with admin admin to login in The main page is as following...

Page 11: ...meters is as following Default socket parameters is as following Products by default works as AP mode if need to set it connect to router set it to STA or AP STA working mode as following Select the s...

Page 12: ...211S_EW1X_PW1X Operation Guide http www hi flying com 12 If need static IP in STA mode set DHCP to off and input static IP Note setting is valid after reboot If upgrade firmware at the following posit...

Page 13: ...oad item iot device webpage source code 3 2 IOTService Set IOTService is simple to manage the products config and even communicate with it Download address http www hi flying com download center 1 app...

Page 14: ...uble click the product list to see the device status Click Edit to change product setting Note some setting need reboot to be valid Better do restart operation after setting Set to STA or AP STA mode...

Page 15: ...HF2211S_EW1X_PW1X Operation Guide http www hi flying com 15...

Page 16: ...e computer is actually connected to see My Computer Device Manager Ports COM and LPT as shown in the figure Note The default serial port data of the device is as shown in the figure above Users can mo...

Page 17: ...o the above Add button command to the button bar Click the button to send the corresponding data When the interface displays EPORT you have entered the CLI command mode Note Any serial tool can do thi...

Page 18: ...er the IP address of the device the IP address can be obtained by searching through the IOTService tool which will be detailed later port 23 Step 2 The default login name and password are both admin t...

Page 19: ...P mode All other STA devices connect to product AP Product AP does not support route function so the STA can not transfer data to each other The structure is t shown as below Step 1 The product defaul...

Page 20: ...ill be like 10 10 100 XXX 5 2 TCP Server Test in AP Mode Step 1 Open TCP UDP test tool and generate TCP connection as following steps Device has already created a TCP Server port 8899 for use TCP UDP...

Page 21: ...HF2211S_EW1X_PW1X Operation Guide http www hi flying com 21...

Page 22: ...lick Connection to generate TCP connection After successful connection the left turns to be green arrow yellow if fails Step 3 Open serial tool according to following parameters 115200 baud rates as d...

Page 23: ...HF2211S_EW1X_PW1X Operation Guide http www hi flying com 23 Step 4 Data count in following status...

Page 24: ...lfin EW1X is AP mode by default If need to work in STA mode connecting to router There are following ways Recommend to set to STA mode only if AP is not used in mass application for test stage may set...

Page 25: ...HF2211S_EW1X_PW1X Operation Guide http www hi flying com 25 Reboot after setting PC also connect to the same router and it will find the device with products STA WAN IP...

Page 26: ...h the product static IP to confirm connection If any problem reconfig the product with its AP SmartLinkV8 APP to config smart phone connect to Router Set product Reload pin to low for some time 0 2s t...

Page 27: ...ometimes Do as following to try again Check if phone connect to 2 4G router SSID Set router 2 4G Wi Fi to 802 11bg 5 4 TCP Server Test in STA Mode Open TCP UDP test tool and generate TCP connection as...

Page 28: ...peration Guide http www hi flying com 28 Click Connect to create TCP connection After successful connection the left turns to be green arrow Open serial tool according to following parameters 115200 b...

Page 29: ...P and serial port 5 5 STA TCP Client Test Products support 3 channel sockets default netp socket works as TCP Server here create another socket working as TCP client HF test server test server iotwork...

Page 30: ...HF2211S_EW1X_PW1X Operation Guide http www hi flying com 30 It shows connected UART received 333333333333 and send to server the server sent back the packet so the UART tools shows the received data...

Page 31: ...F2211S_EW1X_PW1X Operation Guide http www hi flying com 31 5 6 STA HTTP Client Test HTTP data flow is as following HTTP GET Test Test server address 115 29 164 59 Test server port 8432 Path iot Header...

Page 32: ...www hi flying com 32 Host 115 29 164 59 8432 Connection keep alive Products setting as following Server response back and products UART output packet It filter the HTTP response header and only outpu...

Page 33: ...Test Test server address 115 29 164 59 Test server port 8432 Path iot Header Host 115 29 164 59 8432 Connection keep alive Products setting as following Server response back and products UART output...

Page 34: ...HF2211S_EW1X_PW1X Operation Guide http www hi flying com 34 Data flow is as following 5 7 STA MQTT Client Test Test server address 112 124 43 15 Test server port 1883 Device setting is as following...

Page 35: ...flying com 35 Use MQTT fx tools to test set publish topic to the device Subscribe Topic and the publish data will be sent to device UART Set tools subscribe topic to the device publish topic and the s...

Page 36: ...th 1_3 Webpage Local Upgrade PC connect to device login with device IP 10 10 100 254 or STA IP got from router There is another internal webpage for upgrade the firmware and webpage external config we...

Page 37: ...not yet connect to router AP do the following operation to recover and reconfig UART Cli command to reload nReload button to restore to factory setting 5 10 More Application Case See following for mor...

Page 38: ...flying com 38 APPENDIX A REFERENCES A 1 Test Tools IOTService Configure Software http www hi flying com index php route download category path 1_4 A 2 Smartlink V8 http www hi flying com download cent...

Reviews: