2023-06-07 12:23 PM - last edited on 2024-07-16 06:21 AM by Andrew Neil
Does anyone know if the VL53L8CX SATEL can be used with an Arduino board (just for testing)? Or ESP32? I've tried the basic wiring I have done for other breakouts, but it doesn't work.
If so, please share how it should be wired. Also, I have used very similar code on 1CB, 1CX, and the 4CX. Anyone know if that would work for the L8?
2023-06-07 01:00 PM
The VL53L5, L7 and L8 are multi-zone sensors. Instead of getting 1 distance per range, you get 64 of them. And if you want signal strengths, multiple targets per zone and other information you can get some like 6000 bytes of return data every 15th of a second. It's a lot.
And it does download the firmware into the sensor at startup. That's some 83Kbytes.
This is getting pretty large for a little processor.
But it can be done.
you need to have the I2C select pin grounded, and the LPn pin raised. You need power and I2C. Interrupt is helpful - but not required.
The easy way is to wait. Sparkfun is soon to release just what you want.
This sensor works the same way is all our other VL53 products. It's your job to complete the platform.c for your processor. This file is the interface to the MCU's I2C. As delivered it's empty. But if you've already done the L1 or L4, it should be easy to adapt.
So providing your MCU is big enough, it will work.
2024-05-14 07:56 AM
And what about his SPI interface ?
thx
2024-07-15 02:24 PM
Equally confused about this. There seems to be plenty of configuration support for the I2C interface, but I have yet to find anything that supports the SPI interface.
2024-07-16 06:15 AM
VL53L8CX can be used either with I2C communication or SPI communication.
This is the first product for Time Of Flight that supports both communications.
You can find some example code within the SW package of the VL53L8CX : STSW-IMG040