Super Port User Guide www.usriot.com Serial to Ethernet converter (Super Port) (USR-K7) File version: V1.0.0 Page1/34 Jinan USR IOT Technology Co., Ltd Sales@usriot.com...
1. Introduction 1.1. Overview Super port module USR-K7 is a new serial Ethernet module. It is a module that can realize data transmission between the network and TTL serial ports.This module is equipped with ARM cortex-m4 processor, which has the advantages of low power consumption, fast speed and high stability.
If you have any question, please contact us the in the client support center: http://h.usriot.com/index.php?c=frontTicket&m=sign 2.1. Hardware connection The picture below is a serial device server of USR-K7. It have 1 UART to Ethernet interface. Page5/34 Jinan USR IOT Technology Co., Ltd...
Page 6
Power the development kit board with DC5V adaptor(make sure you can supply at least 200mA current at DC5V, USR-K7 only accept DC3.3V, but since we are using a eval board, DC5V will Connect K7's RJ45 to PC directly with network cable(No need to distinguish cross or direct connect cable), or connect the module and PC via switch or router and set the PC's ip address to 192.168.0.201 (must be a format of 192.168.0.xxx), net mask 255.255.255.0.
The default IP address of USR-K7 is 192.168.0.7. Open your web browser and enter this IP to connect to USR-K7 for configuration. Before that, please assign a static IP address of your PC in the same network segment as module’s from 192.168.0.2 to 192.168.0.24 range.
The right side is the network side, protocol sets as TCP Client, server IP sets as 192.168.0.7, port 23. By default, USR-K7 works as TCP Server ,port 23. This illustration shows the 10 ms two-way simultaneous automatically transmit screen shots.
Now we can text the data transmit between serial port and network. The data flow from serial port to network is: computer serial port ->K7 serial port ->K7 Ethernet port -> computer network; Page9/34 Jinan USR IOT Technology Co., Ltd Sales@usriot.com...
Httpd Client. You can configure it by webpage and setting software. Detail are as follows: Diagram 3-1 Work mode setting example Refer to AT commend: Name description AT+SOCKA1 Set K7 SOCKA communication protocol /Destination IP/Destination port AT+SOCKB1 Set K7 SOCKB communication protocol /Destination IP/Destination port Page10/34 Jinan USR IOT Technology Co., Ltd Sales@usriot.com...
Max UDP send length(ethernet to serial) is 1472 bytes. If you want to send more than 1472 Bytes, please div it into shorter packet. Page11/34 Jinan USR IOT Technology Co., Ltd Sales@usriot.com...
5)In the same LAN, if K7 is set as static IP, please set the IP of K7 as gateway IP and correctly set the gateway IP address, otherwise normal communication will not be possible. 6)Note: KeepAlive function, sync baud rate function, pass-through cloud function, Modbus TCP function are described in detail below. Page12/34 Jinan USR IOT Technology Co., Ltd Sales@usriot.com...
Super Port User Guide www.usriot.com Use USR-TCP232-Test, Diagram 3-6 TCP Client communication test 3.3. UDP Server mode Page13/34 Jinan USR IOT Technology Co., Ltd Sales@usriot.com...
Page 14
UART part will be transformed to the last UDP packet’s address. Here show 2 UDP client communicate with server, server send data to the last client communicates with it. Diagram 3-8 Client 1 <-> server Page14/34 Jinan USR IOT Technology Co., Ltd Sales@usriot.com...
When the module port receive the data, it will sent data to all the client devices connected to module. And then, TCP server mode also has KeepAlive function to monitor the integrity if connection. Page15/34 Jinan USR IOT Technology Co., Ltd Sales@usriot.com...
HTTP Server. If the data haven’t pass the K7 and server haven’t disconnect active ,the module will automatically disconnect. Page16/34 Jinan USR IOT Technology Co., Ltd Sales@usriot.com...
Page 17
Diagram 3-13 Request test.usr.cn/1.php? and upload data Then we take another way, set USR-K7 module Work mode HTTPD Client, Target address test.usr.cn, remote port 80. Page17/34 Jinan USR IOT Technology Co., Ltd...
Diagram 3-14 configure HTTPD Client Open USR-TCP232-Test, and type in a string such as "12345", then send via comm port to USR-K7, and see the response from test.usr.cn In the response, all the data returned, but the http header from server will be returned, too.
4.2. Pin definition USR-K7 module has 16 external pins: two of which are fixed pins and two of which are metal shell pins. About the unused pins marks as NC which can be hanged in the application.
Page 20
Power (external demand for pin DC 3.3V power supply) Not available Mesh port shielding shell pin Mesh port shielding shell pin Fixed column Modular Fixed Column Fixed column Modular Fixed Column Diagram 4-3 Pin definition Page20/34 Jinan USR IOT Technology Co., Ltd Sales@usriot.com...
Super Port User Guide www.usriot.com 4.4. Connection diagram Diagram 4-5 connection diagram This is connection diagram for USR-K7 when user design their product with K3, there is a few points we need to attend to Power K7 with a stable 3.3V ...
K7 in the LAN. What you search include current IP, name, MAC address and the vision of K7. Note: Be sure you have administrative rights and disable any firewalls/anti-virus software when install software. Diagram 5-1 Software setup parameters - search Page23/34 Jinan USR IOT Technology Co., Ltd Sales@usriot.com...
Page 24
Click Full show+ and you will see the all basic parameters needed to set, combined the function introduction and setting the basic parameters. Then you will configure the parameters you need successfully. What you don not need, keep the default is fine. Page24/34 Jinan USR IOT Technology Co., Ltd Sales@usriot.com...
Page 25
Super Port User Guide www.usriot.com Diagram 5-3software setup parameters - Full show Page25/34 Jinan USR IOT Technology Co., Ltd Sales@usriot.com...
Page 26
⑧ Gateway: usually is the IP of router. Correct setting you can segment communication, as well as domain name resolution. 3. Port configuration Click the port you need, change the parameters and click the Save COM after the modification is completed. Page26/34 Jinan USR IOT Technology Co., Ltd Sales@usriot.com...
Page 27
If the module needs to upgrade to a higher version of the firmware, the user can consult the sales to upgrade the firmware, after getting the updated firmware, click the device, firmware upgrade, Page27/34 Jinan USR IOT Technology Co., Ltd Sales@usriot.com...
Software setup parameters -upgrade 6. Specific functions 6.1. Modbus RTU to Modbus TCP As for this function, you can configure it by web page or setup program. Please refer to below example by setup program Page28/34 Jinan USR IOT Technology Co., Ltd Sales@usriot.com...
Page 29
None, which showed we are using a standard Transparent mode, no protocol conversion . Modbus TCP, means we use protocol conversion from Modbus RTU to Modbus TCP. The function acts as below: Diagram 6-2 function description for Modbus TCP to modbus RTU Page29/34 Jinan USR IOT Technology Co., Ltd Sales@usriot.com...
MAC addresses or customize registry data, and the customize registry sets the content to a maximum of 40 bytes. Firmware after V3010 supports the registry functionality. Page30/34 Jinan USR IOT Technology Co., Ltd Sales@usriot.com...
Set up a connection to send a registration package is mainly used to connect to the server which need to register. Diagram 6-6 Registration 6.4. Web printing Diagram 6-9 Web printing Page31/34 Jinan USR IOT Technology Co., Ltd Sales@usriot.com...
Diagram 6-10 Custom network upgrade package Pay attention when you customize webpage, the name of final web file is ‘fs’, select product is M4 and then upgrade. Diagram 6-11 Instructions for customizing web page upgrade software Page32/34 Jinan USR IOT Technology Co., Ltd Sales@usriot.com...
Super Port User Guide www.usriot.com 8. Modified history vision Modified instruction Time V1.0.0 first 2019-05-07 Page34/34 Jinan USR IOT Technology Co., Ltd Sales@usriot.com...
Need help?
Do you have a question about the USR-K7 and is the answer not in the manual?
Questions and answers