Skip to main content
DTors.1
Visitor II
July 15, 2021
Solved

Hi we are currently using the VL530X in our unit and wanted to try out the VL53L1. I replaced one of the VL530X ToF sensors with the VL53L1. My question is will my software test for range detection still work if I updated the sensor?

  • July 15, 2021
  • 1 reply
  • 754 views

Will I need to use a different version of the software to use the VL53L1 as compared to the VL53L1. Right now I am using the same script that was used for the VL530X.

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

Electrically the two parts are identical. So that's not a problem.

Physically the L1 is 1.6mm tall instead of the L0's 1.0 mm tall, so the coverglass 'air gap' might be an issue.

Software wise - I'd suggest using the:

STSW-IMG009

VL53L1X ULD API (Ultra Lite Driver Application Programming Interface)

There is pretty much a one-to-one correspondence between the calls you made with the L0 and the ones you need to make with the L1, so although you have to change some code, it should be simple.

The I2C interface is the same, so the hard part is already done.

1 reply

John E KVAM
John E KVAMBest answer
ST Employee
July 16, 2021

Electrically the two parts are identical. So that's not a problem.

Physically the L1 is 1.6mm tall instead of the L0's 1.0 mm tall, so the coverglass 'air gap' might be an issue.

Software wise - I'd suggest using the:

STSW-IMG009

VL53L1X ULD API (Ultra Lite Driver Application Programming Interface)

There is pretty much a one-to-one correspondence between the calls you made with the L0 and the ones you need to make with the L1, so although you have to change some code, it should be simple.

The I2C interface is the same, so the hard part is already done.