I am trying to use an STMicroelectronics VL53L3CX LiDar sensor but I am having no success after many hours of digging through the example code and searching the web. Seems like everyone is using other STMicroelectronics LiDar modules, but not this particular one. Has anyone in this community had success with this sensor?
I haven't used that particular sensor, but since it's 3.3V and used an I2C interface, the hardware appears to be compatible. I'd guess that there are register differences that the existing libraries do not handle with that model, so it's probably a software issue, not a hardware issue.
OK - Thank you! - that is good to hear. I'm down to picking through each of the called functions in the library classes (I think I got that terminology right ).
I also need to develop a better understanding of how I2C is driven in particle os. The library for the device calls for wire.h and then in their example file defines the I2C interface with "#define DEV_I2C Wire" followed by using that in two more places - 1) a command in void setup() "DEV_I2C.begin" and 2) passed as an argument of the I2C interface for the device instantiation.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.