Anyone get a VL53L1X to work with ESP32?
Posted: Fri Mar 22, 2019 7:49 pm
I'm trying to get multiple Time-of-Flight sensors working with my board (ESP32-WROVER-KIT)
I managed to get the Adafruit VL6180X working using the Adafruit_VL6180X.h library, even though i can't change the slave address.
The long range VL53L1X however, using the arduino library VL53L1X.h (but with Wire initiated on pins i selected) yields me no results, it just freezes my program. I followed the example codes from them. The code works with an Arduino Uno so I guess there is some sort of compatibility issue with the ESP32 but i don't see anything in the library itself that tells me that
Has anyone found a solution for this? A different library?
this is the library I'm using https://github.com/pololu/vl53l1x-ardui ... /VL53L1X.h
I managed to get the Adafruit VL6180X working using the Adafruit_VL6180X.h library, even though i can't change the slave address.
The long range VL53L1X however, using the arduino library VL53L1X.h (but with Wire initiated on pins i selected) yields me no results, it just freezes my program. I followed the example codes from them. The code works with an Arduino Uno so I guess there is some sort of compatibility issue with the ESP32 but i don't see anything in the library itself that tells me that
Has anyone found a solution for this? A different library?
this is the library I'm using https://github.com/pololu/vl53l1x-ardui ... /VL53L1X.h