1. Úvod
This manual provides detailed instructions for the proper setup, operation, and maintenance of the MakerFocus TFmini-s Micro LiDAR Module. The TFmini-s is a compact, single-point ranging module designed for various applications requiring precise distance measurement and obstacle avoidance.
The TFmini-s is an upgraded version of the TFmini, featuring a reduced dead zone of 10 cm and improved outdoor performance and accuracy across different reflectances. It is compatible with popular development platforms such as Pixhawk, Arduino, and Raspberry Pi.
2. Konec produktuview
The TFmini-s operates on the Time of Flight (ToF) principle, integrating unique optical and electrical designs to achieve stable, precise, high-sensitivity, and high-speed distance detection.

Figure 2.1: MakerFocus TFmini-s Micro LiDAR Module with included connection cables.
Klíčové vlastnosti:
- Vylepšený výkon: Reduced dead zone to 10 cm, enhanced outdoor performance, and improved accuracy.
- Kompaktní design: Low-cost, small-size, and low power consumption.
- Vysoká přesnost: Distance resolution of 1 cm, frame rate of 100 Hz.
- Robustní provoz: Ambient light immunity up to 70 Klux.
- Všestranná kompatibilita: Supports UART and I2C communication interfaces, compatible with Pixhawk, Arduino, and Raspberry Pi.

Figure 2.2: Comparison of key specifications between TFmini and TFmini-S modules, highlighting the improvements in the TFmini-S such as reduced blind zone and I2C communication support.
3. Technické specifikace
| Parametr | Specifikace |
|---|---|
| Rozsah měření | 0.1m - 12m (at 90% reflectivity) |
| Slepá zóna | 10 cm |
| Přesnost | ±6cm (0.1-6m), ±1% (6m-12m) |
| Rozlišení vzdálenosti | 1 cm |
| Snímková frekvence | 100 Hz |
| Imunita vůči okolnímu světlu | 70 Klux |
| Centrální vlnová délka | 850 nm |
| Světelný zdroj | VCSEL |
| Fotobiologická bezpečnost | Třída 1 (IEC60825) |
| Komunikační rozhraní | UART (default), I2C (switchable) |
| Rozměry produktu | 1.18 x 1.18 x 1.18 palce (přibližně 30 x 30 x 30 mm) |
| Hmotnost | 0.2 unce (cca 5.6 gramů) |

Figure 3.1: Summary of TFmini-s technical specifications.

Figure 3.2: TFmini-s module dimensions.
4. Nastavení a instalace
4.1 Popis pinoutu
The TFmini-s module features a 4-pin connector for power and communication. Refer to the table and diagram below for pin assignments.

Figure 4.1: TFmini-s Pinout Diagram.
| ŽÁDNÝ. | Barva | Funkce | Komentář |
|---|---|---|---|
| 1 | Černý | GND | Země |
| 2 | Červený | +5V | Napájení |
| 3 | Bílý | RXD/SDA | Receiving Data (UART) / Serial Data Line (I2C) |
| 4 | Zelený | TXD/SCL | Transmitting Data (UART) / Serial Clock Line (I2C) |
4.2 Connecting to Microcontrollers (Arduino/Raspberry Pi)
The TFmini-s module can be easily integrated with various microcontrollers. The default communication interface is UART. If I2C is required, the module needs to be switched to I2C mode (refer to the official documentation for specific commands or software tools).

Obrázek 4.2: Přample connections of TFmini-s to an Arduino board and another development board.
For UART communication, connect the TFmini-s pins to the corresponding UART pins on your microcontroller:
- TFmini-s GND to Microcontroller GND
- TFmini-s +5V to Microcontroller 5V (or compatible power supply)
- TFmini-s RXD to Microcontroller TXD
- TFmini-s TXD to Microcontroller RXD
For I2C communication (after switching the module to I2C mode):
- TFmini-s GND to Microcontroller GND
- TFmini-s +5V to Microcontroller 5V (or compatible power supply)
- TFmini-s SDA to Microcontroller SDA
- TFmini-s SCL to Microcontroller SCL
Zajistěte správný objemtage levels are maintained. The TFmini-s typically operates at 5V.
5. Provoz
5.1 Principle of Operation (Time of Flight)
The TFmini-s uses the Time of Flight (ToF) principle to measure distance. It emits a modulated light signal and calculates the distance to an object by measuring the time it takes for the light to travel to the object and return to the sensor.

Figure 5.1: Time of Flight (ToF) principle.
5.2 Sběr dat
Once connected, the TFmini-s continuously outputs distance data at a 100 Hz frame rate. This data can be read via the chosen communication interface (UART or I2C) using appropriate libraries or custom code on your microcontroller.
For advanced monitoring and configuration, dedicated software tools may be available from the manufacturer. These tools typically allow for real-time data visualization and parameter adjustments.

Obrázek 5.2: Přample of a software interface for monitoring TFmini-s data.
5.3 Multi-Object Detection
The TFmini-s is capable of detecting distances to multiple objects within its field of view, providing the distance to the closest object. For scenarios with objects at different distances, the sensor will report the distance to the nearest reflective surface.

Figure 5.3: Distance measurement with multiple objects.
The minimum side length of effective detection varies with the detecting range:
| Detekční rozsah | Minimum Side Length |
|---|---|
| 1m | 3.5 cm |
| 2m | 7 cm |
| 3m | 10.5 cm |
| 4m | 14 cm |
| 5m | 17.5 cm |
| 6m | 21 cm |
| 7m | 24.5 cm |
| 8m | 28 cm |
| 9m | 31.5 cm |
| 10 m | 35 cm |
| 11 m | 38.5 cm |
| 12 m | 42 cm |
6. Aplikace
The TFmini-s module is suitable for a wide range of applications due to its compact size, accuracy, and speed:
- Detekce chodců: For robotics, smart homes, or security systems.
- Detekce vozidla: In smart parking systems or traffic monitoring.
- Intelligent Barrier Gates: For automated access control.
- Výškoměr: For drones and other aerial vehicles.
- Robotika: Obstacle avoidance and navigation for autonomous robots.
- Průmyslová automatizace: Level sensing, object positioning.



Obrázek 6.1: Přamples of TFmini-s applications in drones, barrier gates, and with a display unit.
7. Řešení problémů
7.1 Běžné problémy a řešení
- Žádný datový výstup:
- Verify power supply connections (+5V and GND).
- Check communication wiring (RXD/TXD or SDA/SCL). Ensure correct cross-connection for UART (TFmini-s TXD to microcontroller RXD, TFmini-s RXD to microcontroller TXD).
- Confirm the correct communication protocol (UART or I2C) is selected and configured on both the TFmini-s and the microcontroller. The TFmini-s defaults to UART.
- Ensure the baud rate for UART communication matches (typically 115200 bps).
- Nepřesná čtení:
- Ensure the target object is within the specified measuring range (0.1m to 12m).
- Check for obstructions in the sensor's field of view.
- Avoid highly reflective or highly absorptive surfaces if possible, as they can affect accuracy.
- Minimize strong ambient light sources directly hitting the sensor, although the TFmini-s has good immunity up to 70 Klux.
- Ensure the sensor is mounted stably and not vibrating.
- Module Getting Hot:
- Ověřte vstupní objemtage is within the specified range (typically 5V). Overvoltagmůže způsobit přehřátí.
- Ensure adequate ventilation around the module, especially during continuous operation.
8. Bezpečnostní informace
- The TFmini-s uses a Class 1 laser product (IEC60825). While generally safe under normal operating conditions, avoid direct exposure of the eye to the laser beam.
- Do not disassemble the module. Disassembly may expose you to laser radiation or damage the device.
- Provozujte modul v rámci jeho specifikovaného objemutage and temperature ranges to prevent damage.
- Keep the optical lenses clean for optimal performance.
9. Údržba
- Čištění: Gently clean the optical lenses with a soft, lint-free cloth. Avoid abrasive materials or harsh chemicals.
- Skladování: Store the module in a dry, dust-free environment at room temperature when not in use.
- Aktualizace firmwaru: Zkontrolujte oficiální informace výrobce webna webu, kde najdete dostupné aktualizace firmwaru, které mohou zlepšit výkon nebo přidat další funkce.
10. Záruka a podpora
For warranty information and technical support, please refer to the official MakerFocus website or contact your retailer. Additional documentation, software examples, and community forums may also be available online to assist with integration and development.
The product description mentions: "User Manual and Document: Please get the link from Product guides and documents below." This indicates that further resources are available through the product's official channels.