Circuit is shown. Group 4 analog electronic circuit switch (S1 ~ S4): S1, S2, S3 for parallel delay circuit, when the power is turned on by their R4, VB6 drive Triac VT, VT dir
ectly control the hall lights H; S4 and external photosensitive resistance RL and the like ambient light detection circuit. When the door is closed, mounted on the door frame normally closed reed KD action by the magnet on the door, its contacts open, S1, S2, S3 in the open state. Night home owner opened the door, the magnet away from the KD, KD contact closure. After this time 9V power rectifier through R1 to charge C1, C1 two Swiss voltage quickly rises to 9V, the rectified voltage by S1, S2, S3 and R4 within the B6-emitting light-emitting diodes, triggering a two-way thyristor, H is lit., automatic lighting control. After the door closed, the magnet control KD, contact disconnect, 9V power to stop charging C1, entry delay circuit state, C1 began to discharge R3, after a time delay, C1 two Swiss voltage is gradually decreased to S1, S2, 83 open voltage (1.5v) or less, S1, S2, S3 resume off state, resulting in off VB6, VT also cut, H off, lights time-lapse function.