AI Lab for the Internet of Things

From sensors to intelligent self-deciding systems: lessons, projects, architectures, interactive simulation labs and a specialist AIoT assistant.

20Lesson

PIR motion sensor

A sensor that detects the change in infrared radiation caused by the motion of a body such as a person.

BeginnerMotion and vibration

Illustration of PIR motion sensor
A schematic illustration created for this section for teaching purposes; it is not a photograph of the part or of any specific product.

Educational content in scientific-draft form; a specialist should review it before it is adopted as an academic reference. No measurement or performance result that was not actually obtained is shown here.

Facts

Measured quantityPresence of the motion of a warm body
Data typeDigital (on/off)
Units of measurement—
Examples of common partsHC-SR501 (example)

How it works

It measures a change in infrared radiation between two bands, and gives a digital pulse on motion.

How to connect

A digital output read on an input pin, often with sensitivity and delay-time adjustment.

AIoT applications

  • Automatic lighting
  • A presence alarm

Measurement and calibration issues

  • Does not detect a stationary body
  • Affected by sudden temperature change

Simulations and labs run inside your browser. Nothing you enter and none of the conversations is stored on the server. Privacy policy