

The LiDAR TF Luna, manufactured by Sensor (Part ID: UNO), is a high-precision LiDAR sensor designed for mapping and navigation. It features advanced scanning capabilities and real-time data processing, making it ideal for applications such as autonomous vehicles, robotics, drones, and smart devices. Its compact size, low power consumption, and reliable performance make it a popular choice for developers and engineers working on distance measurement and object detection projects.








The TF Luna is a versatile and efficient LiDAR sensor with the following key specifications:
| Parameter | Value |
|---|---|
| Measurement Range | 0.2 m to 8 m (indoor), 0.2 m to 6 m (outdoor) |
| Accuracy | ±6 cm (0.2 m to 3 m), ±2% (>3 m) |
| Measurement Frequency | 1 Hz to 250 Hz |
| Operating Voltage | 5 V DC |
| Power Consumption | ≤0.35 W |
| Communication Interface | UART (3.3 V TTL) |
| Operating Temperature | -10°C to 60°C |
| Dimensions | 35 mm × 21.2 mm × 12 mm |
| Weight | 5 g |
The TF Luna has a 4-pin interface for power and communication. The pin configuration is as follows:
| Pin | Name | Description |
|---|---|---|
| 1 | VCC | Power supply input (5 V DC) |
| 2 | GND | Ground |
| 3 | RX | UART Receive (3.3 V TTL) |
| 4 | TX | UART Transmit (3.3 V TTL) |
To use the TF Luna with an Arduino UNO, follow these steps:
Below is a sample Arduino sketch to read distance data from the TF Luna using UART communication:
// Include necessary libraries
#include <SoftwareSerial.h>
// Define the RX and TX pins for SoftwareSerial
SoftwareSerial tfLunaSerial(10, 11); // RX = pin 10, TX = pin 11
void setup() {
Serial.begin(9600); // Initialize Serial Monitor at 9600 baud
tfLunaSerial.begin(115200); // Initialize TF Luna at 115200 baud
Serial.println("TF Luna LiDAR Sensor Initialized");
}
void loop() {
if (tfLunaSerial.available()) {
// Read data from the TF Luna
int distance = tfLunaSerial.read(); // Read distance data (in cm)
// Print the distance to the Serial Monitor
Serial.print("Distance: ");
Serial.print(distance);
Serial.println(" cm");
}
delay(100); // Add a small delay for stability
}
No data received from the sensor:
Inaccurate distance readings:
Sensor not powering on:
Q: Can the TF Luna measure distances beyond 8 meters?
A: No, the maximum range is 8 meters indoors and 6 meters outdoors. For longer ranges, consider other LiDAR models.
Q: Can I use the TF Luna with a Raspberry Pi?
A: Yes, the TF Luna can be connected to a Raspberry Pi via its UART interface. Ensure proper voltage level shifting if needed.
Q: How do I change the measurement frequency?
A: The measurement frequency can be adjusted via UART commands. Refer to the manufacturer's communication protocol documentation for details.
Q: Is the TF Luna waterproof?
A: No, the TF Luna is not waterproof. Use it in dry environments or enclose it in a protective housing for outdoor applications.