UncleRus / esp-idf-lib

Component library for ESP32-xx and ESP8266
https://esp-idf-lib.readthedocs.io/en/latest/
1.42k stars 438 forks source link

Porting VL53L1X driver #581

Open samuelbles07 opened 1 year ago

samuelbles07 commented 1 year ago

Device name

VL53L1X

Device description

VL53L1X are Time-of-Flight (ToF) and laser-ranging sensor from ST Electronics.

Device product page URL

https://www.st.com/en/imaging-and-photonics-solutions/vl53l1x.html

Datasheet URL

https://www.st.com/resource/en/datasheet/vl53l1x.pdf

Can the device be purchased at any of the followings?

URLs to purchase the device

https://www.amazon.com/CQRobot-Ocean-Time-Flight-Compatible/dp/B07F3TV3G4/ref=sr_1_2?crid=31KO9NORW6DK3&keywords=vl53l1x&qid=1697483150&sprefix=vl53l%2Caps%2C492&sr=8-2

Other implementations

https://github.com/leeebo/esp32-vl53l1x-test/tree/master

samuelbles07 commented 1 year ago

Hi,

I have an idea porting VL53L1X tof sensor driver to use i2c_dev and integrate it to this repository. Because in my project i already use this project as component (using DS3231 rtc library), it is easier to just set this repository as 1 submodule. Also sometimes the i2c is breaks because VL53L1X directly access i2c whilst DS3231 still using it.

But after i see CONTRIBUTING.md file section c-code-style, i don't think it is gonna be a mild changes, especially the core library is written by ST electronic it self (core and platform folder inside components). The official library can be download here.

Any suggestion?

Btw, thank you for this great project, much appreciated!