1. Introduction
The TF-LC02 is a compact, high-precision Lidar (Light Detection and Ranging) module designed for single-point ranging applications. Utilizing Time-of-Flight (TOF) technology, it offers accurate distance measurements with low power consumption and high stability. This module is ideal for integration into robotics, smart home devices, drone obstacle avoidance, and other scenarios requiring reliable distance sensing.

1.1 Key Features
- Small size and lightweight design
- Low power consumption
- High precision and stability
- High sensitivity for reliable measurements
- UART communication interface
- Single-point ranging capability
- Based on Time-of-Flight (TOF) principle
1.2 Applications
The TF-LC02 module can be used in a variety of applications, including:
- Robotics: Obstacle avoidance, navigation, gesture recognition
- Smart Homes: Smart lighting, presence detection, automated systems
- Drones: Altitude holding, terrain following, obstacle detection
- Industrial Automation: Level sensing, object positioning
- Security Systems: Intrusion detection

2. Safety Information
- Do not expose the module to extreme temperatures or humidity.
- Avoid direct exposure of the eye to the laser emitter. Although it is a low-power laser, prolonged exposure may be harmful.
- Ensure correct wiring and power supply voltage to prevent damage to the module or connected devices.
- Handle the module with care to avoid physical damage.
- This module is an electronic component and should be handled in an ESD-safe environment.
3. Package Contents
The standard package for the TF-LC02 module typically includes:
- 1 x TF-LC02 Lidar Radar Range Module
- 1 x Connection Cable (4-pin)
4. Product Overview
The TF-LC02 module integrates a laser emitter, receiver, and processing unit into a compact form factor. It communicates via a standard UART interface, making it easy to integrate with microcontrollers and other embedded systems.

5. Specifications
| Parameter | Value |
|---|---|
| Model | TF-LC02 |
| Working Voltage | 3.7V - 5.2V |
| Working Current | 30mA |
| Communication Interface | UART |
| Communication Baud Rate | 115200 bps |
| Measuring Range | 0.02m - 2.5m (indoor, 90% reflectivity) |
| Accuracy | ±2cm (0.02-1m), ±2% (1-2.5m) |
| Measuring Frequency | 100Hz |
| Field of View (FOV) | 2° |
| Operating Temperature | -10°C to 60°C |
| Storage Temperature | -20°C to 70°C |
| Dimensions | 21.5mm x 11.5mm x 4.5mm |
| Weight | 1.5g |

6. Setup and Connection
The TF-LC02 module communicates via a UART interface. Follow these steps to connect it to your microcontroller (e.g., Arduino, Raspberry Pi):
6.1 Pinout Description
The module has a 4-pin connector with the following assignments:
- Pin 1: VCC (Power Supply Input, 3.7V-5.2V)
- Pin 2: GND (Ground)
- Pin 3: TX (UART Transmit - Connect to RX of microcontroller)
- Pin 4: RX (UART Receive - Connect to TX of microcontroller)

6.2 Connection Steps
- Connect the VCC pin of the TF-LC02 module to a 3.7V-5.2V power supply output on your microcontroller or power source.
- Connect the GND pin of the TF-LC02 module to the ground of your microcontroller/power source.
- Connect the TX pin (Transmit) of the TF-LC02 module to the RX pin (Receive) of your microcontroller's UART port.
- Connect the RX pin (Receive) of the TF-LC02 module to the TX pin (Transmit) of your microcontroller's UART port.
- Ensure all connections are secure and correctly oriented.
7. Operating Instructions
The TF-LC02 module continuously outputs distance data via its UART interface. To read the data, configure your microcontroller's UART port to the specified baud rate and parse the incoming data frames.
7.1 UART Communication Parameters
- Baud Rate: 115200 bps
- Data Bits: 8
- Stop Bits: 1
- Parity: None
7.2 Data Frame Format
The module outputs data in 9-byte frames. Each frame contains distance and signal strength information:

| Byte Index | Description | Value |
|---|---|---|
| 0 | Frame Header | 0x59 |
| 1 | Frame Header | 0x59 |
| 2 | Dist_L | Distance Low Byte |
| 3 | Dist_H | Distance High Byte |
| 4 | Strength_L | Signal Strength Low Byte |
| 5 | Strength_H | Signal Strength High Byte |
| 6 | Mode | Reserved |
| 7 | Checksum | Sum of Bytes 0-6 (modulo 256) |
| 8 | Reserved | Reserved |
7.3 Data Calculation
- Distance (in cm):
Distance = (Dist_H << 8) | Dist_L - Signal Strength:
Strength = (Strength_H << 8) | Strength_L
Always verify the checksum (Byte 7) to ensure data integrity. The checksum is the sum of bytes 0 through 6, modulo 256.
8. Maintenance
- Cleaning: Keep the optical lens free from dust and debris. Use a soft, dry cloth or a lens cleaning solution if necessary. Avoid abrasive materials.
- Environmental Conditions: Operate the module within the specified temperature and humidity ranges to ensure optimal performance and longevity.
- Firmware: Check the manufacturer's website periodically for any firmware updates that may improve performance or add features.
9. Troubleshooting
| Problem | Possible Cause | Solution |
|---|---|---|
| No data output from UART | Incorrect wiring (TX/RX swapped), incorrect baud rate, power supply issue, module not powered on. | Verify TX/RX connections, ensure baud rate is 115200, check power supply voltage (3.7V-5.2V) and connections. |
| Inaccurate distance readings | Obstruction of the optical path, highly reflective/absorbent target, ambient light interference, target out of range. | Ensure clear line of sight, test with a neutral colored target, minimize strong ambient light, ensure target is within 0.02-2.5m. |
| Module not responding | Power supply issue, module damage. | Check power connections and voltage. If still unresponsive, the module may be damaged. |
| Checksum errors | Data corruption during transmission, incorrect checksum calculation in software. | Verify UART communication stability. Double-check your checksum calculation logic in the microcontroller code. |
10. User Tips
- Environmental Considerations: For best accuracy, use the sensor in stable lighting conditions. Direct sunlight or very strong artificial light can affect performance.
- Target Surface: The reflectivity of the target surface significantly impacts the maximum range and accuracy. Highly reflective, diffuse surfaces (like white paper) yield better results than dark, glossy, or transparent surfaces.
- Power Supply Stability: Ensure a stable and clean power supply within the specified voltage range (3.7V-5.2V) to prevent erratic readings or module damage.
- Code Libraries: When integrating with popular microcontrollers like Arduino, search for existing TF-LC02 or generic TOF sensor UART libraries to simplify development.
11. Warranty and Support
For technical support, warranty claims, or further inquiries, please contact CAIYUSHENG ELECTRONICS directly through their official channels. Refer to your purchase documentation for specific warranty terms and contact information.