Serial device server - rs232/rs485 to ethernet converter (13 pages)
Summary of Contents for Usr TCP232-E
Page 1
(USR-TCP232-500) File version: V1.1 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, looking forward to cooperate with you.
Page 3
6.4.3. After firm update, can not open web page..............30 6.4.4. When connection established, server received serval chars........30 6.4.5. Every serval seconds, module reconnect..............30 7. Contact us............................31 8. Modified history..........................32 Page3/ / / / 9 Jinan USR IOT Technology Co., Ltd freda@usr.so...
Ethernet network and Internet enabled. Go from Ethernet to serial with the USR-TCP232-E. 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-E is easily configured via Ethernet, and can also be set up through the serial port and web pages.
1.4. 1.4. Electrical 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: 0~75 °C (business version) -25-80°C (industry version) Storage temperature: -40~85 °C...
2.1. Block Block Block Block diagram diagram diagram diagram Take USR-TCP232-E for example, show demo application of module USR-TCP232-E. p o w e r Ethernet T T L Serial to Ethernet U s e r Converter d e v i c e...
Client mode mode mode Open web pages and config module to Telent Mode: TCP Client Remote port number: Telnet Server Addr: 192.168.0.131 Diagram 2-4 TCP Client mode Use USR-TCP232-Test, Page7/ / / / 9 Jinan USR IOT Technology Co., Ltd freda@usr.so...
Page 8
UDP packet’s address. Here show 2 UDP client communicate with server, server send data to the last client communicates with it. Page8/ / / / 9 Jinan USR IOT Technology Co., Ltd freda@usr.so...
When disconnect, module will send ‘D’ ‘N’ ‘M’, represent current link N is delete, left link Note: serial data need to be sent in one package to module. Page9/ / / / 9 Jinan USR IOT Technology Co., Ltd freda@usr.so...
Page 10
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), www.usr.cn/1.php? www.usr.cn/1.php? Diagram 2-9 Request www.usr.cn/1.php?
Page 11
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. Page11/ / / / 9 Jinan USR IOT Technology Co., Ltd freda@usr.so...
Page 12
Diagram 2-13 TCP Auto act as Client 2.8. 2.8. WEB to to to to Serial Serial Serial mode mode 2.8. 2.8. WEB Serial mode mode Communication mode between serial port and web pages. Page12/ / / / 9 Jinan USR IOT Technology Co., Ltd freda@usr.so...
1、received window show data only when click on “read” button or select “Auto read”button. 2、whether WEB to Serial mode or not, send web data to serial always work. Page13/ / / / 9 Jinan USR IOT Technology Co., Ltd freda@usr.so...
5 V / 1 A power adapter. 3.1.3. 3.1.3. 3.1.3. 3.1.3. LED LED status status status status Except for Link and Data of RJ45, there is one work LED interface Description name Page14/ / / / 9 Jinan USR IOT Technology Co., Ltd freda@usr.so...
Diagram 3-3 connector interface(include uart0 and uart1) Note: RS485 and RS422 are self adaption ports, according to RS485 connection that is RS485, according to RS422 connection is RS422. Page15/ / / / 9 Jinan USR IOT Technology Co., Ltd freda@usr.so...
Power supply socket, outer diameter 5.5 mm inner 2.1 mm standard size, inside plus, outside minus. The input voltage range 5 ~ 48 V, current 150 MA. We default supply high quality 5 V / 1 A power adapter. Page16/ / / / 9 Jinan USR IOT Technology Co., Ltd freda@usr.so...
3.2.5. RS485 RS485/RS422 /RS422 interface interface RS485 two wirings terminal, A (DATA +), B (DATA), when connected with RS485, A (+) to A (+), B (-) to B (-). Page17/ / / / 9 Jinan USR IOT Technology Co., Ltd freda@usr.so...
This system has three power supply interface, a power hub, a 5.08 terminal, pin 9 of the two serial com (through the PCB jumper short circuit, default closed). Page18/ / / / 9 Jinan USR IOT Technology Co., Ltd freda@usr.so...
RS232 clear to send Default not used. there is one pad jumper, default disconnect, when connect, it can power supply outside serial device. Diagram 3-9 DB9 interface Note: none Page19/ / / / 9 Jinan USR IOT Technology Co., Ltd freda@usr.so...
IP Static IP Address: 192.168.0.7 User name: admin password: admin Module name: USR-TCP232-E Using web pages can also restore default settings. Diagram 3-11 restore defaults through web pages Page20/ / / / 9 Jinan USR IOT Technology Co., Ltd freda@usr.so...
After module already power on, press Reload(for USR-TCP232-E, pull Reload low), module will go in Serial config mode(in this mode we can config paramters through serial command), then module serial port 0 will switch to 9600, 8, n, 1, and send char ‘U’, indicating that module already in serial config mode.
Page 22
55 BA for write Port0,55 BC for read port0; 55 C1 for write Port1,55 C3 for read port1; 55 C2 for write Port2,55 C4for read port2(Port2 only for-500). 2. For further information, see <USR-TCP232-XX config protocol V3.doc>. 4.3. network command(setup software) 4.3.
Diagram 5-2 user MAC address In Current config and status, can see the currently MAC address in use. Diagram below is using the factory MAC. Page23/ / / / 9 Jinan USR IOT Technology Co., Ltd freda@usr.so...
Accord to structure to send reset command, this command only for firmware 2002 and upper UDP broadcase,sned data to 255.255.255.255, port 1901: function head len(from cmd tobefore verify) cmd User /password verify(sum) reset [usrname] [password] Page24/ / / / 9 Jinan USR IOT Technology Co., Ltd freda@usr.so...
For the convenience of use, we designed evaluation board for module USR-TCP232-E, with the RS232 to TTL conversion circuit, convenient for user communicate with computer. Here we take USR-TCP232-E for example, The default configuration: IP address: 192.168.0.7 Subnet mask: 255.255.255.0...
Login above IP address http://192.168.0.7 through the browser, you will enter setup web pages. User name and password are “admin”, this can be modified when login into the system. Page28/ / / / 9 Jinan USR IOT Technology Co., Ltd freda@usr.so...
Page 29
Webpage as follows, 2 COM port can be set in total, 2. TTL(uart0) Settings and 3. TTL(uart1) Settings respectively corresponding to UART0and UART1 Settings, 4. Miscellaneous Settings is used to set some parameters such as module IP and module name. Page29/ / / / 9 Jinan USR IOT Technology Co., Ltd freda@usr.so...
Page 30
To test briefly in default working mode, on the foundation of the hardware connection, use the matched software USR-TCP232-Test in CD to make transmitting and receiving test. The left side is 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.
If your TCP232 device’s IP is 192.168.0.7, and remote PC’s IP is 192.168.1.7, we need to config. Subnet mask of TCP232 device, PC, and router to 255.255.0.0, if not ,the TCP232 module will not communicate normally. Page31/ / / / 9 Jinan USR IOT Technology Co., Ltd freda@usr.so...
Page 32
6.4.5. 6.4.5. Every Every serval serval seconds, seconds, module module reconnect reconnect Telnet Timeout was set to none 0 value. Solutions Page32/ / / / 9 Jinan USR IOT Technology Co., Ltd freda@usr.so...
Page 33
Multifunctional serial to Ethernet module user manual www.tcp232.net Give Telnet Timeout 0 or send data before timeout. Page33/ / / / 9 Jinan USR IOT Technology Co., Ltd freda@usr.so...
Page 34
7. 7. 7. 7. C C C C ontact ontact ontact ontact us Company: Jinan USR IOT Technology Co., Ltd Address: 1-523, Huizhan Guoji Cheng, Gaoxin Qu, Jinan, Shandong, China Tel: 86-531-55507297 86-531-88826739-803 Web: www.tcp232.net Email: Freda@usr.so Page34/ / / / 9 Jinan USR IOT Technology Co., Ltd...
8. 8. 8. 8. Modified Modified Modified Modified history history history history V1.0 file established V1.1 take -E, -400, -500 into one file; add TCP Auto, HTTPD Client and so on. Page35/ / / / 9 Jinan USR IOT Technology Co., Ltd freda@usr.so...
Need help?
Do you have a question about the TCP232-E and is the answer not in the manual?
Questions and answers