

The TOF400C-VL53L1X is a time-of-flight (ToF) distance sensor that uses advanced laser technology to measure distances with high precision. This compact and efficient sensor is capable of measuring distances up to 4 meters with millimeter-level accuracy. Its small form factor and low power consumption make it ideal for a wide range of applications, including robotics, automation, obstacle detection, and proximity sensing.








The TOF400C-VL53L1X is designed to deliver reliable and accurate distance measurements. Below are its key technical details:
| Parameter | Value |
|---|---|
| Measurement Range | 4 cm to 400 cm (0.04 m to 4 m) |
| Accuracy | ±1 mm |
| Operating Voltage | 2.6V to 3.5V |
| Communication Interface | I²C |
| Operating Temperature | -20°C to +85°C |
| Field of View (FoV) | 27° |
| Power Consumption | Low power mode: 20 µA |
| Dimensions | 4.4 mm x 2.4 mm x 1.0 mm |
The TOF400C-VL53L1X sensor typically comes in a breakout board format. Below is the pinout description:
| Pin Name | Description |
|---|---|
| VIN | Power supply input (2.6V to 3.5V) |
| GND | Ground |
| SDA | I²C data line |
| SCL | I²C clock line |
| XSHUT | Shutdown pin (active low, optional) |
| GPIO1 | Interrupt output (optional, configurable) |
The TOF400C-VL53L1X is straightforward to integrate into your projects. Below are the steps and best practices for using the sensor:
Below is an example of how to use the TOF400C-VL53L1X with an Arduino UNO. This code uses the Adafruit VL53L1X library, which simplifies sensor integration.
#include <Wire.h>
#include <Adafruit_VL53L1X.h>
// Create an instance of the VL53L1X sensor
Adafruit_VL53L1X vl53 = Adafruit_VL53L1X();
void setup() {
Serial.begin(115200);
while (!Serial) {
delay(10); // Wait for Serial Monitor to open
}
// Initialize I²C communication
if (!vl53.begin()) {
Serial.println("Failed to detect VL53L1X sensor. Check wiring!");
while (1) {
delay(10); // Halt execution if sensor is not detected
}
}
Serial.println("VL53L1X sensor initialized successfully!");
vl53.startRanging(); // Start continuous ranging mode
}
void loop() {
// Read distance in millimeters
uint16_t distance = vl53.read();
if (distance != 0) {
Serial.print("Distance: ");
Serial.print(distance);
Serial.println(" mm");
} else {
Serial.println("Error reading distance!");
}
delay(100); // Delay for stability
}
Sensor Not Detected:
Inaccurate Measurements:
No Distance Reading:
Can the sensor measure distances beyond 4 meters?
Is the sensor eye-safe?
Can I use the sensor with a 5V microcontroller?
By following this documentation, you can effectively integrate the TOF400C-VL53L1X into your projects and troubleshoot common issues with ease.