Human Infrared Sensor
Introduction

Features
Human Infrared Sensor: This sensor can sensitively detect the movement status of surrounding objects and immediately output signals upon detecting dynamic changes. In security monitoring, it automatically captures intruders; in smart lighting, it enables lights to turn on when people are present and off when they leave, enhancing spatial intelligence and energy efficiency.
Specifications
| Item | Parameter |
|---|---|
| Name | Human Infrared Sensor |
| SKU | EF16010 |
| Connection Type | Digital Output |
| Operating Voltage | 4.15V |
| Dimensions | 38.00mm×28.20mm (L×W) |
Appearance and Dimensions

Product Links
None
Quick Start
Hardware Connection

Usage Tutorial
Programming Software
MakeCode Programming
Step 1: How to Add Jacdac Extension
- Go to Microsoft MakeCode and click "New Project".

- Enter the project name in the pop-up window and click "Create".

- Click "Extensions" in the code drawer.

- Enter "Jacdac" in the pop-up interface, click the search icon, and select the Jacdac library as shown.

Step 2:
- Connect the micro:bit to the computer with a data cable. Note: If the micro:bit runs a Jacdac program for the first time, please pre-install a blank Jacdac program on the micro:bit first; otherwise, skip this step.

- Connect the sensor. MakeCode will automatically recognize it and simulate its status in real time in the simulation area.

- Click "ADD BLOCKS" for the sensor extension module. Note: When connecting a new sensor, repeat the operation of clicking "ADD BLOCKS" for the sensor extension module.

Program Code Example

Reference Program Link
https://makecode.microbit.org/_3TuVXqXMyUzs
You can also download it via the link.
## ResultWhen the human infrared sensor detects human movement, the micro:bit displays "√"; otherwise, it displays "×".
