Automatic Staircase Light using PIR Sensor

5,761 views

In this tutorial, we are going to make an “Automatic Staircase Light” using PIR. As we know that staircase lights are needed only when we walk through them, otherwise, we don’t need them. So we have to operate staircase lighting independently from common room lighting, to make each step safer. Smart staircase lighting transforms it into an elegant decorative fixture of the interior and makes the house more brightly lit and comfortable. The traditional way is using a two-way switch, to control the staircase light.

In which we manually turn ON/OFF the light, here is a simple and best solution to go automatic. Motion sensors with integrated light sensors are installed between the first and the last steps of the staircase. When crossing the coverage area of one of the sensors at night, the staircase lighting actuates automatically and sequentially illuminating each step-sensor.

PIR (Passive Infrared Sensor)

hcsr501-pir-motion-sensor

The PIR (Passive Infrared sensor) basically measures the infrared light radiated by an object present in its field. All living creatures (and objects) with a temperature above absolute zero (which is 0 Kelvin or -273oC), emit heat energy in form of radiation. The PIR sensors are tuned in such a way, that they detect only the radiation emitted by human beings. It detects the motion of a person and gives short-duration pulse output. With the help of this sensor, we can make the staircase light automatic. The PIR sensor HC-SR501 is easy to use and comes with three standard pins (Vcc, out, Gnd). Further, also it has onboard sensitivity adjustments and time delay adjustments. Hence we can get desired output from the PIR sensor. Here by using the Jumper setting, we can change the PIR sensor mode between H: Repeat trigger mode or L: Single trigger mode.

HC-SR501-PIR-Motion-Sensor-Pinout

Hardware Required

S.noComponentValueQty
1.SPDT (Single Pole Double Throw) Relay1
2.ICLM78051
3. PIR SensorHC-SR5011
4.TransistorSL1001
5.Diode1N40075
6.Transformer1
7.Resistor1KΩ1
8.Capacitor100uf,10uf1,1
9.Connecting Wires
10.Bulb1

Circuit Diagram

automatic-staircase-light-circuit-using-pir-sensor-diagram-schematic

Working Explanation

Here we have used simple and easily available components to construct the circuit. As we can see in the circuit, the PIR sensor HC-SR501 is connected with bias. And the output terminal is connected to the switching transistor SL100, through the R1 resistor. Then the SPDT (Single Pole Double Throw) relay coil is connected between Vcc and Q1 transistor’s collector. The bulb is connected between the phase line and relay N/O contact. Now the Pole terminal of the relay is connected to the neutral line of the AC supply. Here 230V AC primary to 9V AC 500mA secondary step-down transformer is used.

Now we powered the circuit, if the transistor is ON then the relay gets energized. Otherwise, the relay stays open. Here bridge rectifier and IC 7805 positive DC regulator are used to give bias to the whole circuit, it gives a constant 5V DC supply. The PIR sensor takes some duration to become stabilized. During that time output changes randomly for about 10 to 50 seconds, then becomes normal and starts to sense motion.

As we can see in this example prototype, fix the PIR sensor plastic cap facing toward the staircase steps. And then check the output & change the time delay, depending on the requirement of light duration then fix it. Now your staircase light becomes automatic.

Applications

Can be used in homes, malls, hospitals, and offices.