-->

PIR Motion Sensor (AS312)

SKU:U004

Regular price $3.39
Standard Shipping Estimated Delivery Time: 7-20 days
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.

Product Features

  • Distance: 150cm
  • Delay time: 2s
  • Sensing range: < 100°
  • Quiescent current: < 60uA
  • Operating temperature: -20 - 80 °C
  • Program Platform: Arduino, UIFlow(Blockly, Python)
  • Two Lego installation holes

Kit includes

  • 1x PIR unit
  • 1x GROVE Cable

Application

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

Example

1. Arduino 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.

More information

Schematic

PinMap

M5Core(GROVE B) GPIO36 GPIO26 5V GND
PIR Unit Sensor Pin / 5V GND

 

Customer Reviews

Based on 15 reviews
100%
(15)
0%
(0)
0%
(0)
0%
(0)
0%
(0)
L
L.S.

PIR Sensor Human Body Infrared PIR Motion Sensor (AS312)

K
K.K.

PIR Sensor Human Body Infrared PIR Motion Sensor (AS312)

L
L.T.

PIR Sensor Human Body Infrared PIR Motion Sensor (AS312)

T
T.D.

PIR Sensor Human Body Infrared PIR Motion Sensor (AS312)

D
D.H.

Perfect service and fast shipping. Product description fits perfectly. I recommend this seller. Sully.

Click to edit the product in Ali Orders.
Note: only show for shop owner