• Skip to main content
  • Skip to primary sidebar

Homemade Circuit Projects

Need circuit help? Post them in the comments! I've answered over 50,000!

Blog | Categories | About | Contact | Calculators-online
You are here: Home / Lamps and Lights / Automatic Door Lamp Timer Circuit

Automatic Door Lamp Timer Circuit

Last Updated on January 2, 2024 by Swagatam Leave a Comment

In this article I have explained a simple automatic door light timer circuit which activates every time the door is opened, and switches OFF after a predetermined time if the door is kept open for too long. The circuit was requested by one of the avid readers of this blog, Mr. Juan. I have explained more.

Table of Contents
  • Technical Specifications:
  • The Design
  • Time Delay Formula

Technical Specifications:

I always find your blog very interesting.

I want to know if this would be possible

I have a cabinet in with I put a magnetic switch with normally closed and normally open contacts. (today, I only use one of them)

Today, when you open the door, the light that is on top turns on

I would change the circuit so that:

1. Open the door once so the circuit is ON, after a given time, the light turns off (although the door hasn't been closed and is opened). If I ever want to turn on the light, I have to close the door and reopen it.

2. add a LDR to turn on the light ONLY if there isn't sunlight in the room. With LDR in series with the load is enough?

The system is 12V. Should I use the famous 555? (all I've seen is with tiggers (push buttons), which is not my case)

Thank you.

The Design

Instead of 555 IC, a 4060 IC has been used here due to it's better accuracy.

The IC 4060 is configured in its standard delay timer mode, where the 1M pot and 0.68uF decides the length of the time delay.

The door switch is set in such a way that it closes when the door opens.

The 10uF capactor at the supply resets pin#16 so that the timer initiates the counting process from zero.

During this period pin#3 stays at logic zero, keeping the first BC547 switched off, which in turn switches ON the relay driver and the lamp.

If the door stays open until the timer delay lapses, pin#3 goes high switching ON the first BC547 and consequently switching OFF the relay driver and the lamp.

Also, at the same time the positive from pin#3 reaches pin#11 of the IC via the connected 1N4148 diode which latches the entire circuit.

This renders the lamp permanently ON,

In order to switch OFF the lamp, the door will need to be closed now.
An LDR at the base of the first transistor makes sure that this transistor switches ON when there's ample ambient light.

In the above situation the relay driver transistor is held switched OFF, which in turn keeps the lamp switched OFF.

automaticdoorlampcircuit

Time Delay Formula

For calculating the output time delay, you can use the following formula:

f(osc) = 1 / 2.3 x Rt x Ct

2.3 is a constant term here.

The oscillator will work with proper results only when the part values are selected as per the following conditions:

Rt << R2 and R2 x C2 << Rt x Ct.

You'll also like:

  • 1.  How to Illuminate 100 LEDs from 6 Volt Battery
  • 2.  Darkness Activated PIR Lamp Circuit
  • 3.  Mains 20 Watt Electronic Ballast Circuit
  • 4.  Simple Triac Timer Circuit
  • 5.  Corona Effect Generator Circuit
  • 6.  Underwater LED Boost Converter Circuit with Dimmer

About Swagatam

I am an electronics engineer with over 15 years of hands-on experience. I am passionate about inventing, designing electronic circuits and PCBs, and helping hobbyists bring their projects to life. That is why I founded homemade-circuits.com, a website where I share innovative circuit ideas and tutorials. Have a circuit related question? Leave a comment.... I guarantee a reply!

Previous Post: « High Current Triac BTA41/600B – Datasheet, Application Note
Next Post: How Shunt Regulator TL431 Works, Datasheet, Application »

Reader Interactions

Need Help? Please Leave a Comment! We value your input—Kindly keep it relevant to the above topic! Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Subscribe to New Circuit Ideas

Categories

  • Arduino Projects (87)
  • Audio and Amplifier Projects (132)
  • Automation Projects (17)
  • Automobile Electronics (101)
  • Battery Charger Circuits (82)
  • Datasheets and Components (103)
  • Electronics Theory (143)
  • Free Energy (37)
  • Games and Sports Projects (11)
  • Grid and 3-Phase (19)
  • Health related Projects (25)
  • Home Electrical Circuits (12)
  • Indicator Circuits (14)
  • Inverter Circuits (87)
  • Lamps and Lights (142)
  • Meters and Testers (69)
  • Mini Projects (46)
  • Motor Controller (64)
  • Oscillator Circuits (27)
  • Pets and Pests (15)
  • Power Supply Circuits (108)
  • Remote Control Circuits (50)
  • Security and Alarm (64)
  • Sensors and Detectors (101)
  • Solar Controller Circuits (59)
  • Temperature Controllers (42)
  • Timer and Delay Relay (49)
  • Transmitter Circuits (29)
  • Voltage Control and Protection (37)
  • Water Controller (36)

Calculators

  • Battery Back up Time Calculator
  • Capacitance Reactance Calculator
  • IC 555 Astable Calculator
  • IC 555 Monostable Calculator
  • Inductance Calculator
  • LC Resonance Calculator
  • LM317, LM338, LM396 Calculator
  • Ohm’s Law Calculator
  • Phase Angle Phase Shift Calculator
  • Power Factor (PF) Calculator
  • Reactance Calculator
  • Transistor Astable Calculator
  • Transistor base Resistor Calculator
  • Voltage Divider Calculator
  • Wire Current Calculator
  • Zener Diode Calculator
  • Filter Capacitor Calculator
  • Buck Converter Calculator
  • Boost Converter Calculator
  • Solar Panel, Inverter, Battery Calculator
  • Wire Current Calculator
  • SMPS Transformer Calculator
  • IC SG3525, SG3524 Calculator
  • Inverter LC Filter Calculator

People Also Search

555 Circuits | 741 Circuits | LM324 Circuits | LM338 Circuits | 4017 Circuits | Ultrasonic Projects | SMPS Projects | Christmas Projects | MOSFETs | Radio Circuits | Laser Circuits | PIR Projects |

Recent Comments

  • Swagatam on Understanding SG3525 IC Pinouts
  • Dan on Understanding SG3525 IC Pinouts
  • Swagatam on High Current Wireless Battery Charger Circuit
  • Swagatam on Timer Based Cell Phone Charger Circuit
  • Nitesh Agrawal on Timer Based Cell Phone Charger Circuit

Company

  • Privacy Policy
  • Cookie Policy
  • About Me
  • Contact
  • Disclaimer
  • Copyright
  • Videos
  • Sitemap

Social Profiles

  • Twitter
  • YouTube
  • Instagram
  • Pinterest
  • My Facebook-Page
  • Quora
  • Stack Exchange
  • Linkedin
  • © 2025 · Swagatam Innovations