In this kit Staircase light with auto switch off the first block is power supply in which the input is 230V AC which is step down using the transformer (12-0-12) .The 12V ac input is fed to the bridge diode to gives 12V pulsating DC. This DC voltage is filtered through the capacitor to remove the ripples. The filtered DC is fed to 7805 regulator to fetch +5v regulated output. In the kit staircase light with auto switch off the switch is such adjusted so that when the person comes near the stair it is pressed. This press of the switch sends logic low to the trigger pin2 of the LM555 IC which generates an active high output on pin 3.The IC is used in mono-stable state. The value of the time for high pulse on each trigger at input is dependent on the value of the resistor and the capacitor. The output from the LM555 drives the ULN2803 IC (it act as current amplifier to meet current requirement to drive the relay). It is an inverted IC means when input is low output is high and vice versa. This IC drives the relay to activate the light which is a DC bulb. The relay acts as electromagnetic switch to switch the high voltage to activate the DC bulb and activate the DC supply across the bulb. kitsguru.com