Http://www.hlktech.com Tel:0755-36989385 Fax:0755-83575189 Brief Introduction 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.
深圳市海凌科电子有限公司 Shenzhen Hi-Link Electronic Co.,Ltd Http://www.hlktech.com Tel:0755-36989385 Fax:0755-83575189 Note: 1. I/O port electrical level voltage is 3.3V Quick start Factory resetting 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.
深圳市海凌科电子有限公司 Shenzhen Hi-Link Electronic Co.,Ltd Http://www.hlktech.com Tel:0755-36989385 Fax:0755-83575189 Serial to Ethernet HLK-7628N SWITCH /ROUTER COM1 ETH1 SERIAL ETHERNET DHCP IP /STATIC IP Picture 3.Serial to Ethernet model In this mode, ETH1 enable, WIFI、 ETH2 function close. Through the appropriate settings,data between COM1 and ETH1 network can achieve mutual conversion.
深圳市海凌科电子有限公司 Shenzhen Hi-Link Electronic Co.,Ltd Http://www.hlktech.com Tel:0755-36989385 Fax:0755-83575189 WIFI CLIENTcan be configured as dynamic IP address ( DHCP) , can also configured ad static address(STATIC). WIFI safety: support all encryption methods at present. Serial to WIFI AP HLK-7628N WIFI CLIENT WIFI (PHONE、pad)
深圳市海凌科电子有限公司 Shenzhen Hi-Link Electronic Co.,Ltd Http://www.hlktech.com Tel:0755-36989385 Fax:0755-83575189 Default Mode HLK-7628N WIFI CLIENT WIFI (PHONE、pad) COM1 SERIAL ETH2 ETH1 DHCP ENABLE Picture 6.Default mode model 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.
深圳市海凌科电子有限公司 Shenzhen Hi-Link Electronic Co.,Ltd Http://www.hlktech.com Tel:0755-36989385 Fax:0755-83575189 Picture7.Serial work mode switching 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.
Page 12
深圳市海凌科电子有限公司 Shenzhen Hi-Link Electronic Co.,Ltd Http://www.hlktech.com Tel:0755-36989385 Fax:0755-83575189 HLK-7628N TCP Client TCP Server TCP Client TCP Client Picture 10.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 the serial end sent to TCP client end.
深圳市海凌科电子有限公司 Shenzhen Hi-Link Electronic Co.,Ltd Http://www.hlktech.com Tel:0755-36989385 Fax:0755-83575189 HLK-7628N UDP Server UDP Client 图 12.UDP Server 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.
深圳市海凌科电子有限公司 Shenzhen Hi-Link Electronic Co.,Ltd Http://www.hlktech.com Tel:0755-36989385 Fax:0755-83575189 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.
深圳市海凌科电子有限公司 Shenzhen Hi-Link Electronic Co.,Ltd Http://www.hlktech.com Tel:0755-36989385 Fax:0755-83575189 Default – default work mode ETH -SERIAL – Serial to Ethernet WIFI(CLIENT)-SERIAL – Serial to WIFI CLIENT WIFI(AP)-SERIAL) – Serial to WIFI AP Choose different work mode, the web will show you different page. Mode configuration page is as follows: 5.1.1 Serial to Ethernet- dynamic ip...
深圳市海凌科电子有限公司 Shenzhen Hi-Link Electronic Co.,Ltd Http://www.hlktech.com Tel:0755-36989385 Fax:0755-83575189 5.1.4 Serial to WIFI CLIENT- static ip Picture18. Serial to WIFI CLIENT- static 5.1.5 Serial to WIFI AP Picture19. Serial to WIFI AP WEB serial port configuration Serial web configuration is as follows:...
Page 17
深圳市海凌科电子有限公司 Shenzhen Hi-Link Electronic Co.,Ltd Http://www.hlktech.com Tel:0755-36989385 Fax:0755-83575189 Picture 20. web serial port configuration 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”。...
深圳市海凌科电子有限公司 Shenzhen Hi-Link Electronic Co.,Ltd Http://www.hlktech.com Tel:0755-36989385 Fax:0755-83575189 Commit changers 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.
Page 19
深圳市海凌科电子有限公司 Shenzhen Hi-Link Electronic Co.,Ltd Http://www.hlktech.com Tel:0755-36989385 Fax:0755-83575189 timeout Network timeout mode Serial network mode uart Serial configuration uartpacklen Serial frame length uartpacktimeout Serial frame time escape Exit serial transmission tcp_auto TCP automatic reconnect save Submit serial port configuration and restart service...
深圳市海凌科电子有限公司 Shenzhen Hi-Link Electronic Co.,Ltd Http://www.hlktech.com Tel:0755-36989385 Fax:0755-83575189 6.2.5 net_ip Function: The network IP sets. This parameter is invalid when DHCP client is working. Form: at+Net_ip=<ip>,<mask>,<gateway>\r Parameter: Ip:ip address Mask:subnet mask Gateway:gateway 6.2.6 net_dns Function: The network DNS sets.his parameter is invalid when DHCP client is working.
深圳市海凌科电子有限公司 Shenzhen Hi-Link Electronic Co.,Ltd Http://www.hlktech.com Tel:0755-36989385 Fax:0755-83575189 Disable Refer 6.2.12 out_trans Function: Exit the pass through mode. The function of exiting the pass mode cannot actually be used on the serial port. Form: At+out_trans=<out_trans>\r Parameter: Submit network settings value...
深圳市海凌科电子有限公司 Shenzhen Hi-Link Electronic Co.,Ltd Http://www.hlktech.com Tel:0755-36989385 Fax:0755-83575189 Form: At+ remotepro=<remotepro>\r Parameter: remotepro setting value Meaning None None Tcp protocol Udp protocol 6.2.16 timeout Function: Network timeout Form: At+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...
深圳市海凌科电子有限公司 Shenzhen Hi-Link Electronic Co.,Ltd Http://www.hlktech.com Tel:0755-36989385 Fax:0755-83575189 At+uart=<baud>,<data>,<parity>,<stop>\r Parameter: Baud:Bps Data:data bit Parity:check bit Stop:stop bit 6.2.19 uartpacklen Function: Frame length of serial port group setting. Form: At+uartpacklen =<uartpacklen>\r Parameter: uartpacklen:Frame length of serial port group( units:bytes)。 6.2.20 uartpacktimeout Function:...
深圳市海凌科电子有限公司 Shenzhen Hi-Link Electronic Co.,Ltd Http://www.hlktech.com Tel:0755-36989385 Fax:0755-83575189 Form: At+ tcp_auto=<tcp_auto>\r Parameter: tcp_auto:0 - Close ,1 - enable 6.2.23 save Function: Submit the serial port conversion configuration and restart the service Form: At+ save=<save>\r Parameter: Submit serial port setting value...
深圳市海凌科电子有限公司 Shenzhen Hi-Link Electronic Co.,Ltd Http://www.hlktech.com Tel:0755-36989385 Fax:0755-83575189 6.2.26 Clport Function: TCP/UDP CLIENT local port Form: At+ CLport=< CLport>\r Parameter: Clport:local port number. 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.
深圳市海凌科电子有限公司 Shenzhen Hi-Link Electronic Co.,Ltd Http://www.hlktech.com Tel:0755-36989385 Fax:0755-83575189 wan ip address. Form: At+ net_wanip =?\r Parameter: 无 6.2.30 tcp_client_check Function: TCP CLIENT Remote status detection. Form: tcp_client_check =< tcp_client_check >\r Parameter: tcp_client_check value Meaning Close Open 6.2.31 S2N_Stat Function: Serial function status Form:...
深圳市海凌科电子有限公司 Shenzhen Hi-Link Electronic Co.,Ltd Http://www.hlktech.com Tel:0755-36989385 Fax:0755-83575189 Client Client Server Server 6.2.41 C2_uart Function: Serial port 2 serial configuration setting. Form: At+ C2_uart=<baud>,<data>,<parity>,<stop>\r Parameter: Baud:Bps Data:data bit Parity:check bit Stop:stop bit 6.2.42 C2_uartpacklen Function: Serial2 frame length setting Form:...
深圳市海凌科电子有限公司 Shenzhen Hi-Link Electronic Co.,Ltd Http://www.hlktech.com Tel:0755-36989385 Fax:0755-83575189 at+net_commit=1\r\n\ at+reconn=1\r\n\ "; Com_send(commands_eth); Reurn: 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 6.3.3 Serial to Ethernet (static ip address) code: char *commands_eth_static="\...
深圳市海凌科电子有限公司 Shenzhen Hi-Link Electronic Co.,Ltd Http://www.hlktech.com Tel:0755-36989385 Fax:0755-83575189 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 6.3.4 Serial to wifi client(dynamic ip address) code: char *commands_wifi_client="\...
深圳市海凌科电子有限公司 Shenzhen Hi-Link Electronic Co.,Ltd Http://www.hlktech.com Tel:0755-36989385 Fax:0755-83575189 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 6.3.7 Factory reset code: char *commands_device_default="\ at+default=1\r\n\ at+reboot=1\r\n\ "; Com_send(commands_device_default); return: at+default=1 After 30s, the module starts normally and all configuration parameters are factory...
Page 40
深圳市海凌科电子有限公司 Shenzhen Hi-Link Electronic Co.,Ltd Http://www.hlktech.com Tel:0755-36989385 Fax:0755-83575189 Serial configuration tool Picture15. Interface description: Configure serial selection Search module button Work mode select button Wireless configuration parameter Network protocol selection Serial configuration parameter Network IP address configuration Submit configuration button Query configuration button 10.
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...
深圳市海凌科电子有限公司 Shenzhen Hi-Link Electronic Co.,Ltd Http://www.hlktech.com Tel:0755-36989385 Fax:0755-83575189 serial configuration tool instructions Picture 17. 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.
深圳市海凌科电子有限公司 Shenzhen Hi-Link Electronic Co.,Ltd Http://www.hlktech.com Tel:0755-36989385 Fax:0755-83575189 Serial configuration tool Picture 18. User data retention 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:...
Clicked "yes" button , the tool sends the AT command immediately. After about 30s, the module enters the status of the factory settings Searching device tool HLK-7628N_Discover is a tool for searching HLK-7628N modules on the web side.The interface is as follows: Device search tool interface Picture 21.
深圳市海凌科电子有限公司 Shenzhen Hi-Link Electronic Co.,Ltd Http://www.hlktech.com Tel:0755-36989385 Fax:0755-83575189 Factory reset Support the factory setting as following ways. 1.Through the web page. 2.Through the serial AT command. 3.By keeping WDT/RST pin low, the time is greater than Trst. WDT/RST >Trst Reset to Default.
Page 47
Http://www.hlktech.com Tel:0755-36989385 Fax:0755-83575189 upgrade firmware Picture 23. 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.
Page 48
深圳市海凌科电子有限公司 Shenzhen Hi-Link Electronic Co.,Ltd Http://www.hlktech.com Tel:0755-36989385 Fax:0755-83575189 FCC Radiation Exposure Statement: 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.
Page 49
深圳市海凌科电子有限公司 Shenzhen Hi-Link Electronic Co.,Ltd Http://www.hlktech.com Tel:0755-36989385 Fax:0755-83575189 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.
Need help?
Do you have a question about the HLK-7628N and is the answer not in the manual?
Questions and answers