pimoroni / vl53l1x-python

Python library for the VL53L1X Laser Ranger
https://shop.pimoroni.com/products/vl53l1x-breakout
94 stars 53 forks source link

does not measure #48

Open almirus opened 3 years ago

almirus commented 3 years ago

i have vl53lxx-v2 image after start get:

Display the distance read from the sensor.

Uses the "Short Range" timing budget by default.

Press Ctrl+C to exit.

VL53L1X Start Ranging Address 0x29

VL53L0X_GetDeviceInfo: Device Name : VL53L1 cut1.0 Device Type : VL53L1 Device ID : ProductRevisionMajor : 1 ProductRevisionMinor : 0 Distance: 2011mm Distance: 2011mm Distance: 0mm Distance: 0mm Distance: 0mm Distance: 0mm Distance: 0mm Distance: 0mm Distance: 0mm Distance: 0mm Distance: 0mm Distance: 0mm Distance: 0mm Distance: 0mm Distance: 0mm Distance: 0mm Distance: 0mm Distance: 0mm Distance: 0mm Distance: 0mm Distance: 0mm Distance: 0mm Distance: 0mm Distance: 0mm

IngramINhaidian commented 2 years ago

Hi, did you solve this problem? I am in the same situation with only 2011 and 0mm as output. I suppose that this is some kind of hardware problem? Looking forward to answer.

IngramINhaidian commented 2 years ago

Hi, did you solve this problem? I am in the same situation with only 2011 and 0mm as output. I suppose that this is some kind of hardware problem? Looking forward to answer.

@almirus

almirus commented 2 years ago

@IngramINhaidian if I remember correctly, I used a different library. This one is not suitable.

IngramINhaidian commented 2 years ago

@almirus Can you remember what library it was? It's fine if it's too hard to remember. Anyway, thanks!

motey commented 2 years ago

Got the same issue with my sensor (https://de.aliexpress.com/item/4000501203735.html) Same output (starts with 2011mm and after that 0mm) any new ideas here?

almirus commented 2 years ago

@IngramINhaidian @motey try https://github.com/pimoroni/VL53L0X-python

almirus commented 2 years ago

https://github.com/adafruit/Adafruit_CircuitPython_VL53L0X