LIDAR-Lite v4 LED - Troubleshooting

Hello,

I purchased one of your Garmin LIDAR-Lite V4 sensors and, after successfully soldering the connections to a QtPy ESP32-S2 microcontroller I was able to use the Arduino library to read distance measurements from the LIDAR. After including an accelerometer (LIS3DH) on the I2C bus, I began to receive always the same reading: 1277000046 cm, and this reading will not change regardless of the distance being measured. I tried resetting the LIDAR by writing to register E4, and this was found unsuccessful as well. How can I reset or begin to receive the correct readings from the LIDAR?

P.S: Reached out to Garmin’s customer support and was informed that technical support is provided by the distributor.

  • Actually the reading is 1277.000046 cm

Disable one sensor’s i2c pullup resistors by desoldering the blob (if it has one) or cutting the traces between the pads

https://learn.sparkfun.com/tutorials/li … d-assembly

https://learn.sparkfun.com/tutorials/ga … -guide/all

I would pick disabling the LIS3DH’s, which uses traces. If you ever need to use the pull up again just re-solder the pads :smiley:

Okay but I need them both running on the same I2C bus, they have different addresses so soldering all in parallel with the I2C pins should not be the cause of the problem right?

the combined pull up resistance is the problem

I tried switching the soldering connection to have the LIS3DH connected with the STEMMA QT jst pin and kept the soldered connection for the LIDAR. However, the reading remains the same, it does not change. I’m afraid what you suggest is not the issue

My boards do not have the Qwiic interface, the LIS3DH is from adafruit and the LIDAR does not have the extension PCB. How can I disable the pullup resistors?

Actually at this point if I disconnect the LIS3DH from the I2C bus the LIDAR continues to return error readings

Are you running th QtPy @ 5v or 3.3v?

It looks like the non qwiic/stemma i2c lines do not have pullups already enabled (from this https://learn.adafruit.com/adafruit-qt- … s2/pinouts):

"The I2C pins. These are NOT shared by the STEMMA QT connector!

SCL - This is the I2C clock pin. There is no pull-up on this pin, so for I2C please add an external pull-up if the breakout doesn’t have one already. This pin can do capacitive touch and also analog input

SDA - This is the I2C data pin.There is no pull-up on this pin, so for I2C please add an external pull-up if the breakout doesn’t have one already. This pin can do capacitive touch and also analog input

So it might be the opposite; try adding in pullups on the SDA/SCL lines (see notes here https://github.com/garmin/LIDARLite_Ard … /v4LED.ino) and see how that goes