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

    Ultrasonic range finder unit not working.

    Scheduled Pinned Locked Moved Units
    2 Posts 2 Posters 4.2k 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.
    • S Offline
      Steve1
      last edited by

      I recently bought an "M5Stack Ultrasonic Unit (RCWL-9600) Distance Sensor I2C Grove" and cannot get it to work at all. I have tens of M5Stack units and always start of by using the sample codes from the Wiki. Unfortuately neither the UI Flow code nor the Arduino code from the Wiki work in the case of the ultrasonic range finder. With the UI Flow code the sensor is recognized as being connected to I2C but delivers the distance of 7958.04mm and never changes. With the Arduino code the distance is always around the 500mm mark no matter how far away the obstruction is.

      Do I have a faulty unit or are there known issues with this unit?

      T 1 Reply Last reply Reply Quote 0
      • T Offline
        takeru @Steve1
        last edited by

        @steve1

        Mine worked fine when I took it out of the case.

        https://qiita.com/takeru@github/items/4f408e9edaf915f168d2

        1 Reply Last reply Reply Quote 0

        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