Replies: 11 comments 1 reply
-
Hello @Hainer1 ,
So, please try to update it according your hardware setup replacing A1 with your actual pin. Regarding the interrupt pin, it can be configured in the application code but it is not mandatory if you use the library in polling mode. |
Beta Was this translation helpful? Give feedback.
-
Thanks for reply. Which in my case is the Xshut connection to the ESP32. But it still does not work. in addition I tried to read out the sate, the result is 255. I'm currently using the software VL53L4CX in parallel for commissioning tests, it works, I haven't had any problems so far, but I don't know yet if the driver will continue to work if I go into detail. |
Beta Was this translation helpful? Give feedback.
-
Hello @Hainer1 , |
Beta Was this translation helpful? Give feedback.
-
Hi Carlo, |
Beta Was this translation helpful? Give feedback.
-
Hello @Hainer1 ,
Let me know if you can get any response from the ToF sensor. |
Beta Was this translation helpful? Give feedback.
-
Hello @Hainer1 , |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hello @Hainer1 , |
Beta Was this translation helpful? Give feedback.
-
Yes, of course, please let me know what kind of prints you would like to see an on which position of your code. |
Beta Was this translation helpful? Give feedback.
-
Hello @Hainer1 , |
Beta Was this translation helpful? Give feedback.
-
Hi,
I am using the Arduino IDE with the VL53L4CD library 1.0.3.
I used the example code with a small modification due to the homemade PCB.
I can see the I2C communication with onsciloskop and it looks realistic.
I have let InitSensor show me the status here, I always get the value 255.
Otherwise I have successfully run the code from the VL53L4CX and also got realistic values. So I assume there is no HW error.
Now I want to use the corresponding VL53L4CD code on my proprietary HW with the ESP32.
I suspect that the pin assignment is wrong. How can I change the pins for Xshut, Interrupt and GPIO?
What am I doing wrong or how can I solve the above problems with the correct pin assignment.
Thank you very much!
Beta Was this translation helpful? Give feedback.
All reactions