HLKWR 02
HLKWR 02
HLKWR 02
,Ltd
http://www.hlktech.comTel:+86 0755-83575155 Fax+86 0755-83575189
User Manual
CONTENT
1 BRIEF INTRODUCTION......................................................................................................................................4
2 SUMMARIZE .........................................................................................................................................................4
7.1.2 REFERENCE SETTING (USING ACCESS CONTROL ATTENDANCE MACHINE AS AN EXAMPLE) ........................27
9 FIRMWARE UPGRADE......................................................................................................................................33
1 Brief Introduction
Ethernet
Picture1.F-structure
2 Summarize
Table2-1Technical Specifications
wireless:IEEE 802.11n、IEEE 802.11g、IEEE 802.11b
Network standard
wired:IEEE 802.3、IEEE 802.3u
4
Downloaded from www.Manualslib.com manuals search engine
Shenzhen Hi-Link Electronic Co.,Ltd
http://www.hlktech.comTel:+86 0755-83575155 Fax+86 0755-83575189
Antenna
Functional Parameters
Serial to Ethernet
Maximum transmission
500000bps
rate
Other Parameters
Operating temperature:-20-70℃
Operating humidity:10%-90%RH(noncondensing)
Environmental standard
Storage temperature:-40-80℃
Storage humidity:5%-90%RH(noncondensing)
5
Downloaded from www.Manualslib.com manuals search engine
Shenzhen Hi-Link Electronic Co.,Ltd
http://www.hlktech.comTel:+86 0755-83575155 Fax+86 0755-83575189
2.3.1 RS232
The following figure shows a schematic diagram of the external interface of RS232.
Interface,the definition is as follows:
HLK-WR02 serial wifi server provides two network interface, WAN port and LAN port, the
interface is a standard form of RJ-45 interface. RJ-45 interface definition is shown as
below:
7
Downloaded from www.Manualslib.com manuals search engine
Shenzhen Hi-Link Electronic Co.,Ltd
http://www.hlktech.comTel:+86 0755-83575155 Fax+86 0755-83575189
Voltage range: 4.5 ~ 5.5V. The default configuration of HLK-WR02 for the power
adapter is 5V/1A DC power supply. Power interface: the inner core is positive.
Standard SMA interface within the outer spiral needle, the interface can be equipped
8
Downloaded from www.Manualslib.com manuals search engine
Shenzhen Hi-Link Electronic Co.,Ltd
http://www.hlktech.comTel:+86 0755-83575155 Fax+86 0755-83575189
Status indicatiing:
LED light blink:wifi is ok
LED light off :wifi is not ok
The most basic network structures of HLK - WR02 serial server is the star network
topology. This kind of network topology are also common in the local area network (LAN),
a network topology. Its main characteristic is through a network of each workstation
nodes in the network equipment concentration equipment (such as a hub or switch)
together, are distributed in each node stellate. This kind of network structure is more
convenient in the equipment increase or decrease.
The folloing figure describes the Starlike Networking structure:
9
Downloaded from www.Manualslib.com manuals search engine
Shenzhen Hi-Link Electronic Co.,Ltd
http://www.hlktech.comTel:+86 0755-83575155 Fax+86 0755-83575189
Router
Hub
The character of Bus networking structure is that all the devices are directly
connected to one bus, which is a set of network with low cost. However, all the devices
in the network share the bandwidth of the bus, therefore, the network transmission rate
will decline along with the increase in user. RS - 485 bus structure is typical sample of
10
Downloaded from www.Manualslib.com manuals search engine
Shenzhen Hi-Link Electronic Co.,Ltd
http://www.hlktech.comTel:+86 0755-83575155 Fax+86 0755-83575189
Router
Hub
In such a network structure, all the equipment through the same cable connect to the
server. Network maintenance and extension of relatively is easier, the response speed of
the equipment and network transmission rate is less than star bus structure.
Using the HLK - WR02, original serial device can be connected to peer-to-peer
network structure. The characteristic of this structure is that all the devices in the network
status are equal. For user’s equipment , there does not exist master-slave relationship
or a managed device. All user terminals can be equivalent to send and receive data. The
11
Downloaded from www.Manualslib.com manuals search engine
Shenzhen Hi-Link Electronic Co.,Ltd
http://www.hlktech.comTel:+86 0755-83575155 Fax+86 0755-83575189
Using HLK - WR02 serial server, user’s serial devices can be equivalent to connected to
the Ethernet. Thus, to achieve peer-to-peer communications through Ethernet.
Hardware
Ethernet cable
Software
12
Downloaded from www.Manualslib.com manuals search engine
Shenzhen Hi-Link Electronic Co.,Ltd
http://www.hlktech.comTel:+86 0755-83575155 Fax+86 0755-83575189
1.Power up the serial server. The Link light will flick at low frequency after power.
2. Connected the serial server with WIFI or network cable (or you can connect the PC
and the serial server in the same LAN through hub or router ).
3 The IP address of the PC should be set to 192.168.16.X. The default IP address of the
Serial Server is 192.168.16.254
1.Power on the HLK-WR02,Connect the RS232 and the enternet,make sure you PC can
ping 192.168.16.254:
2.Start the serial Debug software,we use Serial&TCP_UDP Tool.exe in this sample;
13
Downloaded from www.Manualslib.com manuals search engine
Shenzhen Hi-Link Electronic Co.,Ltd
http://www.hlktech.comTel:+86 0755-83575155 Fax+86 0755-83575189
When you have enter the websit, you needs to change the password to avoid
non-administrator rewritten it illegally.The default user Name and password of the
HLK-WR02 serial server are admin/admin.Please rewrite the passward after first use.
14
Downloaded from www.Manualslib.com manuals search engine
Shenzhen Hi-Link Electronic Co.,Ltd
http://www.hlktech.comTel:+86 0755-83575155 Fax+86 0755-83575189
图 4-1 用户登录界面
Note:HLK-WR02 serial server only provide user login password setting.Please keep
the rewritten password firmly in mind.
After passing the IE browser to log in to the serial server, you can see the screen shown
below. This page shows the main current operating parameters of serial server.
15
Downloaded from www.Manualslib.com manuals search engine
Shenzhen Hi-Link Electronic Co.,Ltd
http://www.hlktech.comTel:+86 0755-83575155 Fax+86 0755-83575189
16
Downloaded from www.Manualslib.com manuals search engine
Shenzhen Hi-Link Electronic Co.,Ltd
http://www.hlktech.comTel:+86 0755-83575155 Fax+86 0755-83575189
17
Downloaded from www.Manualslib.com manuals search engine
Shenzhen Hi-Link Electronic Co.,Ltd
http://www.hlktech.comTel:+86 0755-83575155 Fax+86 0755-83575189
18
Downloaded from www.Manualslib.com manuals search engine
Shenzhen Hi-Link Electronic Co.,Ltd
http://www.hlktech.comTel:+86 0755-83575155 Fax+86 0755-83575189
Current shows the current configuration , Updated shows the current revision
parameters。Submit submit the revision.
19
Downloaded from www.Manualslib.com manuals search engine
Shenzhen Hi-Link Electronic Co.,Ltd
http://www.hlktech.comTel:+86 0755-83575155 Fax+86 0755-83575189
Serial Configure:Serial configuration.fomat:Baud rate, data bits, parity bit, stop bit.
For example:“115200,8,n,1”.
Serial Framing Lenth:The Lenth of Serial Framing
Serial Framing Timeout:The time of Serial Framing
Network Mode:choose Client、Server or none。
Remote Server Domain/IP:Remote Server Domain/IP address
For exmpale:192.168.11.245 or www.hlktech.com .
Locale/Remote Port Number:The specified parameter is not the same under the
different network modes. Client specifies the port number on the remote, Server
specified local port number.
Network Protocol:Use tcp or udp Protocol
Network Timeout:Under the server network mode, no data transmission within the
timeout period, the connection will be disconnected. 0 specifies never disconnected.
Click the button ‘Apply’ to submit the configuration of the current page. If some
parameters of the network have changed, the submission process may take about 25
seconds. If you only modify the serial functional configuration, the submission process
will be completed soon.
Click the button ‘Cancel’ to reload the page, the modified configuration will be lost.
6 Function Description
The module can be divided into four major modes : default mode , serial to
Ethernet,serial to WIFI CLIENT and serial to WIFI AP.
20
Downloaded from www.Manualslib.com manuals search engine
Shenzhen Hi-Link Electronic Co.,Ltd
http://www.hlktech.comTel:+86 0755-83575155 Fax+86 0755-83575189
DHCP IP
/STATIC IP
DHCP IP
/STATIC IP
21
Downloaded from www.Manualslib.com manuals search engine
Shenzhen Hi-Link Electronic Co.,Ltd
http://www.hlktech.comTel:+86 0755-83575155 Fax+86 0755-83575189
DHCP ENABLE
22
Downloaded from www.Manualslib.com manuals search engine
Shenzhen Hi-Link Electronic Co.,Ltd
http://www.hlktech.comTel:+86 0755-83575155 Fax+86 0755-83575189
ETH1 WAN
DHCP ENABLE
TCP Server
TCP Client
TCP Client
Fig6.4.1.TCP Server
In this mode, the module is listening on the specified port, waiting for TCP Client
connection, if connected, all TCP data is sent directly to the serial port end, the data of
23
Downloaded from www.Manualslib.com manuals search engine
Shenzhen Hi-Link Electronic Co.,Ltd
http://www.hlktech.comTel:+86 0755-83575155 Fax+86 0755-83575189
HLK-RM04
TCP Server
TCP Client
Fig6.4.2..TCP Client
In this mode, the module is connected to the specified domain / IP port. All the data
sent from the TCP Server-side end will be sent directly to the serial port, the data from
the serial end sent to the TCP Server-side. Abnormal network disconnect will cause the
module active reconnect. TCP Active reconnection function enable, TCP Server initiative
disconnected, the module will immediately take the initiative to reconnect, and otherwise
the module will not reconnect.
UDP Server
HLK-RM04
Fig6.4.3.UDP Server
In this mode, the module opens the local designated port, once received the data
sent to the port, the module will send the data to the serial port, and record the remote ip,
port. The module will record only the last information on the remote connection. Serial
received data will be sent directly to the recorded remote ip, port.
24
Downloaded from www.Manualslib.com manuals search engine
Shenzhen Hi-Link Electronic Co.,Ltd
http://www.hlktech.comTel:+86 0755-83575155 Fax+86 0755-83575189
UDP Client
HLK-RM04
UDP Server
UDP Client
Fig6.4.4..UDP Client
In this mode, the module directly sends the serial data to the specified ip, port. The
serial data returned from the server-side will be distributed to serial port.
25
Downloaded from www.Manualslib.com manuals search engine
Shenzhen Hi-Link Electronic Co.,Ltd
http://www.hlktech.comTel:+86 0755-83575155 Fax+86 0755-83575189
Active serial equipment networking refers to a way which the equipment initiate the
connection and process the data interaction (upload or download) compared with a
backend server. Typical active devices, such as P0S machine, etc., started to connect
after the completion of the backend server as soon as possible in each credit card
transaction, and upload data. Active serial equipment networking topology structure as
shown in the above. Among them, the backend Server work as a TCP Server , the device
access to the network via a serial port Server , also as a TCP Client end.
26
Downloaded from www.Manualslib.com manuals search engine
Shenzhen Hi-Link Electronic Co.,Ltd
http://www.hlktech.comTel:+86 0755-83575155 Fax+86 0755-83575189
Network Settings
DHCP enable
Static IP address is avaliable also
Operattion mode
Protocol Type:TCP > C/S Mode: Client
Server IP Address:backend server IP address, such as 192.168.16.254
Port Number: backend server port number, such as 8080
27
Downloaded from www.Manualslib.com manuals search engine
Shenzhen Hi-Link Electronic Co.,Ltd
http://www.hlktech.comTel:+86 0755-83575155 Fax+86 0755-83575189
28
Downloaded from www.Manualslib.com manuals search engine
Shenzhen Hi-Link Electronic Co.,Ltd
http://www.hlktech.comTel:+86 0755-83575155 Fax+86 0755-83575189
图 7-3 被动型串口设备联网
Passive serial device networking refers to a way in which all equipment in the system
has been waiting for connection in a passive state, only the background server initiate to
connect with equipment, and request or download data. Some typical applications, such as
sensor networks, entrance guard controller and so on, each sensor terminal or entrance
guard controller is collecting data all the time in realtime. The data collected did not upload
at once, but temporarily stored in the device. While the backend server periodically connect
the equipment every once in a while actively, and request to upload or download data. At
this time, The backend Server work as a TCP Client , while the equipment is a TCP
Server end.
At this point, if the customer uses virtual uart software, we suggest that the customer can
29
Downloaded from www.Manualslib.com manuals search engine
Shenzhen Hi-Link Electronic Co.,Ltd
http://www.hlktech.comTel:+86 0755-83575155 Fax+86 0755-83575189
set the network to active network model introdunced in section 5.1 , keep the equipment
online for a long time . In case the uart software in the original user on the server side can
Networking Setting
IP address:192.168.2.X
Mask:255.255.255.0
Gateway:192.168.2.1
DNS:192.168.2.1
Operation mode setting
Start Automatic operation mode
Protocol Type:TCP
C/S mode:server
Port No.:60000
Time Out:120
30
Downloaded from www.Manualslib.com manuals search engine
Shenzhen Hi-Link Electronic Co.,Ltd
http://www.hlktech.comTel:+86 0755-83575155 Fax+86 0755-83575189
图 7-4 对等串口设备联网
Peer-to-peer networking refers to all the equipment in the system make up a private
network to communicate with each other, instead of a PC as a server. All of the devices are
connected via a serial port or 485 bus. This kind of networking mode all the equipment at
any time are likely to send data. Typical application scenario is the direct connection
between the controller and each control node in the industrial field. This in the network can
use several uart server to connect, the parameter configuration of the equipment.
31
Downloaded from www.Manualslib.com manuals search engine
Shenzhen Hi-Link Electronic Co.,Ltd
http://www.hlktech.comTel:+86 0755-83575155 Fax+86 0755-83575189
IP address:192.168.0.1
Mask:255.255.255.0
Gateway:192.168.0.1
DNS :192.168.0.1
Operation setting
Protocol Type:TCP
C/S mode:server
Port No.:8080
Timeout:0
Device 2
Network Settings
IP address:192.168.0.2
Mask:255.255.255.0
Gateway:192.168.0.1
DNS address:192.168.0.1
Operation mode
Start automatic operation mode
Protocol type:TCP
C/S mode:client
Server address:192.168.0.1
Port No.:8080
Service 3
Network settings
IP address:192.168.0.3
Mask:255.255.255.0
Gateway:192.168.0.1
DNS :192.168.0.1
Operation mode setting
Start Automatic operation mode
Protocol Type:TCP
32
Downloaded from www.Manualslib.com manuals search engine
Shenzhen Hi-Link Electronic Co.,Ltd
http://www.hlktech.comTel:+86 0755-83575155 Fax+86 0755-83575189
C/S mode:Client
Server Address:192.168.0.1
Port No:8080
9 Firmware upgrade
33
Downloaded from www.Manualslib.com manuals search engine
Shenzhen Hi-Link Electronic Co.,Ltd
http://www.hlktech.comTel:+86 0755-83575155 Fax+86 0755-83575189
1.00 2013-12-17
34
Downloaded from www.Manualslib.com manuals search engine