CONFIGURATION SERIAL NETWORK PARAMETER ....................................................................................................... 7
4 FUNCTION DESCRIPTION ....................................................................................................................................... 7
4.1
SERIAL TO ETHERNET ............................................................................................................................................... 8
4.2
SERIAL TO WIFICLIENT ......................................................................................................................................... 8
4.3
SERIAL TO WIFIAP .................................................................................................................................................. 9
SERIAL WORK MODE SWITCHING ............................................................................................................................. 10
4.6
SERIAL-NETWORK DATA CONVERSION ..................................................................................................................... 11
4.7
PARAMETER CONFIGURATION DIRECTION ................................................................................................................ 13
5 WEB CONFIGURA TIO N ........................................................................................................................................... 14
5.1.1 Serial to Ethernet- dynamic ip........................................................................................................................ 15
5.1.2 Serial to Ethernet - static ip ........................................................................................................................... 15
5.1.3 Serial to WIFI CLIENT- dynamic ip ............................................................................................................... 15
5.1.4 Serial to WIFI CLIENT- static ip .................................................................................................................... 16
5.1.5 Serial to WIFI AP ........................................................................................................................................... 16
5.2
WEB SERIAL PORT CONFIGURATION ........................................................................................................................ 16
6 SERIAL AT COMMAND CONFIGURATION ........................................................................................................ 18
6.1
ENTER AT COMMAND MODE.................................................................................................................................... 18
6.2
AT COMMAND ......................................................................................................................................................... 18
6.2.14 re moteport .................................................................................................................................................... 24
6.2.23 save ............................................................................................................................................................... 27
AT COMMAND CONTROL CODE ROUTINE.............................................................................................................................. 33
6.3.1 Configuration information query ................................................................................................................... 33
6.3.2 Serial to Ethernet (dynamic ip addr ess) ......................................................................................................... 34
6.3.3 Serial to Ethernet (static ip address) .............................................................................................................. 35
6.3.4 Serial to wifi client(dynamic ip address) ........................................................................................................ 36
6.3.5 Serial to wifi client(static ip address) ............................................................................................................. 37
6.3.6 Serial to wifi AP ............................................................................................................................................. 38
SET PREFERENCES ................................................................................................................................................... 41
USER DATA RETENTION ........................................................................................................................................... 43
HLK-7628N is a new low-cost embedded UART - ETH - WIFI module developed bu
shenzhen Hi-Link electronic technology co.,ltd.
This product is an embedded module based on the universal serial interface network standard,
built-in TCP/IP protocol stack, enabling the user serial port, Ethernet, wireless network (wifi)
interface between the conversions.
Through the HLK-7628N module, the traditional serial devices do not need to change any
configuration; Data can be transmitted through the internet network. Provide a quick solution for
the user’s serial devices to transfer data via Ethernet.
In order to ensure that all the configuration process correctly, let module restore factory
settings. In factory mode can skip this step. 5V(350mA) to supply power to the module, wait
about 30 seconds after startingthe low WDT/RST pin exceeds Trst, the release of WDT/RST
Pin,the system will automatically restart. The system is already in factory mode.
3.2 Configuration network parameter
Set the PC to static IP mode and then connect it with the module via Ethernet or WIFI. The IP
address is set to 192.168.16.100/255.255.255.0, gateway192.168.16.254.(wifi default and ssid
default password, see this document)open the browser http://192.168.16.254/,enter the web
configuration page,default user name and password is admin/admin. Modity the network
parameter through the web. Now, the module’s IP address is192.168.16.254. Configuration
details can be seen in 5.1.
3.3 Configuration serial network parameter
Open the browser http://192.168.16.254/,enter the serial to network web configuration page.
Configure the serial to network parameter as needed through a wed page. Configuration details can
be seen in 5.2.
4 Function Description
The module can be divided into four modes: default mode, serial to Ethernet, serial to wifi
client, and serial to wifi AP.
In this mode, WIFI enable, module works in the AP mode, ETH1、ETH2function enable.ETH1
works as WAN,ETH2 works as LAN.Through the appropriate settings,data between COM1
and network can achieve mutual conversion.
WIFI safety: support all encryption methods at present.
In this mode, WIFI device can connect with the module and become the device under WIFI
LAN.
WAN default IP is dynamic IP address.LAN、WIFI for the same local area network, enable by
default DHCP server.
4.5 Serial work mode switching
Module serial work status is defined as two modes: transparent transmission mode, the AT
command mode.
After power on normally, the module will check whether the current network serial port
configuration is normal, if the network connection is normal, the module automatically enters.
There are three kinds of methods for transparent mode entering AT command mode:
1.WDT/RST Pin.
In any state, keep WDT/RST pin low time greater than Tes and less than Trst, the module will
immediately enter the AT command mode.
>Tes
WDT/RST
<Trst
t
AT Command
Picture8. WDT/RST Exit transparent transmission mo
4.6 Serial-network data conversion
Serial data conversion divided into 4 modes:TCP Server、TCP Clinet、UDP Server、UDP
Client。
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 the serial end sent to
TCP client end.
TCP Client
HLK-7628N
TCP Client
TCP Server
图 11.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 reconnect, and otherwise the module will not reconnect.
In this mode, module open the specified local port, once received is sent to the data port, and
record the last connection on remote information. Serial port to receive data will be sent directly
to the remote IP,recorded port.
UDP Client
HLK-7628N
UDP Client
UDP Server
图 13.UDP Client
In this mode, the module directly sends the serial data to the specified ip, port. The serial data
returned from the server will be distributed to serial port.
4.7 Parameter configuration direction
The module provides two ways for the configuration parameter:
1.WEB page;
2.Serial AT command.
Access to WEB configuration page requires the confirmation of the module’s IP address, as
well as the user name and password that authenticated by WEB.
Configure parameter through the serial port AT command needs to make the module into the
AT command mode first.
Serial configuration HLK-7628N_CONFIG: Configure the module through AT command,
provide a easier and convenient configuration process through the configuration combination of
each parameter.
5 WEB configuration
Picture 14.WEB configuration page
Through the correct module address (default addresshttp://192.168.16.254/)you can access to
the web configuration page, the page can be divided onto 3 areas:
1 Network configuration area;
2 Serial function area;
3 Configuration submit area;
Current shows the current configuration,Updated shows the current parameter.
Serial Configure : Serial configuration. The format is as follows:Mbps,data
bits,parity bit and stop bit.
For example:“115200,8,n,1”。
Serial Framing Lenth:The serial frame length
Serial Framing Timeout:The serial frame time
Network Mode:The network mode.Choose Client、Server or none.
Remote Server Domain/IP:The remote server name or IP address.
For example:192.168.11.245 or www.hlktech.com 。
Locale/Remote Port Number:Local or remote port number.Network mode is different
parameters specified remote port number, server is the specified port number.
Network Protocol:The type of network protocol.Used tcp or udp.
Network Timeout:Network timeout. Server network mode, when there is no data
transmission within the timeout period, the connection will be disconnected. 0
specified never disconnected.
Click on the Apply configuration of the current page submission. If the network
parameters have been changed, the submission process may require about 25 seconds.
If only modify the serial port function configuration, the submission process will
finished soon.
Click cancel to reload the page, the modified configuration will be lost/
6 Serial AT command configuration
6.1 Enter AT command mode
6.2 AT command
In AT mode, the configuration parameters of the system can be done through the
serial port AT instruction. The command as follows:
at+[command]=[value]\r
According to the different command module will return different value.For
example:”at+remoteip=192.168.11.133\r”Set the ipaddress is 192.168.11.133。
Foe example :”at+remoteip=?\r”check the remote ip address.
Command list is as following:
netmode Network model
wifi_conf WiFi configuration
Channel WiFi channel
dhcpc DHCP Client configuration
net_ip Network IP address
net_dns Network DNS address
dhcpd DHCP server configuration
dhcpd_ip DHCP server IP address
dhcpd_dns DHCP server DNS address
dhcpd_time DHCP server allocates time
net_commit Submit network configuration
Ip start:ip start address
Ip end:ip cut-off address
Mask:subnet mask
Gateway:gateway
6.2.9 dhcpd_dns
Function:
Dhcp server dns setting.
Form:
At+Dhcpd_dns=<dns1>,<dns2>\r
Parameter:
dns1:Primary dns address
dns2:secondary dns address
6.2.10 dhcpd_time
Function:
Dhcp server timesetting
Form:
At+Dhcpd_time=<time >\r
Parameter:
time:allocate dhcp valid time to device
6.2.11 net_commit
Function:
Submit network setting.All parameters related to network configuration are
required to be committed after this setting. The command execution time takes about
30s.
Form:
Network timeout. Under server network mode,When there is no data transfer in the
timeout period, the connection will be disconnected and the.0 specified never
disconnects.
6.2.27 RTS (This function has not been implemented yet)
Function:
Serial output indication.In the 485 scenario, a separate pin is usually required
to indicate the reception or transmission status of the 485 transceiver. After this
function is enabled, the GPIO_1 pin indicates the output state of the serial port
as the output pin.
Function:
Serial port 2 protocol type setting.
Form:
At+C2_remotepro=<remotepro>\r
Parameter:
Remotepro setting
value Meaning
None None
Tcp Tcp protocol
Udp Udp protocol
6.2.39 C2_timeout
Function:
Serial 2 network timeout
Form:
At+ C2_timeout=<timeout>\r
Parameter:
Network timeout. Under server network mode,When there is no data transfer in the
timeout period, the connection will be disconnected and the.0 specified never
disconnects.
6.2.40 C2_mode
Function:
Serial port 2 conversion mode setting.
Form:
At+ C2_mode=<mode>\r
Parameter:
uartpacklen:Frame length of serial port group(Units:bytes)。
6.2.43 C2_uartpacktimeout
Function:
Serial port 2 serial frame time setting
Form:
At+C2_uartpacktimeout=<uartpacktimeout>\r
Parameter:
uartpacktimeout:Group frame time of serial(Units:ms)
6.2.44 C2_tcp_auto
Function:
The serial 2TCP auto reconnect. This function is open and any connection is
disconnected for any reason. The module will continue to try to re-establish the
connection
Form:
at+netmode=1 ok
at+dhcpc=1
at+remoteip=192.168.11.245 ok
at+remoteport=8080 ok
at+remotepro=tcp
at+timeout=0 ok
at+mode=server
at+uart=115200,8,n,1 ok
at+uartpacklen=64 ok
at+uartpacktimeout=10 ok
at+net_commit=1
at+netmode=1 ok
at+dhcpc=0
at+net_ip=192.168.11.254,255.255.255.0,192.168.11.1 ok
at+net_dns=192.168.11.1,8.8.8.8 ok
at+remoteip=192.168.11.245 ok
at+remoteport=8080 ok
at+remotepro=tcp
at+timeout=0 ok
at+mode=server
at+uart=115200,8,n,1 ok
at+uartpacklen=64 ok
at+uartpacktimeout=10 ok
at+net_commit=1
at+netmode=2 ok
at+wifi_conf=HI-LINK,wpa2_aes,12345678 ok
at+dhcpc=0
at+net_ip=192.168.11.254,255.255.255.0,192.168.11.1 ok
at+net_dns=192.168.11.1,8.8.8.8 ok
at+remoteip=192.168.11.245 ok
at+remoteport=8080 ok
at+remotepro=tcp
at+timeout=0 ok
at+mode=server
at+uart=115200,8,n,1 ok
at+netmode=3 ok
at+wifi_conf=Hi-Link_,wpa2_aes,0000000000 ok
at+dhcpd=1 ok
at+dhcpd_ip=192.168.16.100,192.168.16.200,255.255.255.0,192.16 8.16.254 ok
at+dhcpd_dns=192.168.16.254,8.8.8.8 ok
at+dhcpd_time=86400 ok
at+net_ip=192.168.16.254,255.255.255.0,1 92.168.16.254 ok
at+net_dns=192.168.16.254,8.8.8.8 ok
at+remoteip=192.168.11.245 ok
at+remoteport=8080 ok
By configuring the serial port selection, selecting the PC end string slogan,
and clicking the search module button, the tool will search the HLK-7628N module with
the specified serial port, and modules that have been connected and executed in the
AT instruction mode will be searched.The searched module information will be
displayed in the AT instruction execution return information area, as shown below:
Picture16. Serial configuration tool search module
At this point, PC and modules have been able to establish normal AT instruction
communication. All the AT command interaction processes need to be done on the basis
of normal AT instruction communication
7.2 Set preferences
The configuration item 3,4,5,6,7 configures the required function. During
configuration modification, the corresponding AT instruction is generated
immediately after the AT instruction area to be sent. The resulting AT instruction
is not passed to the module immediately. As follows:
Picture 17. serial configuration tool instructions
7.3 Submit configuration
By clicking the submit configuration button, the tool immediately sends the
instruction of the AT instruction area to be sent to the module. The execution of
the command is displayed in the AT instruction execution return information area.
The user parameter save area provides the ability to save parameters. By this
function, you can save up to 4 groups of parameters, user0, user1, user2, user3.,
and click the S button next to them, which pops up the confirmation box, as shown
below:
Picture19. Serial configuration tool to save
clicked"yes" button , the instruction of the AT instruction area to be sent will
be saved as the user0 parameter group. After any click on the user0, the user0
parameter group will be called immediately and the AT command area to be sent will
be covered
The saved user parameters are stored as text files in the tools directory. The
filenames are user0, user1, user2, user3.
7.5 Inquiry configuration
Click the query button configuration tool, immediately to send a series of commands
AT configuration module query module current, AT instruction execution results
immediately executed in the AT command returns the information display area, each
configuration item will return along with the corresponding change information.
7.6 Enter transparent transmission
Assuming that the module is already under the AT command, you can enter the
transmission mode immediately by clicking on the transmission mode button。
Picture 20. erial configuration tool to restore factory settings
Clicked "yes" button , the tool sends the AT command immediately. After about
30s, the module enters the status of the factory settings
8 Searching device tool
HLK-7628N_Discover is a tool for searching HLK-7628N modules on the web side.The
interface is as follows:
Picture 21. Device search tool interface
Click “Discover” button, The tool will immediately search all the HLK-7628N
module in the LAN connected by PC.The search module is displayed immediately in the
message, The information contains ip address 、mac address and version information.
Attached:Please refer to other technical parameter:HLK-7628N-DATAsheet
FCC Warning
This device complies with Part 15 of the FCC Rules. Operation is subject to the following two
conditions:
(1) This device may not cause harmful interference, and (2) this device must accept any interference
received, including interference that may cause undesired operation.
NOTE 1: Any changes or modifications to this unit not expressly approved by the party responsible
for compliance could void the user's authority to operate the equipment.
This equipment complies with FCC radiation exposure limits set forth for an uncontrolled
environment. End users must follow the specific operating instructions for satisfying RF exposure
compliance.
Note 1: This module certified that complies with RF exposure requirement under mobile or fixed condition, this
module is to be installed only in mobile or fixed applications.
A mobile device is defined as a transmitting device designed to be used in other than fixed locations
and to generally be used in such a way that a separation distance of at least 20 centimeters is
normally maintained between the transmitter's radiating structure(s) and the body of the user or
nearby persons. Transmitting devices designed to be used by consumers or workers that can be
easily re-located, such as wireless devices associated with a personal computer, are considered to be
mobile devices if they meet the 20 centimeter separation requirement.
A fixed device is defined as a device is physically secured at one location and is not able to be
easily moved to another location.
Note 2: Any modifications made to the module will void the Grant of Certification, this module is
limited to OEM installation only and must not be sold to end-users, end-user has no manual
instructions to remove or install the device, only software or operating procedure shall be placed in
the end-user operating manual of final products.
Note 3: Additional testing and certification may be necessary when multiple modules are used.
Note 4: The module may be operated only with the antenna with which it is authorized. Any
antenna that is of the same type and of equal or less directional gain as an antenna that is authorized
with the intentional radiator may be marketed with, and used with, that intentional radiator.
Note 5: To ensure compliance with all non-transmitter functions the host manufacturer is
responsible for ensuring compliance with the module(s) installed and fully operational. For example,
if a host was previously authorized as an unintentional radiator under the Declaration of Conformity
procedure without a transmitter certified module and a module is added, the host manufacturer is
responsible for ensuring that the after the module is installed and operational the host continues to
be compliant with the Part 15B unintentional radiator requirements. Since this may depend on the
details of how the module is integrated with the host, LM Technologies Ltd. shall provide guidance
to the host manufacturer for compliance with the Part 15B requirements.
Note 6: FCC ID label on the final system must be labeled with “Contains FCC ID:
2AD56HLK-7628N” or “Contains transmitter module FCC ID: 2AD56HLK-7628N”.
49/49
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.