pololu/vl53l1x-arduino

Measure 2 distances, same sensor

elpedriyo opened this issue · 2 comments

Hello,

I have checked this video: https://www.youtube.com/watch?v=c91Ve-g0J2U for the sensor vl53l1x that was created by STMicroelectronics and it seems they use some kind of the same sensor to take 2 different readings I guess, do you have any clue on how could I achieve this with your library, or how are they doing it?

Kind regards

I think they use SPADs (see datasheet) to determine the direction.

It looks like you also asked about this on the Pololu forum, where we responded. For the benefit of any other readers, here is a copy of that response:

We haven't tried people counting with the VL53L1X, but it looks like TI has a document (UM2600) which is titled "Counting people with the VL53L1X long-distance ranging Time-of-Flight sensor" that would be a good place to start. That can be found on ST's product page for that sensor, along with other resources. Note that our library does not support some functionality that is likely needed for this application (such as setting a user-defined ROI, or region of interest), so you would probably have to use the API provided by ST.

For additional information, you could try broadening your search to include places like the Arduino forums, which seems to have discussions like this one. Finally, you might also consider posting a question on the ST community site.

(Note that we have also written an implementation of ST's VL53L1X API for the Arduino platform that could be useful for this.)