TF Luna LiDAR Sensor with ESP32 & RPI Pico

DroneBot Workshop June 29, 2025
Video Thumbnail
DroneBot Workshop Logo

DroneBot Workshop

@dronebotworkshop

About

Welcome to the Workshop! The DroneBot Workshop is the place where I work with Arduino, Raspberry Pi, ESP32, and lots of other cool microcontrollers, components, and sensors. This is a channel for learning and understanding. While I do build projects, most episodes focus on showing you HOW things work, so you can use the information to bring your own designs to life. Every video has a corresponding article on my website at https://dronebotworkshop.com , along with the diagrams and code samples you’ll need to build your own creations. You can also participate in discussions on my Forum at https://forum.dronebotworkshop.com. Please note that I no longer do any sponsored videos, enquiries for these will be ignored! If you'd like to know more about me or the DroneBot Workshop you can read the FAQ at https://dronebotworkshop.com/about-dronebot-workshop/faq/ And if you have technical questions please ask them on the Forum. Welcome to the Workshop! I hope you enjoy your stay! Bill

Video Description

Today, we’re examining the TF-Luna LiDAR sensor, a fast, accurate, and cost-effective ToF distance sensor that communicates via I2C or serial UART. We’ll put it to use with an ESP32, a Raspberry Pi Pico, and a Windows GUI. Article with code: https://dronebotworkshop.com/tf-luna-lidar More articles and tutorials: https://dronebotworkshop.com Join the conversation on the forum: https://forum.dronebotworkshop.com Subscribe to the newsletter and stay in touch: https://dronebotworkshop.com/subscribe/ LiDAR is a method of sensing distance using beams of light. It has the advantage of being fast and accurate, but was also quite expensive when compared to methods that used ultrasonic sound. At least it used to be a lot more expensive. Now, a new generation of LiDAR sensors has emerged, offering inexpensive and straightforward use. One of these is the Bebewake TF-Luna, a small, cost-effective LiDAR sensor that can measure distances of up to 8 meters (25 feet). Today, we will examine the TF-Luna and test it using a Windows GUI utility. We’ll then put it to use with an ESP32 using C++ code, and with a Raspberry Pi Pico using MicroPython. Here is the Table of Contents for today's video: 00:00 - Introduction 01:23 - TF-Luna LiDAR Specs 05:44 - Look at TF-Luna 06:34 - TF-Luna with Windows 10:40 - TF-Luna with ESP32 15:22 - TF-Luna with Raspberry Pi Pico 20:19 - Conclusion Using this video and the article on the DroneBot Workshop website, you should be able to master the use of the TF-Luna quickly. If you’re looking for a fast and efficient distance sensor, this is a fine choice. Hope you enjoy the video! Bill

Essential LiDAR & Component Bundles

AI-recommended products based on this video

Loading...
KLONA Handheld Steam Cleaner, Steam Cleaner for Home with 10 Accessory Kit, Multipurpose Portable Upholstery Steamer Cleaning with Safety Lock to Remove Grime, Grease.

KLONA Handheld Steam Cleaner, Steam Cleaner for Home with 10 Accessory Kit, Multipurpose Portable Upholstery Steamer Cleaning with Safety Lock to Remove Grime, Grease.

(67)
$52.99
FREE delivery Sun, Mar 22
Loading...
Portable Steam Cleaner, Hand Held steamers for cleaning house, Home Multi Purpose-10-Piece Accessory Kit for Sofa,Carpets,Upholstery,Car,Floor,Bathroom,Mattress and More

Portable Steam Cleaner, Hand Held steamers for cleaning house, Home Multi Purpose-10-Piece Accessory Kit for Sofa,Carpets,Upholstery,Car,Floor,Bathroom,Mattress and More

(145)
$52.99
FREE delivery Wed, Jan 7
Loading...
KLONA Handheld Steam Cleaner, Steam Cleaner for Home with 10 Accessory Kit, Multipurpose Portable Upholstery Steamer Cleaning with Safety Lock to Remove Grime, Grease, and More

KLONA Handheld Steam Cleaner, Steam Cleaner for Home with 10 Accessory Kit, Multipurpose Portable Upholstery Steamer Cleaning with Safety Lock to Remove Grime, Grease, and More

(51)
$49.99
FREE delivery Mon, Jun 16
400+ bought in past month
Loading...
Rib Prep Pro Stainless Steel Rib Membrane Remover Tool, Professional BBQ Rib Skinner and Catfish Skinner Pliers, Kitchen/Grill Gadget Kit for BBQ Rib Prep, Dishwasher Safe BBQ Accessory

Rib Prep Pro Stainless Steel Rib Membrane Remover Tool, Professional BBQ Rib Skinner and Catfish Skinner Pliers, Kitchen/Grill Gadget Kit for BBQ Rib Prep, Dishwasher Safe BBQ Accessory

(0)
$18.99
$5.99 delivery Jul 2 - 22
Loading...
NEXPOW Car Jump Starter,Car Battery Jump Starter Pack 1500A Peak Q10S for Up to 7.0L Gas and 5.5L Diesel Engine12V Auto Battery Booster,Jumper Cables,Portable Lithium Jump Box with LED Light/USB QC3.0

NEXPOW Car Jump Starter,Car Battery Jump Starter Pack 1500A Peak Q10S for Up to 7.0L Gas and 5.5L Diesel Engine12V Auto Battery Booster,Jumper Cables,Portable Lithium Jump Box with LED Light/USB QC3.0

(4,578)
$71.99
FREE delivery Sat, Jan 3
2K+ bought in past month
Loading...
Firefly Variety 8 Pack - Fire Starter Accessory for Swiss Army Victorinox Knives (Neon Green-Yellow Glow)

Firefly Variety 8 Pack - Fire Starter Accessory for Swiss Army Victorinox Knives (Neon Green-Yellow Glow)

(181)
$70.15$61.13
$5.05 delivery Thu, Jun 26Only 3 left in stock.
Loading...
9-in-1 5000A 150PSI Car Battery Booster Jump Starter with Air Compressor (All Gas/9L Diesel), Portable Car Battery Booster Pack, Safe Durable Car Jump Starter with Extended Jumper Cables, Glove, Light

9-in-1 5000A 150PSI Car Battery Booster Jump Starter with Air Compressor (All Gas/9L Diesel), Portable Car Battery Booster Pack, Safe Durable Car Jump Starter with Extended Jumper Cables, Glove, Light

(261)
$99.99
FREE delivery Sat, Sep 20
1K+ bought in past month