Difference between revisions of "UIO-4032"

From ESS-WIKI
Jump to: navigation, search
 
(30 intermediate revisions by 2 users not shown)
Line 106: Line 106:
 
<!--'''[[File:UIO-4032 photo2 2021-10-27 143326.jpg|RTENOTITLE]]''' --><!--&#160;--><!--'''[[File:UIO-4032 photo3 2021-10-27 143358.jpg|RTENOTITLE]]'''-->
 
<!--'''[[File:UIO-4032 photo2 2021-10-27 143326.jpg|RTENOTITLE]]''' --><!--&#160;--><!--'''[[File:UIO-4032 photo3 2021-10-27 143358.jpg|RTENOTITLE]]'''-->
  
'''<headertabs></headertabs>Rear IO – RS-232 x2 (ttymxc1 & ttymxc3)<br/> RS-232(4032_COM3):'''
+
'''Rear IO – RS-232 x2 (ttymxc1 & ttymxc3)<br/> RS-232(4032_COM3):'''
 
<pre># stty -F /dev/ttymxc0 -echo -onlcr 115200
 
<pre># stty -F /dev/ttymxc0 -echo -onlcr 115200
# cat /dev/ttymxc1 &
+
# cat /dev/ttymxc0 &
 
# echo "Serial Port Test" > /dev/ttymxc0</pre>
 
# echo "Serial Port Test" > /dev/ttymxc0</pre>
  
Line 131: Line 131:
 
= RSB-3710 =
 
= RSB-3710 =
  
'''&nbsp;Note: RS-232: /dev/ttyS0&nbsp;<br/> &nbsp;GPIO&nbsp;: need to connect loopback.<br/> &nbsp;RS-485: pin1 data- & pin2 data+ (ttyUSB0)'''
+
COM Port&nbsp;<br/> Rear IO – RS-232 x 2<br/> USB x 2<br/> Ethernet x 1<br/> Note:<br/> ttyS0– COM3<br/> ttyS4– COM4
  
'''RS-232'''
+
'''RS-232(COM3):'''
<pre>$ stty -F /dev/ttyS0 -echo -onlcr 115200 crtscts
+
<pre># stty -F /dev/ttyS0 -echo -onlcr 115200
$ cat /dev/ttyS0 &
+
# cat /dev/ttyS0 &
$ echo "Serial Port Test" > /dev/ttyS0</pre>
+
# echo "Serial Port Test" > /dev/ttyS0</pre>
  
'''RS485&nbsp;<br/> &nbsp;&nbsp; &nbsp;<br/> Test RS-485 with Adam-4520.'''
+
'''RS-232(COM3):'''
<pre>$ stty -F /dev/ttyUSB0 115200
+
<pre># stty -F /dev/ttyS4 -echo -onlcr 115200
$ echo "Serial Test" > /dev/ttyUSB0</pre>
+
# cat /dev/ttyS4 &
 +
# echo "Serial Port Test" > /dev/ttyS4</pre>
  
'''GPIO&nbsp;'''
+
&nbsp;
 +
 
 +
'''USB&nbsp;&nbsp;'''
 +
<pre>USB3.0 HUB+USB Keyeboard&Mouse
 +
USB3.0 driver data copy compare</pre>
 +
 
 +
'''Ethernet'''&nbsp;
  
'''[[File:RSB-3710 GPIO define 2022-01-20 142613.jpg|RTENOTITLE]]'''
+
[[File:UIO-4032 RSB-3710 ethernet.PNG|RTENOTITLE]]
 +
<div id="gtx-trans" style="position: absolute; left: 23px; top: 3342.25px;"><div class="gtx-trans-icon">&nbsp;</div> </div>
 +
= RSB-3810 =
  
[[File:RSB-3710 gpio1 2022-01-20 142757.jpg|RTENOTITLE]]
+
{| border="1" cellpadding="1" cellspacing="1"
 +
|-
 +
| colspan="1" rowspan="2" | 1
 +
| colspan="1" rowspan="2" |  
 +
UART
  
[[File:RSB-3710 gpio2 2022-01-20 142824.jpg|RTENOTITLE]]
+
COM_3:ttyS3
&nbsp;
+
 
== <headertabs></headertabs> ==
+
COM_4:ttyS1
 +
 
 +
| # stty -F /dev/ttyS3 -echo -onlcr 921600 raw<br/> # cat /dev/ttyS3 &<br/> # echo "Serial Port Test" > /dev/ttyS3 or<br/> # microcom -s 921600 -X /dev/ttyS3 # cat /dev/ttyS3 &
 +
|-
 +
| # stty -F /dev/ttyS1 -echo -onlcr 921600 raw # cat /dev/ttyS1 &<br/> # echo "Serial Port Test" > /dev/ttyS1<br/> or<br/> # microcom -s 921600 -X /dev/ttyS1
 +
|-
 +
| 2
 +
| USB
 +
| USB disk write/read/verify pattern
 +
|-
 +
| 3
 +
| Ethernet
 +
| # ifconfig<br/> # ping 8.8.8.8
 +
|-
 +
| 4
 +
| EEPROM
 +
| # echo -n $'\x06\x05\x04\x03\x02\x01' > /data/test1<br/> # dd if=/data/test1 of=/sys/bus/i2c/devices/3-0050/eeprom<br/> # dd if=/sys/bus/i2c/devices/3-0050/eeprom of=/data/test2 conv=fsync
 +
|}
 +
 
 +
<headertabs></headertabs>

Latest revision as of 06:27, 1 August 2024

RTENOTITLE

General Specificationn

  • 2 x USB 2.0
  • 2 x 2 wires RS-232
  • 1 x GbE
  • Dimension: 146 x 31 x 22mm

Environment Specification

  • Weight: 200g
  • Operating Humidity: 5 ~ 95% relative humidity, non-condensing
  • Operating Temperature: -40 ~ 85 C
  • Storage Temperature: -40 ~ 85 ㆍC and 60 C @ 95% RH Non-Condensing

 

Ordering Information
P/N Description
UIO-4032 UIO-4032, 1 GbE, 2 USB, 2 RS-232

Find Other Products

[edit]

RS-232 x2 : 
 Note:ttymxc2 –COM_3 ttymxc3-COM_4

'''$ stty -F /dev/ttymxc2 -echo -onlcr 115200 crtscts
$ cat /dev/ttymxc2 &
$ echo "Serial Port Test" > /dev/ttymxc2

USB 

Insert a USB disk

usb 1-1.2: new high-speed USB device number 4 using ci_hdrc
usb-storage 1-1.2:1.0: USB Mass Storage device detected
scsi2 : usb-storage 1-1.2:1.0
scsi 2:0:0:0: Direct-Access     Generic- SD/MMC           1.00 PQ: 0 ANSI: 0 CCS
sd 2:0:0:0: [sda] 3862528 512-byte logical blocks: (1.97 GB/1.84 GiB)
sd 2:0:0:0: [sda] Write Protect is off
sd 2:0:0:0: [sda] No Caching mode page found
sd 2:0:0:0: [sda] Assuming drive cache: write through
sd 2:0:0:0: [sda] No Caching mode page found
sd 2:0:0:0: [sda] Assuming drive cache: write through
sda: sda1
sd 2:0:0:0: [sda] No Caching mode page found
sd 2:0:0:0: [sda] Assuming drive cache: write through
sd 2:0:0:0: [sda] Attached SCSI removable disk

LAN

ifconfig eth1 8.8.8.8 

COM Port 
Rear IO – RS-232 x 2
USB x 2
Ethernet x 1
Note:
ttymxc1 – COM3
ttymxc3 – COM4

RS-232(COM3):

# stty -F /dev/ttymxc1 -echo -onlcr 115200
# cat /dev/ttymxc1 &
# echo "Serial Port Test" > /dev/ttymxc1

RTENOTITLE

RS-232(COM3):

# stty -F /dev/ttymxc3 -echo -onlcr 115200
# cat /dev/ttymxc3 &
# echo "Serial Port Test" > /dev/ttymxc3

RTENOTITLE

USB  

USB3.0 HUB+USB Keyeboard&Mouse
USB3.0 driver data copy compare

Ethernet 

RTENOTITLE

RTENOTITLE

Rear IO – RS-232 x2 (ttymxc1 & ttymxc3)
RS-232(4032_COM3):

# stty -F /dev/ttymxc0 -echo -onlcr 115200
# cat /dev/ttymxc0 &
# echo "Serial Port Test" > /dev/ttymxc0

RTENOTITLE

RS-232(4032_COM4)

# stty -F /dev/ttymxc3 -echo -onlcr 115200
# cat /dev/ttymxc3 &
# echo "Serial Port Test" > /dev/ttymxc3

RTENOTITLE

USB  x2
USB3.0 HUB+USB Keyeboard&Mouse
USB3.0 driver data copy compare

Ethernet  x1

RTENOTITLE

 

COM Port 
Rear IO – RS-232 x 2
USB x 2
Ethernet x 1
Note:
ttyS0– COM3
ttyS4– COM4

RS-232(COM3):

# stty -F /dev/ttyS0 -echo -onlcr 115200
# cat /dev/ttyS0 &
# echo "Serial Port Test" > /dev/ttyS0

RS-232(COM3):

# stty -F /dev/ttyS4 -echo -onlcr 115200
# cat /dev/ttyS4 &
# echo "Serial Port Test" > /dev/ttyS4

 

USB  

USB3.0 HUB+USB Keyeboard&Mouse
USB3.0 driver data copy compare

Ethernet 

RTENOTITLE

 
1

UART

COM_3:ttyS3

COM_4:ttyS1

# stty -F /dev/ttyS3 -echo -onlcr 921600 raw
# cat /dev/ttyS3 &
# echo "Serial Port Test" > /dev/ttyS3 or
# microcom -s 921600 -X /dev/ttyS3 # cat /dev/ttyS3 &
# stty -F /dev/ttyS1 -echo -onlcr 921600 raw # cat /dev/ttyS1 &
# echo "Serial Port Test" > /dev/ttyS1
or
# microcom -s 921600 -X /dev/ttyS1
2 USB USB disk write/read/verify pattern
3 Ethernet # ifconfig
# ping 8.8.8.8
4 EEPROM # echo -n $'\x06\x05\x04\x03\x02\x01' > /data/test1
# dd if=/data/test1 of=/sys/bus/i2c/devices/3-0050/eeprom
# dd if=/sys/bus/i2c/devices/3-0050/eeprom of=/data/test2 conv=fsync