ここでは、Arduinoを使ってセンサーから読み取ったデータをパソコンに送信する方法を学びます。この方法を使うと、センサーの値をリアルタイムで確認できるようになります。 1. シリアル通信とは? シリアル通信は、データを1ビットずつ順番に送信する ...
浅田先生がPCからシリアル通信を使ってmicro:bitの出力を制御するアプリを作られました。 このことに刺激されてProcessingとArduinoの組み合わせで作ってみました。 「チャイム」ボタンを押すと、リレーに100ミリ秒間出力しラモスがしゃべります。 「扇風機 ...
You can read the state of a button using Arduino and a few lines of code. The actual state is shown in the Serial Monitor window as 0 or 1, 0 meaning the button is not pressed and 1 that the button is ...
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 ...