Advertisement

RS232
RS232
RS232
RS232/RS485
Jinan USR IOT Technology Limited
/RS485
/RS485
TO
TO
/RS485 TO
TO RJ45&WIFI
(USR-WIFI232-610/604/602/2)
Convert Server User Manual
RJ45&WIFI
RJ45&WIFI
RJ45&WIFI CONVERT
SERVER
SERVER
SERVER
SERVER
1 / 41
www.usriot.com
CONVERT
CONVERT
CONVERT
File version: Ver2.0.0
tec@usr.cn

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the RS232 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for USR IOT RS232

  • Page 1 Convert Server User Manual www.usriot.com RS232 RS232 /RS485 /RS485 RJ45&WIFI RJ45&WIFI CONVERT CONVERT RS232 RS232/RS485 /RS485 TO TO RJ45&WIFI RJ45&WIFI CONVERT CONVERT SERVER SERVER SERVER SERVER (USR-WIFI232-610/604/602/2) File version: Ver2.0.0 Jinan USR IOT Technology Limited 1 / 41 tec@usr.cn...
  • Page 2: Table Of Contents

    5.4. UART Frame Scheme..........................20 5.4.1. UART Free-Frame........................20 5.4.2. UART Auto-Frame........................20 5.5. Network Setting............................21 5.5.1. Socket A............................21 5.5.2. Socket B............................21 5.6. New function............................22 5.6.1. TCP password authentication.....................22 5.6.2. Upload ID............................. 22 Jinan USR IOT Technology Limited 2 / 41 tec@usr.cn...
  • Page 3 Q8: Convert Server support UDP multicast?....................40 Q9:Convert Server operates in STA mode, the PC how to get the IP Convert Server?......40 Appendix B: Contact............................. 41 Appendix C: Disclaimer............................41 Appendix D: Update History..........................41 Jinan USR IOT Technology Limited 3 / 41 tec@usr.cn...
  • Page 4: Quick Start

    Open Wi-Fi, search network on the PC, as shown in below, USR-WIFI232-AP_3378 is the default network name (SSID) of the Convert Server. Note: if the firmware version is V4, the SSID is "HF - A11x_AP".After the SSID is also like this. Jinan USR IOT Technology Limited 4 / 41 tec@usr.cn...
  • Page 5: Communication Test

    Convert Server’s default setting: � SSID: SSID: SSID: SSID:USR-WIFI232-D2_xxxx(xxxx is the last of mac address); � Encryption mode mode: : : : open,none; Encryption Encryption Encryption mode mode � UART: UART: UART: UART:57600,8,1,None; Jinan USR IOT Technology Limited 5 / 41 tec@usr.cn...
  • Page 6: Introduction

    Now, you can test send data between RS232 and WIFI. COM port to WIFI: PC RS232 -> Convert Server RS232 -> Convert Server WIFI -> PC WIFI. WIFI to COM port: PC WIFI or Ethernet -> Convert Server WIFI or Ethernet -> Convert Server RS232 -> PC RS232.
  • Page 7: Device Features

    Device Features Features � Inner board core module specifications, please reference to USR-WIFI232-C � Support hardware flow control (RTS/CTS) RS232 interface, male mouth(needle) consistent with computer pin definition � RS232 RS485 automatic switching(USR-WIFI232-610) � RJ45 network connection, support wired Ethernet transmission(USR-WIFI232-610) �...
  • Page 8: Packing Information

    Packing Packing Information Information Information Information � Convert Server *1 � 5V1A power adapter *1 � Serial cable *1(only USR-WIFI232-610) � Network cable *1(only USR-WIFI232-610) � User guide CD *1(only USR-WIFI232-610) Jinan USR IOT Technology Limited 8 / 41 tec@usr.cn...
  • Page 9: Hardware

    Inner LINUX start Keep green light when connected to network correctly Link Network link Light when establish network link Transmit data Flash when send data Receive data Flash when receive data Jinan USR IOT Technology Limited 9 / 41 tec@usr.cn...
  • Page 10: Interface Instructions

    (USR-WIFI232-610/ (USR-WIFI232-610/60 Device serial port is male(needle), RS232 level (can connect to PC directly), pin order is consistent with PC COM port. Use cross cable connected with PC(2-3cross,7-8cross, 5-5 direct, 7-8 can disconnect, but MUST NOT connect with PC directly), There are 6 pins in work, others is NC.
  • Page 11: Application

    STA to connect this Convert Server, at the same time it also can through the UART or GPIO interface to the user equipment. 4.2. 4.2. 4.2. 4.2. Application Application Application Application of of of of STA Jinan USR IOT Technology Limited 11 / 41 tec@usr.cn...
  • Page 12: Application Of Ap+Sta

    STA take AP as the wireless network center, and the mutual communication between STA is through AP forwarding. 4.3. Application Application of of of of AP+STA AP+STA 4.3. 4.3. 4.3. Application Application AP+STA AP+STA Jinan USR IOT Technology Limited 12 / 41 tec@usr.cn...
  • Page 13: Wired And Wireless Application Drawing(Only 610 Apply

    ) ) ) 4.4. 4.4. Wired Wired wireless wireless Application Application drawing drawing Only Only apply apply 4.4. 4.4. Wired Wired and and wireless wireless Application Application drawing Only 610 610 apply Jinan USR IOT Technology Limited 13 / 41 tec@usr.cn...
  • Page 14: Application Of Wireless Serial Port(One Ap, One Sta)

    Application Application of of of of wireless wireless serial port(one STA) 4.5. 4.5. 4.5. Application Application wireless wireless serial serial serial port(one port(one port(one AP, AP, one one STA) STA) STA) Jinan USR IOT Technology Limited 14 / 41 tec@usr.cn...
  • Page 15: Function Description

    The parameters which need to configure include: � Wireless Network Parameters � Wireless Network Name(SSID) � Security Mode � Encryption Key Jinan USR IOT Technology Limited 15 / 41 tec@usr.cn...
  • Page 16: Working Mode

    Notes: Users also open the serial port hardware flow control (CTS/RTS) function, so that we can make the bit error rate to a minimum.If the user doesn't need hardware flow control function of the serial port, only need to the corresponding pin foot (CTS/RTS) hung up. Jinan USR IOT Technology Limited 16 / 41 tec@usr.cn...
  • Page 17: Serial Command Mode

    If it is IP, is 4 bytes, for example, 192.168.0.7 said 0x07 0x00 0xA8 0xC0; if it is a domain name, then the address of indefinite length,ending with the’\0'. Jinan USR IOT Technology Limited 17 / 41 tec@usr.cn...
  • Page 18: Httpd Client Mode

    If the sending data is 1234.In the 80 port of 192.168.1.1 will receive the following data POST /set HTTP /1.1 Connection:keep-alive User-Agent:lwip1.3.2 Content-Length:4 Host:192.168.1.1:80 1234 If the HTTP type is GET, the 80 port 192.168.1.1 receive data POST /set1234 HTTP /1.1 Connection:keep-alive User-Agent:lwip1.3.2 Content-Length:0 Jinan USR IOT Technology Limited 18 / 41 tec@usr.cn...
  • Page 19: Wi-Fi Parameter Setting

    When using web configuration STA Interface Setting Page, user can push “Search” button to find surrounding AP, and find a AP to associated. Figure Figure Figure 6 6 6 6 Search Search Search page page Figure Search page page Jinan USR IOT Technology Limited 19 / 41 tec@usr.cn...
  • Page 20: Address Binding

    After the trigger time, if UART port received data can’t reach auto-frame trigger length, then Convert Server will transmitting available data to the network and bypass the auto-frame trigger length condition. Jinan USR IOT Technology Limited 20 / 41 tec@usr.cn...
  • Page 21: Network Setting

    Socket B has one work mode: TCP Client, please refer to the AT + SOCKB command instruction. With variety work mode, socket B can provide users with flexible data transfer methods.For example, Socket B can connect to a remote server in order to achieve remote control. Jinan USR IOT Technology Limited 21 / 41 tec@usr.cn...
  • Page 22: New Function

    Use a serial port connected Convert Server, and use the at command "at + AABR = on" open this function and restart.In the USR - VOCM software "synchronous baud rate (RFC2217 similar)" is selected, the following figure. Jinan USR IOT Technology Limited 22 / 41 tec@usr.cn...
  • Page 23 This Convert Server can realize the function of the websocket server, allowing serial real-time interaction with the web Convert Server, replace the previous HTTP GET, POST, corresponding faster.This Convert Server provides the corresponding websocket test page for user testing, specific page is as follows:(web Page:10.10.100.254/websocketen.html) Jinan USR IOT Technology Limited 23 / 41 tec@usr.cn...
  • Page 24 Web accessing means users can configure parameters through built-in webpage. When Convert Server Convert Server connected to wireless network, parameters configuration is done on a PC connected to the Jinan USR IOT Technology Limited 24 / 41 tec@usr.cn...
  • Page 25 Step 2: After wireless connection OK. Open browser and access “http://10.10.100.254 http://10.10.100.254 http://10.10.100.254 http://10.10.100.254”; Step 3: Then input user name and password in the page as following and click “OK” button. Jinan USR IOT Technology Limited 25 / 41 tec@usr.cn...
  • Page 26 Convert Server page, you can let the Convert Server is normal work, reduced the configuration steps and time.Of course the options on this page is less, if some detailed configuration, still need to the corresponding configuration page. Jinan USR IOT Technology Limited 26 / 41 tec@usr.cn...
  • Page 27 Page This page use to setting the wireless networking mode (AP and STA mode). "Data transmission mode" selection Convert Server working mode are "Transparent Mode", "Serial Command mode", "GPIO mode"and””HTTPD-Client Mode”. Jinan USR IOT Technology Limited 27 / 41 tec@usr.cn...
  • Page 28 6.1.5. 6.1.5. Interface Interface Setting Setting Page Page 6.1.5. 6.1.5. STA STA Interface Interface Setting Setting Page Page This page use to setting the parameters when Convert Server works as STA. Jinan USR IOT Technology Limited 28 / 41 tec@usr.cn...
  • Page 29 This page use to setting the parameters of serial port communication, such as UART setting,UART AutoFrame Setting,Ethernet function,Device ID setting and high layer network protocol setting which used support serial communication. Jinan USR IOT Technology Limited 29 / 41 tec@usr.cn...
  • Page 30 When the Convert Server is configured to UDP server side, the Convert Server will memory the UDP client end of the last communication, and communication with this UDP client.While the UDP client mode will only Jinan USR IOT Technology Limited 30 / 41...
  • Page 31 HTTP header;When the request is a GET, data can be added to the back of the path in the HTTP header.The specific way of sending data can consult section 4.2.4. Jinan USR IOT Technology Limited 31 / 41...
  • Page 32: Device Management

    Management Page Page Page This page use to manage Convert Server general setting, such as administrator setting, restart Convert Server button, restore factory default setting button, and update firmware through webpage. Jinan USR IOT Technology Limited 32 / 41 tec@usr.cn...
  • Page 33 “Restart” button here, the Convert Server will re-boot up and refresh the memory information with new changes. Jinan USR IOT Technology Limited 33 / 41 tec@usr.cn...
  • Page 34 LAN IP :1 0.1 0.9 9.2 5 4 Figure Figure Configure Configure Transparent Transparent Serial Serial Port Port Connection Connection (TCP) (TCP) Figure Figure 19 Configure Configure Transparent Transparent Serial Serial Port Port Connection Connection (TCP) (TCP) Jinan USR IOT Technology Limited 34 / 41 tec@usr.cn...
  • Page 35 � Network Protocal:UDP, Port ID: 8899; Application IP address:10.10.100.100; -- See “Application Setting Page” � Convert Server 2# Setting: � Works as STA mode; --See “Mode Selection Page” � WAN connection type: Static IP (10.10.100.100) --See “STA Jinan USR IOT Technology Limited 35 / 41 tec@usr.cn...
  • Page 36 Network Protocols: Protocols: Protocols: Protocols: TCP/Server TCP/Server TCP/Server TCP/Server � Protocol: TCP Client � Application IP address required: it’s target TCP server ‘s IP address; � Port ID required: 8899 (Default) Jinan USR IOT Technology Limited 36 / 41 tec@usr.cn...
  • Page 37 � WAN connection type: Static IP: 10.10.100.101; --See “STA Interface Setting Page” � Network Protocal:TCP/Client, Port ID: 8899; Application IP address: Convert Server 2#’s WAN IP address (10.10.100.100); -- See “Application Setting Page” Jinan USR IOT Technology Limited 37 / 41 tec@usr.cn...
  • Page 38 Network structure as below figure: Three Convert Server setup 3 TCP links with PC server. Convert Server 1# works as AP and all devices connect to Convert Server 1# through WiFi interface; Jinan USR IOT Technology Limited 38 / 41...
  • Page 39 � Works as STA mode; � WAN connection type: Static IP: 10.10.100.102; � Network Protocal:TCP/Client, Port ID: 8899; Application IP address:10.10.100.100; � LAN IP address: 10.10.98.254 (Different net segment with WAN port); Jinan USR IOT Technology Limited 39 / 41 tec@usr.cn...
  • Page 40 PC via UDP broadcast (broadcast address: xx.xx.xx.255, Port: 48899) sent a password, the default password is: "HF-A11ASSISTHREAD", the password can be used AT commands (AT + FASWD) set up,it's Up to 100 bytes. Jinan USR IOT Technology Limited 40 / 41 tec@usr.cn...
  • Page 41 Appendix Disclaimer This document provides information about RS232/RS485 TO RJ45&WIFI CONVERT SERVER, this document does not grant any license to intellectual property rights. Except the responsibility declared in the product sale clause, USR does not assume any other responsibilities. In addition, USR does not make any warranties for the sale and use of this product, including the suitability of the product for a particular purpose, merchantability or fitness for any patent, copyright or other intellectual property infringement, etc.

This manual is also suitable for:

Rs485Rj45

Table of Contents