Page 1 of 1

Lightranger with ESP32

Posted: 08 Jun 2023 21:24
by SudoObey
Is it possible to use the lightranger click board with an ESP32 using the Arduino IDE?

Re: Lightranger with ESP32

Posted: 14 Jun 2023 11:42
by filip
Hi,

In general this is possible, but you will have to port the code from C :
https://github.com/MikroElektronika/mik ... ightranger

Regards,
Filip.

Re: Lightranger with ESP32

Posted: 23 Jul 2023 18:24
by RV9Factory
There are AdaFruit (and other - maybe Sparkfun)-created libraries for the VL6180X (on the LightRanger Click) and also the VL53L0X ToF sensors. They should work without modification with the ESP32 under the Arduino IDE. Also check GitHub for others' libraries.

Good luck. I've created some pretty cool stuff for my employer (some with multiple US patents-pending) using MikroE's ToF Click boards for prototyping.

I do wish MikroE would start supporting some of the ESP32 boards in the hardware dev kits. We were all STM32 but have found the ESP32 to be cheaper, more available and extremely capable.