1. Product Overview
Description
The TOFSense-F2 Mini Lidar Sensor is an ultra-compact, high-precision single-point distance sensor utilizing Time-of-Flight (ToF) technology. Designed for minimal space impact, it offers a measurement range of 0.02 to 7.8 meters and versatile communication interfaces, making it suitable for integration into drones, robots, Arduino, Raspberry Pi, Pixhawk, and Ardupilot projects.
Key Features
- Ultra-Compact Design: Weighing approximately 1 gram and measuring 19mm x 12mm x 10.3mm, it is ideal for applications requiring minimal size and weight.
- High Precision Distance Measurement: Utilizes advanced Time-of-Flight (ToF) technology, offering an accuracy of ±4.0cm within a range of 0.02m to 7.8m.
- Fast Refresh Rate: Features a 50Hz refresh frequency, enabling quick capture of distance changes for dynamic environments.
- Versatile Communication Interfaces: Supports UART, IIC, and I/O interfaces for seamless integration into various systems.
- Wide Measurement Range: Capable of detecting objects from very close proximity to several meters away.
- Robust Interference Resistance: Designed with anti-interference algorithms and optimized optics to perform reliably in challenging conditions, including ambient light, dust, and fog.
2. Physical Description and Dimensions
The TOFSense-F2 Mini Lidar Sensor is engineered for a minimal footprint. Its compact size and light weight make it suitable for space-constrained applications.


3. Setup: Connections and Pinout
The TOFSense-F2 Mini Lidar Sensor features a 4-pin connector for power and communication. Careful attention to the pinout is essential for correct wiring and operation.

Pin Definitions
| Pin Number | Definition | Min. Value | Typical Value | Max. Value |
|---|---|---|---|---|
| PIN 1 | VCC | 4.3V | 5V | 5.2V |
| PIN 2 | GND | 0V | 0V | – |
| PIN 3 | UART_RX/IIC_SDA/IO_H | 0V | 3.3V | 3.5V |
| PIN 4 | UART_TX/IIC_SCL/IO_L | 0V | 3.3V | 3.5V |
Important Note: The sensor operates with a 5V power supply but uses 3.3V logic levels for communication. Ensure proper voltage level conversion if connecting to microcontrollers with different logic levels to prevent damage.
4. Operating Instructions
Time-of-Flight (ToF) Measurement Principle
The TOFSense-F2 sensor determines distance by measuring the time it takes for a light pulse to travel from the sensor to an object and back. This principle allows for accurate and reliable distance readings.

Communication Interfaces
The sensor supports multiple communication protocols, allowing flexibility for various integration needs:
- UART Interface: For serial communication, connect the sensor's UART_RX and UART_TX pins to the corresponding pins on your microcontroller. Refer to the manufacturer's documentation for specific baud rates and data formats.
- I2C Interface: For I2C communication, connect the sensor's IIC_SDA and IIC_SCL pins to your microcontroller's I2C bus. The default I2C address should be confirmed from the official documentation.
- I/O Interface: The I/O pins can be configured for specific functions as detailed in the sensor's technical datasheet.
5. Maintenance
Robustness and Environmental Considerations
The TOFSense-F2 is engineered with anti-interference capabilities, ensuring stable performance in environments with dust, fog, and bright ambient light (up to 100Klux). However, it is important to note that the sensor is not waterproof and should be protected from direct moisture exposure.

General Care
- Keep the sensor's optical lenses clean and free from obstructions to ensure accurate measurements.
- Avoid exposing the sensor to extreme temperatures or corrosive substances.
- Handle the sensor with care to prevent physical damage.
6. Troubleshooting Guide
No Data Output or Incorrect Readings
- Verify Connections: Ensure all electrical connections are secure and follow the correct pinout as described in Section 3.
- Check Power Supply: Confirm that the VCC power supply voltage is within the specified range (4.3V to 5.2V).
- Logic Level Compatibility: Ensure proper voltage level conversion if your microcontroller operates at a different logic level than the sensor's 3.3V logic.
- Communication Protocol: Double-check that the correct communication protocol (UART or I2C) is selected and configured properly in your software. For I2C, verify the sensor's address and check for NAK responses.
- Clear Optical Path: Ensure the sensor's optical path is clear and free from obstructions, excessive dust, or fog.
- Consult Documentation: Refer to the official MakerHawk TOFSense-F2 documentation for detailed protocol specifications and example code.
Interference Issues
- While the sensor has robust anti-interference capabilities, extreme ambient light or highly reflective surfaces can still affect performance. Try to shield the sensor or adjust its position relative to the light source or reflective objects.
- Ensure the target object is within the specified measurement range (0.02m to 7.8m).
7. Technical Specifications
The following table outlines the key technical specifications for the TOFSense-F2 Mini Lidar Sensor:

| Specification | Value |
|---|---|
| Measurement Range | 0.02m - 7.8m |
| Accuracy | ±4.0cm |
| Refresh Frequency | 50Hz |
| Power Consumption | 100mW |
| Field of View (FOV) | 2-3° |
| Anti-Glare | Up to 100Klux |
| Dimensions | 19mm x 12mm x 10.3mm |
| Weight (Module) | Approx. 1g (Item weight: 4.5g) |
| Communication Interfaces | UART, I2C, I/O |
| Operating Voltage | 5V (Range: 4.3V-5.2V) |
| Logic Voltage | 3.3V |
| Included Components | TOFSense-F2 Mini Lidar Sensor Ranging Module, Connection Cable |
8. Application Scenarios
The TOFSense-F2 Mini Lidar Sensor's compact size, precision, and versatile interfaces make it suitable for a wide range of applications:

- Drone Altitude Hold: Provides accurate height data for stable flight and landing.
- Stacking Detection: Used in industrial settings for precise object presence and height detection.
- Robot Obstacle Avoidance: Enables autonomous robots to detect and navigate around obstacles safely.
- Personnel Detection: For security systems, access control, or automation requiring human presence detection.
- Smart Traffic Systems: Potential use in vehicle detection, parking management, or traffic flow monitoring.
- Intelligent Gesture Control: For interactive systems requiring proximity sensing and gesture recognition.
9. Warranty and Support
Warranty Information
Specific warranty details for the MakerHawk TOFSense-F2 Mini Lidar Sensor are typically provided by the retailer or manufacturer at the time of purchase. Please retain your proof of purchase for any warranty claims. For the most current warranty information, refer to the official MakerHawk website or contact your vendor directly.
Technical Support
For technical assistance, detailed documentation, or further inquiries regarding the TOFSense-F2 Mini Lidar Sensor, please visit the official MakerHawk support channels or their website. Community forums related to Arduino, Raspberry Pi, Pixhawk, and Ardupilot may also offer valuable resources for integration and troubleshooting.





