cancel
Showing results for 
Search instead for 
Did you mean: 

VL53L1x: As per the VL53L1x sensor datasheet, slave ID is 0x29. but sensor is responding to 0x4D . Even after XSHUT pin is pulled down , device is responding to slave ID 0x4D.

VNair.1
Associate

I have connected VL53L1X sensor to Onion omega2+ controller i2c driver. I2c clock frequency is set to 100khz. For Detecting Slave Devices we have used below command:

"i2cdetect -y 0"

Output of above command:

root@***:~# i2cdetect -y 0

   0 1 2 3 4 5 6 7 8 9 a b c d e f

00:     -- -- -- -- -- -- -- -- -- -- -- -- --

10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

40: -- -- -- -- -- -- -- -- -- -- -- -- -- 4d -- --

50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

70: -- -- -- -- -- -- -- --

As per the datasheet default slave ID is 0x29 but the sensor is responding to 0x4D.

Even if we connect XSHUT pin to GND, VL53L1x sensor is responding .

We have connected the pullup resistor across the I2C pin and XSHUT pin .

1 REPLY 1
John E KVAM
ST Employee

You have another device on the I2C.

The one thing I can guarentee is that if the XSHUT is low, the sensor will never respond.

So I can only conclude that there is something else on the I2C.

According to ADAFruit - a truely wonderful company I see:

0x4D

As possible devices that might be at 4D.

But the bigger question is why you are not getting a response at 0x29 when you actually lift the XSHUT pin.

Connection of power, ground, SDA and SCL are all that is need in addtion to lifting the XSHUT pin.

if that doesn't help, perhaps you can give me more information about your configuation.

  • john

If this or any post solves your issue, please mark them as 'Accept as Solution' It really helps. And if you notice anything wrong do not hesitate to 'Report Inappropriate Content'. Someone will review it.