Garmin LIDAR-Lite v4 (Qwiic) Hookup Guide
Arduino Library
Note: This example assumes you are using the latest version of the Arduino IDE on your desktop. If this is your first time using Arduino, please review our tutorial on installing the Arduino IDE. If you have not previously installed an Arduino library, please check out our installation guide.
We've written a library to easily get setup and take readings from the Garmin LIDAR-Lite v4 (Qwiic). However, before we jump into retrieving measurements from the sensor, let's take a closer look at the available functions in the library. You can install this library through the Arduino Library Manager. Search for SparkFun Garmin LIDAR-Lite v4 Arduino Library and you should be able to install the latest version. If you prefer manually downloading the libraries from the GitHub repository, you can grab them here:
Note: Users may also notice another Arduino for the Garmin LIDAR-Lite. This library is provided and maintained by Garmin®, for all their LIDAR sensors. For more details, check out the GitHub repository.
Garmin and SparkFun Arduino libraries for the Garmin LIDAR-Lite v4. (click to enlarge)