🤖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.

    Units
    2
    2
    3.4k
    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
      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
        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
        • First post
          Last post