Stufin
Home Quick Cart Profile

TFMiNi micro LiDAR Sensor Module

Buy Now on Stufin

Laser Wavelength

905 nm

Field of View

30 x 30

Range

Up to 10 m

Accuracy

2 cm

Resolution

Up to 30,000 points per second

Power Consumption

2.5 W

Operating Temperature

-20C to 60C

Storage Temperature

-40C to 85C

Humidity

5% to 95% RH (non-condensing)

Applications

The TFMiNi Micro LiDAR Sensor Module is ideal for various applications, including

Robotics and autonomous systems

Drones and UAVs

Autonomous vehicles and ADAS

Industrial automation and monitoring

IoT devices and smart sensors

Augmented and virtual reality systems

Pin Configuration

  • TFMiNi Micro LiDAR Sensor Module Pinout Guide
  • The TFMiNi micro LiDAR sensor module is a compact and lightweight module designed for distance measurement and 3D scanning applications. The module has a total of 12 pins, which are explained below:
  • Pinout Structure:
  • The TFMiNi micro LiDAR sensor module has a 1x12 pin header with the following pinout structure:
  • | Pin Number | Pin Name | Description |
  • | --- | --- | --- |
  • | 1 | VCC | Power supply pin (3.3V) |
  • | 2 | GND | Ground pin |
  • | 3 | SCL | I2C clock pin |
  • | 4 | SDA | I2C data pin |
  • | 5 | INT | Interrupt pin (optional) |
  • | 6 | RST | Reset pin |
  • | 7 | NC | Not connected ( reserved for future use) |
  • | 8 | TX | UART transmit pin |
  • | 9 | RX | UART receive pin |
  • | 10 | EN | Enable pin (active high) |
  • | 11 | PW | Pulse width modulation (PWM) output pin |
  • | 12 | 5V | 5V power supply pin (not recommended for use) |
  • Pin Descriptions:
  • 1. VCC (Pin 1):
  • Power supply pin for the module (3.3V).
  • Connect to a 3.3V power source.
  • 2. GND (Pin 2):
  • Ground pin for the module.
  • Connect to a ground reference point.
  • 3. SCL (Pin 3):
  • I2C clock pin.
  • Connect to the SCL pin of a microcontroller or I2C master device.
  • 4. SDA (Pin 4):
  • I2C data pin.
  • Connect to the SDA pin of a microcontroller or I2C master device.
  • 5. INT (Pin 5):
  • Interrupt pin (optional).
  • Connect to an interrupt pin on a microcontroller if desired.
  • Leave unconnected if not used.
  • 6. RST (Pin 6):
  • Reset pin.
  • Connect to a reset pin on a microcontroller or a pull-up resistor to VCC.
  • 7. NC (Pin 7):
  • Not connected (reserved for future use).
  • Leave unconnected.
  • 8. TX (Pin 8):
  • UART transmit pin.
  • Connect to the RX pin of a microcontroller or serial communication device.
  • 9. RX (Pin 9):
  • UART receive pin.
  • Connect to the TX pin of a microcontroller or serial communication device.
  • 10. EN (Pin 10):
  • Enable pin (active high).
  • Connect to a digital output pin on a microcontroller.
  • Set high to enable the module, set low to disable.
  • 11. PW (Pin 11):
  • Pulse width modulation (PWM) output pin.
  • Connect to a PWM-capable pin on a microcontroller or a servo motor.
  • 12. 5V (Pin 12):
  • 5V power supply pin (not recommended for use).
  • Do not connect to a 5V power source. Use the 3.3V VCC pin instead.
  • Connection Guidelines:
  • 1. Use a logic-level shifter if the microcontroller operates at a voltage other than 3.3V.
  • 2. Use a level converter or a voltage regulator if the power supply voltage is not 3.3V.
  • 3. Ensure proper ESD protection and decoupling capacitors are used when connecting the module to a microcontroller or other devices.
  • 4. Follow the I2C and UART communication protocols when communicating with the module.
  • By following this pinout guide and connection guidelines, you can successfully integrate the TFMiNi micro LiDAR sensor module into your IoT project.

Code Examples

TFMiNi Micro LiDAR Sensor Module Documentation
Overview
The TFMiNi micro LiDAR sensor module is a compact, low-power, and high-precision LiDAR (Light Detection and Ranging) sensor designed for various IoT applications, including robotics, drone navigation, surveying, and environmental monitoring. This module provides accurate distance measurements and 3D point cloud data, making it an ideal choice for obstacle detection, mapping, and gesture recognition.
Technical Specifications
Operating Frequency: 1550 nm
 Range: Up to 10 meters (33 feet)
 Resolution: 1 cm (0.4 inches)
 Accuracy: 2 cm (0.8 inches)
 Sampling Rate: Up to 100 Hz
 Power Consumption: 180 mA (typical)
 Interface: UART, I2C, SPI
Code Examples
### Example 1: Basic Distance Measurement using UART (Arduino)
In this example, we will show how to connect the TFMiNi micro LiDAR sensor module to an Arduino board and read distance measurements using the UART interface.
Hardware Requirements
Arduino Board (e.g., Arduino Uno)
 TFMiNi micro LiDAR sensor module
 Breadboard and jumper wires
Software Requirements
Arduino IDE (version 1.8.x or later)
Code
```c++
#include <SoftwareSerial.h>
#define TFMiNi_RX 2 // UART RX pin
#define TFMiNi_TX 3 // UART TX pin
SoftwareSerial TFMiNiSerial(TFMiNi_RX, TFMiNi_TX);
void setup() {
  Serial.begin(115200);
  TFMiNiSerial.begin(115200);
}
void loop() {
  TFMiNiSerial.write(0x01); // Send command to read distance data
  TFMiNiSerial.write(0x00);
  delay(10);
  int distance = TFMiNiSerial.read();
  Serial.print("Distance: ");
  Serial.print(distance);
  Serial.println(" cm");
  delay(50);
}
```
### Example 2: 3D Point Cloud Data using I2C (Raspberry Pi)
In this example, we will demonstrate how to connect the TFMiNi micro LiDAR sensor module to a Raspberry Pi and read 3D point cloud data using the I2C interface.
Hardware Requirements
Raspberry Pi (e.g., Raspberry Pi 4)
 TFMiNi micro LiDAR sensor module
 Breadboard and jumper wires
Software Requirements
Raspberry Pi OS (version 2020-02-05 or later)
 Python 3.x
Code
```python
import smbus
import time
I2C_ADDRESS = 0x10
bus = smbus.SMBus(1)  # Use I2C bus 1
def read_point_cloud():
  data = bus.read_i2c_block_data(I2C_ADDRESS, 0x00, 100)  # Read 100 bytes of point cloud data
  points = []
  for i in range(0, len(data), 3):
    x = data[i] << 8 | data[i + 1]
    y = data[i + 2] << 8 | data[i + 3]
    z = data[i + 4] << 8 | data[i + 5]
    points.append((x, y, z))
  return points
while True:
  points = read_point_cloud()
  print("Point Cloud Data:")
  for point in points:
    print(f"({point[0]}, {point[1]}, {point[2]})")
  time.sleep(0.5)
```
Note: In this example, we assume the TFMiNi micro LiDAR sensor module is configured to output point cloud data in the following format: `x (2 bytes), y (2 bytes), z (2 bytes)`. The code above reads 100 bytes of data and unpacks it into a list of 3D points.