Ultrasonic range finder unit not working.



  • 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?