ProtoPulse
Beginner
Delivered by ProtoPulse

Motion-Activated LED Lighting Automation

Lights that turn on when someone walks in and off after a timer, using a PIR sensor and a relay or MOSFET.

About this project

A PIR sensor detects movement and the controller turns on lighting for a set time. A light sensor can be added so it only switches on in the dark. Simple, useful and easy to demonstrate.

What it does

  • PIR motion detection
  • Adjustable timer
  • Optional darkness sensing with an LDR
  • Relay or MOSFET output

Components needed

  • Arduino Nano (CH340)
  • 5V Relay Module (1 channel)
  • IRLZ44N Logic-Level MOSFET

You can find these parts in our components shop. To learn the skills behind this project, see the ProtoPulse Academy or read our guide on how to write a good electronics project.