SparkFun
SparkFun Qwiic dToF Imager - TMF8820
A direct time-of-flight (dToF) sensor from AMS that measures distances up to 5 metres using SPAD (Single Photon Avalanche Photodiode) and histogram technolog...
A direct time-of-flight (dToF) sensor from AMS that measures distances up to 5 metres using SPAD (Single Photon Avalanche Photodiode) and histogram technology. The TMF8820 provides 3×3 multi-zone output with multi-object detection and a dynamically adjustable field of view up to 63° diagonal — all processed on-chip and delivered over I2C.
The onboard optical filter blocks ambient light, enabling reliable distance measurements in both dark and bright sunlight conditions. Connect via SparkFun's Qwiic system for solderless setup, or use the broken-out 0.1" header pins for breadboard prototyping.
Key Features
- 5m Detection Range – 10mm to 5000mm at up to 30Hz
- 3×3 Multi-Zone – Configurable zones with multi-object detection
- Adjustable Field of View – Up to 63° diagonal
- Class 1 Laser – 940nm VCSEL light source (eye-safe, IEC 60825-1 2014)
- On-Chip Processing – Distance and confidence values output directly
- Sunlight Rejection – High-performance optical filter and algorithm
- Qwiic / I2C Interface – Two Qwiic connectors, I2C address 0x41
- 2.7V to 3.6V Operation – 8µA standby, 57mA active
- Configurable Jumpers – Power LED and I2C pull-ups
- 2× GPIO + Enable Pin – Broken out as PTH pads
- Board Size – Qwiic Standard 1.0" × 1.0" (25.4mm × 25.4mm)
Ideal For
- Camera autofocus (Laser Detect Autofocus)
- Presence detection for computing devices
- Object detection and collision avoidance in robotics
- Industrial light curtain applications
Package Contents
- 1× SparkFun Qwiic dToF Imager - TMF8820
Resources
Jargon buster
Plain-language definitions for the technical terms used above.
- ATmega328P
- An 8-bit microcontroller chip used on many Arduino Uno-compatible boards. Knowing the controller uses an ATmega328P helps you understand its memory, speed, pin compatibility, and the Arduino sketches it can run.
- ESP32
- ESP32 is a family of microcontroller modules with built-in wireless features such as Bluetooth and WiFi. Knowing this product uses an ESP32-based module helps explain how it provides wireless serial communication and firmware update features.
- Flash memory
- Non-volatile memory that keeps stored data even when power is removed. In this sensor, it matters because enrolled fingerprint templates can remain saved after the project is turned off.
- GPIO
- General-purpose input/output pins are microcontroller pins you can set in software to read signals, switch devices on and off, or connect to peripherals. The number of GPIO pins matters because it limits how many buttons, LEDs, sensors, and other parts you can wire directly to the board.
- I2C
- I2C is a two-wire communication bus used by many sensors and small modules. It matters because several I2C devices can share the same two wires, but each device needs a compatible address and your controller must support I2C.
- I2C address
- An I2C address is the number a device uses so a microcontroller can tell it apart from other devices on the same I2C bus. It matters because two devices with the same fixed address may conflict if used together.
- LED
- A light-emitting diode is a small electronic component that lights up when current flows through it in the correct direction. In this kit, LEDs create the flashing effect, so polarity and correct soldering matter for the project to work.
- microcontroller
- A microcontroller is a small computer on a chip that runs your program and controls connected inputs and outputs. For this product, it is the part that reads buttons and sensors, drives the display and speaker, and communicates over Bluetooth.
- photodiode
- A photodiode is a light-sensitive electronic component that produces a signal when light hits it. In this sensor, multiple photodiodes let the chip measure different parts of the light spectrum separately.
- PTH
- Plated through-hole means the pin holes are metal-lined so solder connects the pad on both sides of the board. It is useful for connectors and headers that need a strong mechanical and electrical connection.
- Qwiic
- Qwiic is a plug-in connector system for I2C devices that uses small 4-pin cables, so you can connect compatible sensors without soldering. It matters because your controller or adapter also needs Qwiic, or you will need a cable or breakout to wire it up.
- RAM
- RAM is temporary memory used while a device is running, and its contents are lost when power is removed. A “Run in RAM” mode is useful for testing settings without permanently programming the module, but it may not support every feature.
- UPS
- An uninterruptible power supply is a battery-backed power system that keeps a device running when external power is unplugged or fails. For an embedded computer, it helps prevent sudden shutdowns that can corrupt files or interrupt a project.
Find this product in
Sensors & Input
SparkFun dToF TMF8820 Schematic
Schematic · 158.3 KB · Click any page to view full size
TMF882X Datasheet
Datasheet · 2.9 MB · Click any page to view full size
TMF882X Driver User Guide
User Guide · 520.6 KB · Click any page to view full size
TMF8820/TMF8821 Host Driver Communication Application Note
Document · 843.8 KB · Click any page to view full size
Supplier page — sparkfun.com
Supplier Description · 693.0 KB · Click any page to view full size
Resources & Downloads
Guides, code examples, and more
Related Tutorials
Free guides on learn.littlebird.com.au