This project refers to an Arduino sketch that implements a motion detector for driving and controlling other devices using a passive infrared sensor (PIR) and an electromechanical switch (relay). The program examines whether there is movement (the detection range of the detector is about 6 meters) in space (via the sensor PIR) to activate the device via the relay.

Possible applications:

  • Use for automatic switching on / off of a lamp
  • Use for automatic opening / closing of a door
  • Use for alarm triggered by motion

Below is a picture of the project:

For more information you can get the project itself: