yahboom
HomeLearn
Solution
Blog
Online Store
About Us
EN/中文
Laser Ranging Module📖
1.Introduction of module
  • Introduction
2.Tutorials
Arduino
  • 1.Three ranging modes
  • 2. Digital tube display distance
Raspberry Pi
  • 1.Laser ranging
  • 2. OLED display distance
STM32
  • Laser ranging
Download ZIP

Welcome to Laser Ranging Module repository

Laser ranging


1. Learning objectives

In this course, we mainly learn to use STM32F103RCT6 and laser ranging module for ranging.

2. Prepare before class

The gesture recognition module adopts I2C communication, and connects the SDA and SCL of the module to the PB7 and PB6 pins of the STM32F103RCT6 board.

image.png 

3. Programming

Initialize the module

image.png 

Microcontroller initialization

image.png 

4. Experimental phenomenon

After the program is downloaded, the module is successfully initialized and the module name, ID and other information are printed, please check your own wiring when it fails. The detected distance is then printed in millimeters. The measuring range is 300mm-2000mm.


OLED display distance

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/中文