background image

Convert Server User Manual

www.usriot.com

Jinan USR IOT Technology Limited

1 / 41

[email protected]

RS232

RS232

RS232

RS232/RS485

/RS485

/RS485

/RS485 TO

TO

TO

TO RJ45&WIFI

RJ45&WIFI

RJ45&WIFI

RJ45&WIFI CONVERT

CONVERT

CONVERT

CONVERT

SERVER

SERVER

SERVER

SERVER

(USR-WIFI232-610/604/602/2

File version: Ver2.0.0

Summary of Contents for RJ45

Page 1: ...USR IOT Technology Limited 1 41 tec usr cn RS232 RS232 RS232 RS232 RS485 RS485 RS485 RS485 TO TO TO TO RJ45 WIFI RJ45 WIFI RJ45 WIFI RJ45 WIFI CONVERT CONVERT CONVERT CONVERT SERVER SERVER SERVER SERVER USR WIFI232 610 604 602 2 File version Ver2 0 0 ...

Page 2: ...3 Application of AP STA 12 4 4 Wired and wireless Application drawing Only 610 apply 13 4 5 Application of wireless serial port one AP one STA 14 5 Function Description 15 5 1 User configuration process 15 5 2 Working mode 16 5 2 1 Transparent Transmission Mode 16 5 2 2 Serial command mode 17 5 2 3 HTTPD Client mode 18 5 3 WI FI parameter setting 19 5 3 1 Auto Frequency Function 19 5 3 2 Security ...

Page 3: ...Q1 How to configure transparent serial port application TCP protocol with two Convert Servers 34 Q2 Where to Set WIFI Convert Server LAN IP and WAN IP through Web Page 35 Q3 How to configure transparent serial port application UDP protocol with two Convert Servers 35 Q4 Where to set Convert Server network protocol TCP UDP 36 Q5 How to configure transparent serial port application Two Convert Serve...

Page 4: ...ation transformation connect the the device serial port to PC serial port connect the device WIFI Ethernet to PC WIFI Ethernet If the desktop does not own the serial port also can use USB 232 to replace The hardware environment Ethernet D C 5 1 8 V 2 3 2 4 8 5 Select Ethernet o r WIFI Select 232 o r 4 8 5 Figure Figure Figure Figure 1 1 1 1 Hardware Hardware Hardware Hardware Connect 610 Connect 6...

Page 5: ... is enabled by default Figure Figure Figure Figure 3 3 3 3 WIFI WIFI WIFI WIFI connection connection connection connection Now link led of Convert Server is lighting 1 3 1 3 1 3 1 3 C C C Communication ommunication ommunication ommunication test test test test Convert Server s default setting SSID SSID SSID SSID USR WIFI232 D2_xxxx xxxx is the last of mac address Encryption Encryption Encryption E...

Page 6: ...99 It is the default Port the Convert Server listen Click Connect to link to the Convert Server 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 Figure Figure Figure Figure 4 4 4 4 serial serial serial serial network network ...

Page 7: ...ition RS232 RS485 automatic switching USR WIFI232 610 RJ45 network connection support wired Ethernet transmission USR WIFI232 610 Reload button do not worry incorrect settings in working status press the button 3s then it load to default settings and automatic restart Rich status indicator light Power Ready Link RXD TXD Pin 9 of the DB9 can be connected to power input solder jumper on the back of ...

Page 8: ...tware parameters Network type Station AP mode STA AP Security mechanisms WEP WPA PSK WPA2 PSK WAPI Encryption WEP64 WEP128 TKIP AES Work mode Transparent Transmission Serial command AT instruction set Network Protocol TCP UDP ARP ICMP DHCP DNS HTTP Max TCP Connection 32 User Configuration Web Server AT command config User Application SW Support customized application software 2 4 2 4 2 4 2 4 Packi...

Page 9: ... chart 602 604 610 602 604 610 602 604 610 602 604 610 3 2 3 2 3 2 3 2 Indicator Indicator Indicator Indicator L L L Light ight ight ight There are 5 lights in total from left to right Table Table Table Table 3 3 3 3 Indicator Indicator Indicator Indicator light light light light Indicator Function Description Power power Keep light when power on Ready Inner LINUX start Keep green light when conne...

Page 10: ...RXD Receive data pin 3 TXD Send data pin 5 GND Data Ground 7 RTS Request to send 8 CTS Clear to send 9 VCC Can connect to Convert Server power input by join the PCB jumper default not connect RS485 RS485 RS485 RS485 interface interface interface interface USR WIFI232 610 USR WIFI232 610 USR WIFI232 610 USR WIFI232 610 60 60 60 604 4 4 4 RS485 two wire links A DATA B DATA when link to other RS485 d...

Page 11: ...Ds all off and then Ready LED on Then the Convert Server goes to factory default settings 4 4 4 4 Application Application Application Application 4 1 4 1 4 1 4 1 Application Application Application Application of of of of AP AP AP AP As shown in figure in Convert Server used as an AP all the other Convert Servers and computer can be used as the STA to connect this Convert Server at the same time i...

Page 12: ...r as STA use the AP CLI interface connect to other AP to compose a wireless network All of the STA take AP as the wireless network center and the mutual communication between STA is through AP forwarding 4 3 4 3 4 3 4 3 Application Application Application Application of of of of AP STA AP STA AP STA AP STA ...

Page 13: ... serial command AT FAPSTA on set AP STA function Then set Convert Server to STA mode the AP interface still valid Note the AT command part of this article is no longer in detail please click the high performance series Convert Server specification 4 4 4 4 4 4 4 4 Wired Wired Wired Wired and and and and wireless wireless wireless wireless Application Application Application Application drawing draw...

Page 14: ...to this device through RJ45 network cable When USR WIFI232 610 used as STA network port connected to computer via RJ45 wireless added to wireless router to networking 4 5 4 5 4 5 4 5 Application Application Application Application of of of of wireless wireless wireless wireless serial serial serial serial port one port one port one port one AP AP AP AP one one one one STA STA STA STA ...

Page 15: ...ion unction unction D D D Description escription escription escription 5 1 5 1 5 1 5 1 User User User User configuration configuration configuration configuration process process process process After Convert Server electric starter based on user pre set parameters automatically connect to wireless networks and servers and enter the working mode is set to open in accordance with the default serial...

Page 16: ...plexity furthest In this mode user should only configure the necessary parameters After power on Convert Server can automatically connect to the default wireless network and server As in this mode the Convert Server s serial port always work in the transparent transmission mode so users only need to think of it as a virtual serial cable and send and receive data as using a simple serial In other w...

Page 17: ...ote currently only supports cut protocol Notes Bit1 If it is a short connection it sends data and then will be disconnected if it is long connection it sends data connection will remain until the re changing the target address Bit2 Indicates that the target address is IP or domain name If it is IP the target address is 4 bytes if the domain name the target address length for the entire domain name...

Page 18: ...de is used to send data to the HTTP server After setting the HTTP header format by webpage or AT command the data sent each time by UART will add the HTTP header automatically Convenient for the user directly submit data or read data from the HTTP server Below is the specific application for example The first set HTTP parameters using AT instructions AT HTTPURL 192 168 1 1 80 The serveraddress and...

Page 19: ...rt Server works as AP and Convert Server enable Auto frequency function then when Convert Server boot up it will select the best wireless channel based on surrounding environment 5 3 2 5 3 2 5 3 2 5 3 2 Security Security Security Security Convert Server supports multiple wireless encryption mechanisms and enables to protect the security of user s data transmission the mechanisms include WEP WPA PS...

Page 20: ... this free frame to WiFi port or Convert Server will receive UART data until 4K bytes then transfer 4KB frame to WiFi port Convert Server s default interval time is 50ms User can also set this interval to fast 10ms through AT command But user have to consider if user MCU can send UART data with 10ms interval or the UART data may be divide as fragment Through AT command AT FUARTTE fast normal user ...

Page 21: ...setting method please refer to the AT NETP command instruction When Socket A configured as TCP Server it supports Multi TCP link connection and maximum 32 TCP clients permitted to connect to Socket A Multi TCP link connection will work as following structure Upstream All dates from different TCP connection or client will be transmitted to the serial port as a sequence Downstream All data from seri...

Page 22: ... Upload Upload ID ID ID ID This function only applies to the Convert Server as a TCP client in front of the data when Convert Server connected to the server with two bytes of ID ID the range is 0 65535 the high byte before and the low byte behind plus two bytes ID radix minus one complement Convert Server is the default ID is 1111 for example is sent to the server when the first four bytes 0x57 0x...

Page 23: ... function based on V4 02 10 USR18 and above version of the firmware in the sta mode if can network signal is too low it will automatically switch to the other AP network switching network automatically restart This feature provides a signal threshold when the current network signals is lower than the critical value the Convert Server of automatic switching network and restart If the signal value i...

Page 24: ...Server will output Palmodic Signal after normal boot up The palmodic signal is 0 5Hz square wave with dutyfactor 1 1 User can query this signal to judge if Convert Server is active live or need to re boot When Convert Server switches to command mode it will output 0 which used to distinguish work mode and command mode Notes This function is user selected factory setting and RELD instruction will n...

Page 25: ...p setup setup process process process process 6 1 6 1 6 1 6 1 Configuration Configuration Configuration Configuration via via via via Web Web Web Web Accessing Accessing Accessing Accessing When first use Convert Servers user may need some configuration User can connect to Convert Server s wireless interface with following default setting information and configure the Convert Server through laptop...

Page 26: ...Quick Configure Mode Selection AP Interface Setting STA Interface Setting Application Setting Ethernet Setting HTTPD Client mode WEB IO and Device Management 6 1 2 6 1 2 6 1 2 6 1 2 Quick Quick Quick Quick Configure Configure Configure Configure This page provides users with a method of rapid configuration Convert Server Users according to the steps to configure the parameters and restart the Conv...

Page 27: ...orts and set up the corresponding work mode UART Setting set serial port parameters including baud rate parity bit 485 functions and so on Network Setting set network parameters Only TCPA related parameters Device Management when after completion of the above parameters are configured click reset Convert Server 6 1 3 6 1 3 6 1 3 6 1 3 Mode Mode Mode Mode Selection Selection Selection Selection Pag...

Page 28: ...nterface Setting Setting Setting Setting Page Page Page Page This page use to setting the parameters when Convert Server works as AP Figure Figure Figure Figure 13 13 13 13 AP AP AP AP Interface Interface Interface Interface Setting Setting Setting Setting Page Page Page Page 6 1 5 6 1 5 6 1 5 6 1 5 STA STA STA STA Interface Interface Interface Interface Setting Setting Setting Setting Page Page P...

Page 29: ... STA STA STA Interface Interface Interface Interface Setting Setting Setting Setting Page Page Page Page 6 1 6 6 1 6 6 1 6 6 1 6 Application Application Application Application Setting Setting Setting Setting Page Page Page Page 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...

Page 30: ... Notes Notes Generally Network protocols support three modes TCP TCP TCP TCP Server Server Server Server TCP TCP TCP TCP Client Client Client Client UDP UDP UDP UDP Server Server Server Server UDP UDP UDP UDP Client Client Client Client 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 UD...

Page 31: ...0x61 0x64 0x6D 0x69 0x6E 0x0D 0x0A hex 6 1 7 6 1 7 6 1 7 6 1 7 Ethernet Ethernet Ethernet Ethernet Setting Setting Setting Setting This page is used to set two Ethernet front end ports of the Convert Server two Ethernet front end ports can be open or closed And so the second can be set to the WAN port to use this Convert Server can be used as a secondary router making it easy for users to network ...

Page 32: ...lient Client Client Mode Mode Mode Mode Page Page Page Page 6 1 9 6 1 9 6 1 9 6 1 9 Device Device Device Device Management Management Management Management Page 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 ...

Page 33: ...ent Management Management Management Page Page Page Page Notes Notes Notes Notes Restart module button When you setting the parameters of different web pages you will click Apply button to confirm the setting but the setting take effect only after user click the Restart button here the Convert Server will re boot up and refresh the memory information with new changes ...

Page 34: ...nection type DHCP or Static IP For this example 10 10 100 100 See STA Interface Setting Page Network Protocal TCP Client Port ID 8899 Application IP address Convert Server 1 s LAN IP address 10 10 100 254 See Application Setting Page Notes Notes Notes Notes When Convert Server 2 works as STA mode Convert Server s WiFi interface works as WAN port Convert Server s WAN IP address and LAN IP address s...

Page 35: ...tion type to DHCP and STATIC IP Figure Figure Figure Figure 21 21 21 21 Convert Convert Convert Convert Server Server Server Server WAN WAN WAN WAN IP IP IP IP Setting Setting Setting Setting Q3 Q3 Q3 Q3 How How How How to to to to configure configure configure configure transparent transparent transparent transparent serial serial serial serial port port port port application application applicat...

Page 36: ...22 22 22 Configure Configure Configure Configure Transparent Transparent Transparent Transparent Serial Serial Serial Serial Port Port Port Port Connection Connection Connection Connection UDP UDP UDP UDP Q4 Q4 Q4 Q4 Where Where Where Where to to to to set set set set Convert Convert Convert Convert Server Server Server Server network network network network protocol protocol protocol protocol TCP...

Page 37: ...application application Two Two Two Two Convert Convert Convert Convert Server Server Server Servers s s s all all all all configured configured configured configured as as as as STA STA STA STA and and and and connection connection connection connection through through through through AP AP AP AP Network structure as below figure Convert Server 1 Setting We use USR WIFI232 D2 as AP for this examp...

Page 38: ...y apply apply Convert Convert Convert Convert Server Server Server Server The following address allocation method can avoid the IP address confliction for dynamic and static IP address mixed application Convert Server dynamic IP address range from 100 to 200 for last IP address segment Such as default IP 10 10 100 254 When Convert Server works as AP the IP address Convert Server can allocate to ST...

Page 39: ...ation IP address 10 10 100 100 Convert Server 2 Setting Works as STA mode WAN connection type Static IP 10 10 100 101 Network Protocal TCP Client Port ID 8899 Application IP address 10 10 100 100 LAN IP address 10 10 99 254 Different net segment with WAN port Convert Server 3 Setting Works as STA mode WAN connection type Static IP 10 10 100 102 Network Protocal TCP Client Port ID 8899 Application ...

Page 40: ...nvert Convert Convert Server Server Server Server support support support support UDP UDP UDP UDP multicast multicast multicast multicast At present all the Convert Server does not support UDP multicast function IP multicast address range is 224 0 0 0 239 255 255 255 When setting Convert Server please don t set this IP section if set may cause the Convert Server can t normal start Q9 Convert Q9 Co...

Page 41: ...imer 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 produc...

Reviews: