Menu

I²C module adress

2021-12-18
2021-12-25
  • elythomaslumber

    elythomaslumber - 2021-12-18

    Hi,
    started the project yesterday and use an ESP32 with BME280 from ARDAFRUIT. First the sensor was not recognized. Then I soldered the “adress change pad” on the back-side of the module. Now it works. Therfore I would recommend that the accepted I²C adresses for all modules will be listed in the documentation. Are they shown somewhere in the Arduino-sketch? Can I change them anywhere in the code?
    Regards
    Hardy

     
  • brownrb

    brownrb - 2021-12-19

    the addresses one would find in mydefines.h

     
  • elythomaslumber

    elythomaslumber - 2021-12-19

    ahhhh, thanks a lot!

     
  • Ralf Dinkelmeyer

    Hi Robert,
    I had the same issue. Maybe a hint in the documentation might be useful ("... the address is 0x76 ...there should be no reason to change...").
    P.S. Again a great project from you!
    Ralf

     
  • brownrb

    brownrb - 2021-12-25

    This is in the PDF

    The I2C address of the BME280 sensor is defined as 0x76 in the myDefines.h file as BME280_I2CADDR.
    There should be no reason to change this.

    But considering the number of pages in the PDF, not surprised it was not found

    Regards
    R

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.