Hello everyone, has anyone of you ever used this sensor on an ESP32?
VL53L1X Laser Ranging STM32 Time Flight Distance Measurement Sensor for Arduino Artikelnr.: 173662310935 Artikelpreis: EUR 9,27 Verkäufer: supermall9527 (1597) Bestellstatus prüfen
Hi.
I’m not familiar with that sensor and never tried it.
I’ve found an Arduino library for that sensor, that might be compatible with some changes: https://github.com/pololu/vl53l1x-arduino
However, I’ve also read that people are having issues to get I2C to work with that sensor: forum.pololu.com/t/vl53l1x-with-esp32-i2c-problems/17238
Unfortunately, I don’t have that sensor to experiment a sample code.
Regards,
Sara
Hello, Sara,
thank you for your efforts. When I have the sensor and some Test´s are done I will contact you with the results.
Do you know another sensor that works with ESP and can measure a distance of about 4 meters?
Regards,
Peter
Hello again,
I may need to describe a little more precisely what I need the sensor for. The sensor should tell me the exact position of the car in an elevator model with about 4m height. As this is a scale model 1:5, I can’t use an ultrasonic sensor (disturbing metal).
Of course I could use an IG with a rotating cord, but I found it a bit old school.
OK have an nice weekend
Ok. Then, let me know the results.
Based on the information you provided, and after reading about the sensor here: cqrobot.wiki/index.php/VL53L1X_Distance_Sensor
It seems to be a very good fit for what you want to do.
Regards,
Sara
Hello Sara, I tried the sensor and was surprised that there were no problems. I took an ESP32 from WeMos and tried the sketch you suggested… goes Now some tests and the rest of the code. Thanks for your super support. As a sensor for a measurement up to 4 meters this is a good choice.