Share SCL & SDA using arduino Pro mini



  • Share SCL & SDA using arduino Pro mini

    Does anyone know how to connect 2 sensors both using SCL/SDA?
    And how to combine them in de sketch?

    In my example (BH1750 & BMP085)

    Thanks


  • Hero Member

    The sensors on the I2C buss has an address. As long as there is no address conflict on the buss you can add multiple sensors. You need to check what address your sensors are using and/or the possibility to change the address of your sensor if you find that there might be a conflict.


Log in to reply
 

409
Online

6.7k
Users

7.6k
Topics

80.3k
Posts

Looks like your connection to MySensors Forum was lost, please wait while we try to reconnect.