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
  • 2
  • 20
  • 2
  • 3
  • 15

52
Online

11.4k
Users

11.1k
Topics

112.6k
Posts