Page 1 of 1

VL53L0X1 Showing only High Repeated Number

Posted: Mon Mar 30, 2026 1:02 am
by Matrixv8
Hi everyone, I am working with the VL53L0X1 component. As per the attached program I am only getting the value 7903mm from the module. The component is set to long range. I tested other modules and I got the same result. I looked at the forum and no solution for my problem. I am using an Attiny84 chip. I tested the module with an Arduino Uno VL53L0X1 example sketch and the module works fine.

I would appreciate if someone could help please

Regards,
Pierre

Re: VL53L0X1 Showing only High Repeated Number

Posted: Mon Mar 30, 2026 1:31 pm
by BenR
Hello Pierre,

The ATTINY is running at 8MHz, half the speed of the Uno. Is it possible to try changing the crystal and boostig this to 16MHz to see if that makes a difference

Re: VL53L0X1 Showing only High Repeated Number

Posted: Tue Mar 31, 2026 1:55 am
by Matrixv8
Thank you for your reply. Yes you are right, I reconfigured my program for the UNO and it worked but only on short range. I also boot loaded an Attiny85 at 16MHZ and it worked on short range not long, I do not know why.

Pierre