Picar-s unable to get Ultrasonic Avoidance to workgit

I am trying to use the Sunfounder picar-S with Ultrasonic Avoidance.
The module returns “read error” on a regular basis. Any help would be appreciated.

github link to the source code (V2):

I have also tried with V3 in python3 but both have similar results.

Our technical department guesses that this ultrasonic module may be defective, and we will arrange for customer service personnel to contact you later to replace this module for you.