🎉
ESPBoards Store is Now Open! Find the best ESP32, ESP8266 boards & accessories

TOF200C Time-of-Flight Sensor

TOF200C Time-of-Flight Sensor image

View on Amazon

Overview

The TOF200C is a compact, low-cost laser-ranging sensor based on the VL53L0X time-of-flight chip from STMicroelectronics. It provides accurate distance measurement using a 940nm VCSEL emitter.

About TOF200C Time-of-Flight Sensor

📏 TOF200C Sensor Overview

  • Range: 3cm to 200cm (with 3cm dead zone)
  • Interface: I²C digital communication
  • Resolution: 1mm accuracy depending on ambient light
  • Field of View: 25°
  • Operating Voltage: 3.0V to 5.0V
  • Typical Current: ~40mA
  • Compact: Ideal for embedded and mobile systems

Check Other module sensors based on VL53L0X Time of Flight Sensor:

Where to Buy

Get Your TOF200C

TOF200C Time-of-Flight Sensor

Starting from

$2 per unit

Amazon com
Amazon.com Ships worldwide
Amazon de
Amazon.de Ships to EU
Aliexpress
AliExpress Best value option

💡 Prices are subject to change. We earn from qualifying purchases as an Amazon Associate.

Technical Specs

TOF200C Specifications

Complete technical specification details for TOF200C Time-of-Flight Sensor

📊 Technical Parameters

Operating Range 3cm to 200cm
Dead Zone 3cm
Resolution 1mm
Voltage Range 3.0V to 5.0V
Current Consumption ~40mA
Interface I²C
Wavelength 940nm
Field of View 25°
Pin Configuration

TOF200C Pinout

The TOF200C sensor features 6 pins for power, communication, and control. Here's a detailed breakdown of each pin's function and specifications.

Visual Pinout Diagram

Pinout Diagram Primary
TOF200C Time-of-Flight Sensor pinout
6
Total Pins

Pin Types

Power
2
Communication
2
Control
2

Quick Tips

⚠️

I²C address: 0x29 (fixed, not configurable)

🔌

Pull-up resistors on SDA/SCL may already be on the module

💡

INT pin is useful for interrupt-driven measurements instead of polling

Pin Descriptions

Pin NameTypeDescriptionNotes
1 VIN
Power

Power supply input (3.0V – 5.0V)

Accepts both 3.3V and 5V logic

2 GND
Power

Ground connection

Connect to ESP32 ground

3 SDA
Communication

I²C Data line

Bidirectional data signal for I²C communication

4 SCL
Communication

I²C Clock line

Clock signal provided by ESP32 master

5 INT
Control

Interrupt output

Optional - triggers when new measurement is ready

6 SHUT
Control

Shutdown control (active low)

Pull high to enable, or use GPIO for control

Connection Guide

Wiring TOF200C to ESP32

Connect the TOF200C sensor to your ESP32 microcontroller using the I²C interface. The sensor operates on 3.3V or 5V and provides accurate distance measurements up to 200cm.

Visual Wiring Diagram

Wiring Diagram Recommended
TOF200C Time-of-Flight Sensor wiring with ESP32
6
Connections

Connection Status

Required
4
Optional
2

Protocol

I2C

Pin Connections

TOF200C PinConnectionESP32 PinDescription
1 VIN Required
3.3V or 5V

Power supply pin

2 GND Required
GND

Ground connection

3 SDA Required
GPIO21

I²C Data line (default SDA)

4 SCL Required
GPIO22

I²C Clocgk line (default SCL)

5 INT Optional
Any GPIO

Interrupt output (optional)

6 SHUT Optional
VCC or GPIO

Shutdown control (tie to VCC to enable, or use GPIO for control)

💡

The sensor works with both 3.3V and 5V logic levels

⚠️

Ensure proper I²C pull-up resistors (4.7kΩ recommended) if not already on board

🔌

GPIO21 and GPIO22 are the default I²C pins on ESP32, but you can use any GPIO with software I²C

⚠️

The INT pin can be used for interrupt-driven operation to reduce polling overhead

Help & Support

TOF200C Troubleshooting

Common issues and solutions to help you get your sensor working

Common Issues

Debugging Tips

Code Examples

TOF200C Programming Examples

Ready-to-use code examples for different platforms and frameworks

Summary

Wrapping Up TOF200C

The ESP32 TOF200C Time-of-Flight Sensor is a powerful distance sensor that offers excellent performance and reliability. With support for multiple development platforms including Arduino, ESP-IDF, ESPHome, PlatformIO, and MicroPython, it's a versatile choice for your IoT projects.

Best Practices

For optimal performance, ensure proper wiring and follow the recommended configuration for your chosen development platform.

Safety First

Always verify power supply requirements and pin connections before powering up your project to avoid potential damage.

Ready to Start Building?

Now that you have all the information you need, it's time to integrate the TOF200C into your ESP32 project and bring your ideas to life!

3D Enclosure

Premium 3D Printed Enclosure

Protect your TOF200C sensor with a custom-designed 3D printed enclosure. Professional quality, perfect fit, and ready to use.

Protect your ESP32-C3 SuperMini and TOF200C sensor with our custom-designed snap-fit enclosure. Available in multiple colors and configurations, it offers secure housing for both components.

Perfect Fit

Custom designed

Premium Quality

High-grade materials

Durable

Long-lasting protection

Quick Setup

Easy to install

Each enclosure is carefully designed and tested to ensure perfect fit and functionality. Made with premium materials for durability and aesthetics.