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
 

Suggested Topics

  • 4
  • 933
  • 3
  • 14
  • 2
  • 5

27
Online

11.2k
Users

11.1k
Topics

112.5k
Posts