Pololu Robotics & Electronics
Menu
My account Comments or questions? About Pololu Contact Ordering information Distributors

Pololu Forum

VL53LOX timeout Error

Hey, I hope you are fine, I have an issue with VL53LOX distance sensor and that is TIMEOUT occurs and the program stuck into it after some interval of time. Is it possible that timeout never occur as I want to get the reading for the long time. HOW??

Hello.

If you are using our Arduino library for the VL53L0X, you can pass a value of 0 to the setTimeout() function to disable the timeout feature. For example, if you are basing your code on either the Continuous or Single sketches, you could add:

sensor.setTimeout(0);

to the setup() part of your program to accomplish this.

If you are not getting data after disabling the timeout feature, can you tell me more about your setup? How are you supplying power to the VL53L0X? What are you using to read the VL53L0X? (If it is an Arduino, which one?) Can you also post pictures that clearly show your connections?

-Jon