budryerson / TFMini-Plus-I2C

Arduino library for the Benewake TFMini-Plus LiDAR distance sensor in I2C communication mode
27 stars 16 forks source link

Possible Bug (Incorrect distance measurement) #24

Open Firestarter97 opened 2 years ago

Firestarter97 commented 2 years ago

Hello @budryerson

There may be a bug in the library. I've been testing out the tf mini plus I2C version and I've noticed once in a while the sensor gives me an output distance value saying that essentially there's an object close to it when in reality that isn't the case. I did separate the SDA and SCL wires as much as possible. The distance value that it gives me is 0 cm and sometimes 3. I get this value every couple of seconds. Any way to further debug this?

Thanks

24gdolphin commented 2 years ago

Hi,The manual say the module some registers need to be set when in a small distance, You can find more details in manual, Best regards. image