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

    Multiple TOF units: VL53L0X

    Scheduled Pinned Locked Moved Arduino
    5 Posts 2 Posters 8.7k Views 1 Watching
    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 Offline
      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 Offline
        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 Offline
          henk_m5stack @ajb2k3
          last edited by

          Hallo
          Where can i find how to do it?

          ajb2k3A 1 Reply Last reply Reply Quote 0
          • ajb2k3A Offline
            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 Offline
              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

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • First post
                Last post