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

    m5stack ToF vl53l0x unit will stop scanning I2C devices

    Units
    3
    11
    21.9k
    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.
    • V
      vvs551
      last edited by vvs551

      When m5stack ToF sensor is connected to Gray Core, i2c_scanner could not find/detect internal Mpu9250
      The scanning is stopping at :
      "I2C device found at address 0x29 !"
      If we will connect GYVL53L0X module from other supplier, we will get correct scanning results:
      "I2C device found at address 0x29 !"
      "I2C device found at address 0x68 !"

      m5-docsM 1 Reply Last reply Reply Quote 0
      • m5-docsM
        m5-docs @vvs551
        last edited by

        @vvs551
        Hey, Here's my result. My Gray Core works well.
        0_1547777640770_i2c_scanner_result.png

        https://github.com/tackelua/I2C_Scanner/blob/master/I2C_Scanner.ino

        M5Stack documentation URL

        https://docs.m5stack.com

        V 1 Reply Last reply Reply Quote 0
        • V
          vvs551 @m5-docs
          last edited by

          @watson without any chance for me

          With ToF unit connected:

          0_1547828715394_2de0980b-738f-451f-ae4e-e73c0f897556-image.png

          With disconnected ToF unit:

          0_1547828816954_08e239f7-8fd7-4033-9f78-c8d3d14a1428-image.png

          What is 0x75 in your listing?

          m5-docsM 1 Reply Last reply Reply Quote 0
          • m5-docsM
            m5-docs @vvs551
            last edited by

            @vvs551
            0x75 is the address of IP5306 IC. Because this IC is customized. It is designed to communicate with M5Core through IIC.

            0_1548045095008_TIM截图20190121123121.png

            M5Stack documentation URL

            https://docs.m5stack.com

            V 1 Reply Last reply Reply Quote 0
            • V
              vvs551 @m5-docs
              last edited by

              @watson Did you mean battery extension?
              I have not 0x75 when scan I2C

              m5-docsM 2 Replies Last reply Reply Quote 0
              • m5-docsM
                m5-docs @vvs551
                last edited by

                @vvs551
                Hey, IP5306 was built in M5Core board without battery extension.

                How about M5Core running with I2C_Scanner.ino without any unit?

                IP5306 was built in M5Core Fire, so the terminal will display two I2C addresses: 0x68(MPU9250), 0x75(IP5306).

                IP5306 was built in M5Core Basic, so the terminal will display one I2C address: 0x75(IP5306).

                M5Stack documentation URL

                https://docs.m5stack.com

                V 1 Reply Last reply Reply Quote 0
                • m5-docsM
                  m5-docs @vvs551
                  last edited by

                  @vvs551
                  What's the hardware version of your basic core?

                  0_1548124420121_TIM截图20190122103212.png

                  M5Stack documentation URL

                  https://docs.m5stack.com

                  1 Reply Last reply Reply Quote 0
                  • V
                    vvs551
                    last edited by vvs551

                    0_1548143397290_d5fe9e38-2c31-4edd-b090-5f320f23db88-image.png https://photos.app.goo.gl/xQVAn8TftW32pEfz9

                    1 Reply Last reply Reply Quote 0
                    • V
                      vvs551 @m5-docs
                      last edited by

                      @watson there is scanning just 0x68 without any units/
                      You can see this listing in previous post

                      1 Reply Last reply Reply Quote 0
                      • P
                        PlayTheGame
                        last edited by

                        @vvs551 Could you make a picture of the TOF PCB? The schematics are not yet available
                        I have a hypothesis on all this I2C issuses.

                        But before just to exclude software bugs, please check to use the latest ESP32 Arduino core, at least V1.0.1 https://github.com/espressif/arduino-esp32/releases including all the recent I2C fixes.

                        V 1 Reply Last reply Reply Quote 0
                        • V
                          vvs551 @PlayTheGame
                          last edited by

                          @playthegame thank you for help!
                          I updated esp32-arduino with this link - nothing happens
                          The same result - just 0x68 in I2C scanner listing(

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