Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESP32-VL53L1X

ESP-IDF componentes for VL53L1 ranging sensors on ESP32 chips

This component is used to perform the distance reading with the Time-of-Flight ranging sensor VL53L1X from STMicroelectronics, in this example the official library is used.

Configuration

Define the channel used in I2C, frequency used in the bus and SCL and SDA pins.

static const I2cDef I2CConfig = {
    .i2cPort            = I2C_NUM_0,
    .i2cClockSpeed      = 400000,
    .gpioSCLPin         = 21,
    .gpioSDAPin         = 22,
    .gpioPullup         = GPIO_PULLUP_ENABLE,
};

Build and Flash firmware

$ git clone https://github.com/TeschRenan/ESP32-VL53L1X
$ cd ESP32-VL53L1X
$ idf.py flash monitor

Resources

About

ESP-IDF components for VL53L1 ranging sensors on ESP32 chips

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages