MOSFET IRF Z 44 N is used as a switch to drive buzzer and LED. Buzzer and LED are connected to the Drain (D) of MOSFET through 100 Ohms resistor ( R3 ). Photodiode is connected in the Reverse bias mode with its Anode to the Gate ( G ) of MOSFET. Cathode of Photodiode is connected to the positive rail through 1 Meg resistor (R1). To prevent the latching of MOSFET, 1 Meg resistor ( R2 ) is connected between the Gate ( G ) and Source ( S ) of the MOSFET. Negative of battery goes to the Source of MOSFET.
Note – The circuit is very sensitive in a dark room. Since day light and light from fluorescent lamps contain infrared rays, circuit will be triggered. This can be solved by enclosing the Photodiode in a black tube with its tip exposed. LED lights, CFL and Fluorescent lamps will not trigger the circuit.