Difference between revisions of "UIO-4032TEST"

From ESS-WIKI
Jump to: navigation, search
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
{| border="0" cellpadding="5" cellspacing="0" style="width:100%;"
 
{| border="0" cellpadding="5" cellspacing="0" style="width:100%;"
 
|-
 
|-
| style="width: 20%;text-align: center;vertical-align: top;" | [[File:RSB-4810.png|RTENOTITLE]]
+
| style="width: 20%;text-align: center;vertical-align: top;" | [[File:UIO-4032 290.jpg|RTENOTITLE]]
 
| style="width:80%; vertical-align: top;padding-left: 5px;" |  
 
| style="width:80%; vertical-align: top;padding-left: 5px;" |  
 
{| border="0" cellpadding="5" cellspacing="0" style="width:100%;"
 
{| border="0" cellpadding="5" cellspacing="0" style="width:100%;"
 
|-
 
|-
| style="width:22%;min-width:180px;vertical-align: top;line-height:20px;color: #333333;" |  
+
| style="width:22%;min-width:250px;vertical-align: top;line-height:20px;color: #333333;" |  
 
<span style="color: #4e62a1;font-weight: bold;">'''General Specificationn'''</span>
 
<span style="color: #4e62a1;font-weight: bold;">'''General Specificationn'''</span>
  
 
*2 x USB 2.0  
 
*2 x USB 2.0  
 
*2 x 2 wires RS-232  
 
*2 x 2 wires RS-232  
*<span style="font-size:14px;color:#4d4d4d;line-height:20px;">GPIO: </span>1 xGbE
+
*1 x GbE
 
*<span style="font-size:14px;color:#4d4d4d;line-height:20px;">Dimension: </span>146 x 31 x 22mm  
 
*<span style="font-size:14px;color:#4d4d4d;line-height:20px;">Dimension: </span>146 x 31 x 22mm  
  
Line 37: Line 37:
 
|-
 
|-
 
| style="vertical-align: top;line-height:20px;;padding-left:5px;background-color: #f7f7f7;" | UIO-4032
 
| style="vertical-align: top;line-height:20px;;padding-left:5px;background-color: #f7f7f7;" | UIO-4032
| style="vertical-align: top;line-height:20px;;padding-left:5px;background-color: #f7f7f7;" | UIO-4032, 1 GbE,  
+
| style="vertical-align: top;line-height:20px;;padding-left:5px;background-color: #f7f7f7;" | UIO-4032, 1 GbE, 2 USB, 2 RS-232
2 USB, 2 RS-232
 
 
 
 
|}
 
|}
 
<p style="text-align: right;padding-right:0px;padding-bottom:10px;padding-top:10px;">[http://ess-wiki.advantech.com.tw/view/AIM-Linux/UIO40-Express <span style="color:#994895;border:solid 1px #994895; padding:10px 20px;text-decoration: none;">Find Other Products</span>]</p>  
 
<p style="text-align: right;padding-right:0px;padding-bottom:10px;padding-top:10px;">[http://ess-wiki.advantech.com.tw/view/AIM-Linux/UIO40-Express <span style="color:#994895;border:solid 1px #994895; padding:10px 20px;text-decoration: none;">Find Other Products</span>]</p>  
Line 48: Line 46:
 
= RSB-3430 =
 
= RSB-3430 =
  
'''&nbsp;Note: RS-232: /dev/ttymxc2&nbsp;<br/> &nbsp;GPIO&nbsp;: need to connect loopback.<br/> &nbsp;RS-485: pin1 data- & pin2 data+ (ttyUSB0)'''
+
'''RS-232 x2&nbsp;:&nbsp;<br/> &nbsp;Note:ttymxc2 –COM_3 ttymxc3-COM_4'''
 
+
<pre>'''$ stty -F /dev/ttymxc2 -echo -onlcr 115200 crtscts
'''RS-232'''
 
<pre>$ stty -F /dev/ttymxc2 -echo -onlcr 115200 crtscts
 
 
$ cat /dev/ttymxc2 &
 
$ cat /dev/ttymxc2 &
 
$ echo "Serial Port Test" > /dev/ttymxc2</pre>
 
$ echo "Serial Port Test" > /dev/ttymxc2</pre>
  
'''RS485&nbsp;<br/> &nbsp;&nbsp; &nbsp;<br/> Test RS-485 with Adam-4520.'''
+
'''USB'''&nbsp;
<pre>$ stty -F /dev/ttyUSB0 115200
+
<pre>Insert a USB disk
$ echo "Serial Test" > /dev/ttyUSB0</pre>
 
  
'''GPIO&nbsp;'''
+
usb 1-1.2: new high-speed USB device number 4 using ci_hdrc
<pre>[EXTENSION I/O B]
+
usb-storage 1-1.2:1.0: USB Mass Storage device detected
pin#5: gpio 121, pin#6: gpio 122
+
scsi2&nbsp;: usb-storage 1-1.2:1.0
pin#7: gpio 123, pin#8: gpio 124
+
scsi 2:0:0:0: Direct-Access    Generic- SD/MMC          1.00 PQ: 0 ANSI: 0 CCS
pin#9: gpio 125, pin#10: gpio 126
+
sd 2:0:0:0: [sda] 3862528 512-byte logical blocks: (1.97 GB/1.84 GiB)
pin#11: gpio 127, pin#12: 133</pre>
+
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</pre>
 +
 
 +
'''LAN'''
 +
<pre>ifconfig eth1 8.8.8.8 </pre>
  
 
= RSB-3720 =
 
= RSB-3720 =
  
== '''RSB-3720 Testing method (RSB-3720&nbsp;測試方法&nbsp;)''' ==
+
COM Port&nbsp;<br/> Rear IO – RS-232 x 2<br/> USB x 2<br/> Ethernet x 1<br/> Note:<br/> ttymxc1 – COM3<br/> ttymxc3 – COM4
  
 
'''RS-232(COM3):'''
 
'''RS-232(COM3):'''
 
<pre># stty -F /dev/ttymxc1 -echo -onlcr 115200
 
<pre># stty -F /dev/ttymxc1 -echo -onlcr 115200
 
# cat /dev/ttymxc1 &
 
# cat /dev/ttymxc1 &
# echo "Serial Port Test" /dev/ttymxc1</pre>
+
# echo "Serial Port Test" > /dev/ttymxc1</pre>
  
'''RS-485'''
+
[[File:RSB-3720 4032 232 pic1.png|RTENOTITLE]]
  
'''Note:&nbsp;'''
+
'''RS-232(COM3):'''
 +
<pre># stty -F /dev/ttymxc3 -echo -onlcr 115200
 +
# cat /dev/ttymxc3 &
 +
# echo "Serial Port Test" > /dev/ttymxc3</pre>
  
'''Adam-4520<br/> Data-&nbsp;: Pin1<br/> Data+&nbsp;: Pin2<br/> Remember to set up RS-485 before test.'''
+
[[File:RSB-3720 4032 232 pic2.png|RTENOTITLE]]
<pre># stty -F /dev/ttyUSB0 speed 115200 ignbrk -brkint -icrnl -imaxbel -opost -onlcr -isig -icanon -iexten -echo -echoe -echok -echoctl -echoke
 
# cat /dev/ttyUSB0 &
 
# echo "Serial Test" > /dev/ttyUSB0</pre>
 
  
'''GPIO'''
+
'''USB&nbsp;&nbsp;'''
 +
<pre>USB3.0 HUB+USB Keyeboard&Mouse
 +
USB3.0 driver data copy compare</pre>
  
Note:<br/> input pin#5: gpio 504(DB9-1)<br/> output pin#6: gpio 505(DB9-6)<br/> input pin#7: gpio 506(DB9-2)<br/> output pin#8: gpio 507(DB9-7)<br/> input pin#9: gpio 508(DB9-3)<br/> output pin#10: gpio 509(DB9-8)<br/> input pin#11: gpio 139(DB9-4)<br/> output pin#12: gpio 138(DB9-9)
+
'''Ethernet'''&nbsp;
<pre># echo 504 > /sys/class/gpio/export
 
# echo 505 > /sys/class/gpio/export
 
# echo out > /sys/class/gpio/gpio2/direction
 
# echo in > /sys/class/gpio/gpio1/direction
 
# cat /sys/class/gpio/gpio1/value
 
# echo 1 > /sys/class/gpio/gpio2/value
 
# cat /sys/class/gpio/gpio1/value
 
</pre>
 
  
[[File:RSB-3720 GPIOp1.png|RTENOTITLE]]
+
[[File:RSB-3720 4032 ethernet pic1.png|RTENOTITLE]]
<pre># echo 506 > /sys/class/gpio/export
 
# echo 507 > /sys/class/gpio/export
 
# echo out > /sys/class/gpio/gpio4/direction
 
# echo in > /sys/class/gpio/gpio3/direction
 
# cat /sys/class/gpio/gpio3/value
 
# echo 1 > /sys/class/gpio/gpio4/value
 
# cat /sys/class/gpio/gpio3/value</pre>
 
  
[[File:RSB-3720 GPIOp2.png|RTENOTITLE]]
+
[[File:RSB-3720 4032 ethernet pic2.png|RTENOTITLE]]
<pre># echo 508 > /sys/class/gpio/export
 
# echo 509 > /sys/class/gpio/export
 
# echo out > /sys/class/gpio/gpio6/direction
 
# echo in > /sys/class/gpio/gpio5/direction
 
# cat /sys/class/gpio/gpio5/value
 
# echo 1 > /sys/class/gpio/gpio6/value
 
# cat /sys/class/gpio/gpio5/value
 
</pre>
 
  
[[File:RSB-3720 GPIOp3.png|RTENOTITLE]]
+
&nbsp;
<pre># echo 139 > /sys/class/gpio/export
 
# echo 138 > /sys/class/gpio/export
 
# echo out > /sys/class/gpio/gpio8/direction
 
# echo in > /sys/class/gpio/gpio7/direction
 
# cat /sys/class/gpio/gpio7/value
 
# echo 1 > /sys/class/gpio/gpio8/value
 
# cat /sys/class/gpio/gpio7/value</pre>
 
  
[[File:RSB-3720 GPIOp4.png|RTENOTITLE]]
+
<!--== '''接口布局和尺寸(Layout and Sizes)''' == --><!--'''[[File:UIO-4032 photo1 2021-10-27 143242.jpg|RTENOTITLE]]''' --><!--&#160;
  
== <br/> <br/> <br/> <!--[[File:UIO-4030 photo3 2021-10-27 141714.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>
 
<headertabs></headertabs>

Latest revision as of 08:41, 27 June 2023

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