yahboom
HomeLearn
Solution
Blog
Online Store
About Us
EN/中文
Human Body Infrared Module📖
1.Introduction of module
  • Introduction
2.Tutorial
Arduino
  • body induction lamp
Micro:bit
  • Welcome device
STM32
  • Control LED_GPIO input/output
Download ZIP

Welcome to Human Body Infrared Module repository

Welcome device


Welcome device

1. Purpose

In this lesson, we will learn how to use micro:bit to drive the speech synthesis module and human body infrared module to realize the English broadcast function.

2. Programming method

Mode 1 online programming:

First, we need to connect the micro:bit to the computer by USB cable. The computer will pop up a USB flash drive and click on the URL in the USB flash drive: http://microbit.org/ to enter the programming interface. Add the Yahboom package: https://github.com/YahboomTechnology/Speech to start programming.

Mode 2 offline programming:

We need to open the offline programming software. After the installation is complete, enter the programming interface, click[New Project]. Add Yahboom package: https://github.com/YahboomTechnology/Speech, you can start programming.

3. About wiring

image.png

image.png

Note: As shown in the figure below, we use the micro:bit alligator clip expansion board.

image.png 

4. Combine building blocks

We need to use the following programming building blocks.

image.png 

image.png

image.png

image.png

image.png 

We judge whether the human body is detected by reading the analog value of P1 pin. When the analog value of the P1 pin is greater than 500, it is determined that a human body has been detected.

The summary program is shown below.

image.png

5. Experimental phenomenon

After the program is downloaded successfully, the dot matrix shows a face expression.

When a person approaches the human body infrared module, speech synthesis module will play “Hello welcome to Yahboom”.


body induction lamp
Control LED_GPIO input/output

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