🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    How change add QMP6988 from 0x70 to 0x56?

    Units
    3
    5
    4.2k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      Nicholas Parasporo
      last edited by

      Hi all guys.

      I will explain my problem right away. Through arduino I am trying to connect several sensors including the ENV3 to the PaHUB. But with the ENV3 I am experiencing a communication problem this is because QMP6988 and PaHUB communicate on the same address and this does not allow my M5Stickc Plus to receive the pressure value. Is there any way to change the communication address of the QMP6988?
      Thank you in advance,
      Sincerely
      Nicholas.

      1 Reply Last reply Reply Quote 0
      • G
        gunnm
        last edited by

        Hello
        Have you or anyone else found a solution? Would be glad to have it. Thanks.
        Greetings

        1 Reply Last reply Reply Quote 0
        • felmueF
          felmue
          last edited by

          Hello guys

          According to the datasheet in I2C mode pin 5 selects the address. According to the schematic by default it is connected to GND (=0x70) and in order to change the address to 0x56 you would need to connect it to VDDIO (aka 3.3 V).

          I don't have an ENV III so I don't know if pin 5 is accessible or not.

          Thanks
          Felix

          GPIO translation table M5Stack / M5Core2
          Information about various M5Stack products.
          Code examples

          G 1 Reply Last reply Reply Quote 0
          • G
            gunnm @felmue
            last edited by

            @felmue said in How change add QMP6988 from 0x70 to 0x56?:

            Hello guys
            According to the datasheet in I2C mode pin 5 selects the address. According to the schematic by default it is connected to GND (=0x70) and in order to change the address to 0x56 you would need to connect it to VDDIO (aka 3.3 V).
            I don't have an ENV III so I don't know if pin 5 is accessible or not.
            Thanks
            Felix

            Hello Felix

            Thanks for the answer. Do I understand correctly that it can only be changed via hardware? So not via a software like Arduino IDE?

            Greetings

            1 Reply Last reply Reply Quote 0
            • felmueF
              felmue
              last edited by

              Hello @gunnm

              yes, that is my understanding from reading the datasheet. The I2C address can only be changed via hardware.

              Thanks
              Felix

              GPIO translation table M5Stack / M5Core2
              Information about various M5Stack products.
              Code examples

              1 Reply Last reply Reply Quote 0
              • First post
                Last post