UIO-4034

From ESS-WIKI
Jump to: navigation, search
RTENOTITLE

General Specificationn

  • 2 x 2 wires RS-232
  • 1 x CAN bus 2.0B, 1 Mbps
  • Dimension: 146 x 31 x 22 mm

Environment Specification

  • Weight: 180g
  • 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-4034 UIO-4034, 1 CAN, 2 RS-232

Find Other Products

[edit]

Note: RS-232: /dev/ttymxc2   
          RS-485: pin1 data- & pin2 data+ (ttyUSB0)

RS-232 

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

CAN Bus 

$ ip link set can0 up type can bitrate 125000
$ ifconfig can0 up
$ ip link set can1 up type can bitrate 125000
$ ifconfig can1 up

$ candump can0 &
$ cansend can1 1F334455#1122334455667788

RS-232(COM3):

  RS-232 x2 (ttymxc1 & ttymxc3)
# stty -F /dev/ttymxc1 -echo -onlcr 115200
# cat /dev/ttymxc1 &
# echo "Serial Port Test" > /dev/ttymxc1

RTENOTITLE

RS-232(COM4)

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

RTENOTITLE

CAN

# ip link set can0 up type can bitrate 125000
# ifconfig can0 up
# ip link set can1 up type can bitrate 125000
# ifconfig can1 up

# candump can0 &
# cansend can1 1F334455#1122334455667788

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

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

RTENOTITLE

RS-232(4034_COM4)

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

RTENOTITLE

CAN  x1

N/A (RSB-3730 not support CAN Bus) 

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
USB3.0 HUB+USB Keyeboard&Mouse
USB3.0 driver data copy compare

CAN

$ ip link set can0 up type can bitrate 125000
$ ifconfig can0 up
$ ip link set can1 up type can bitrate 125000
$ ifconfig can1 up

$ candump can0 &
$ cansend can1 1F334455#1122334455667788

 


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
$ 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 CAN Bus
  1. ip link set can0 up type can bitrate 125000
    # ifconfig can0 up
    # ip link set can1 up type can bitrate 125000
    # ifconfig can1 up
  1. candump can0 &
    # cansend can1 1F334455#1122334455667788

Ubuntu: NA

3 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