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...
Get notified when back in stock
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 low-cost microcontroller chips and modules from Espressif with built-in WiFi and Bluetooth. They support programmable firmware and over-the-air updates, and are commonly programmed with toolchains such as the Arduino core and ESP-IDF.
- Flash memory
- Flash memory is non-volatile memory that retains stored data even when power is removed, and can be erased and rewritten in blocks. It lets data such as firmware, settings or saved records persist across power cycles.
- 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 (LED) is a small electronic component that emits light when current flows through it in the correct direction. Because it only conducts one way, its polarity matters, and a through-hole LED must be soldered the correct way around to light up.
- microcontroller
- A microcontroller is a small computer on a single chip that runs a stored program and controls connected inputs and outputs such as buttons, sensors, displays and communication interfaces. In a device built around one, it is the part that executes the code and coordinates the device's behaviour.
- photodiode
- A photodiode is a light-sensitive component that produces a small electrical signal, a current or voltage, when light falls on it. When a sensor uses several photodiodes, each can be tuned to a different part of the spectrum so the chip can measure several wavelength bands 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 (random-access memory) is fast, temporary memory a device uses for working data while it is running; in its common volatile form, its contents are lost when power is removed. Some devices offer a mode that applies settings to RAM only, which is handy for testing changes temporarily because they are not stored permanently and disappear at power-off.
- 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
TMF882X CB Test Certificate
Compliance · 195.5 KB · Click any page to view full size
TMF8820 Datasheet
Datasheet · 3.2 MB · Click any page to view full size
Resources & Downloads
Guides, code examples, and more
Source Code
Open-source libraries, firmware & example projects for this product
740270a
over 2 years ago
· 40 commits
- Documents Adds datasheets over 4 years ago
- Hardware Move to Hardware folder about 4 years ago
- Production Update File Names about 4 years ago
- License.md Adds license over 2 years ago
- README.md Update README.md about 4 years ago
Arduino Library for SparkFun's Qwiic TMF882X breakout boards
f4be0ec
over 1 year ago
· 155 commits
- .github Create add_issue_to_project.yml over 2 years ago
- docs fix typo about 4 years ago
- examples fix doc link; formatting cleanup about 4 years ago
- src Update qwiic_tmf882x.cpp over 2 years ago
- .gitignore Adds gitignore updates to names of leftover macros over 4 years ago
- CONTRIBUTING.md rounding out repo about 4 years ago
- keywords.txt updated property file for this library; added keywords.txt file for this library about 4 years ago
- library.properties v1.0.2 - add include Arduino.h in qwiic_i2c.h over 3 years ago
- LICENSE.md filling out repo about 4 years ago
- mkdocs.yml Update mkdocs.yml over 1 year ago
- README.md Update README.md almost 4 years ago
Related Tutorials
Free guides on learn.littlebird.com.au