A PIR sensor is a type of sensor that detects infrared radiation. When this technology is used as part of a security system, it will split a room up into a grid of small squares; when IR radiation moves from one small square to another, an alarm will sound to alert you to an intruder.