ラズパイやArduinoでセンサーなどを使うときにI2C通信がよく使われています。この場合、ラズパイやArduinoがマスターで、センサーがスレーブになって、マスターからスレーブのデータを書き込んだり、データを読み出したりします。 センサーなどの代わりに ...
ラズパイからArduinoにファイルを送りたい場合があるかと思います。例えば、音楽ファイルとか画像ファイルとか。 あらかじめSDカードに書き込んでオフラインで渡すというので用が足りる場合は良いのですが、動作中にデータを変えたい場合もあるかと思い ...
In our previous tutorial learned about SPI communication in Arduino. Today we will learn about another Serial Communication Protocol: I2C (Inter Integrated Circuits). Comparing I2C with SPI, I2C has ...
This articles describes how you can use I2C (TWI) communication, Arduino and temperature sensors to measure 3 different temperatures. It can be very helpful when you want to measure the outside, ...
Assume that you are moving towards a complex microcontroller project bundled with blinkers, beepers, and a display panel. To link a standard 16×2 LCD directly with the microcontroller, for instance ...
The I2C (Inter-Integrated Circuit) bus is a synchronous serial communication protocol that allows multiple electronic components (sensors, displays, memories, etc.) to be connected within the same ...
Arduinoのversion1.6.2からBoardManagerの機能が追加された。 これは、Arduinoや、その派生ボード、互換ボードの開発環境を Platform Packageとしてネットワーク経由でインストールできる仕組みである。 1.6.4からは、サードパーティー製の開発環境をインストールする ...
作成したパッケージを配布するには、 パッケージを構成するツールを記載した 定義ファイルを作成し、それをweb上で公開する。 パッケージの定義ファイルの仕様については、 Arduino IDE 1.6.x package_index.json format specification1にまとめられている。 Arduinoからは ...