5 years, 11 months ago.

VL530L0X

Hi Im pretty new to this. I'm trying to use the Arduino VL530L0X ToF sensor with a stm32 nucleo f401re board. I tried using the ST API provided for the sensor, but i seem to be having trouble on getting it to work. I used the Single Ranging Example provided, but keep getting these errors. Call of VL53L0X_DataInit 0 API Status: -20 : Control Interface Error Call of VL53L0X_StaticInit API Status: -20 : Control Interface Error

I changed the I2c values in the i2c_platform file /media/uploads/damdam95/main.cpp I was wondering if I missed anything as for the wiring i just connected Vin to the 3.3 V pin and both the SDA and SCL pins to Pins D14,D15 of the board. Any help would be greatly appreciated!

Be the first to answer this question.