In this experiment we are going to use a element called photoresistor. This sensor allows us to interact with the external environment, through intensity of light. The photoresistor is based on light ...
接続形態はPC⇔Arduino⇔センサ・他(ディスプレイなど) ArduinoとPCは,USBケーブル一つでつながる。 Arduinoでソフトウェアシリアル使う D0,D1はシリアル通信用の端子だが シリアルモニタと共有されている。 PC⇔Arduinoのデバッグ用に, Arduino⇔センサの通信とは ...
Enables attaching a photoresistor sensor like the KY-018 and publishing the readings as a percentage, via MQTT. The frequency of MQTT messages is user definable. A threshold value can be set so ...