動作確認
RaspberryPi2
RPi2にVE488
というUSBシリアルケーブル(x2本)を挿すことによりRS-232C通信を行う。
GPIOでシリアル通信をする方法もあるが、今回はUSBシリアルで対応。
参考
http://chicklab.blog84.fc2.com/blog-entry-46.html
以下はVE488を挿す前。
pi@raspberrypi ~ $ lsusb
Bus 001 Device 005: ID 192f:0716 Avago Technologies, Pte.
Bus 001 Device 004: ID 0853:0111 Topre Corporation
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
pi@raspberrypi ~ $
以下はVE488を挿した後。
pi@raspberrypi ~ $ lsusb
Bus 001 Device 007: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
Bus 001 Device 008: ID 192f:0716 Avago Technologies, Pte.
Bus 001 Device 009: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
Bus 001 Device 004: ID 0853:0111 Topre Corporation
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub