LoginSignup
1
1

More than 5 years have passed since last update.

Raspberry Pi Zero WH と シリアルUSB接続

Last updated at Posted at 2019-03-19

Raspberry Pi Arduino PL2303HX内蔵USBシリアル変換ケーブルでmacとRaspberry Pi をシリアルUSB接続させる

ドライバを探す

$ brew search PL2303
==> Casks
homebrew/cask-drivers/prolific-pl2303

ドライバインストール

$ brew install homebrew/cask-drivers/prolific-pl2303
==> Tapping homebrew/cask-drivers
Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask-drivers'...
remote: Enumerating objects: 191, done.
remote: Counting objects: 100% (191/191), done.
remote: Compressing objects: 100% (185/185), done.
remote: Total 191 (delta 9), reused 46 (delta 3), pack-reused 0
Receiving objects: 100% (191/191), 78.59 KiB | 9.82 MiB/s, done.
Resolving deltas: 100% (9/9), done.
Tapped 161 casks (209 files, 288.9KB).
==> brew cask install homebrew/cask-drivers/prolific-pl2303
==> Caveats
To install and/or use prolific-pl2303 you may need to enable their kernel extension in

  System Preferences → Security & Privacy → General

For more information refer to vendor documentation or the Apple Technical Note:

  https://developer.apple.com/library/content/technotes/tn2459/_index.html

==> Satisfying dependencies
==> Downloading http://www.prolific.com.tw/UserFiles/files/PL2303_MacOSX_1_6_1_20171018.zip
######################################################################## 100.0%
==> Verifying SHA-256 checksum for Cask 'prolific-pl2303'.
==> Installing Cask prolific-pl2303
==> Running installer for prolific-pl2303; your password may be necessary.
==> Package installers may write to any location; options such as --appdir are ignored.
Password:
installer: Package name is Prolific USB to Serial Cable driver v1.6.1
installer: Installing at base path /
installer: The install was successful.
installer: The install requires restarting now.
🍺  prolific-pl2303 was successfully installed!

デバイス確認

$ ls /dev/tty.usb*
/dev/tty.usbserial

接続する

$ screen /dev/tty.usbserial 115200
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1