# Adafruit VL53L4CX Time of Flight Distance Sensor

## Overview

![](https://cdn-learn.adafruit.com/assets/assets/000/122/987/medium800/adafruit_products_5425-02.jpg?1690378738)

The&nbsp; **Adafruit VL53L4CX Time of Flight Sensor** &nbsp;is another great&nbsp;[_Time of Flight_](https://en.wikipedia.org/wiki/Time_of_flight) distance sensor from ST in the VL5 series of chips. This one is great for&nbsp; **long distances -&nbsp;** it goes up to 6 meters compared with 4 meter max of the VL53L1X.

The sensor contains a very tiny invisible laser source&nbsp;and a matching sensor. The VL53L4CX can detect the "time of flight", or how long the light has taken to bounce back to the sensor. Since it uses a very narrow light source, it is good for determining distance of only the surface directly in front of it.

Unlike sonars that bounce ultrasonic waves, the 'cone' of sensing is very narrow. Unlike IR distance sensors that try to measure the amount of light bounced, the VL53 is much more precise and doesn't have linearity problems or 'double imaging' where you can't tell if an object is very far or very close.

![](https://cdn-learn.adafruit.com/assets/assets/000/122/988/medium800/adafruit_products_5425-03.jpg?1690378761)

Info: 

This is a 'big sister' of the&nbsp;[VL53L4CD ToF sensor](https://www.adafruit.com/product/5396)&nbsp;and can handle about **&nbsp;~1 to 6000mm** &nbsp;of range distance, it also has some ability to do 'multi object detection'. Basically it can identify when more than one object is in view and tell you the two distances.

**Please note, the Arduino driver for this chip does not support 'small memory' boards like the ATmega328** &nbsp;- you'll need a SAMD21, SAMD51, ESP, etc chip with 50K of flash memory available!

![](https://cdn-learn.adafruit.com/assets/assets/000/122/989/medium800/adafruit_products_5425-01.jpg?1690378784)

The sensor is small and easy to use in any robotics or interactive project. Since it needs 2.8V power and logic we put the little fellow on a breakout board with a regulator and level shifting. You can use it with any 3-5V power or logic microcontroller with no worries. Works great with the&nbsp; **3.3V logic level of a Feather, or the 5v level of a Arduino Mega** , this breakout is ready to work with most common microcontrollers or SBCs. and since&nbsp;it speaks I2C, you can easily connect it up with two data wires plus power and ground.&nbsp;

![](https://cdn-learn.adafruit.com/assets/assets/000/122/991/medium800/adafruit_products_5425-04.jpg?1690378820)

As if that weren't enough, we've also added[&nbsp;SparkFun qwiic](https://www.sparkfun.com/qwiic)&nbsp;compatible&nbsp;**[STEMMA QT](https://learn.adafruit.com/introducing-adafruit-stemma-qt)**&nbsp;connectors for the I2C bus&nbsp; **so you don't even need to solder.** &nbsp;Just wire up to your favorite micro with a plug-and-play cable to get ToF data ASAP. For a no-solder experience,&nbsp;[just wire up to your favorite micro, like the STM32F405 Feather](https://www.adafruit.com/product/4382)&nbsp;using a&nbsp;[STEMMA QT adapter cable.](https://www.adafruit.com/?q=stemma%20qt%20cable)&nbsp;The Stemma QT connectors also mean the VL53L4CX can be used with our&nbsp;[various associated accessories.](https://www.adafruit.com/?q=JST%20SH%204)&nbsp;[QT Cable is not included, but we have a variety in the shop](https://www.adafruit.com/?q=stemma+qt+cable&sort=BestMatch)

Communicating to the sensor is done over I2C with an API written by ST,&nbsp;[they have an Arduino library with an example for communication here](https://github.com/stm32duino/VL53L4CX).

## Removing the Protective Tape
Warning: 

Using tweezers (or some other appropriate tool), CAREFULLY remove the protective tape over the sensor, as seen in the image below. There is a small tab on the side of the tape that you can use to remove it.

![](https://cdn-learn.adafruit.com/assets/assets/000/111/218/medium800/adafruit_products_cropped_P1330260.png?1651243151)

- [Next Page](https://learn.adafruit.com/adafruit-vl53l4cx-time-of-flight-distance-sensor/pinouts.md)

## Primary Products

### Adafruit VL53L4CX Time of Flight Distance Sensor - ~1 to 6000mm

[Adafruit VL53L4CX Time of Flight Distance Sensor - ~1 to 6000mm](https://www.adafruit.com/product/5425)
The&nbsp; **Adafruit VL53L4CX Time of Flight Sensor** &nbsp;is another great&nbsp;_Time of Flight_&nbsp;distance sensor from ST in the VL5 series of chips, this one is great for **long distances -** it goes up to 6 meters compared with 4 meter max of the...

In Stock
[Buy Now](https://www.adafruit.com/product/5425)
[Related Guides to the Product](https://learn.adafruit.com/products/5425/guides)

## Featured Products

### STEMMA QT / Qwiic JST SH 4-Pin Cable - 50mm Long

[STEMMA QT / Qwiic JST SH 4-Pin Cable - 50mm Long](https://www.adafruit.com/product/4399)
This 4-wire cable is&nbsp;50mm / 1.9" long and fitted with JST SH female 4-pin connectors on both ends. Compared with the chunkier JST PH these are 1mm pitch instead of 2mm, but still have a nice latching feel, while being easy to insert and remove.

<a...></a...>

In Stock
[Buy Now](https://www.adafruit.com/product/4399)
[Related Guides to the Product](https://learn.adafruit.com/products/4399/guides)
### JST SH 4-pin Cable with Alligator Clips - STEMMA QT / Qwiic

[JST SH 4-pin Cable with Alligator Clips - STEMMA QT / Qwiic](https://www.adafruit.com/product/4398)
This cable will make it super easy to use our plug-and-play STEMMA QT boards with boards like Circuit Playground. On one end you get a Qwiic / STEMMA QT connector (technically known as a JST SH 4-pin plug)&nbsp; into 4 individual wires with grippy alligator clips. We're carrying these to...

Out of Stock
[Buy Now](https://www.adafruit.com/product/4398)
[Related Guides to the Product](https://learn.adafruit.com/products/4398/guides)
### STEMMA QT / Qwiic JST SH 4-Pin Cable - 200mm Long

[STEMMA QT / Qwiic JST SH 4-Pin Cable - 200mm Long](https://www.adafruit.com/product/4401)
This 4-wire cable is a little over 200mm / 7.8" long and fitted with JST-SH female 4-pin connectors on both ends. Compared with the chunkier JST-PH these are 1mm pitch instead of 2mm, but still have a nice latching feel, while being easy to insert and remove.

<a...></a...>

In Stock
[Buy Now](https://www.adafruit.com/product/4401)
[Related Guides to the Product](https://learn.adafruit.com/products/4401/guides)
### STEMMA QT / Qwiic JST SH 4-pin to Premium Male Headers Cable

[STEMMA QT / Qwiic JST SH 4-pin to Premium Male Headers Cable](https://www.adafruit.com/product/4209)
This 4-wire cable is a little over 150mm / 6" long and fitted with JST-SH female 4-pin connectors on one end and premium Dupont male headers on the other. Compared with the chunkier JST-PH these are 1mm pitch instead of 2mm, but still have a nice latching feel, while being easy to insert...

In Stock
[Buy Now](https://www.adafruit.com/product/4209)
[Related Guides to the Product](https://learn.adafruit.com/products/4209/guides)
### STEMMA QT / Qwiic JST SH 4-pin Cable - 100mm Long

[STEMMA QT / Qwiic JST SH 4-pin Cable - 100mm Long](https://www.adafruit.com/product/4210)
This 4-wire cable is a little over 100mm / 4" long and fitted with JST-SH female 4-pin connectors on both ends. Compared with the chunkier JST-PH these are 1mm pitch instead of 2mm, but still have a nice latching feel, while being easy to insert and remove.

<a...></a...>

Out of Stock
[Buy Now](https://www.adafruit.com/product/4210)
[Related Guides to the Product](https://learn.adafruit.com/products/4210/guides)

## Related Guides

- [Discord and Slack Connected Smart Plant with Adafruit IO Actions](https://learn.adafruit.com/discord-and-slack-connected-smart-plant-with-adafruit-io-triggers.md)
- [Building an Infrared Transmitter and Receiver Board](https://learn.adafruit.com/building-an-infrared-transmitter-and-receiver-board.md)
- [Adafruit 1.27" and 1.5" Color OLED Breakout Board](https://learn.adafruit.com/adafruit-1-5-color-oled-breakout-board.md)
- [Submitting an open-source project to OSHWA](https://learn.adafruit.com/submitting-an-open-source-project-to-oshwa.md)
- [Adafruit pIRkey](https://learn.adafruit.com/adafruit-pirkey-python-programmable-infrared-usb-adapter.md)
- [Adafruit Mini TFT with Joystick Featherwing](https://learn.adafruit.com/adafruit-mini-tft-featherwing.md)
- [Adafruit AD5693R 16-Bit DAC Breakout Board](https://learn.adafruit.com/adafruit-ad5693r-16-bit-dac-breakout-board.md)
- [Adafruit ATECC608 Breakout](https://learn.adafruit.com/adafruit-atecc608-breakout.md)
- [Adafruit ESP32-C6 Feather](https://learn.adafruit.com/adafruit-esp32-c6-feather.md)
- [Adafruit AHT20 Temperature & Humidity Sensor](https://learn.adafruit.com/adafruit-aht20.md)
- [Adafruit TSC2007 I2C Resistive Touch Screen Controller](https://learn.adafruit.com/adafruit-tsc2007-i2c-resistive-touch-screen-controller.md)
- [LEGO Head Lamp with Audio](https://learn.adafruit.com/lego-head-lamp-with-audio.md)
- [IS31FL3731 16x9 Charlieplexed PWM LED Driver](https://learn.adafruit.com/i31fl3731-16x9-charliplexed-pwm-led-driver.md)
- [LOVE Light](https://learn.adafruit.com/love-light.md)
- [Adafruit RGB Matrix FeatherWings](https://learn.adafruit.com/rgb-matrix-featherwing.md)
