Motion-activated hallway light
I want to build a motion-activated light on an Arduino Uno with an HC-SR501 PIR sensor and a single-channel relay that turns a lamp on for one minute.
Parts
Arduino Uno R3 CH340G ATmega328P Board In stock
HC-SR501 PIR Motion Sensor Module In stock
5V Single Channel Relay Module In stock
Dupont Jumper Wire Kit (M-M, M-F, F-F, 20cm, 22AWG, ) In stock
USB Type A to B Cable (1m) In stock
Pins, wiring and code
The pin table, the wiring steps and the code for this build are in Soldr. Start this build on Soldr - you can change it before you buy.