Skip to main content
Vandr.1
Associate II
June 21, 2022
Solved

VL53L3 gesture detection

  • June 21, 2022
  • 2 replies
  • 1101 views

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

This topic has been closed for replies.
Best answer by John E KVAM

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.

2 replies

John E KVAM
John E KVAMBest answer
ST Employee
June 21, 2022

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.

Vandr.1
Vandr.1Author
Associate II
June 21, 2022

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?