Multifunctional Serial To Ethernet Converter: (USR-TCP232-E2) (USR-TCP232-ED2) (USR-TCP232-410) File Version: V1.0.9
Multifunctional Serial To Ethernet Converter: (USR-TCP232-E2) (USR-TCP232-ED2) (USR-TCP232-410) File Version: V1.0.9
Multifunctional Serial To Ethernet Converter: (USR-TCP232-E2) (USR-TCP232-ED2) (USR-TCP232-410) File Version: V1.0.9
com
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.
Contents
1. Introduction
1.1. Overview
The USR-TCP232-M4 product series is an intelligent plug-and-play
RS232/RS485/UART to Ethernet adapter that enables any device or machine with a serial
port, to become Ethernet network and Internet enabled, and have network data transmit
ability. 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-M4 is easily configured via
local network, or through the serial port and web pages.
1.2 Features
1. New Cortex-M4 kernel, industrial working temperature range(-40~85℃), elaborate
optimization TCPIP protocol stack, stable and reliable.
2. selectable RS232/RS485/UART port, Different port can be used together, work
independently, distinguish the connected serial port via port number.
3. Auto-MIDX function, discretionarily connect cross-over or direct network cable,
automatic switching.
4. Support TCP Server, TCP Client, UDP, UDP Server, HTTPD Client,websocket,
various of ethernet protocols.
5. Support virtual serial port, provide corresponding software.
6. Serial port highest baud rate from 600bps to 1024000bps(COM0 only max
256000bps).
7. wide voltage input, more applications.
8. Support DHCP, automatically access IP, can inquire the facility within network
through the UDP broadcast protocol(using software USR-TCP232-E45 Setup).
9. Supply the protocol for VIP customers
10. Provide PC TCP/IP SOCKET programming example, VB, C++, Delphi, Android, IOS.
11. A built-in web page, also parameter setting via web, can customize web pages for
users.
12. Can also set via UDP broadcast, provide the set up protocol.
13. Reload button, a key restore default Settings.
14. RJ45 status indicator light, RJ45 interface built-in isolation transformer, 2 KV
isolation.
15. The global unique MAC address bought from IEEE, the user can define MAC
address (please state when you make order).
16. Support upgrade firmware via network.
17. Support visit IP and domain name at the same time
18. Support up to 8 link from client when act as TCP Server, same data will be send to all
client.
19. Can modify http server port from default port 80 for module built-in http server.
20. Support Keepalive, detect a dead link quickly and make sure the connection more
stable.
1.2. 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
Note:
For webpages: PORT0, PORT1 and PORT2, represent below:
TCP232-E2: PORT0 represent UART0, PORT1 represent UART1, PORT2 not available in
hardware;
TCP232-ED2: PORT0 represent UART0, PORT1 represent UART1, PORT2 represent
UART2;
TCP232-410: PORT0 represent RS232,PORT1 represent RS485,PORT2 not available;
2. Module 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.2. 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
After you have login, you can see webpage as follow, this is config page for TCP232-410
serial port, use software default settings, the right side is the network part, set to TCP Client and
server to be IP 192.168.0.7, port 23.
By default, the two COM port to be set as TCP Server mode, port is 23/26.
This illustration shows the 10 ms two-way simultaneous automatically transmit screenshots.
As the allocated memory of the display control is limited, in order to test large amount of data
transceiver, here will suspend the receive display, only statistical data. Below is the effect after
testing for a few hours, and transmitting millions of bytes. Stable and reliable, without a byte loss.
3. Work mode
Diagram 3-7 test result, we can establish more than 1 client to test
4. Hardware
About the new PCB libraries file, we can download it from website
http://www.usriot.com/Download/221.html .
4.1. USR-TCP232-E2
4.1.1. Hardware
Power supply socket, The input voltage range 3.3V or 5V, average current both 120 MA. We
default supply customer with high quality 5 V / 1 A power adapter.
if your MCU's signal is 5V, pls add a signal convert between 3.3V and 5V
id name description
1 VDD DC5V(you must choose only one supply between 5V
or 3.3V)
besides Link and Data LED of RJ45, there is one work LED pin interface reserved on board.
ID name Description
Just interface pin, have no LED on module,
If you need it, take this pin with LED and 510 ohm
resistor to GND.
1 Work
4.2. USR-TCP232-ED2
4.2.1. Hardware
4.2.2. Power
Power supply socket, The input voltage range 3.3V or 5V, average current 120 MA. We
default supply high quality 5 V / 1 A power adapter.
Except for Link and Data of RJ45, there is one work LED interface
ID name Description
1 Work(green) Toggle every 1 seconds, this LED already on board
4.3. USR-TCP232-410
4.3.1. Hardware
4.3.2. Power
This system default use a Power supply socket, we can also customized for 5.08-2 terminal.
The Power supply socket, outer diameter 5.5 mm inner 2.1 mm standard size, inside plus,
outside minus. The input voltage range DC5 ~ 18 V, average current 120 MA. We default supply
high quality 5 V / 1 A power adapter.
The serial port is male (needle), RS232 level (can be directly connected to computer serial
via a RS232 extend wire), When connected with the computer, we need to use cross cable (2-3
cross, 7-8 cross, 5-5 direct Otherwise, it might lead to irregularly work).
RS485 two wirings terminal, A (DATA +), B (DATA), when connected with RS485, A (+) to
A (+), B (-) to B (-).
4.5. Reload
This button is used to restore factory settings. Press the button, keep it pressed, then power on,
after 2 second, free this Reload button, device will be back to factory settings.
Default settings main parameters as follows
Address type: static IP
Static IP Address: 192.168.0.7
User name: admin
password: admin
5. Paramters configuration
6. Specific functions
If there is no data since the last char received during the past 10ms, the current data will be
send to remote server.
If the currently received data length exceed 512 byte, then the module will pack all the 512
byte and send to remote server.
The pack mechanism would be triggered if there is either 1 condition meet them.
If we set packet time and packet length to 0, then the module would use a mechanism of
auto-packet, which have 4-byte-time packet time, and 1460 byte packet length(available only
when firmware revision >= 3006).
6.11.1. Static IP
Type in the ip address you want to config, such as 192.168.0.10 (192.168.0.7 by default);
Submask usually 255.255.255.0
Gateway usually 192.168.0.1 (your router's ip address)
6.11.2. DHCP
Choose DHCP and save, then reset to take effect. The module will get it's ip address in
5-10seconds, after that you can search for it in the setup software.
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.
6.16. RS485
The module's RTS pin, is configured as 485_EN pin, by default.
If you want to extend a RS485 interaface for TCP232-E or TCP232-ED2, you can connect
this RTS pin to the 485 IC's enable pin.
6.17. Firmupdate
only once for one time, can not cross network segment.
1. Search and select one module
Note. After update, if can not search module, restore to factory will fix this problem.
Possible causes.
1) Module id type is not 0.
Solutions.
1) Module id type set 0.
Maybe there is a network device which is same ip to module, pls check if ip conflict.
7. Contact us
China
Web: http://www.usriot.com/
Skype: lisausr
Support: http://h.usriot.com/index.php?c=frontTicket&m=sign
8. Modified history
1) V1.0 .1 doc established by Huibin Li
2) V1.0.3 correct website link and picture mistake
3) V1.0.5 add support center website
4) V1.0.6 remove some error
5) V1.0.7 add reset timeout and buffer data
6) V1.0.8 a new address