Usr USR-TCP232- E User manual

Multifunctional serial to Ethernet module user manual http://en.usr.cn
Jinan USR IOT Technology Co., Ltd tec@usr.cnPage 1 /
/
/
/9
Multifunctional
Multifunctional
Multifunctional
Multifunctional S
S
S
S erial
erial
erial
erial to
to
to
to E
E
E
E thernet
thernet
thernet
thernet converter
converter
converter
converter
(USR-TCP232- E ) (USR-TCP232-ED)
(USR-TCP232- 400 ) (USR-TCP232-401)
(USR-TCP232- 500 ) (USR-TCP232-504)
(USR-TCP232-52E)(USR-TCP232-52PE)
File version: V1. 3.2
Jinan USR IOT Technology Co., Ltd. works on LAN and WAN and wireless for MCU to
Ethernet Solutions, Ethernet, WIFI, GPRS, Zigbee and Wireless modules, we can supply
custom design for those usage, look ing forward to cooperat e with you.

Multifunctional serial to Ethernet module user manual http://en.usr.cn
Jinan USR IOT Technology Co., Ltd tec@usr.cnPage 2 /
/
/
/9
Contents
Contents
Contents
Contents
Multifunctional S erial to E thernet converter ..................................................................................... 1
1. Introduction ................................................................................................................................... 5
1.1. Overview ........................................................................................................................... 5
1.2 Features ............................................................................................................................... 5
1.2. Applications ....................................................................................................................... 6
1.3. Order information .............................................................................................................. 6
1.4. Electrical c haracteristics .................................................................................................... 7
2. Work Mode ................................................................................................................................... 8
2.1. Block diagram .................................................................................................................... 8
2.2. UDP mode .......................................................................................................................... 8
2.3. TCP Client mode ............................................................................................................... 9
2.4. UDP Server mode ............................................................................................................ 10
2.5. TCP Server mode ............................................................................................................. 11
2.6. Httpd Client mode ............................................................................................................ 12
2.7. TCP Auto mode ............................................................................................................... 14
2.8. WEB to Serial mode ........................................................................................................ 16
3. Hardware interface: ..................................................................................................................... 17
3.1. USR-TCP232-E ............................................................................................................... 17
3.1.1. Hardware ............................................................................................................... 17
3.1.2. Power ..................................................................................................................... 17
3.1.3. LED status ............................................................................................................. 18
3.1.4. Serial(TTL) interface ............................................................................................. 18
3.2. USR-TCP232-ED ............................................................................................................ 18
3.2.1. Hardware ............................................................................................................... 18
3.2.2. Power ..................................................................................................................... 19
3.2.3. LED status ............................................................................................................. 19
3.2.4. Serial(TTL) interface ............................................................................................. 20
3.3. USR-TCP232-400 ............................................................................................................ 22
3.3.1. Hardware ............................................................................................................... 22
3.3.2. Power ..................................................................................................................... 22
3.3.3. LED status ............................................................................................................. 23
3.3.4. RS232 interface ..................................................................................................... 23
3.3.5. RS485 /RS422 interface .................................................................................... 24
3.4. USR-TCP232-401 ............................................................................................................ 24
3.4.1. Hardware ............................................................................................................... 24
3.4.2. Power ..................................................................................................................... 25
3.4.3. LED status ............................................................................................................. 25
3.4.4. RS232 interface ..................................................................................................... 25

Multifunctional serial to Ethernet module user manual http://en.usr.cn
Jinan USR IOT Technology Co., Ltd tec@usr.cnPage 3 /
/
/
/9
3.4.5. RS485 interface ................................................................................................. 26
3.5. USR-TCP232-500 ............................................................................................................ 26
3.5.1. Hardware ............................................................................................................... 26
3.5.2. Power ..................................................................................................................... 27
3.5.3. LED status ............................................................................................................. 27
3.5.4. RS232 interface ..................................................................................................... 27
3.5.5. RS485 /RS422 interface .................................................................................... 28
3.6. USR-TCP232-504 ............................................................................................................ 29
3.6.1. Hardware ............................................................................................................... 29
3.6.2. Power ..................................................................................................................... 29
3.6.3. LED status ............................................................................................................. 30
3.6.4. RS485 interface ................................................................................................. 30
3.7. USR-TCP232-52E ........................................................................................................... 30
3.7.1. Hardware ............................................................................................................... 30
3.7.2. Power ..................................................................................................................... 31
3.7.3. LED status ............................................................................................................. 33
3.7.4. RS232 interface ..................................................................................................... 33
3.7.5. RS485 interface ................................................................................................. 33
3.7.6. RJ45 interface .................................................................................................... 34
3.8. USR-TCP232-52PE ......................................................................................................... 34
3.8.1. Hardware ............................................................................................................... 34
3.8.2. Power ..................................................................................................................... 34
3.8.3. LED status ............................................................................................................. 34
3.8.4. RS232 interface ..................................................................................................... 35
3.8.5. RS485 interface ................................................................................................. 35
3.8.6. RJ45 interface .................................................................................................... 35
3.9. RJ45 interface .................................................................................................................. 35
3.10. Reload ............................................................................................................................ 36
4. Paramters configuration .............................................................................................................. 36
4.1. Web page ......................................................................................................................... 36
4.2. Serial port ........................................................................................................................ 36
4.3. network command(setup software) .................................................................................. 37
5. Specific functions ........................................................................................................................ 38
5.1. Hardware flow control ..................................................................................................... 38
5.2. User MAC address ........................................................................................................... 39
5.3. Firmupdate ....................................................................................................................... 40
6. Module USES ............................................................................................................................. 42
6.1. Hardware connection ....................................................................................................... 42
6.2. Login ................................................................................................................................ 43
6.3. Default working mode test ............................................................................................... 45
6.4. Common questions .......................................................................................................... 46
6.4.1. Work across network segment ............................................................................... 46
6.4.2. Ping is OK but can not open web pages ................................................................ 47

Multifunctional serial to Ethernet module user manual http://en.usr.cn
Jinan USR IOT Technology Co., Ltd tec@usr.cnPage 4 /
/
/
/9
6.4.3. After firm update, can not open web page ............................................................. 47
6.4.4. When connection established, server received serval chars .................................. 47
6.4.5. Every serval seconds, module reconnect ............................................................... 48
7. C ontact us .................................................................................................................................... 49
8. Modified history .......................................................................................................................... 50

Multifunctional serial to Ethernet module user manual http://en.usr.cn
Jinan USR IOT Technology Co., Ltd tec@usr.cnPage 5 /
/
/
/9
1.
1.
1.
1. Introduction
Introduction
Introduction
Introduction
1.1.
1.1.
1.1.
1.1. Overview
Overview
Overview
Overview
The USR-TCP232- E45 is an intelligent plug-and-play RS232 to Ethernet adapter that
enables any device or machine with a serial port, to become Ethernet network and
Internet enabled. Go from Ethernet to serial with the USR-TCP232- E45 . It features a
powerful built-in device server, so you can access your serial device from anywhere in the
world over internet! The USR-TCP232- E45 is easily configured via Ethernet, and can
also be set up through the serial port and web pages .
We Provide Network products and the best service to our customers.
• Chips • Modules • Software • Products
1.2
1.2
1.2
1.2 Features
Features
Features
Features
1. New Cortex-M3 kernel, industrial working temperature range, elaborate optimization
TCPIP protocol stack, stable and reliable.
2. A RS232 port, can set COM port and working mode independently, work
independently, support RTS/CTS hardware flow control.
3. A RS232/RS485 compatible port, auto adaptation.
4. RS232 and RS485 can be used together, work independently, distinguish the
connected serial port via port number.
5. Auto-MDI/MIDX function, discretionarily connect cross-over or direct network cable,
automatic switching.
6. Support TCP Server, TCP Client, UDP, UDP Server, HTTPD Client various of work
modes.
7. Support virtual serial work way, provide corresponding software.
8. Serial port highest baud rate from 110bps to 102 4 0 00 bps(COM0 only max
256000bps) .
9. wide voltage input, more applications.
10. Support DHCP automatically access IP, can inquire the facility within network
through the UDP broadcast protocol.
11. Supply the protocol for VIP customers, can integrate parameter seting function to
users ’ software applications.
12. Provide PC TCP/IP SOCKET programming example, VB , C++ , Delphi , Android , IOS.
13. The built-in web page, also parameter setting via web, can customize web pages for
users.
14. Can also set via UDP, provide the set up protocol and software source code.
15. Reload button, a key restore default Settings.

Multifunctional serial to Ethernet module user manual http://en.usr.cn
Jinan USR IOT Technology Co., Ltd tec@usr.cnPage 6 /
/
/
/9
16. RJ45 status indicator light, RJ45 interface built-in isolation transformer, 2 KV
isolation.
17. The global only MAC address bought from IEEE, the user can define MAC address
(please state when you make order) .
18. Support upgrade firmware via network.
19. Support IP and domain name at the same time
20. Support up to 4 link from client when act as TCP Server, send and receive data with
id.
21. Can modify MAC address you wanted.
22. Can modify http server port for module built-in http server.
23. Support Keepalive.
1.2.
1.2.
1.2.
1.2. Applications
Applications
Applications
Applications
Fire and Security Panels
Vending Machines
Point of Sale Terminals
Remote equipment management
IT management services
Access Control
Industrial Control
Home Automation
Instrumentation
Building Control
Power Management
1.3.
1.3.
1.3.
1.3. Order
Order
Order
Order information
information
information
information
Type
Type
Type
Type Part
Part
Part
Part Numbers
Numbers
Numbers
Numbers Electric
Electric
Electric
Electric interface
interface
interface
interface
Serial to Ethernet Converter USR-TCP232- E 2 * TTL 232
Serial to Ethernet Converter USR-TCP232- ED 3 * TTL232
Serial to Ethernet Converter USR-TCP232- 400 1 * RS232 , 1 * RS485 /RS422
Serial to Ethernet Converter USR-TCP232- 401 1 * RS232 , 1 * RS485
Serial to Ethernet Converter USR-TCP232- 500 2 * RS232 , 1 * RS485 /RS422
Serial to Ethernet Converter USR-TCP232- 504 3 * RS485
Serial to Ethernet Converter USR-TCP232- 52E 2 * RS232, 1 * RS485, 2 * RJ45
Serial to Ethernet Converter USR-TCP232- 52PE 2 * RS232, 1 * RS485, 2 * RJ45(POE)
Diagram 1 - 1 Order information
Note:
For webpages: PORT0, PORT1 and PORT2, represent below:

Multifunctional serial to Ethernet module user manual http://en.usr.cn
Jinan USR IOT Technology Co., Ltd tec@usr.cnPage 7 /
/
/
/9
TCP232-E: PORT0 represent UART0, PORT1 represent UART1, PORT2 not available in
hardware;
TCP232-ED: PORT0 represent UART0, PORT1 represent UART1, PORT2 represent
UART2;
TCP232-400/401: PORT0 represent RS232 ,PORT1 represent RS485 ,PORT2 not available;
TCP232-500: PORT0 and PORT1 represent RS232_0 and RS232_1 ,PORT2 represent
RS485/422;
TCP232-504: PORT0, PORT1, PORT2 represent RS485_0 、RS485_1 and RS485_2;
TCP232-52E/52PE:PORT0 and PORT1 represent RS232_0 and RS232_1 ,PORT2 represent
RS485
1.4.
1.4.
1.4.
1.4. Electrical
Electrical
Electrical
Electrical c
c
c
c haracteristics
haracteristics
haracteristics
haracteristics
DC Power Supply Voltage :
Two DC Voltage can be choose (for USR-TCP232-E, others see Hard interface )
VCC :type: 3.3V, min: 3.15 ,max: 3.45 V
VDD :type:
5V,
min: 4.5V ,max: 5.5V
Operating supply current : Max: 180 MA
Operating Temperature : -40~85 ° C
Storage temperature : -40~85 ° C

Multifunctional serial to Ethernet module user manual http://en.usr.cn
Jinan USR IOT Technology Co., Ltd tec@usr.cnPage 8 /
/
/
/9
2.
2.
2.
2. Work
Work
Work
Work Mode
Mode
Mode
Mode
2.1.
2.1.
2.1.
2.1. Block
Block
Block
Block diagram
diagram
diagram
diagram
Take USR-TCP232-E for example ,show demo application of module USR-TCP232-E.
Serial to Ethernet
Converter
USR
-
TCP 232
- E
Ethernet
power
User
device
TTL
Diagram 2 - 1 USR-TCP232-E application demo
2.2.
2.2.
2.2.
2.2. UDP
UDP
UDP
UDP mode
mode
mode
mode
When in UDP mode, after power on, module listen on specific port.
MCU
51
51
51
51
,
,
,
,
AVR
AVR
AVR
AVR
,
,
,
,
PIC
PIC
PIC
PIC
,
,
,
,
ARM
ARM
ARM
ARM
RS
232
Ethernet
1 . PC listen a UDP port
2
.
Data transfer With out connection
,
only data packet
1
.
Module listen a UDP port
Module work at UDP mode
Diagram 2 - 2 UDP mode
When received data from this udp port, 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.usr.so/Download/121.html
http://www.usr.so/Download/121.html
http://www.usr.so/Download/121.html
http://www.usr.so/Download/121.html

Multifunctional serial to Ethernet module user manual http://en.usr.cn
Jinan USR IOT Technology Co., Ltd tec@usr.cnPage 9 /
/
/
/9
Diagram 2 - 3 UDP mode communication test
Note:
1) local port and remote port can be different.
2) 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.
2.3.
2.3.
2.3.
2.3. TCP
TCP
TCP
TCP Client
Client
Client
Client mode
mode
mode
mode
Open web pages and config module to
Telent Mode: TCP Client
Remote port number: 23
Telnet Server Addr: 192.168.0.131

Multifunctional serial to Ethernet module user manual http://en.usr.cn
Jinan USR IOT Technology Co., Ltd tec@usr.cnPage 10 /
/
/
/9
Diagram 2 - 4 TCP Client mode
Use USR-TCP232-Test,
Diagram 2 - 5 TCP Client communication test
2.4.
2.4.
2.4.
2.4. UDP
UDP
UDP
UDP Server
Server
Server
Server mode
mode
mode
mode
Like the socket UDP server in pc API. Many to one data transfer supported, the data
from uart/232/485 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.

Multifunctional serial to Ethernet module user manual http://en.usr.cn
Jinan USR IOT Technology Co., Ltd tec@usr.cnPage
11
/
/
/
/9
Diagram 2 - 6 Client 1 <-> server
Diagram 2 - 7 Client 2 <-> server
2.5.
2.5.
2.5.
2.5. TCP
TCP
TCP
TCP Server
Server
Server
Server mode
mode
mode
mode
TCP Server mode have 2 parameters: max link number and link type
1. max link number: 1 ~ 4;
2. Link type: typical, completely transparent, send data to all client;

Multifunctional serial to Ethernet module user manual http://en.usr.cn
Jinan USR IOT Technology Co., Ltd tec@usr.cnPage 12 /
/
/
/9
extend1, communicate with id, otherwise abandon;
extend2, communicate with id, otherwise send to all client.
For link type extended 1 and extended 2:
When receive data from ethernet, module will send data to serial port with head ‘ I
’
‘ N
’
,followed by data. ’ I
’
represent incoming data, ‘ N
’
represent client index.
When user MCU want send data to module serial port, start with head ‘ O
’
‘ N
’
data... ‘ O
’
represent send out, ‘ N
’
represent which client.
When new TCP connection incoming, module will send ‘ C
’
‘ N
’
‘ M
’
to serial port, indicating
that there is current link ‘ N
’
accessed, total link number ‘ M ’ .
When link number have exceed maximum, new link requirment will lead to message ‘ F
’
‘ F ’ .
When disconnect, module will send ‘ D
’
‘ N
’
‘ M ’ , represent current link N is delete, left link
M.
Note:
serial data need to be sent in one package to module.
Diagram 2 - 8 web page configuration
2.6.
2.6.
2.6.
2.6. Httpd
Httpd
Httpd
Httpd Client
Client
Client
Client mode
mode
mode
mode
This function is easier used for web page developer. We establish one web server page, add
this:
[<?php echo $_GET['data']; ?>]
Means we can GET data from HTTP client
’
s request. Open this URL:
www.usr.cn/1.php?data=12345 , the web page is downbelow, we can see that the web server have
got the data(12345),

Multifunctional serial to Ethernet module user manual http://en.usr.cn
Jinan USR IOT Technology Co., Ltd tec@usr.cnPage 13 /
/
/
/9
Diagram 2 - 9 Request www.usr.cn/1.php?
www.usr.cn/1.php?
www.usr.cn/1.php?
www.usr.cn/1.php? and upload data
Then we take another way, set USR-TCP232-E module Work mode HTTPD Client, Target
address www.usr.cn,
www.usr.cn,
www.usr.cn,
www.usr.cn, Target port 80,
Diagram 2 - 10 config HTTPD Client

Multifunctional serial to Ethernet module user manual http://en.usr.cn
Jinan USR IOT Technology Co., Ltd tec@usr.cnPage 14 /
/
/
/9
Diagram 2 -
11
module act as HTTPD Client
Note.
HTTPD Client based on TCP Client.
2.7.
2.7.
2.7.
2.7. TCP
TCP
TCP
TCP Auto
Auto
Auto
Auto mode
mode
mode
mode
When power on, module work as TCP Server, listen on local port, but if there is data received
from serial port before any connection, module will try to connect remote IP and port as TCP
Client.

Multifunctional serial to Ethernet module user manual http://en.usr.cn
Jinan USR IOT Technology Co., Ltd tec@usr.cnPage 16 /
/
/
/9
2.8.
2.8.
2.8.
2.8. WEB
WEB
WEB
WEB to
to
to
to Serial
Serial
Serial
Serial mode
mode
mode
mode
Communication mode between serial port and web pages.
Diagram 2 - 14 config module to WEB to Serial mode
Select Telnet mode Web to Serial ,
Diagram 2 - 15 WEB to Serial communication demo
Note:
1、received window show data only when click on “ read ” button or select “ Auto read ” button.

Multifunctional serial to Ethernet module user manual http://en.usr.cn
Jinan USR IOT Technology Co., Ltd tec@usr.cnPage 17 /
/
/
/9
2、whether WEB to Serial mode or not, send web data to serial always work.
3.
3.
3.
3. Hardware
Hardware
Hardware
Hardware interface:
interface:
interface:
interface:
3.1.
3.1.
3.1.
3.1. USR-TCP232-E
USR-TCP232-E
USR-TCP232-E
USR-TCP232-E
About the new PCB libraries file, we can load from website.
3.1.1.
3.1.1.
3.1.1.
3.1.1. Hardware
Hardware
Hardware
Hardware
Diagram 3 - 1 USR-TCP232-E
1) Mechanical dimesion : ( L × W × H): 5 5 × 30 × 23 .2 (mm) including RJ45 and connector ;
2) PCB dimension (L × W): 50 .4 × 30.0 (mm) ;
3) 5V 3.3V double power input ,choose 1 input
1) 2 * serial(2 * TTL)
2) TTL serial port support hardware flow control
3.1.2.
3.1.2.
3.1.2.
3.1.2. Power
Power
Power
Power
Power supply socket, The input voltage range 3.3V or
5V
, current 150 MA. We default
supply high quality 5 V / 1 A power adapter.

Multifunctional serial to Ethernet module user manual http://en.usr.cn
Jinan USR IOT Technology Co., Ltd tec@usr.cnPage 18 /
/
/
/9
3.1.3.
3.1.3.
3.1.3.
3.1.3. LED
LED
LED
LED status
status
status
status
Except for Link and Data of RJ45, there is one work LED interface
ID name
Description
1 Work
Just interface, have no LED on module,
If you needed, take this pin with LED and 510 ohm
resistor to GND.
See Pin8 for further explantion.
2 Link(green) On RJ45, when ethernet link established, on.
3 Data(yellow) On RJ45, wnen ethernet data communicate, twinkle.
Diagram 3 - 2 LED definition
3.1.4.
3.1.4.
3.1.4.
3.1.4. Serial(TTL)
Serial(TTL)
Serial(TTL)
Serial(TTL) interface
interface
interface
interface
The serial port is TTL level ( 2 * TTL serial port, can be directly connected to MCU ) .
number name Description
1 TXD0 Uart0 transmit data pin
2 RXD0 Uart0 receive data pin
3 CTS0 Uart0 RS232 clear to send
4 RTS0 Uart0 require to send
5 RXD1 Uart1 receive data pin
6 TXD1 Uart1 transmit data pin
Diagram 3 - 3 connector interface(include uart0 and uart1)
3.2.
3.2.
3.2.
3.2. USR-TCP232-ED
USR-TCP232-ED
USR-TCP232-ED
USR-TCP232-ED
3.2.1.
3.2.1.
3.2.1.
3.2.1. Hardware
Hardware
Hardware
Hardware

Multifunctional serial to Ethernet module user manual http://en.usr.cn
Jinan USR IOT Technology Co., Ltd tec@usr.cnPage 19 /
/
/
/9
Diagram 3 - 4 USR-TCP232-ED
1) Mechanical dimesion : ( L × W × H): 44.45 × 31.75 × 15.4 (mm) including RJ45 and connector ;
2) PCB dimension (L × W): 44.45 × 31.75 (mm) ;
3) 5V 3.3V double power input ,choose 1 input
4) 3 * serial(3 * TTL)
5) TTL serial port support hardware flow control
3.2.2.
3.2.2.
3.2.2.
3.2.2. Power
Power
Power
Power
Power supply socket, The input voltage range 3.3V or
5V
, current 150 MA. We default
supply high quality 5 V / 1 A power adapter.
3.2.3.
3.2.3.
3.2.3.
3.2.3. LED
LED
LED
LED status
status
status
status
Except for Link and Data of RJ45, there is one work LED interface
ID name
Description
1 Work
Twinkle every 1 seconds
2 Link(green) On RJ45, when ethernet link established, on.
3 Data(yellow) On RJ45, wnen ethernet data communicate, twinkle.
Diagram 3 - 5 LED definition
Other manuals for USR-TCP232- E
1
This manual suits for next models
7
Table of contents
Other Usr Media Converter manuals
Popular Media Converter manuals by other brands

Transition Networks
Transition Networks E-100BTX-FX-N-02 user guide

Omnitronic
Omnitronic LH-055 user manual

EuroLite
EuroLite ARTNET/DMX NODE 1 user manual

Siemens
Siemens RUGGEDCOM RMC20 installation guide

Lika
Lika ROTAMAG SMRIL Plus MRI Series Mounting instructions

Baumer
Baumer HOG 100 Mounting and operating instructions