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

    Multiple TOF units: VL53L0X

    Arduino
    2
    5
    7.0k
    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.
    • H
      henk_m5stack
      last edited by

      Hello
      I want to use two M5stack VL53L0X TOF flight units on a Arduino board. How do I change the adress in I2C so that they are both recognized? In demo of the Arduino Adafruit library "VL53l0x dual" pins are assigned by using the SHT pin. But the M5 unit does not have that??
      TXS.

      ajb2k3A 1 Reply Last reply Reply Quote 0
      • ajb2k3A
        ajb2k3 @henk_m5stack
        last edited by

        @henk_m5stack You can reset the address but it is easer to use the PaHub. I'm using 2x Tof in uiflow on a lego robot.

        UIFlow, so easy an adult can learn it!
        If I don't know it, be patient!
        I've ether not learned it or am too drunk to remember it!
        Author of the WIP UIFlow Handbook!
        M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

        H 1 Reply Last reply Reply Quote 0
        • H
          henk_m5stack @ajb2k3
          last edited by

          Hallo
          Where can i find how to do it?

          ajb2k3A 1 Reply Last reply Reply Quote 0
          • ajb2k3A
            ajb2k3 @henk_m5stack
            last edited by ajb2k3

            @henk_m5stack said in Multiple TOF units: VL53L0X:

            Hallo
            Where can i find how to do it?

            in arduino look up the TCA9548A, there are lots of librarys and guides for it.

            Also @lukasmaximus89 made a video of it https://www.youtube.com/watch?v=nMsCwqCE5c8&t=10s

            In UIFlow its very simple.

            UIFlow, so easy an adult can learn it!
            If I don't know it, be patient!
            I've ether not learned it or am too drunk to remember it!
            Author of the WIP UIFlow Handbook!
            M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

            1 Reply Last reply Reply Quote 0
            • H
              henk_m5stack
              last edited by

              Hi
              Txs, I found it and will order one. It is indeed the most easy sollution.
              Henk.

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