Same-day dispatch before 2 PM · Free delivery over ₹999 · GST invoices Get the appPrices incl. GST
Geekobot
Snap & SendNEWGeeko AIWhere's myOrder
Log in
Products
  • Projects
    • Component guidesHow parts work, with code you can run
    • Learning pathsFrom your first LED to your first robot
    • Workshops & eventsOnline sessions for makers and classes
    • ElectrolarkFree guided builds, simulator and certificates
    • Students & teachersStudent discount and classroom help
    • CommunityShare builds and ask other makers
    • CalculatorsOhm's law, LED resistor, 555 and 100+ more
    • Circuit builderWire parts and run the circuit, powered by Electrolark
    • Geeko AIAsk what to buy or how to wire it
    • Snap & SendPhotograph a part or list, we find it
    • Part finderAnswer a few questions, get the right part
    • Compatibility checkWill these two parts work together?
    • Compare partsSpecs side by side
    • Business & bulk ordersGST invoices, credit and volume prices
    • Request a quotationSend your list, get a quote
    • Classroom kitsPer-student kits and lab bundles
    • Gift cardsFor students, teams and events
  • Atal Tinkering Lab
BOM to cart
Geekobot

Components, kits and know-how for makers, students, engineers, labs and businesses across India.

Ask Geeko AIOrders, parts and projects, any timeEmail supportReply within 1 working dayGet the Geekobot appAdd it to your home screen, free

Follow us

Shop

  • Boards & SBCs
  • Sensors & Modules
  • IoT & Wireless
  • Drone & FPV
  • 3D Printing
  • Filaments & Resins
  • Motors & Drivers
  • Power & Batteries
  • Semiconductors
  • Passive
  • Displays & LEDs
  • Switches & Relays
  • Wires & Cables
  • Prototyping
  • Tools & Test
  • Robotics
  • STEM Kits
  • Atal Tinkering Lab
  • Mechanical Parts
  • Audio

Orders

  • Track your order
  • Help & support
  • Shipping and delivery
  • Refunds and cancellation
  • Contact us

Learn

  • Projects
  • Geeko AI project assistant
  • Learning paths
  • Guides
  • Calculators
  • Electrolark: free guided builds

Part tools

  • Part finder
  • Compare parts
  • Will it work with my board?

Institutions

  • Classroom kits
  • Atal Tinkering Lab
  • Students & teachers
  • Workshops & Events

Business

  • Business & education
  • Request a quotation
  • BOM bulk upload
  • Quick order by SKU

Company

  • About Geekobot
  • Community
  • Gift cards
  • Terms & conditions
  • Privacy policy
  • Product directory
  • Sitemap

© 2026 Geekobot, a trade name of OLatus Systems Private Limited. All rights reserved.

20, 1st Floor, Neeladri Complex, 10th Cross, Sampige Rd, 2nd Main, Malleshwaram, Bengaluru, Karnataka 560003 · GSTIN 29AACCO0462F1ZM

+91 91810 15607 · connect@geekobot.in · Monday to Saturday, 10 AM to 2 PM IST

UPI · CARDS · NETBANKING · GST INVOICES

ShopProjectsGeeko AIGuides
Compare 0 parts →
Log in

Shop by category

Shop all components
  • Boards & SBCs1,910 products
    • Alternative Single Board Computers
    • Arduino Ecosystem
    • FPGA & Logic Boards
    • Microcontroller & Wireless Boards
    View all
  • Sensors & Modules4,701 products
    • Biomedical & Heart Rate
    • Current, Voltage & Power
    • Force, Weight & Pressure
    • Gas, Weather & Environmental
    View all
  • IoT & Wireless2,314 products
    • RF Modules
    • RFID & NFC
    • Antennas & RF Accessories
    • Cameras & Smart Vision
    View all
  • Drone & FPV3,558 products
    • Flight Control & Navigation
    • FPV Video & Optics
    • Frames & Structural Parts
    • Motors & Propulsion
    View all
  • 3D Printing2,204 products
    • 3D Printers
    • 3D Scanners & Digitizers
    • Laser Engravers & Cutters
    • Material Management & Upgrades
    View all
  • Filaments & Resins1,472 products
    • Filaments
    • Photopolymer Resins
    View all
  • Motors & Drivers463 products
    • BLDC Motor Drivers
    • DC & Geared Motors
    • DC Motor Drivers
    • Linear Actuators & Solenoids
    View all
  • Power & Batteries557 products
    • Battery Holders & Connectors
    • Breadboard Power
    • Chargers & BMS
    • DC-DC Converters
    View all
  • Semiconductors295 products
    • Diodes & Rectifiers
    • Interface & RF Encoder ICs
    • Logic ICs (74xx)
    • Logic ICs (CD4000)
    View all
  • Passive67 products
    • Capacitors
    • Circuit Protection
    • Crystals & Oscillators
    • Inductors
    View all
  • Displays & LEDs572 products
    • 7-Segment & Dot Matrix
    • Addressable LEDs
    • Character LCDs
    • Graphic LCDs
    View all
  • Switches & Relays184 products
    • Keypads & Touch
    • Push Buttons & Tactile
    • Relay Modules
    • Relays
    View all
  • Wires & Cables233 products
    • Board-to-Wire Connectors
    • Crimp & Splice
    • Headers & Dupont
    • Heat Shrink & Sleeving
    View all
  • Prototyping101 products
    • Breadboards
    • Interface Modules
    • PCBs & Perfboards
    View all
  • Tools & Test717 products
    • Bench Power Supplies
    • Hand Tools
    • Measuring Tools
    • Meters & Testers
    View all
  • Robotics180 products
    • Humanoid & Legged Robots
    • Robot Chassis & Platforms
    • Robotic Arms & Grippers
    • Wheels & Casters
    View all
  • STEM Kits268 products
    • Arduino Learning Kits
    • Coding & IoT Kits
    • Early Coding (Ages 3-8)
    • Invention Kits
    View all
  • Atal Tinkering Lab196 products
    • Package 1: Electronics, Robotics, IoT and Sensors
    • Package 2: Rapid Prototyping Tools
    • Package 3: Mechanical, Electrical and Measurement Tools
    • Package 4: Power Supply, Accessories and Safety Equipment
    View all
  • Mechanical Parts212 products
    • Bearings
    • Brackets & Mounts
    • Couplers
    • Fasteners & Standoffs
    View all
  • Audio109 products
    • Amplifier Modules
    • Buzzers & Sirens
    • Speakers
    View all
  1. Home
  2. ›Guides
  3. ›Sensors
  4. ›LiDAR Distance Sensors

Comparison · Intermediate · 3 min read

LiDAR Distance Sensors

TF-Luna, TFmini, LD06 and Scanning LiDAR for Robots

By Geekobot Learning Team · Updated 29 Oct 2026

On this page
Short answerWhich type of LiDARReading a TFmini or TF-Luna over UARTLimits to knowChoosing for a projectTry itCommon mistakesFAQsParts and next steps
Short answer

LiDAR sensors measure distance by timing a pulse of light. Single-point modules such as the Benewake TFmini and TF-Luna give a distance reading over UART or I2C and suit drones, level and obstacle sensing. 2D scanning LiDAR (RPLIDAR, YDLIDAR) spins to map a room for robots, and 3D LiDAR builds point clouds.

Key specs at a glance

Single-point
0.1 to 12 m (TFmini-S, TF-Luna), up to hundreds of metres on drone types
2D scanner
360 degrees, a few metres to tens of metres, USB or UART
3D LiDAR
Multi-line or solid-state units for mapping and vehicles
Interface
UART, I2C, USB or Ethernet
Supply
5 V for most small modules
Weak points
Dark or glossy surfaces, glass and very bright sunlight
01

Which type of LiDAR

Pick by what you need to map.

TypeOutputGood forNotes
Single-point (TFmini, TF-Luna, TF-Nova)One distance valueAltitude hold, level, obstacle stopNarrow beam, simple UART
Short-range ToF (VL53L0X, VL53L1X)One distance valueClose range robotsSee the VL53L0X guide
2D scanner (RPLIDAR, YDLIDAR)360° distance listSLAM and mapping with ROSNeeds USB or UART and a computer
3D LiDARPoint cloudAutonomous vehicles, mappingExpensive; Ethernet output
Single-point (TFmini, TF-Luna, TF-Nova)
Output:
One distance value
Good for:
Altitude hold, level, obstacle stop
Notes:
Narrow beam, simple UART
Short-range ToF (VL53L0X, VL53L1X)
Output:
One distance value
Good for:
Close range robots
Notes:
See the VL53L0X guide
2D scanner (RPLIDAR, YDLIDAR)
Output:
360° distance list
Good for:
SLAM and mapping with ROS
Notes:
Needs USB or UART and a computer
3D LiDAR
Output:
Point cloud
Good for:
Autonomous vehicles, mapping
Notes:
Expensive; Ethernet output
02

Reading a TFmini or TF-Luna over UART

These sensors stream 9-byte frames at 115200 baud. The frame starts with two 0x59 bytes, then distance in centimetres (low byte first), signal strength and a checksum.

TFmini / TF-Luna frame reader (ESP32 Serial2) · Arduino C++Verify & upload in Electrolark
// Sensor TX -> GPIO16 (RX2), sensor RX -> GPIO17, 5 V and GND
void setup() {
  Serial.begin(115200);
  Serial2.begin(115200, SERIAL_8N1, 16, 17);
}

void loop() {
  static uint8_t f[9];
  if (Serial2.available() >= 9) {
    if (Serial2.read() == 0x59 && Serial2.peek() == 0x59) {
      f[0] = 0x59; f[1] = Serial2.read();
      for (int i = 2; i < 9; i++) f[i] = Serial2.read();
      uint8_t sum = 0;
      for (int i = 0; i < 8; i++) sum += f[i];
      if (sum == f[8]) {
        int cm = f[2] + (f[3] << 8);
        int strength = f[4] + (f[5] << 8);
        Serial.print(cm); Serial.print(" cm  strength "); Serial.println(strength);
      }
    }
  }
}
03

Limits to know

Surfaces

black, glossy and mirror-like surfaces and glass can return weak or wrong readings. Check the signal strength value.

Sunlight

strong sun can reduce range; outdoor-rated models help.

Beam width

a narrow beam can miss thin objects such as wires.

Eye safety

small LiDAR modules are normally Class 1, but check the label and never look into the aperture of a higher-class unit.

Power

rolling scanners need a stable 5 V supply.

04

Choosing for a project

For a drone or rover altitude and stop distance, a TF-Luna or TFmini-S is a straightforward fit. For indoor mapping with ROS, a 2D scanner is the usual starting point. If you need only a few centimetres to a few metres, ultrasonic sensors are much cheaper and a ToF chip may be enough.

05

Try it: Ultrasonic distance calculator

Change the values and the diagram and results update as you type.

06

Common mistakes to avoid

  • !Reading raw values without checking the signal strength.
  • !Expecting reliable readings on black or glass surfaces.
  • !Powering a scanner from a weak USB port.
  • !Using the wrong baud rate or frame format.
  • !Mounting a single-point sensor where the beam is blocked by a prop or frame.
07

Frequently asked questions

What is the difference between LiDAR and ultrasonic?

LiDAR uses light and has a narrow beam, long range and fast updates. Ultrasonic uses sound, is cheaper but has a wide beam.

Can LiDAR measure through glass?

Usually not reliably. Glass can reflect or pass the beam and give false readings.

Do I need ROS for a 2D scanner?

Not required, but ROS has ready drivers and SLAM tools, which is why scanners are popular there.

Is LiDAR eye safe?

Small hobby modules are designed to be eye safe (Class 1). Check the product label.

What range do I need?

Pick a sensor with about double the longest distance you expect, since dark surfaces cut real range.

Parts for this guide

  • Benewake TFMini-S Micro LiDAR Distance Sensor Module, Range: 0.1-12m, I2C/UART
    ₹4,119View
  • Benewake TF-Nova Sensor Line Pattern Laser Beam LiDAR Sensor (Range: 0.1-14m) – UART/I2C/I/O
    ₹4,879View
  • YDLIDAR T-mini Plus LiDAR Sensor – 360° Scanning, 0.12-12m Range, USB Type-C Interface
    ₹9,899View
  • Garmin LIDAR-Lite v4 LED Distance Measurement Sensor (Qwiic)
    ₹15,530View
Shop Infrared, ToF & LiDAR Distance Sensors

Calculators

Ultrasonic distance calculator

Terms in this guide

LiDAR rangingMeasuring distance by timing how long a pulse of light takes to bounce off an object and return.Time of flightMeasuring distance from how long a signal (sound or light) takes to bounce back.UARTUniversal asynchronous receiver-transmitter: two-wire serial (TX and RX) used by GPS, Bluetooth modules and debug output.Baud rateThe speed of a serial link in bits per second. Both ends must use the same value; 9600 and 115200 are the usual defaults.UltrasonicSound above human hearing (over 20 kHz); the HC-SR04 uses 40 kHz.

Keep learning

Component guideIntermediateVL53L0X and VL53L1X Laser Distance SensorsThe VL53L0X and VL53L1X are tiny time-of-flight sensors from ST.3 min read · SensorsComponent guideBeginnerHC-SR04 Ultrasonic SensorThe HC-SR04 measures distance from about 2 cm to 4 m by sending a 40 kHz ultrasonic pulse and timing the echo.3 min read · SensorsComponent guideIntermediatemmWave and Microwave Presence SensorsRadar presence sensors send out radio waves and detect reflections from people.3 min read · SensorsComponent guideIntermediateWaterproof Ultrasonic SensorsWaterproof ultrasonic sensors such as the JSN-SR04T and A02YYUW put the transducer in a sealed probe on a cable, so they can measure water level in a tank or work outdoors.3 min read · SensorsConcept explainerBeginnerUART and Serial CommunicationA UART sends data one bit at a time over one wire with no shared clock, so both ends must agree on the speed, called the baud rate (9600 and 115200 are common).4 min read · Electronics FundamentalsBuying guideBeginnerChoosing a Robot ChassisFor a first robot car, a 2WD acrylic chassis with two gear motors and a caster wheel is cheapest and easiest to program.3 min read · Robotics

Sources

  • Benewake TFmini-S and TF-Luna data sheets
  • Slamtec and YDLIDAR product documentation

Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

On this page
Short answerWhich type of LiDARReading a TFmini or TF-Luna over UARTLimits to knowChoosing for a projectTry itCommon mistakesFAQsParts and next steps
Need a hand?Ask Geeko AI which part fits your project, or talk to the Geekobot team.Ask Geeko AIHelp & support

Parts for this guide4 items · ₹34,427

Benewake TFMini-S Micro LiDAR Distance Sensor Module, Range: 0.1-12m, I2C/UART · Benewake TF-Nova Sensor Line Pattern Laser Beam LiDAR Sensor (Range: 0.1-14m) – UART/I2C/I/O · YDLIDAR T-mini Plus LiDAR Sensor – 360° Scanning, 0.12-12m Range, USB Type-C Interface · Garmin LIDAR-Lite v4 LED Distance Measurement Sensor (Qwiic)

Run itChange the inputs and watch the output
Serial monitor115200 baud
149 cm  strength 10647

A simulation of the sketch above, so you know what to expect. Real readings vary with your parts and wiring.

Ask the Community

Ask a question