A minimal example that demonstrates how to drive an SSD1306 I2C OLED display from an Arduino UNO R4 using the Adafruit SSD1306 and Adafruit GFX libraries. The project prints a few lines on the OLED ...
(Updated and added in code with buttons to adjust time, also still has the AHT10 sensor.July 28, 2024 Version 4) This sketch is used for testing bitmaps numbers on 5 Oleds displays. This is the ...
ラズパイやArduinoでセンサーなどを使うときにI2C通信がよく使われています。この場合、ラズパイやArduinoがマスターで、センサーがスレーブになって、マスターからスレーブのデータを書き込んだり、データを読み出したりします。 センサーなどの代わりに ...
ラズパイからArduinoにファイルを送りたい場合があるかと思います。例えば、音楽ファイルとか画像ファイルとか。 あらかじめSDカードに書き込んでオフラインで渡すというので用が足りる場合は良いのですが、動作中にデータを変えたい場合もあるかと思い ...
Total mastery over the pinout and functionality of the PCA9306 for conversion of logic levels from 5V to 3.3V. A step-by-step interfacing diagram for the PCA9306 to Arduino UNO. Working example with ...
[Johngineer] found himself in need of an I2C sniffer, but didn’t have one available. Necessity is the mother of invention, so he put together this I2C sniffer sketch for Arduino. The arduino will ...
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, ...