Рет қаралды 207,868
This tutorial shows how you can connect many devices (sensors and displays) to one Arduino using the I2C bus. It starts with a simple hommade bus, shows how to find out the addresses of the different devices and ends with a demo of a system with three devices connected to an Arduino Uno: A BMP085 pressure sensor, a MPR121 touch sensor, and a SSD1306 OLED display.
The tutorial applies also for Attiny, ESP8266 and STM32 boards like the Maple Mini
Links:
Level Shifters: www.aliexpress....
I2C Scanner forum.arduino.c...
Example Sketch: github.com/Sen...