I have a VL53L1X range sensor from Pololu (https://www.pololu.com/product/3415/pictures). I loaded the VL53L0X library, and compiled with the Web IDE for my 0.7.0 Photon. I tried flashing the Single.ino example from the VL53L0X library. It appears to start normally, but several seconds after the “Hello” message it goes from “breathing” cyan to “breathing” green and produces no output to the serial console.
If I disconnect the sensor, the program runs OK (though it obviously just gives a string of Timeout messages on the console). I’ve triple-checked my wiring:
Sensor Photon Vin 3V3 GND GND SDA D0 SCL D1
If I run my I2C scanner, it correctly reports a device at 0x29 and doesn’t fall into “breathing” green.
As far as I can tell, the only difference between the VL53L1X and the VL53L0X is that the former has a 400 cm. range while the latter has a 200 cm. range.
Has anyone successfully gotten the VL53L1X to work with a Photon? Or am I just doing something stupid trying to get the 0X library to run the 1X sensor. There does seem to be something this library doesn’t like about the 1X sensor.