先日 Arduino と Raspberry Pi を USB シリアル通信で連携しながら、温度湿度を取得するセンサーを作ってみました。今回はそこから得た知見を書いていきます。 開発環境 今回の開発で使用する環境は以下のようになります。 今回開発に使用したPCは「MacBook Pro 2016 ...
動作テストコード RaspberryPi と Arduino でシリアル通信して、Arduino に標準装備されている LED を光らせるまでを試してみます。 RaspberryPi から「led;」というコマンドを送信し、Arduino で受信し、LED を光らせるという流れになります。 Arduino 側 ...
Arduino からのシリアルデータを読み取り、グラフの表示およびデータを保存する PyQt ベースの汎用的なアプリケーションです。Arduino Sensor Data Viewerと組み合わせることで、リアルタイムにセンサー等のデータを解析できます。軽量なので、Raspberry Pi などでも ...
Play music with the Arduino received in real time on its serial port. This project (which is entirely useless and just for fun) consists in sending a 8-bit WAV file by the emulated serial port from ...
In this tutorial, we'll guide you through interfacing an Arduino with an ultrasonic sensor to measure distance and show it on the Serial monitor. We'll start by explaining how to interface the ...
I like to visualize things, so I decided to prepare this simple tutorial to help you better understand how to visualize data using Arduino. This tutorial assumes that you have some basic electronics ...