Usr USR-WIFI232-610 Manual de usuario

RS232/RS485 to RJ45&WIFI converter http://en.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)
(USR-WIFI232-610)
(USR-WIFI232-610)
(USR-WIFI232-610)
Hard version : V1.0
File version : V1.0

RS232/RS485 to RJ45&WIFI converter http://en.usr.cn
Content
Content
Content
Content
1 . Product Introduce ....................................................................................................................... 3
1.1 Function ............................................................................................................................. 3
1.2 Features ............................................................................................................................ 3
1.3 Electronic Parameters ..................................................................................................... 4
1.4 Packing List ....................................................................................................................... 5
2. Hardware Instructions ................................................................................................................ 5
2.1 Indicator Light ................................................................................................................... 5
2.2 Interface Instructions ....................................................................................................... 5
2.3 Size and install ................................................................................................................. 7
3. Application ................................................................................................................................... 8
3.1 Application of AP .............................................................................................................. 8
3.2 Application of STA ........................................................................................................... 9
3.3 Application of AP+STA ................................................................................................. 10
3.4 Wired and wireless Application drawing ..................................................................... 10
3.5 Application of wireless serial port(one AP, one STA) ............................................... 11
4. Function Specifications and Test .......................................................................................... 12
4.1 Module setting ................................................................................................................ 12
4.2 Serial to WIFI transparent transmission ..................................................................... 15
4.3 Serial to Ethernet transparent transmission .............................................................. 16
4.4 Ethernet to WIFI transparent transmission ................................................................ 16
4.5 Wired network+WIFI to serial ....................................................................................... 17
4.6 AP+STA Instruction ....................................................................................................... 17
5. Program Resources ................................................................................................................. 18
5.1 Computer USR-TCP232-Test ...................................................................................... 19
5.2 Android USR-TCP232-Test .......................................................................................... 19
5.3 IOS USR-Socket Tools ................................................................................................. 21
5.4 Socket programming test(VB Dephi Poland c++) ..................................................... 22
6. Contact us ................................................................................................................................. 22

RS232/RS485 to RJ45&WIFI converter http://en.usr.cn
1
1
1
1 .
.
.
. Product
Product
Product
Product Introduce
Introduce
Introduce
Introduce
1.1
1.1
1.1
1.1 Function
Function
Function
Function
RS232 /RS485 to WIFI & RJ45 serial server is a new wireless networking server, which adopts
the latest kernel design. Used to convert RS232 /RS485 serial equipment to WIFI or Ethernet
networking. Control by mobile phone or laptops, also can be connected to the remote server.
1.2
1.2
1.2
1.2 Features
Features
Features
Features
1. Inner b oard core module specifications , please reference to USR-WIFI232-C
2. Support hardware flow control (RTS/CTS) RS232 interface, male mouth(needle) consistent
with computer pin definition
3. DC5~18 V wide voltage input, can provide 2
A
current MP1482DS DCDC power supply chip,
keep system reliability.
4. RS232 RS485 automatic switching
5. RJ45 network connection, support wired Ethernet transmission
6. Reload button, do not worry incorrect settings ( in working status, press the button 1s then it
load to default s ettings and automatic restart)
7. Rich status indicator light : Power Ready Link RXD TXD
8. C ore module pin is 2.0 spacing stamp holes encapsulation
9. Pin 9 of the DB9 can be connected to p ower input (solder jumper on the back of PCB ), used
for power the sensor or the serial port cable power module .

RS232/RS485 to RJ45&WIFI converter http://en.usr.cn
1.3
1.3
1.3
1.3 E
E
E
E lectronic
lectronic
lectronic
lectronic P
P
P
P arameters
arameters
arameters
arameters
Item
Item
Item
Item Parameter
Parameter
Parameter
Parameter
Wireless
Wireless
Wireless
Wireless
parameter
parameter
parameter
parameter
Certification FCC/CE
Wireless
standard
802.11 b/g/n
Frequency range 2.412GHz-2.484GHz
Transmit power
802.11b: +20dBm(Max.)
802.11g: +18dBm(Max.)
802.11n: +15dBm(Max.)
configurable
Receiver
Sensitivity
802.11b: -89dBm
802.11g: -81dBm
802.11n: -71dBm
Antenna Option Externa l 3Dbi antenna
Hardware
Hardware
Hardware
Hardware
Parameters
Parameters
Parameters
Parameters
Data Interface
UART : 1200bps - 230400bps
Ethernet : 100Mpbs
GPIOs
Operating voltage 5-18V (+/-5%)
Operating current 170mA~300mA
Operating
temperature
-25 ℃- 85 ℃
Storage
temperature
-40 ℃- 125 ℃
Dimensions 83 × 80 × 25mm
Software
Software
Software
Software
parameters
parameters
parameters
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

RS232/RS485 to RJ45&WIFI converter http://en.usr.cn
1.4
1.4
1.4
1.4 P
P
P
P acking
acking
acking
acking L
L
L
L ist
ist
ist
ist
USR-WIFI232-610 *1
5V1A power adapt e r *1
Serial cable *1
Network cable *1
User guide CD *1
2.
2.
2.
2. Hardware
Hardware
Hardware
Hardware Instructions
Instructions
Instructions
Instructions
2.1
2.1
2.1
2.1 Indicator
Indicator
Indicator
Indicator L
L
L
L ight
ight
ight
ight
There are 5 lights in total, from left to right
Indicator
Indicator
Indicator
Indicator Function
Function
Function
Function Description
Description
Description
Description
Power power Keep light when power on
Ready Inner LINUX start Keep green light when connected to network correctly
Link Network link Light when establish network link
TXD Transmit data Flash when send data
RXD Receive data Flash when receive data
2.2
2.2
2.2
2.2 I
I
I
I nterface
nterface
nterface
nterface I
I
I
I nstructions
nstructions
nstructions
nstructions
2.2.1 Power interface:
5.5*2.1 standard 5-18v power interface, with TVS protection
2.2.2 RS232 interface:
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.

RS232/RS485 to RJ45&WIFI converter http://en.usr.cn
ID NAME DESCRIPTION
2 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 module power input by join the PCB jumper,
default not connect.
2.2.3 RS485 interface:
Rs485 two wire links, A(DATA+), B(DATA-), when link to other RS485 device, A(+) to A(+), B(-)
to B(-).
2.2.4 RJ45 interface:
Network port connection, module is 10M/100M adaptive, support AUTO MDI/MDIX, which
means you can use direct network cable to connect with PC also can be tested. Module by
default closed , need
AT
command set tings to open, as shown in the module specificatio n s.
ID TAB FUNCTION
1 TX+ Transceiver Data+
2 TX- Transceiver Data-
3 RX+ Receive Data+
4 PHY-VCC Transformer tap voltage
5 PHY-VCC Transformer tap voltage
6 RX- Receive Data-
7 n/c Not connected
8 n/c Not connected
2.2.5 Reload key:
This key used for set up the module to factory setting, when module is working (Ready LED
on), press this key more than 1 seconds and free it, wait about 10 seconds until the module
restart, the green LEDs all off and then Ready LED on. Then the module goes to factory
default settings.

RS232/RS485 to RJ45&WIFI converter http://en.usr.cn
3.
3.
3.
3. 2
2
2
2 Application
Application
Application
Application of
of
of
of STA
STA
STA
STA
USR-WIFI232- 610 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.

RS232/RS485 to RJ45&WIFI converter http://en.usr.cn
3
3
3
3 .3
.3
.3
.3 Application
Application
Application
Application of
of
of
of AP+STA
AP+STA
AP+STA
AP+STA
USR-WIFI232- 610 can support AP+STA mode. That is the module support a AP interface and
a
STA
interface at the same time.
AP+STA
AP+STA
AP+STA
AP+STA function
function
function
function settings:
settings:
settings:
settings:
AP+STA function need to set through serial command.
AT+FAPSTA=on set AP+STA function
Then set module to
STA
mode, the AP interface still valid
3
3
3
3 .4
.4
.4
.4 Wired
Wired
Wired
Wired and
and
and
and wireless
wireless
wireless
wireless Application
Application
Application
Application drawing
drawing
drawing
drawing
Tabla de contenidos
Otros manuales de Convertidor de medios de Usr























