cancel
Showing results for 
Search instead for 
Did you mean: 

VL53L1X Setting up roi on the raspberry pi

OEl D.414
Associate

Hey there,

I just got the sensor working on my raspberry using the library I found online. The sensor can now measure the distance.

Now for my schoolproject I need to setup 2 roi regions on the VL53L1x. I have searched the internet and cant find anything how to do this on a raspberry.

Is someone here familiar with the pi, the VL53L1x and the setup of an roi. I need an example code of how to setup these roi’s to count people like ST did in their youtube video

Thx in advance!

1 REPLY 1
John E KVAM
ST Employee

There is a manual - UM2555. Go back to www.st.com and search for it.

Unfortuantely it is pointed exactly to the UltraLite Driver for the VL53L1X, but the basic information still applies to the other drivers.

(it's just the functions operate differently.)

But give it a read. It will answer all your questions.


Our community relies on fruitful exchanges and good quality content. You can thank and reward helpful and positive contributions by marking them as 'Accept as Solution'. When marking a solution, make sure it answers your original question or issue that you raised.

ST Employees that act as moderators have the right to accept the solution, judging by their expertise. This helps other community members identify useful discussions and refrain from raising the same question. If you notice any false behavior or abuse of the action, do not hesitate to 'Report Inappropriate Content'