cancel
Showing results for 
Search instead for 
Did you mean: 

VL53L3 gesture detection

Vandr.1
Associate II

Is it possible to implement simple gestures on a single sensor VL53L3?

1 ACCEPTED SOLUTION

Accepted Solutions
John E KVAM
ST Employee

The L3 does not have a lens over the receiver, and thus can only give you a distance to the object.

So the only gesture you can detect is a tap or a double tap.

The VL53L1CB does have a lens over it, and it has a concept of zones. So you can divide up the Region of Interest into a right half and a left half. Then you can range, right, left, right, left...

Using the distance and signal strength, you can get a progression as a hand moves right or left in front of the sensor.

Ideally one would get both ranges simultaneously, but for that you need the VL53L5. The L5 was designed to give you an 8x8 grid of ranges, and with that sensor, gestures are much easier. (We even give you the code.) But of course the L5 is more expensive, and uses more power.


If this or any post solves your issue, please mark them as 'Accept as Solution' It really helps. And if you notice anything wrong do not hesitate to 'Report Inappropriate Content'. Someone will review it.

View solution in original post

2 REPLIES 2
John E KVAM
ST Employee

The L3 does not have a lens over the receiver, and thus can only give you a distance to the object.

So the only gesture you can detect is a tap or a double tap.

The VL53L1CB does have a lens over it, and it has a concept of zones. So you can divide up the Region of Interest into a right half and a left half. Then you can range, right, left, right, left...

Using the distance and signal strength, you can get a progression as a hand moves right or left in front of the sensor.

Ideally one would get both ranges simultaneously, but for that you need the VL53L5. The L5 was designed to give you an 8x8 grid of ranges, and with that sensor, gestures are much easier. (We even give you the code.) But of course the L5 is more expensive, and uses more power.


If this or any post solves your issue, please mark them as 'Accept as Solution' It really helps. And if you notice anything wrong do not hesitate to 'Report Inappropriate Content'. Someone will review it.
Vandr.1
Associate II

I would also like to clarify whether there is support for the multi-zone VL53L3CX sensor? Do you have code samples or libraries for tap / double-tap detection using VL53L3CX?