Human Body Sensing PIR Motion Sensor Module 2S Delay GPIO Interface

Human Body Sensing PIR Motion Sensor Module 2S Delay GPIO Interface

  • R 272.37
    Unit price per 
  • Save R 272.37
Tax included.

SKU:

Description:

PIR is used to measure infrared (IR) light radiating from objects in its field of view. PIR sensors are commonly called simply "PIR", or sometimes "PID", for "passive infrared detector". The term passive refers to the fact that PIR devices do not radiate energy for detection purposes. They work entirely by detecting infrared radiation emitted by or reflected from objects.

This Unit communicates with the M5Core via the GROVE B.

Notice: This Unit has 2s delay time.

Feature:

  • Detects the distance: 150cm
  • Delay time: 2s
  • Sensing ran ge: < 100°
  • Quiescent current: < 60uA
  • Operating temperature: -20 - 80 °C
  • GROVE interface, support UIFlow and 
  • Two Le go installation holes
  • Product Size: 32.2mm x 24.2mm x 20mm
  • Product weight: 4.9g

Package Included:

  • 1x PIR unit
  • 1x GROVE Cable

Application:

  • Human body Induction Lamp
  • Security Product
  • Automatic Induction Appliance Settings

EasyLoader

1.EasyLoader is a simple and fast program burner, and each product page has a product-related case program for EasyLoader.

2.After downloading the software, double-click to run the application, connect the M5 device to the computer via the data cable, select the port parameters, and click "Burn" to start burning.

      3.The CP210X (USB driver) needs to be installed before the EasyLoader is burned. Click here to view the driver installation tutorial

Example:

1. for IDE

The code below is incomplete. To get complete code, please click here.

  #include <M5Stack.h>    // initialization  M5.begin();  pinMode(36, INPUT);// set pir sensor pin as input    // read data  int value = digitalRead(36);// read the pin(0: not detectd 1: detected)  M5.update();


2. UIFlow

To get complete code, please click here.


Schematic:



PinMap: