wishiot TF-Luna

Contents

TF-Luna LiDAR Sensor Instruction Manual

High-Speed Ranging Module for Arduino/Pixhawk Integration

1. Introduction

The TF-Luna is a single-point ranging LiDAR module, based on the TOF (Time of Flight) principle. It offers a stable, accurate, and high-sensitivity distance measurement solution with a compact design and low power consumption. This manual provides detailed instructions for setting up, operating, and maintaining your TF-Luna LiDAR Sensor, enabling its integration into various applications such as autonomous drones, industrial robotics, and smart systems.

2. Product Overview

2.1 Key Features

  • Low-Cost Ranging: Efficient LiDAR module with a 0.2m to 8m operating range.
  • Lightweight Design: Weighs less than 5g, ideal for applications with strict load requirements.
  • Low Power Consumption: Operates at less than 0.35W, suitable for battery-powered or energy-efficient scenarios.
  • Compact Size: Dimensions of 35mm x 21.25mm x 13.5mm for easy installation and integration.
  • High Accuracy: Provides reliable distance measurements with high precision.
  • Multiple Interfaces: Supports UART and I2C communication for versatile connectivity.

2.2 What's in the Box

The standard package for your TF-Luna LiDAR Sensor includes the following components:

  • Genuine TF-Luna LiDAR Module
  • Premium Shielded 4-pin Cable
  • Anti-Interference Mounting Bracket
  • Full SDK & Development Resources (typically provided digitally)
TF-Luna LiDAR Sensor module and included cables
Figure 1: TF-Luna LiDAR Sensor module with included cables.

3. Specifications

The following table details the technical specifications of the TF-Luna LiDAR Sensor:

TF-Luna LiDAR Sensor specifications and dimensions
Figure 2: TF-Luna LiDAR Sensor specifications and physical dimensions.
ParameterValueParameterValue
ItemTF-LunaWeight<5g
Operating Range0.2m ~ 8mFOV2°
Communication InterfaceUART/IICSupply Voltage5V ± 0.1V
Communication LevelLVTTL (3.3V)Default Baud Rate115200
Light SourceVCSELData Bit8
Accuracy±6cm @(0.2-3m), ±2% @(3m-8m)Stop Bit1
Measurement UnitcmWavelength850nm
Range Resolution1cmCertificationCE, FCC, ROHS
Frame Rate1~250Hz (adjustable)Ambient Light Resistance70klux

4. Setup and Installation

Proper wiring is crucial for the correct operation of the TF-Luna sensor. Below are example wiring diagrams for common development boards.

4.1 Wiring with Raspberry Pi Pico (I2C Interface)

Connect the TF-Luna to a Raspberry Pi Pico using the I2C interface as shown in the diagram. Ensure the power supply is 5V.

Schematic diagram for TF-Luna with Raspberry Pi Pico
Figure 3: Wiring TF-Luna with Raspberry Pi Pico. (Pico not included)
  • TF-Luna White line: Connect to Pico SDA
  • TF-Luna Green line: Connect to Pico SCL
  • TF-Luna Red line: Connect to 5V Power supply
  • TF-Luna Black line: Connect to GND

4.2 Wiring with WiFi LoRa 32 (UART Interface)

For UART communication, connect the TF-Luna to a board like the WiFi LoRa 32. Refer to the pinout table and diagram for correct connections. Note that WiFi LoRa 32 is not included.

Wiring diagram example for TF-Luna with WiFi LoRa 32
Figure 4: Wiring TF-Luna with WiFi LoRa 32. (WiFi LoRa 32 not included)
No.FunctionComment
1+5VPower supply
2RXD/SDAReceiving/Data
3TXD/SCLTransmitting/Clock
4GNDGround
5
6

TF-Luna to WiFi LoRa 32 (V2) - Slave Connections:

  • TF-Luna 5V: Connect to WiFi LoRa 32 5V
  • TF-Luna Lidar RX: Connect to WiFi LoRa 32 PIN 23 TXD
  • TF-Luna Lidar TX: Connect to WiFi LoRa 32 PIN 22 RXD
  • TF-Luna GND: Connect to WiFi LoRa 32 GND

5. Operation

Once correctly wired and powered, the TF-Luna sensor will begin acquiring distance data. The data can be accessed via the configured UART or I2C interface.

5.1 Data Acquisition

The TF-Luna outputs distance data in centimeters (cm) at a configurable frame rate (1-250Hz). You will need to write code on your microcontroller (e.g., Arduino, Pixhawk) to read and interpret this data.

  • UART: Data is transmitted as serial packets. Refer to the TF-Luna SDK and communication protocol documentation for parsing the data.
  • I2C: The sensor acts as a slave device. Your microcontroller will need to initiate I2C communication to request distance readings.

5.2 SDK and Development Resources

Utilize the provided SDK and development resources to simplify integration. These resources typically include sample code, libraries, and detailed communication protocols for various platforms.

6. Applications

The TF-Luna LiDAR Sensor is versatile and can be applied in numerous fields:

Application examples for TF-Luna LiDAR Sensor
Figure 5: Diverse applications of the TF-Luna LiDAR Sensor.
  • Robotics: Essential for robot obstacle avoidance and preventing falls, ensuring safer and more efficient navigation.
  • UAV (Unmanned Aerial Vehicles): Enables precise altitude holding and obstacle avoidance for drones, enhancing flight stability and safety.
  • Smart City: Can be integrated into smart infrastructure like smart toilets for presence detection or smart trash bins for fill-level monitoring.
  • Smart Retail: Used for triggering smart projectors or smart mirrors based on customer presence or distance.
  • Industrial Automation: Accurate object positioning and detection in automated guided vehicles (AGVs) and other industrial robots.
  • Security Systems: Intrusion detection and perimeter monitoring for enhanced security.

7. Maintenance

To ensure the longevity and optimal performance of your TF-Luna LiDAR Sensor, follow these maintenance guidelines:

  • Keep Clean: Regularly clean the optical lenses with a soft, dry, lint-free cloth. Avoid abrasive materials or harsh chemicals.
  • Environmental Protection: The sensor has an IP42 protection rating, meaning it is protected against solid objects larger than 1mm and splashing water. Avoid prolonged exposure to heavy rain, dust, or extreme temperatures.
  • Physical Protection: Handle the sensor with care to prevent physical damage. Ensure it is securely mounted to avoid vibrations or impacts.
  • Power Supply: Always use a stable 5V ± 0.1V DC power supply to prevent damage to the module.

8. Troubleshooting

If you encounter issues with your TF-Luna LiDAR Sensor, consider the following troubleshooting steps:

  • No Data Output:
    • Verify all wiring connections are correct and secure according to the diagrams in Section 4.
    • Ensure the sensor is receiving the correct 5V power supply.
    • Check the communication interface (UART/I2C) settings in your code (baud rate, address).
    • Confirm that the microcontroller's communication pins are correctly configured.
  • Inaccurate Readings:
    • Ensure the optical lenses are clean and free from obstructions.
    • Check for strong ambient light sources directly interfering with the sensor's FOV.
    • Verify the sensor is within its specified operating range (0.2m to 8m).
    • Ensure the target surface is not highly reflective or transparent, which can affect LiDAR performance.
  • Intermittent Operation:
    • Check for loose connections or damaged cables.
    • Ensure the power supply is stable and not fluctuating.
    • Reduce electromagnetic interference from other electronic components if possible.

9. User Tips

Here are some tips to enhance your experience with the TF-Luna LiDAR Sensor:

  • Software Libraries: Look for existing Arduino or Python libraries for TF-Luna or similar LiDAR sensors. These can significantly speed up development.
  • Data Filtering: Implement basic filtering (e.g., moving average) in your code to smooth out readings, especially in noisy environments or with fast-moving targets.
  • Mounting: Experiment with different mounting positions to optimize the sensor's field of view and minimize interference from the robot's own structure or propellers (for drones).
  • Power Management: While low power, consider power cycling the sensor if it becomes unresponsive, especially in long-duration applications.

10. Warranty and Support

The TF-Luna LiDAR Sensor is certified with CE, FCC, and ROHS standards, ensuring compliance with relevant safety and environmental regulations.

For technical support, troubleshooting assistance beyond this manual, or warranty inquiries, please contact the seller or manufacturer directly. Refer to your purchase documentation for specific contact information.

Ask a question about this manual

Ask about setup, troubleshooting, compatibility, parts, safety, or missing instructions. Manuals+ will review the question and use this page’s manual context to help answer it.

After a successful submission, we securely hash the supplied account or form email before sending it to Microsoft Advertising for conversion attribution. Privacy details.