Read two sensors on the same GPIO pins with the I2C bus on the #RaspberryPi @Raspberry_Pi

Raspberry Pi I2C (Python)

This great Instructable finally opens my eyes to what can be achieved using I2C. In short, it gives instructions for reading two sensors on the same GPIO pins. In other words, you wire both sensors up to the same two pins on the Pi and let the Pi access them via different addresses. The sensors are essentially “broadcasting” their data signal in two different “parts” (or addresses) of the signal, allowing you to access them separately.

Raspberry Pi I2C (Python).

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.