LDR Based Automatic night lamp

BC547

NTE ELECTRONICS R46-5D12-6 Power Relay

R46−5D12−6 datasheet

NTE Type No.......................................... R46−5D12−6

Nom.Volt. ......................................... 6VDC

Contact Arr. ......................................... SPDT

Coil Res. Ohms (Typ)................................. 100

Nom.Power ...............................................360mW

Max.Contact Cur. @30VDC or 120VAC.............12A

Diag No. ...................................................D23

The BC547 can drive both the led and the relay coil. Simply connect the relay coil (pins 2 & 5) in PARALLEL with led and led resistor, as shown here.

Cut lamp power cable (with power disconnected obviously) and connect the cut ends to pins 1 & 3.

COM - PIN 1
N.C. - PIN 4
N.O. - PIN 3
COIL 2 , 5