SKU_BOS0013_Motion_Sensor_i13-DFRobot

Introduction

All objects in the universe emit some level of IR radiation, which release as heat. This motion sensor is designed to detect changes in infrared radiation thereby detecting the presence of a moving human or animal, and then output digital signal. It can be widely used with controllers like Arduino, micro:bit to complete human presence detection.

Specification

Pinout

Pinout

Label Name Description
1 GND Negative
2 VCC Positive
3 SIGNAL Digital line

Usage Description

When people enter the detecting zone of the motion sensor, it outputs a switch signal (High Level). The motion sensor can sense the moving objects within 7m in 100° sensing angle. Please kindly note that there would be 2.3 to 3s delay.

Principle

Generally, human beings maintain a constant temperature of 37℃ so they emit infrared rays of specified 10UM wavelength. The built-in IR probe of the motion sensor is able to detect the IR radiation emitted by the human body. The IR radiation will be focused on the pyroelectric part after being collected by a Fresnel lens. Next, the charge balance of the pyroelectric element will be broke when it feels the change of the temperature of the infrared radiation, and then it will release charge to produce electrical signal.

Application

1. Smart Fan

Description: When human movement detected, the fan turns on. Otherwise, the fan stops.

Components:

bos0013 BOS0021 BOS0035
BOS0013 Motion sensor BOS0021 Fan Module BOS0035 Mainboard-IO
BOS0040 MBT0039
BOS0040 micro:bit BOSON expansion board MBT0039 micro:bit

Non-programming

Connection Diagram:

Connection 1

Programming

Connection Diagram:

Connection 2

Flowchart

Flowchart 1

Mind+ Sample Program:

MakeCode Sample Program:

Video Demo

Non-programming Programming
Video 1 Video 2

2. A Gift for Teacher's Day

Description:

Record a greetings for your teacher. When he walks into the classroom and the motion sensor detects the movement, the LED lights up, and the speaker starts playing the recordings.

Components:

BOS0013 BOS0017 BOS0022
BOS0013 Motion Sensor BOS0017 LED Module BOS0022 Voice Recorder Module
BOS0030 BOS0035 MBT0039
BOS0030 Splitter Module BOS0035 Mainboard-3IO MBT0039 micro:bit
BOS0040
BOS0040 micro:bit BOSON expansion Board

Tip: micro:bit and micro:bit BOSON expansion board will be used in programming projects.

Non-programming

Connection Diagram:

BOS0013

Programming

Connection Diagram:

Connection

Flowchart:

Flowcart 2

Mind+ Sample Program

MakeCode Sample Program

Video Demo

Non-programming Programming
Video 1 Video 2

3. Intelligent Streetlight (Programming)

Description:

At night, when people passing by the streetlight, the sound sensor detects the sound and motion, the LED lights up for 10s.

Components:

BOS0013 BOS0004 BOS0017
BOS0013 Motion Sensor BOS0004 Ambient Light Sensor BOS0017 LED Module
BOS0040 mbt0039
BOS0040 micro:bit MBT0039 micro:bit

Connection Diagram:

Connection 3

Tip: Thresholds for the ambient light sensor and sound sensor should be adjusted according to actual environment.

Flowchart

Flowchart

Mind+ Sample Program

MakeCode Sample Program

Video Demo

Programming
Video 4

FAQ

For any questions, advice or cool ideas to share, please visit the DFRobot Forum

Turn to the Boson Kit Page