cancel
Showing results for 
Search instead for 
Did you mean: 

Question about speed of VL6180x...

shardz
Associate
Posted on January 11, 2016 at 17:07

Hello, if am using VL6180x sensor with Arduino Uno board.

There are few libraries available on the internet to control this sensor using Arduino boards.

The program in the library is written to give sampling rate of 10Hz. The convergence time is set as 30ms for Ranging application ad 50ms for ALS.

in all it takes around half a second to give one reading.

I require sampling rate of at least 100Hz, a reading to be given after 10ms.

I am clueless how to get that much speed, and exactly which parameters must be controlled for that ......

One more question is - what is convergence time?
1 REPLY 1
Julien NGUYEN
ST Employee
Posted on January 19, 2016 at 22:57

Hi

Kulkarni,

The convergence time is maximum time out attributed to the VL6180x to achieve the ranging. If the device find the distance before the time out it quite the ranging process, and the ranging distance is available for reading before the end of the convergence time.

It means that depending on several parameters like, distance target/sensor, target reflectance, light condition, it can take more or less time for the device to perform the ranging.

The typical convergence time is 33ms, but if you know prior the all the 3 parameters you can set shorter convergence time to get higher sample rate.

Thanks,

Julien


In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.