• 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 | Hire Me | Contact | Calculators-online
You are here: Home / Lamps and Lights / Automatic Door Lamp Timer Circuit

Automatic Door Lamp Timer Circuit

Last Updated on June 1, 2026 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.

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:

  • timerpowermainsfailurecorrectionTimer Circuits with Auto Pause and Memory During Power Failures
  • Simplest 100 Watt LED Bulb Circuit
  • 1 3Rotating Beacon LED Simulator Circuit
  • Programmable 35238-MP Timer Module? How to Use it

Filed Under: Lamps and Lights, Timer and Delay Relay Tagged With: Automatic, Door, Lamp, Timer

About Swagatam

I am an electronics engineer and doing practical hands-on work from more than 15 years now. Building real circuits, testing them and also making PCB layouts by myself. I really love doing all these things like inventing something new, designing electronics and also helping other people like hobby guys who want to make their own cool circuits at home.

And that is the main reason why I started this website homemade-circuits.com, to share different types of circuit ideas..

If you are having any kind of doubt or question related to circuits then just write down your question in the comment box below, I am like always checking, so I guarantee I will reply you for sure!



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



Categories

  • Arduino Projects (95)
  • Audio and Amplifier Projects (134)
  • Automation Projects (18)
  • Automobile Electronics (104)
  • Battery Charger Circuits (90)
  • Datasheets and Components (109)
  • Electronics Theory (150)
  • Energy from Magnets and Earth (41)
  • Games and Sports Projects (11)
  • Grid and 3-Phase (20)
  • Health related Projects (27)
  • Home Electrical Circuits (13)
  • Indicator Circuits (16)
  • Inverter Circuits (98)
  • Lamps and Lights (161)
  • Meters and Testers (72)
  • Mini Projects (28)
  • Motor Controller (68)
  • Oscillator Circuits (30)
  • Pets and Pests (15)
  • Power Supply Circuits (91)
  • Remote Control Circuits (50)
  • Security and Alarm (65)
  • Sensors and Detectors (107)
  • SMPS and Converters (46)
  • Solar Controller Circuits (62)
  • Temperature Controllers (44)
  • Timer and Delay Relay (50)
  • Voltage Control and Protection (44)
  • Water Controller (37)
  • Wireless Circuits (31)



Circuit Simulator

circuit simulator image



Subscribe to get New Circuits in your Email



Other Links

  • Privacy Policy
  • Cookie Policy
  • Disclaimer
  • Copyright
  • Videos
  • Sitemap

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 Simple Low Dropout Regulator Circuits Explained
  • Swagatam on How to Calculate Transformerless Power Supply Circuits
  • Swagatam on 5 Simple Water Level Controller Circuits
  • Swagatam on Control a Relay ON OFF Using SIM Card, Mobile Phone, and Arduino
  • Louis83 on Control a Relay ON OFF Using SIM Card, Mobile Phone, and Arduino

Social Profiles

  • Twitter
  • YouTube
  • Instagram
  • Pinterest
  • My Facebook-Page
  • Stack Exchange
  • Linkedin

Calculators

  • ZVS Induction Heater + Tank Calculator Tool
  • Zener Diode Calculator
  • Wire Current and Thickness Calculator (Ampacity Calculator)
  • Voltage Divider Calculator
  • Transistor Base Resistor Calculator
  • Transistor Astable Multivibrator Calculator
  • TL431 Calculator
  • Solar Panel, Inverter, Battery Calculator
  • Ferrite Core Air Gap Calculator Tool
  • Parallel MOSFET Calculator Tool: How to Connect MOSFETs in Parallel Safely
  • LC Resonance Calculator for EV Battery Charger Circuits
  • LED String Series Resistor Calculator
  • Calculator to Design a High Power 3kW PFC (Power Factor Correction) Circuit
  • Passive Power Factor Correction (PFC) Calculator
  • LM567 IC Calculator Tool
  • SMPS Flyback Boost Converter Calculator
  • Shunt Resistor Calculator for Ammeters
  • SCR and Triac Gate Resistor Calculator
  • Battery Back up Time Calculator
  • Boost Converter Calculator (Non-Isolated)
  • Bootstrap Capacitor Calculator
  • Buck Converter Calculator
  • Buck-Boost Converter Calculator
  • Capacitance Reactance Calculator
  • DCM Flyback Transformer & Wire Gauge Wire Size Calculator Tool
  • Filter Capacitor Calculator
  • IC 4047 Calculator (Frequency and PWM)
  • IC 4060 Calculator
  • IC 555 Astable Calculator
  • IC 555 Monostable Calculator
  • IC SG3525, SG3524 Calculator
  • Inductance Calculator
  • Induction Heater Inductor and Resonant Frequency Calculator
  • Induction Heater Work Coil Calculator
  • Inverter LC Filter Calculator
  • LC Resonance Calculator
  • LED Current Calculator
  • LM317, LM338, LM396 Calculator
  • NAND/NOT Gate RC Values Calculator
  • NOT, NAND Gate Frequency Calculator
  • Notch Filter Calculator Tool
  • Ohm’s Law Calculator
  • Phase Angle Phase Shift Calculator
  • Power Factor (PF) Calculator
  • RC Filter Calculator
  • Reactance Calculator
  • Sine Table Calculator for SPWM Arduino Code
  • Small Signal Transistor(BJT) and Diode Quick Datasheet
  • SMPS Calculator for Toroidal Ferrite Transformers
  • SMPS Flyback Transformer Calculator – Design by Target Duty Cycle
  • TL431 Calculator

© 2026 · Swagatam Innovations