yahboom
HomeLearn
Solution
Blog
Online Store
About Us
EN/中文
TinyF Laser Ranging Module📖
1. Introduction to TinyF laser ranging module
  • 1. Introduction to TinyF laser ranging module
2. Get distance information_PC
  • 2. Get distance information_PC
3. Get distance information_MasterControl
  • arduino
  • esp32
  • Jetson
  • microbit
  • mspm0g3507
  • mspm0g3519new
  • raspberry
  • RDK
  • stm32
Download
  • Code
  • 3D_Model_File
  • UART-Software
  • Data_Sheet
Download ZIP

Welcome to TinyF Laser Ranging Module repository

microbit

TinyF and microbit serial communication

TinyF and microbit serial communication0. Introduction to TinyF1. Experimental Preparation2. Experimental wiring3. Main code explanation4. Experimental Phenomena5.Some important parameters of TinyF

0. Introduction to TinyF

  • The TinyF laser ranging module is based on a D-TOF single-point laser sensor, an onboard MCU, and a housing. It features built-in sunlight rejection and anti-cover contamination algorithms, enabling accurate and rapid distance measurement. Even in extremely bright ambient light (100-190K Lux), it can accurately measure even the smallest objects, unaffected by variations in reflectivity, achieving precise ranging of 2m to 4m.

1. Experimental Preparation

  • TinyF laser ranging module
  • This tutorial uses a micro:bit
  • Superbit 2.0 multi-function expansion board + 18650 battery(optional)

2. Experimental wiring

microbitTinyF
P1TX
GNDGND
5V5V

Wiring diagram

3. Main code explanation

image-20250811153643657

4. Experimental Phenomena

  1. Upload the hex program provided by the example to the microbit

image-20250808161554973

  1. Connect the wires according to the wiring diagram, plug in the battery, and turn on the switch.
  2. Set the serial port assistant to the interface shown in the figure

  1. After power on, the serial port assistant will print the following information

image-20250808161636788

5.Some important parameters of TinyF

Related parameter description

namevalue
Baud rate115200
Effective minimum distance (theoretical value)20,unit:mm
Effective maximum distance (theoretical value)4000,unit:mm
Confidence0~62,The larger the value, the higher the distance reliability.

Data format

Data frame structure: image-20250806182406790

Example: image-20250806182514571

FieldNumber of bytesExample(Hex)ASCII characters
Frame header (fixed value)120space
Distance value(distance)1~533 32 37327
Delimiter (fixed value)22C 20,space
Confidence(confidence)1~236 3161
Frame tail (fixed value)10A\n
Jetson
mspm0g3507

COMPANY

  • About us
  • Team Style
  • Blog

LEARNING & EXPLORATION

  • Tutorials
  • Edge AI hardware
  • Educational robots
  • Embedded intelligent hardware

WHERE TO BUY

  • Yahboom Online Store
  • Amazon
  • Alibaba
  • AliExpress
  • Mercado

TECHNOLOGY SUPPORT

  • Email: support@yahboom.com

BE A DISTRIBUTOR

  • Email: sales@yahboom.com
QR Code

Copyright © 2017-2026 Yahboom. All Rights Reserved.

EN/中文