Most of the target status seem to return 5 but some do return 255.The data is correct on all 64pixels when I have a near object (200mm) but it cannot detect further objects like the ceiling and instead it will return a seemingly random small distance...
With the following code the VL53L5CX should get it's firmware uploaded. " /* Download FW into VL53L5 */ status |= WrByte(&(p_dev->platform), 0x7fff, 0x09); status |= WrMulti(&(p_dev->platform),0, (uint8_t*)&VL53L5CX_FIRMWARE[0],0x8000...
I have the VL53L5CX-SATEL breakoutbord. The Sensor is working in the VL53L5CX evaluation gui with the X-NUCLEO-53L5A1 evaluation board.I'm working in the Arduino IDE. The I2C of the VL53L5CX does not work as easy as normal I2C does. The sensor is wor...
The fix is easy. It just get Distance returns only one byte I've doubled it to 16bits and it is working nice now with the standart 4kiB of temporary buffer.
I really cannot get it to work properly and I'm at a loss. It would be nice if somecould link me their arduino code, and if the library of the vl53l5cx was modified, point out the modifications. Thank you very much in addance.LCord
I'm on Application rev 2.2.0.25946 and on the latest StLink drivers. I would recommend going with the stm32 cube ide tutorial to get the sensor going. https://www.st.com/en/imaging-and-photonics-solutions/vl53l5cx.html watch the videos at the bottom....
This is very odd I have bluetooth always enabled and it is working fine. Tho I do had to restart the application and it is not working every time but it worked after some messing around.Lucordes
Thanks John for you answer.I have the Satel vl53l5cx breakoutboard without any protective glass.I just think that it is odd that it can only output distances under 255mm (2^8-1) perfectly fine but nothing that is further away. 255 is the highest val...