Skip to content

The Qwiic TMF882X Arduino Library

SparkFun Qwiic TMF882X Arduino Library

The SparkFun Qwiic TMF882X Arduino Library is a single module that supports all SparkFun TMF882X boards based on the TMF882X Time of Flight sensors from AMS.

Key Features

  • Implemented using the AMS provided TMF882X SDK.
  • Uses a callback function design pattern to efficiently deliver the data results from the connected TMF882X device.
  • Supports factor calibration of the sensor.
  • Enables rapid use of the built in SPAD Map functionality of the device, as well as defining custom SPAD Maps to meet desired needs.
  • Supports data collection based on data counts, timeout value or until a stop command is issues.

Getting Started

The Getting Started Page outlines library installation and the general use of the Qwiic TMF882X library.

Detailed examples are included as part of the library installation process and available in the Arduino IDE File > Examples > menu.

A full API Reference is also provided for the library.

Supported Products

The SparkFun Qwiic TMF882X Arduino Library supports the following SparKFun Products

SparkFun Qwiic dToF Imager TMF8820
SparkFun Qwiic Mini dToF Imager TMF8820)
SparkFun Qwiic dToF Imager TMF8821
SparkFun Qwiic Mini dToF Imager TMF8821

Supported Microcontrollers - Arduino Environment

License

The SparkFun Qwiic TMF882X Arduino Library is licensed using the Open Source MIT License