Skip to main content
Senior
November 28, 2024
Solved

STM32Duino VL53L8CX

  • November 28, 2024
  • 1 reply
  • 2453 views

I am trying to use Satel VL53L8 Cx over Arduino due . The library I am using is stm32duino VL53l8cx but I never get any result .

Connections were as per the expamples but it did not work.

Is there a library I can use for this . I have earlier used VL53l5 but that never created an issue

Best answer by parata.carlo

Hi @Rituraj,

what is your hardware setup? Maybe you can try to use the "Wire" instance instead of "Wire1". I suggest also to give a look at this link: https://github.com/stm32duino/VL53L8CX/issues/5

where I have already helped a customer to use the VL53L8CX with the Arduino DUE. It should work without any issue.

Best Regards,

Carlo

1 reply

parata.carlo
parata.carloBest answer
ST Employee
November 28, 2024

Hi @Rituraj,

what is your hardware setup? Maybe you can try to use the "Wire" instance instead of "Wire1". I suggest also to give a look at this link: https://github.com/stm32duino/VL53L8CX/issues/5

where I have already helped a customer to use the VL53L8CX with the Arduino DUE. It should work without any issue.

Best Regards,

Carlo

RiturajAuthor
Senior
November 30, 2024

@parata.carlo Thank you and this worked really well .  I have these pins (16-21) busy with other devices. How can I assign other pins because thats failing a lot of times

parata.carlo
ST Employee
December 2, 2024

Hi @Rituraj ,

you can try to use the pins SCL and SDA on the top right side of the Arduino header of the Arduino DUE using in this case the "Wire1" instance for I2C. It should work as well.

Best Regards,

Carlo