Welcome to TinyF Laser Ranging Module repository
1. Introduction to TinyF laser ranging module
TinyF laser ranging module
TinyF laser ranging module1. Product Advantages2. Application Scenarios3. Product Parameters4. Appearance Design Drawing5. Communication interface5.1 Pin sequence5.2 Electrical characteristics6. Data Protocol6.1 Serial communication6.2 Data format7. Notes
The TinyF laser ranging module is based on a D-TOF single-point laser sensor, an onboard MCU, and an encapsulated housing. It features built-in sunlight rejection and anti-cover contamination algorithms, enabling accurate and rapid measurement of the target distance.
The module applies our self-developed precision optical collimation technology. Even in extremely bright ambient light of 100K Lux, it can accurately measure even the smallest objects. Its 5m measuring range is not affected by differences in target reflectivity.

1. Product Advantages
Small size, lightweight
Super strong light resistance
Dust-proof and splash-proof
Low power consumption
Low cost
2. Application Scenarios
Existence detection
Auxiliary focusing
Level detection
Robot obstacle avoidance / drone altitude holding
Assembly line counting
3. Product Parameters
| name | TinyF laser ranging module |
|---|---|
| model | DMP0501C1 |
Product performance
| name | value |
|---|---|
| Measurement range | 20mm-5000mm |
| Measurement error | ±(1%~3%) |
| Frame rate | 30Hz~90Hz, default 30Hz |
| Ambient light resistance | 0 ~ 100KLux |
| Operating temperature | -20 ~+70℃ |
| Operating humidity | 35 ~ 80%RH |
| RS485 supported | Yes (optional) |
Optical parameters
| name | value |
|---|---|
| Laser safety | LASER CLASS 1 (IEC 60825-1: 2014) |
| Wavelength | 940nm |
| Light source | VCSEL |
| Spot size | At 4m: about 21cm * 21cm |
Electrical parameters
| name | value |
|---|---|
| Supply voltage | DC 4V~5.6V |
| Communication level | LVTTL (3.3V) |
| Average current | 25mA |
| Power consumption | 100mW~140mW |
| Peak current | 26mA |
Others
| name | value |
|---|---|
| Dimensions | Length 35.50 * Width 16.20 * Height 13.50mm |
| Housing material | PC |
| Storage temperature | -40 ~+80℃ |
| Weight | About 3.6g |
| Cable length | Without cable |
Communication interface
| name | value |
|---|---|
| Interface | UART |
| Baud rate | 115200 |
| Data bits | 8 |
| Stop bits | 1 |
| Parity | NONE |
4. Appearance Design Drawing

5. Communication interface
5.1 Pin sequence
| Line Sequence | Function | Description |
|---|---|---|
| 1 | VCC 5V | Power positive |
| 2 | RXD | Receive data |
| 3 | TXD | Transmit data |
| 4 | GND | Power ground |
| 5 | NA | User need not use |
| 6 | NA | User need not use |
Note: Pin 5 and Pin 6 are not required to be used by users.

5.2 Electrical characteristics
| name | value |
|---|---|
| Input voltage | 4V~5.6V |
| Average current | 25mA |
| Peak current | 26mA |
| Power consumption | 100mW~140mW |
| Communication level | LVTTL (3.3V) |
Note: This product has no over-voltage protection or polarity protection. Please make sure the wiring is correct and the input voltage is within the specified range.
6. Data Protocol
This product outputs distance data via UART in ASCII format. To ensure data reliability and parsing consistency, an ASCII format description is provided.
6.1 Serial communication
The product uses serial communication for data output. Pin 2 is the serial receive pin RXD and pin 3 is the serial transmit pin TXD. The serial communication hardware protocol is: 8 data bits, 1 stop bit, no parity check, baud rate 115200bps.
6.2 Data format
Related parameter description
| name | value |
|---|---|
| Baud rate | 115200 |
| Effective minimum distance (theoretical value) | 20,unit:mm |
| Effective maximum distance (theoretical value) | 5000,unit:mm |
| Confidence | 0~100,The larger the value, the higher the distance reliability. |
Data format
Data frame structure: 
Example: 
| Field | Number of bytes | Example(Hex) | ASCII characters |
|---|---|---|---|
| Frame header (fixed value) | 1 | 20 | space |
| Distance value(distance) | 1~5 | 33 32 37 | 327 |
| Separator (fixed value) | 2 | 2C 20 | , space |
| Confidence(confidence) | 1~3 | 31 30 30 | 100 |
| Frame tail (fixed value) | 1 | 0A | \n |
In this instance, the measured distance output is 327 (in mm), with a confidence level of 100. The frame header, separator, and frame tail are all fixed values.
7. Notes
The product is calibrated at the factory. The factory default frame rate is 30Hz; a firmware update is required to adjust to a frame rate above 30Hz.
Please wire strictly according to the pin sequence described in this manual, confirm the wiring is correct before powering on, and make sure the supply voltage is within the range specified in this manual.
Do not use the product in an environment exceeding the temperature and humidity range specified in this manual.
Before each use, make sure the product has no mechanical damage and no dirt or contamination covering it.
Due to continuous product updates and improvements, the TinyF module specifications may change. Please refer to the latest version for accuracy.