Elfin-EW1X - Operation GuideV1.0 (20180813)

Download as pdf or txt
Download as pdf or txt
You are on page 1of 20

Elfin-EW1X Operation Guide

Elfin-EW1X

RS232/RS485 to Wi-Fi

Operation Guide
V 1.0

Elfin-EW10

Elfin-EW11

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

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. AP W IRELESS NETWORKING .................................................................................................................. 6


3.2. TCP SERVER TEST IN AP MODE ........................................................................................................... 8
3.3. STA W IRELESS 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

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

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

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

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.

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

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.

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

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:

RS232/RS485

IP:10.10.100.254
PLC Device
ink
iL

ink
i-F
Wi-F

iL
iL

i-F
in

W
k

Laptop Phone Tablet


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:

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

Step 2:PC connect to product AP as following picture.

Step 3: Open network connection and connect to Elfin-EW1XAP from Step 1.

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

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.

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

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

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.

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

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

3.3. STA Wireless Networking

LAN IP:10.10.100.254
WAN IP:192.168.8.197

RS232/RS485

Server
Server PLC Device

WWW. Network Cloud

on
necti
s Con
s
Wirele

Laptop Phone Tablet


IP:192.168.8.147 IP:192.168.8.148
IP:192.168.8.149

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.

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

Method Two: PC connect to product AP, and use IOTService tools. The steps are as folloging

⚫ Set to STA mode.

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

⚫ Scan and choose one AP need to connect and input the key.

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

⚫ 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.

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

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.

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

Step 2:Click Connect to create TCP connection

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

◼ 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.

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

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

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

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

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy