Vl53l0x

Status
Not open for further replies.

turnarobo

Member
Dear All ,

We are working on VL53L0X pololu distance sensor . Do you know any library for working with teensy 3.5? Any one did before 5 Pcs VL53L0X or more with teensy 3.5 ?
 
onehorse uses that part in one of his items is seems and there is a SOURCE link on his product page: vl53l0x-add-on, it may need some edits for Teensy - maybe not. And that may be derived from the sample source on the pololu site.

You'll have to contend with the devices having the same address until they are changed on each power up - which is also noted at pololu:
The sensor’s 7-bit slave address defaults to 0101001b on power-up. It can be changed to any other value by writing one of the device configuration registers, but the new address only applies until the sensor is reset or powered off. ST provides an application note (196k pdf) that describes how to use multiple VL53L0X sensors on the same I²C bus by individually bringing each sensor out of reset and assigning it a unique address.
 
We added library and connected " ground-Ground" , "VDD- 3.3V " ,SCL-PIN19 " SDA-PIN18". and we tried to work with sample program at library . We changed ports as weel but we did not see any value at serial port 6555 like that. connection are right?
 
Try changing your power connection to Vin instead of Vdd. According to the web page Vdd is regulated 2.8*V output. Vin is:
This is the main 2.6*V to 5.5*V power supply connection. The SCL and SDA level shifters pull the I²C lines high to this level.

You have to use pins 18/19 since that is SCL0/SDA0 which is hard coded in the library. There is a warning on the Pololu site that states:

Important note: This product might ship with a protective liner covering the sensor IC. The liner must be removed for proper sensing performance.

Double check that as well
 
We use 3 pcs VL53L0x together but sometimes one of them stop to read value . in this position We reset Teensy. after reset , teensy read again VL53L0x. We use power 3.3v from teensy to all VL53l0xs . We check only it use 10 ma each .
 
Status
Not open for further replies.
Back
Top