Hi-flying Elfin-EW1 Series User manual

Elfin-EW1X Operation Guide
http://www.hi-flying.com/ - 1 -
Elfin-EW1X
RS232/RS485 to Wi-Fi
Operation Guide
V 1.0
Elfin-EW10
Elfin-EW11

Elfin-EW1X Operation Guide
http://www.hi-flying.com/ - 2 -
1. ELFIN-EW1X EVK............................................................................................................................... 3
1.1. ELFIN-EW10 4PIN CONNECTOR ........................................................................................................... 3
1.2. ELFIN-EW11 4PIN CONNECTOR ........................................................................................................... 3
1.3. ELFIN-EW10 8PIN CONNECTOR ........................................................................................................... 4
1.4. ELFIN-EW11 8PIN CONNECTOR ........................................................................................................... 4
1.5. ELFIN RJ45 CABLE................................................................................................................................. 4
2. SERIAL SETTING ............................................................................................................................... 5
2.1. SERIAL TOOL SECURECRT.................................................................................................................... 5
2.2. CONFIGURE SERIAL PARAMETER........................................................................................................... 5
3. TEST EXAMPLE.................................................................................................................................. 6
3.1. APWIRELESS NETWORKING.................................................................................................................. 6
3.2. TCP SERVER TEST IN AP MODE ........................................................................................................... 8
3.3. STAWIRELESS NETWORKING ............................................................................................................. 12
3.4. TCP SERVER TEST IN STA MODE....................................................................................................... 16
APPENDIX A:REFERENCES................................................................................................................. 20
A.1.TEST TOOLS............................................................................................................................................ 20
A.2.SMARTLINK V8........................................................................................................................................ 20
A.3.MORE APPLICATION................................................................................................................................ 20

Elfin-EW1X Operation Guide
http://www.hi-flying.com/ - 3 -
1.ELFIN-EW1X EVK
Elfin-EW10 is RS232 interface and Elfin-EW11 is RS485 interface. The EVK include the following
attachment.
⚫Elfin-E1X product
⚫Screw driver
⚫RJ45 to Terminal Transform(4PIN or 8PIN)
1.1. Elfin-EW10 4PIN Connector
1.2. Elfin-EW11 4PIN Connector

Elfin-EW1X Operation Guide
http://www.hi-flying.com/ - 4 -
1.3. Elfin-EW10 8PIN Connector
1.4. Elfin-EW11 8PIN Connector
1.5. Elfin RJ45 Cable
The RJ45 cable can be done as following picture.

Elfin-EW1X Operation Guide
http://www.hi-flying.com/ - 5 -
2.SERIAL SETTING
2.1. Serial Tool SecureCRT
Download adddress:http://www.hi-flying.com/index.php?route=download/category&path=1_4
Decompress file and find executable program, then open. Click quick start button to create
connection.
2.2. Configure Serial Parameter
Protocol:Serial
Port: Actual connection port(search by “My PC”->”Device Manager”->”Port(COM and LPT)”. As figure:
)
Notes: Elfin-EW1X the default serial data is as above and user can modify device working parameter
by IOTService.

Elfin-EW1X Operation Guide
http://www.hi-flying.com/ - 6 -
3.TEST EXAMPLE
Elfin-EW1X use TCP/IP protocol for communication. There is two main parameters one for IP address
and another for port number.
3.1. AP Wireless Networking
Product works in AP 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:
Phone
Laptop
PLC Device
Tablet
Wi-Fi Link
Wi-Fi Link
Wi-Fi Link
RS232/RS485
IP:10.10.100.254
IP:10.10.100.100 IP:10.10.100.101 IP:10.10.100.102
Step 1:The product default AP SSID is “EW1X_+MAC(last 4 characters)”. It can also search by cli
“show” command. Figure is as below:

Elfin-EW1X Operation Guide
http://www.hi-flying.com/ - 7 -
Step 2:PC connect to product AP as following picture.
Step 3: Open network connection and connect to Elfin-EW1XAP from Step 1.

Elfin-EW1X Operation Guide
http://www.hi-flying.com/ - 8 -
Step 4:Forbidden other network card and only remain the current Wi-Fi network card.
Step 5:Open IOTService and find the device. The device will allocate IP address to the STA
connected. STA device IP address will be like 10.10.100.XXX.
3.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 test tool can be downloaded from our
website:
⚫DestIP:IP address of device which can be found by IOTService.
⚫Port:Port of TCP Server which can be found by IOTService or set by users own.

Elfin-EW1X Operation Guide
http://www.hi-flying.com/ - 9 -

Elfin-EW1X Operation Guide
http://www.hi-flying.com/ - 10 -
Step 2:Click 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 rate as default)
Step 4:Data transmission between TCP and UART is as following.

Elfin-EW1X Operation Guide
http://www.hi-flying.com/ - 11 -

Elfin-EW1X Operation Guide
http://www.hi-flying.com/ - 12 -
3.3. STA Wireless Networking
Phone
Laptop
PLC Device
Tablet
Wireless Connection
RS232/RS485
Server
Server
WWW. Network Cloud
LAN IP:10.10.100.254
WAN IP:192.168.8.197
IP:192.168.8.148
IP:192.168.8.149
IP:192.168.8.147
Step 1:Elfin-EW1X is AP mode by default. If need to work in STA mode connecting to router. There
are following ways:
Method A: Smart Phone connect to Router. Set product nReload pin to low for some time(0.2s < time
< 1.5s) to make it in Smartlink config mode. See appendix Smartlink V8 APP for detail. The following
is the final device find step for IOS and Android. After the Smartlink config successed, the product
works in STA mode and connect to router.

Elfin-EW1X Operation Guide
http://www.hi-flying.com/ - 13 -
Method Two: PC connect to product AP, and use IOTService tools. The steps are as folloging
⚫Set to STA mode.

Elfin-EW1X Operation Guide
http://www.hi-flying.com/ - 14 -
⚫Scan and choose one AP need to connect and input the key.

Elfin-EW1X Operation Guide
http://www.hi-flying.com/ - 15 -
⚫Do restart operation. And then PC connect to the router and check the product STA connection.
The following show product Wi-Fi connection is OK.
Note:
If change product network mode, it needs restart to be valid.

Elfin-EW1X Operation Guide
http://www.hi-flying.com/ - 16 -
Method Three: PC connect to product AP, and open product webpage with default IP: 10.10.100.254.
and change the following setting.
3.4. TCP Server Test in STA 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 test tool can be downloaded from the
website:
◼DestIP:Destination IP address.
◼Port:Destination Port.

Elfin-EW1X Operation Guide
http://www.hi-flying.com/ - 17 -
Step 2:Click Connect to create TCP connection

Elfin-EW1X Operation Guide
http://www.hi-flying.com/ - 18 -
◼After successful connection, the left turns to be green arrow.
Step 3:Open serial tool according to following parameters (115200 baud rate as default)
Step 4:Mutual data transmission between TCP and serial port.

Elfin-EW1X Operation Guide
http://www.hi-flying.com/ - 19 -

Elfin-EW1X Operation Guide
http://www.hi-flying.com/ - 20 -
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-center-1/applications-1/download-item-smartlink-v8
A.3.More Application
http://www.hi-flying.com/download-center-1/application-notes-1/download-item-industry-products-
application-manual-20180415
This manual suits for next models
2
Table of contents
Other Hi-flying Adapter manuals