Go Down

Topic: Help with VL53L0X Error (Read 290 times) previous topic - next topic

mentablack232

Really having trouble with the VL53L0X sensor
using a I2C scanner it confirmed the address of the sensor which is 0x29 the other address is a DAC

but when running the sample code of the sensor using the adafruit library it gives an error

I followed the tutorial on how to setup the sensor from this link
Adafruit VL530L0X
I asked the forum of adafruit nobody has yet responded
VL530L0X Error

mentablack232

Really having trouble with the VL53L0X sensor
using a I2C scanner it confirmed the address of the sensor which is 0x29 the other address is a DAC

but when running the sample code of the sensor using the adafruit library it gives an error

I followed the tutorial on how to setup the sensor from this link
Adafruit VL530L0X
I asked the forum of adafruit nobody has yet responded
VL530L0X Error

fnb111

#2
Sep 04, 2019, 02:19 pm Last Edit: Sep 04, 2019, 02:21 pm by fnb111
The Adafruit example is easy to follow. Did you try to load the example onto the Arduino? Have you tried 1 sensor at a time?

mentablack232

The Adafruit example is easy to follow. Did you try to load the example onto the Arduino? Have you tried 1 sensor at a time?
yes it is easy to follow it worked last time when i used the sensor but now im just confused because the i2c monitor shows the address but the sensor fails to boot
yess i tried one sensor at a time connecting it directly to the arduino uno

wvmarle

Why do you go through the effort of putting text as image, when you can just post text as text, and it's still perfectly readable?

For the sensor problem: I've seen this myself. Vcc line was disconnected, other wires were connected properly (including the GPIO, never used the enable (X) one). Apparently the phantom powering allows the sensor to respond, but not more than that. So: check your connections.

This library works better for me than the Adafruit one, also worth a try: https://github.com/ScruffR/VL53L0X
Quality of answers is related to the quality of questions. Good questions will get good answers. Useless answers are a sign of a poor question.

pylon

Quote
but when running the sample code of the sensor using the adafruit library it gives an error
That output is not from the example sketch in the linked tutorial. Post your code! (don't forget the code tags!)

mentablack232

Why do you go through the effort of putting text as image, when you can just post text as text, and it's still perfectly readable?

For the sensor problem: I've seen this myself. Vcc line was disconnected, other wires were connected properly (including the GPIO, never used the enable (X) one). Apparently the phantom powering allows the sensor to respond, but not more than that. So: check your connections.

This library works better for me than the Adafruit one, also worth a try: https://github.com/ScruffR/VL53L0X
re-soldered everything twice now its working just fine

fnb111

You say it worked the last time? Did you disassemble the unit or changed code?

pert

I've merged your cross posts @mentablack232.

Cross posting is against the rules of the forum. The reason is that duplicate posts can waste the time of the people trying to help. Someone might spend 15 minutes writing a detailed answer on this thread, without knowing that someone else already did the same in the other thread.

Repeated cross posting will result in a suspension from the forum.

In the future, please take some time to pick the forum section that best suits the topic of your question and then only post once to that forum section. This is basic forum etiquette, as explained in the sticky "How to use this forum - please read." post you will find at the top of every forum section. It contains a lot of other useful information. Please read it.

Thanks in advance for your cooperation.

Go Up