Skip to main content
Asantos
Associate III
March 30, 2021
Solved

VL53L0X API example for STM32

  • March 30, 2021
  • 2 replies
  • 5296 views

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.
Best answer by Amel NASRI

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

2 replies

Amel NASRI
Amel NASRIBest answer
Technical Moderator
April 5, 2021

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 Accept as Solution on the reply which solved your issue or answered your question.
Asantos
AsantosAuthor
Associate III
April 6, 2021

Thanks Amel.