Skip to main content
Asantos
Associate III
Mar 30, 2021 8:33 PM UTC
Solved

VL53L0X API example for STM32

Hi,

I included the VL53L0X API from ST in a STM32G4 STM32CubeMX project. Now I need a example of how to use the API to init the VL53L0X and do a simple range measurement. I'm using the Arduino VL53L0X module.

This topic has been closed for replies.
Amel NASRI
Amel NASRIBest answer
ST Technical Moderator
Apr 5, 2021 4:32 PM UTC

Hi @Community member​ ,

The proximity sensor VL53L0X is available in STM32WB5MM-DK & B-L475E-IOT01A boards. That's why you will find its dedicated APIs under the following folders:

  • STM32Cube_FW_L4\Projects\B-L475E-IOT01A\Applications\Proximity\Src\vl53l0x (or Github repository)
  • STM32Cube_FW_WB\Projects\STM32WB5MM-DK\Examples\BSP\Src\vl53l0x (or Github repository)

-Amel

To give better visibility on the answered topics, please click on "Best Answer" on the reply which solved your issue or answered your question.

2 replies

Amel NASRI
Amel NASRIBest answer
ST Technical Moderator
Apr 5, 2021 4:32 PM UTC

Hi @Community member​ ,

The proximity sensor VL53L0X is available in STM32WB5MM-DK & B-L475E-IOT01A boards. That's why you will find its dedicated APIs under the following folders:

  • STM32Cube_FW_L4\Projects\B-L475E-IOT01A\Applications\Proximity\Src\vl53l0x (or Github repository)
  • STM32Cube_FW_WB\Projects\STM32WB5MM-DK\Examples\BSP\Src\vl53l0x (or Github repository)

-Amel

To give better visibility on the answered topics, please click on "Best Answer" on the reply which solved your issue or answered your question.
Asantos
AsantosAuthor
Associate III
Apr 6, 2021 1:36 PM UTC

Thanks Amel.