USR IOT USR-N540 User Manual
USR IOT USR-N540 User Manual

USR IOT USR-N540 User Manual

Multifunctional serial to ethernet converter
Hide thumbs Also See for USR-N540:

Advertisement

USR-N540 User Manual
www.usriot.com
Multifunctional Serial to Ethernet converter
(USR-N540)
File version: Ver1.0.3
Jinan USR IOT Technology Co., Ltd. works on LAN and WAN and wireless for MCU to Ethernet
Solutions, Ethernet, WIFI, GPRS, and Wireless modules, we can supply custom design for those usage,
looking forward to cooperate with you.
Jinan USR IOT Technology Limited
1 / 39
tec@usr.cn

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the USR-N540 and is the answer not in the manual?

Questions and answers

Summary of Contents for USR IOT USR-N540

  • Page 1 (USR-N540) File version: Ver1.0.3 Jinan USR IOT Technology Co., Ltd. works on LAN and WAN and wireless for MCU to Ethernet Solutions, Ethernet, WIFI, GPRS, and Wireless modules, we can supply custom design for those usage, looking forward to cooperate with you.
  • Page 2: Table Of Contents

    Module id and id type ....................30 6.8. Device name ......................... 31 6.9. Buffer data before connected ..................32 6.10. Reset timeout ....................... 32 6.11. Local IP config ......................33 6.11.1. Static IP ......................33 Jinan USR IOT Technology Limited 2 / 39 tec@usr.cn...
  • Page 3 6.11.2. DHCP ......................33 6.12. DNS ..........................33 6.13. Comm param ........................ 34 6.14. Username and password ....................34 6.15. Firmupdate ........................35 Contact ............................. 38 Update History ........................... 39 Jinan USR IOT Technology Limited 3 / 39 tec@usr.cn...
  • Page 4: Introduction

    It features a powerful built-in device server, so you can access your serial device from anywhere in the world over internet! The USR-N540 is easily configured via local network, or through the serial port and web pages.
  • Page 5: Applications

    4 * RS232/RS485/RS422 Figure 1 Diagram 1-1 Order information 1.4. Electrical characteristics Working tempterature range: -40~85℃. Unpowered storage temperature and humidity range: -65~150℃, 5~95%RH Input voltage range 12V average current USR-N540 DC9~24V 53mA Jinan USR IOT Technology Limited 5 / 39 tec@usr.cn...
  • Page 6: Simple Test

    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 device picture . Diagram 2-1 USR-N540 with case  Connect device’s RJ45 to PC with network cable ...
  • Page 7: Login

    Open a browser, type and Login above IP address http://192.168.0.7, you will enter module's setup web pages. User name and password are both “admin”, this can be modified after login into the system. Default user name: admin Default password: admin Jinan USR IOT Technology Limited 7 / 39 tec@usr.cn...
  • Page 8 Config for second serial to ethernet Port3 Config for third serial to ethernet Port4 Config for fourth serial to ethernet Web to Serial Config for Web to serial Misc Config Config for device name, username,password Jinan USR IOT Technology Limited 8 / 39 tec@usr.cn...
  • Page 9: Default Parameter Test

    Below is the effect after testing for a few hours, and transmitting millions of bytes. Stable and reliable, without a byte loss. Jinan USR IOT Technology Limited 9 / 39 tec@usr.cn...
  • Page 10: Work Mode

    When received data from the remote server, module will send it to serial port; otherwise, when data is received from serial port, send it to ethernet. The assist software can be download from link below: http://www.usriot.com/Download/199.html Jinan USR IOT Technology Limited 10 / 39 tec@usr.cn...
  • Page 11: Tcp Client Mode

    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. 3.2. TCP Client mode Open web pages and config module to Work Mode: TCP Client Remote port number: 23 remote server addr: 192.168.0.131 Jinan USR IOT Technology Limited 11 / 39 tec@usr.cn...
  • Page 12: Udp Server Mode

    Figure 5 Diagram 3-2 TCP Client mode Figure 6 Diagram 3-3 TCP Client communication test 3.3. UDP Server mode Like the socket UDP server in pc API. Many to one data transfer supported, the data from uart/232/485 Jinan USR IOT Technology Limited 12 / 39 tec@usr.cn...
  • Page 13 UDP packet’s address. Here show 2 UDP client communicate with server, server send data to the last client communicates with it. Figure 7 Diagram 3-4 Client 1 <-> server Jinan USR IOT Technology Limited 13 / 39 tec@usr.cn...
  • Page 14: Tcp Server Mode

    Figure 8 Diagram 3-5 Client 2 <-> server 3.4. TCP Server mode TCP Server mode have max 8 client connected at max; When act as TCP server, only local port matters, Jinan USR IOT Technology Limited 14 / 39 tec@usr.cn...
  • Page 15 USR-N540 User Manual www.usriot.com Figure 9 Diagram 3-6 select workmode TCP server Figure 10 Diagram 3-7 test result, we can establish more than 1 client to test Jinan USR IOT Technology Limited 15 / 39 tec@usr.cn...
  • Page 16: Httpd Client Mode

    Figure 11 Diagram 3-8 Request www.usr.cn/1.php? and upload data Then we take another way, set module Work mode HTTPD Client, Target address www.usr.cn, Target port 80. Jinan USR IOT Technology Limited 16 / 39 tec@usr.cn...
  • Page 17 Figure 12 Diagram 3-9 config HTTPD Client Open USR-TCP232-Test, and type in a string such as "12345", then send via comm port to device, and see the response from www.usr.cn Jinan USR IOT Technology Limited 17 / 39 tec@usr.cn...
  • Page 18 Diagram 3-10 module act as HTTPD Client In the response, all the data returned, but the http header from server will be returned, too. the user may need to parse this to get your data. Jinan USR IOT Technology Limited 18 / 39 tec@usr.cn...
  • Page 19: Hardware

    USR-N540 User Manual www.usriot.com 4. Hardware 4.1. Hardware introduction 4.2. brief  power supply range DC9V~24V, DC plug or 5.08-2 plug  4 port RS232/RS485/RS422, selectable by software Jinan USR IOT Technology Limited 19 / 39 tec@usr.cn...
  • Page 20: Led

    Data TX pin for port 2 Data RX pin for port 2 Data TX pin for port 3 Data RX pin for port 3 Data TX pin for port 4 Data RX pin for port 4 Jinan USR IOT Technology Limited 20 / 39 tec@usr.cn...
  • Page 21: Reload Key

    Firstly USR-PORT_COM, which is a small board from DB9 to RS485/RS422; Secondly, you need to select the corresponding mode RS485 in the setup software or webpage, the device work in RS232 mode by default. Jinan USR IOT Technology Limited 21 / 39 tec@usr.cn...
  • Page 22 USR-N540 User Manual www.usriot.com After select RS485 mode in webpage, plug the USR-PORT-COM board onto device, then restart. Jinan USR IOT Technology Limited 22 / 39 tec@usr.cn...
  • Page 23: Rs422

    Firstly USR-PORT_COM, which is a small board from DB9 to RS485/RS422; Secondly, you need to select the corresponding mode RS422 in the setup software or webpage, the device work in RS232 mode by default. Jinan USR IOT Technology Limited 23 / 39 tec@usr.cn...
  • Page 24 USR-N540 User Manual www.usriot.com After select RS422 mode in webpage, plug the USR-PORT-COM board onto device, then restart. Jinan USR IOT Technology Limited 24 / 39 tec@usr.cn...
  • Page 25: Rj45

    That is to say, you can use either kind of cable to connect with computer or other network decice . Name Description Transceiver Data+ Transceiver Data- Receive Data+ Not connected Not connected Receive Data- Not connected Jinan USR IOT Technology Limited 25 / 39 tec@usr.cn...
  • Page 26: Paramters Configuration

    5.1. Web page Device can be configured through web pages. After you make change, you have to restart device to make change take effect. 5.2. Setup software Down below is the Setup, http://www.usriot.com/Download/90.html Jinan USR IOT Technology Limited 26 / 39 tec@usr.cn...
  • Page 27: Specific Functions

    After 2 second, Search again, module will appear in new paramters. 6. Specific functions 6.1. ModbusRTU to ModbusTCP The whole series product support ModbusRTU to ModbusTCP. When you use it, you have to select the protocols, just here: Jinan USR IOT Technology Limited 27 / 39 tec@usr.cn...
  • Page 28: Hardware Flow Control(Rts/Cts)

    When RTS = 0, enable the other side to send, at this time, TTL is 0 volt, RS232 is -3V ~ -15V. When CTS = 0, represent module is enabled to send, at this time, TTL is 0 volt, and RS232 is -3V ~ -15V. Jinan USR IOT Technology Limited 28 / 39...
  • Page 29: Mac Address

    6.5. Sync baud via net(2217) This is a function similiar to RFC2217(but different protocol), which can modify the device's comm parameters via ethernet(tcp or udp connection). This option is checked by default. Jinan USR IOT Technology Limited 29 / 39 tec@usr.cn...
  • Page 30: Webserver Port

    The module have built-in webserver which allow user to setup parameters via webpage. Default port 80, but we could modify this port according to some special uses. 6.7. Module id and id type All module have a 2 byte id, default 1; id type default 0 Jinan USR IOT Technology Limited 30 / 39 tec@usr.cn...
  • Page 31: Device Name

    This can be used for USR-D2D service add 4-byte before each frame send to server Both 1 and 2 6.8. Device name User can modify this name, 15 chars max. Jinan USR IOT Technology Limited 31 / 39 tec@usr.cn...
  • Page 32: Buffer Data Before Connected

    Default not checked. That is before TCP connected, all the data comm port previously received, will be flushed. If checked, all the data comm port previously received would be saved and send to server after connected. 6.10. Reset timeout Jinan USR IOT Technology Limited 32 / 39 tec@usr.cn...
  • Page 33: Local Ip Config

    6.12. DNS The module can visit both ip or remote domain name, user can type in the domain name in the IP box. The domain name max length will be 30 chars. Jinan USR IOT Technology Limited 33 / 39 tec@usr.cn...
  • Page 34: Comm Param

    Databit range 5, 6, 7, 8; Paritybit range None, Odd, Even, Mark, Space Stopbit range 1, 2 6.14. Username and password Default both "admin", max 5 chars. Figure 24 Diagram 6-10 Firmware revision Jinan USR IOT Technology Limited 34 / 39 tec@usr.cn...
  • Page 35: Firmupdate

    Use search and config software to update firmware, only once for one time, can not cross network segment. Search and select one module Figure 26 Diagram 6-11 search and select ‘Device’ -> firmware update Jinan USR IOT Technology Limited 35 / 39 tec@usr.cn...
  • Page 36 USR-N540 User Manual www.usriot.com Figure 27 Diagram 6-12 firmware update Click to start update progress. Jinan USR IOT Technology Limited 36 / 39 tec@usr.cn...
  • Page 37 Figure 28 Diagram 6-13 in update progress Update success, click exit. Figure 29 Diagram 6-14 success Note. After update, if can not search module, restore to factory will fix this problem. Jinan USR IOT Technology Limited 37 / 39 tec@usr.cn...
  • Page 38: Contact

    USR-N540 User Manual www.usriot.com 7. Contact Company: Jinan USR IOT Technology Limited Address: Floor 11,Building1,No.1166 Xinluo Street,Gaoxin Distric,Jinan,Shandong,250101 China Tel: 86-531-55507297, 86-531-88826739 Web: http://www.usriot.com Support : http://h.usriot.com Email: sales@usr.cn Jinan USR IOT Technology Limited 38 / 39 tec@usr.cn...
  • Page 39: Update History

    USR-N540 User Manual www.usriot.com 8. Update History 2015-10-29 V1.0.1 created 2015-11-03 V1.0.3 correct some error Jinan USR IOT Technology Limited 39 / 39 tec@usr.cn...

Table of Contents