I have recently purchased a Garmin LiDAR- Lite V4. I am using it with an Adafruit Feather M4 Express with 5Vi for the sensor coming from and Adafruit AP3602A boost pump. I also have a 470uF capacitor on Vi. I am using a simple Circuit Python script to test the sensor and print the distance into the REPL (see below). Unfortunately I get a repeated error “Measurement failure”
I have read the instructions from Garmin but can’t quite seem to pick up what I have done wrong. If anyone has any experience with this sensor please let me know if you can pick anything out.
I appreciate your help.
i2c = busio.I2C(board.SCL, board.SDA)
sensor = adafruit_lidarlite.LIDARLite(i2c)
except RuntimeError as e:
# If we get a reading error, just print it and keep truckin’