深圳市海凌科电子有限公司 Shenzhen Hi-Link Electronic Co.
,Ltd
Http://www.hlktech.com Tel:0755-83575155 Fax:0755-83575189
HLK-SW2 User Manual
Serial to Ethernet
Shenzhen Hi-Link electronic Co., LTD
Shenzhen Hi-Link Electronic Co.,Ltd
深圳市海凌科电子有限公司 Shenzhen Hi-Link Electronic Co.,Ltd
Http://www.hlktech.com Tel:0755-83575155 Fax:0755-83575189
1 Summary
HLK‐SW2 is a new professional remote control terminal launched by Hi‐Link electronic , is a realization
of TCP through the gateway and establishes communication connection with the remote device, it can be
based on without modifying the original protocol, to realize the connection of network client and
equipment directly, save the development cycle, enhance the user experience.
Compared with the traditional dynamic domain name plus router port mapping mode,has the
incomparable superiority, for the user saving the application of dynamic domain name, the router port
mapping and frequent operation, make equipment to achieve the plug‐in effect.
1.1 Technical Specifications:
Table1 HLK-SW2 Technical Specifications
Basic Parameters
wireless:IEEE 802.11n、IEEE 802.11g、IEEE 802.11b
Network standard
wired:IEEE 802.3、IEEE 802.3u
11n:maximum up to 150Mbps
Wireless transmission rate 11g:maximum up to 54Mbps
11b:maximum up to 11Mbps
Tracks number 1‐14
Frequency range 2.4‐2.4835G
Emission power 12‐15DBM
Interface 1 Ethernet,1 5V power interface
Antenna
Antenna type External Antenna(5DBi or 2DBi circular smart antenna)
Functional Parameters
WIFI Work Mode Client/AP/Router
WDS Function Support WDS wireless bridge connection
Wireless MAC address filtering
Wireless security function switch
Wireless security
64/128/152 bit WEP encryption
WPA ‐PSK/WPA2‐PSK、WPA/WPA2 security mechanism
Shenzhen Hi-Link Electronic Co.,Ltd
深圳市海凌科电子有限公司 Shenzhen Hi-Link Electronic Co.,Ltd
Http://www.hlktech.com Tel:0755-83575155 Fax:0755-83575189
Remote Web management
Network management Configuration file import and export
WEB software upgrade
Other Parameters
Status indicator Status indicator
Operating temperature:‐20‐70℃
Operating humidity:10%‐90%RH(unfrozen)
Environmental standard
Storage temperature:‐40‐80℃
Storage humidity:5%‐90%RH(unfrozen)
Additional properties Frequency bandwidth optional:20MHz、40MHz,Automatic
1.2 Electrical Characteristics
Input Power:5V~12V
Input Current:1A
Relay Maximum input voltage:220V
Relay Maximum Input Current:10A
Input and output:2 outputs 2 inputs
Default IP:192.168.16.254
The default port number:8080
Shenzhen Hi-Link Electronic Co.,Ltd
深圳市海凌科电子有限公司 Shenzhen Hi-Link Electronic Co.,Ltd
Http://www.hlktech.com Tel:0755-83575155 Fax:0755-83575189
1.3 Dimensions
HLK-SW2 Dimension(TOP view)
Note:85×53×19mm
Shenzhen Hi-Link Electronic Co.,Ltd
深圳市海凌科电子有限公司 Shenzhen Hi-Link Electronic Co.,Ltd
Http://www.hlktech.com Tel:0755-83575155 Fax:0755-83575189
1.4 Hardware instruction
Some features of based board are shown below :
HLK-SW2 General development start kit
Interface introduction
Function Name Tag No. Description
DC power Power DC input, voltage range:5~12V
Micro controller running status lights, 1 second flash
Outside Status Light LED3
once
interface
Network port WAN Connected to the LAN port of router
Binding Post P1‐P8 2 way 220v,10A relay
Indicates the connection status of the client and the
server:
LED Status STA
Shenzhen Hi-Link Electronic Co.,Ltd
深圳市海凌科电子有限公司 Shenzhen Hi-Link Electronic Co.,Ltd
Http://www.hlktech.com Tel:0755-83575155 Fax:0755-83575189
ON: client and server has been connected
Off: client and server is not connected
Flashing: The client and server is going on data
communication
WIFI indicator, when WIFI working, WIFI light starts
WIFI WIFI blinking, if it has data transmission , accelerate
flashes
Indicates the Work status of relay
LED1~2 LED1~2 ON: relay works
OFF: relay break
RST_MCU RST MCU reset
Long press (more than 6 seconds):restore factory
Default_WIFI Default
Button default settings
Button K0 K0 Control relay SW0
Button K2 K2 Control relay SW2
1.5 Typical Application
Handheld device
Remote control
Consumer Electronics
IOT application
Industial control
Medical device
LED control
Sensor network application
Shenzhen Hi-Link Electronic Co.,Ltd
深圳市海凌科电子有限公司 Shenzhen Hi-Link Electronic Co.,Ltd
Http://www.hlktech.com Tel:0755-83575155 Fax:0755-83575189
Note:To ensure the normal operation, please ensure that you have bought our HLK‐SW16 development kit. As
shown below
HLK‐RM04 module
HLK‐SW2 based board
2.4G flexible antenna
Shenzhen Hi-Link Electronic Co.,Ltd
深圳市海凌科电子有限公司 Shenzhen Hi-Link Electronic Co.,Ltd
Http://www.hlktech.com Tel:0755-83575155 Fax:0755-83575189
5V 2000mA power supply
Network Cable (optional)
Please connect the module well as the way shown in the followed picture:
Please note the direction that the HLK-RM04 module plug in the carrier board!
Shenzhen Hi-Link Electronic Co.,Ltd
深圳市海凌科电子有限公司 Shenzhen Hi-Link Electronic Co.,Ltd
Http://www.hlktech.com Tel:0755-83575155 Fax:0755-83575189
2.12.1 System principle.
The whole system consists of server, terminal program and client components, as shown in
fig:
1) server
Receiving device and client registration, to assist the client to find equipment and establish the connection
2) device
Automatically connect to the server after the device is started
3) the client
Run the client will automatically connect to the server, to establish a connection to terminal equipment with the
aid of a server.
2.2Look over the module P2P account and password
1. To ensure that the RM04 module is in the factory default settings.Method for Restore factory settings: to
power on the module , wait for about 35 seconds. Then press the Exit/Default button on the based board
more than 6 seconds,then the module will restart automatically.
2. Power on the module again, waiting for 35S, the LEDs on the module flashing .
3. Computer connected the WIFI on the module,SSID:Hi‐Link_XXXX,password:12345678.
Shenzhen Hi-Link Electronic Co.,Ltd
深圳市海凌科电子有限公司 Shenzhen Hi-Link Electronic Co.,Ltd
Http://www.hlktech.com Tel:0755-83575155 Fax:0755-83575189
4. Enter the 192.168.16.254/p2p.asp in your computer's web browser,enter the user name admin,password
admin, click OK. To view account and password; at the same time, can change the password on this interface
(account can not be modified). Shown as the following diagram:
Shenzhen Hi-Link Electronic Co.,Ltd
深圳市海凌科电子有限公司 Shenzhen Hi-Link Electronic Co.,Ltd
Http://www.hlktech.com Tel:0755-83575155 Fax:0755-83575189
(Note: the account and passwords are case sensitive!!!)
2.5 Open P2P software, enter the account number and password, and click
Connect, as shown in the picture below:
1.Connection
If SW16 module in the LAN, then the software will automatically connect to the module through
LAN,otherwise,the software will automatically connect to the module through remote way .
Shenzhen Hi-Link Electronic Co.,Ltd
深圳市海凌科电子有限公司 Shenzhen Hi-Link Electronic Co.,Ltd
Http://www.hlktech.com Tel:0755-83575155 Fax:0755-83575189
Note: This picture shows is the PC side, If you use mobile client,just as same way.
2.Connection Status Displays
The lowermost interface displays the connection status.
3.Time Displays
The bottom screen display items shows the current time
4.On And Off
Click the button Can control the opening and closing of the relay 0, click the all open
all closed ,the 16 groups can be fully open and fully closed.
5.Time calibration
SW2 comes with clock chip, you can click button to upgrade the time.
Shenzhen Hi-Link Electronic Co.,Ltd
深圳市海凌科电子有限公司 Shenzhen Hi-Link Electronic Co.,Ltd
Http://www.hlktech.com Tel:0755-83575155 Fax:0755-83575189
6.Advanced
Click the Advanced button to expand the interface,from where you can control corresponding properties
through the button.Shown as below:
7.Modify button’s name
Firstly,you need to click on the button 0,in the place here will show the name of
this button,,modify the 0 to TV ,Then click the button,after that you will find the button 0
become to TV already.
8.Set inching function
Firstly choose one button you want to set for,click on the button ,in the inching time item
input the time you want to set,like 5,then click the button commit ,
If the pop‐up prompt window reads: it means you already set the inching function
successfully.
When you open the button,it will close automatically after 5 second.
Shenzhen Hi-Link Electronic Co.,Ltd
深圳市海凌科电子有限公司 Shenzhen Hi-Link Electronic Co.,Ltd
Http://www.hlktech.com Tel:0755-83575155 Fax:0755-83575189
9.Set the timer function
First choose the button you want,like 0,select timer ,then you can set timer function now.,if you
want to set the time to 8am On Monday,set it firstly
,then click the add button ,Then you will get the clue:
,at this time,the time you add will show in the time list: ,click
the submit button: ,when you get the pop‐up window: ,it shows the
timer function for 0 have finished.On Monday 8AM,the relay for button 0 will open auto.If you want delete
it,just choose the time in the list: ,then click delete button ,you will get
clue window : ,it means the time have been deleted.
10.Remove the inching and timer function
First,click the button like 0,then choose the button or ,then click the submit button,if
you see the window ,which shows you have remove it succesfully.
11.Inquiry
Fist click the button like 0,hen click on the inquiry button: ,ou can see the parameters of button
0.
Shenzhen Hi-Link Electronic Co.,Ltd