#20 Tutorial: Multiple Devices on One Arduino I2C Bus

Andreas Spiess
Andreas Spiess
206.8 هزار بار بازدید - 9 سال پیش - This tutorial shows how you
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: http://www.aliexpress.com/item/10pcs-...

I2C Scanner http://forum.arduino.cc/index.php?top...

Example Sketch: https://github.com/SensorsIot/I2C_1-V...
9 سال پیش در تاریخ 1394/06/10 منتشر شده است.
206,884 بـار بازدید شده
... بیشتر