Motion Sensors

PIR Sensor

PIR, "Passive Infrared", "Pyroelectric", or "IR motion" sensors detect a change in temperature, possibly from a mammel.   They are made of a pyroelectric sensor that detects infrared radiation.  

Adafruit Learn PIR Sensor

 

SparkFun OpenPIR

The SparkFun OpenPIR s a highly customizable Passive Infrared (PIR) sensor.   It has trimpots to adjust sensitivity (view distance) and to control the length of time the output signal remains HIGH, and a trigger that supports single-pulse and dual-pulse dection modes.   Sparkfun Hookup Guide.  

The digital output goes HIGH when motion is detected.   An analog output provides more details about the motion detected.   The digital output magnitude varies in proportion to the power input VCC (3.3V or 5.0 VDC).  

When the sensor is first powered, the green LED will blink at 2 Hz indicating initialization (start-up sequencing).   Initialization takes 90 seconds.   During initialization, no digital output will occur in response to motion.   When initialization is complete the green LED will turn off, and thereafter only turn on when motion is sensed.  

My personal experience with this sensor is it provides more reliable mammal motion detection than the commonly used sensor sold by Adafruit PN 189, Parallax SKU 555-28027, and others.  

 

IMPORTANT! You need to treat the digital output of the PIR sensor the same as you would for a pushbutton switch and implement a debounce timer.  

 


Do you need help developing or customizing a IoT product for your needs?   Send me an email requesting a free one hour phone / web share consultation.  

 

The information presented on this website is for the author's use only.   Use of this information by anyone other than the author is offered as guidelines and non-professional advice only.   No liability is assumed by the author or this web site.  

Sensors

Sensor Calibration

Sensitivity, Resolution, Response Time, etc.

50000 PPM (5%) CO2 Sensors

MQ Gas Sensors

MQ Gas Sensors

MQ-6 LPG Gas Sensor

MQ-6 LPG Gas Sensor

MQ-7 carbon monoxide CO Gas Sensor

MQ-7 Carbon Monoxide Gas Sensor

Sensor to microcontroller / data acquisition device cables

Accelerometers

IMU / Gyroscope

Magnetometer

Audio

Thermocouple

AF Sensirion SHT40 Temperature & Humidity Sensor

Motion Sensors

object detection sensors

Object Detection Sensors

Strain Gauge

Color

Pressure

Liquid Flow Meter

Operational Amplifiers

Components

Tools

Basic Components

Suppliers

VAC

XBee I/O Line Passing

xBee wireless communication modules with Arduino

xBee wireless communication modules + Arduino

I2C bus / SPI / 1-Wire

UART TTL Serial RS-232

LoRa Communications

Triac

Light Emitting Diode (LED)

NeoPixels

4-20 mA Current Loops

Human Health & Electrical Power

HMI

imgAlt

Mobile Apps

Hall Effect Sensor

NTC Thermistor

Amplify an Analog Signal

Offset a input signal

Electric Motors

Laptop 12V Power Supply

MCP2515 CAN Bus Module

TJA1050 CAN Bus Module

1.2" 4-Digit 7-Segment LED Display

Batteries

2022 Character Display Comparison

Logic Level Converter

Circuit Protection

Diodes

PMOS / P-Channel MOSFET

Logic Level NMOS / N-Channel MOSFET

Voltage Measurement

Analog to Digital Conversion (ADC)

Variable output VDC

Turn On/Off Noisy DC Device

ADC Analog Input