LoginSignup
0
1

More than 5 years have passed since last update.

Raspberry PiとArduino UnoのUSBシリアル通信

Last updated at Posted at 2018-12-05

概要

Raspberry PiとArduinoのUSBシリアル通信をしました。

Raspberry Pi側はPythonとC++の2通りで作成しました。
またProcessingも作成しましたが、こちらはUbuntuでしか確認していません。

内容は、Raspberry Pi/Ubuntuから文字列を送信し、Arduinoでは受信した文字列に文字を加えて送り返す、というものです。

環境

  • Arduino
    • Arduino Uno
    • Arduino 1.8.9
  • Raspberry Pi
    • Raspberry Pi 3 Model B++
    • Raspbian 9.3
    • GCC 6.3.0
    • cmake 3.7.2
    • Python 3.5
  • PC
    • Ubuntu 16.04
    • Processing 3.3.7
  • その他
    • Raspberry Pi/UbuntuとArduinoはUSBケーブルで接続

プログラム

ソースコードと使い方はGitHubにあります。

0
1
1

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
0
1