先日 Arduino と Raspberry Pi を USB シリアル通信で連携しながら、温度湿度を取得するセンサーを作ってみました。今回はそこから得た知見を書いていきます。 開発環境 今回の開発で使用する環境は以下のようになります。 今回開発に使用したPCは「MacBook Pro 2016 ...
「Petoi Bittle」の「シリアルコマンド」をまとめました。 シリアルコマンドの送信手順は、次のとおりです。 (1) 「Arduino IDE」のメニュー「ツール → ボード → Arduino Uno」を選択。(2) 「NyBoard」と「Mac」をUSBケーブルと「アップローダー」で接続。 (3) 「Arduino ...
Once upon a time, it was not uncommon in microcontroller development to implement a firmware monitor as a command line interface (CLI) exposed on a serial port. (The term monitor has been used both ...
NOTE: We will use Serial Monitor (built-in) as the Virtual Terminal / Bluetooth substitute. if (cmd == "TEMP") Serial.println("TEMP:" + String(readTemp(), 2)); else ...
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する