In this post I have explained the making of simple delay timers using very ordinary components like transistors, capacitors and diodes. All these circuits will produce delay ON or delay OFF time intervals at the output for a predetermined period, from a few seconds to many minutes. All the designs are fully adjustable.
Importance of Delay Timers
In many electronic circuit applications a delay of a few seconds or minutes becomes a crucial requirement for ensuring correct operation of the circuit. Without the specified delay the circuit could malfunction or even get damaged.
Let's analyze the various configurations in details.
You may also want to read about IC 555 based delay timers. Recommended for you!
Using a Single Transistor and Push Button
The first circuit diagram shows how a transistors and a few other passive components may be connected for acquiring the intended delay timing outputs.
The transistor has been provided with the usual base resistor for the current limiting functions.
A LED which is used here just indication purposes behaves like the collector load of the circuit.
A capacitor, which is the crucial part of the circuit gets the specific position in the circuit, we can see that it's been placed at the other end of the base resistor and not directly to the base of the transistor.
A push button is used to initiate the circuit.
On depressing the button momentarily, a positive voltage from the supply line enters the base resistor and switches ON the transistor and subsequently the LED.
However in the course of the above action, the capacitor also gets charged fully.
On releasing the push button, though the power to the base gets disconnected, the transistor continues to conduct with the aid of the stored energy in the capacitor which now starts discharging its stored charge via the transistor.
The LED also stays switched ON until the capacitor gets fully discharged.
Te value of the capacitor determines the time delay or for how long the transistor stays in the conducting mode.
Along with the capacitor, the value of the base resistor also plays an important role in determining the timing for which the transistor remains switched ON after the push button is released.
However the circuit using just one transistor will be able to produce time delays which may range only for a few seconds.
By adding one more transistor stage (next figure) the above time delay range can be increased significantly.
The addition of another transistor stage increases the sensitivity of the circuit, which enables the use of larger values of the timing resistor thereby enhancing the time delay range of the circuit.
PCB Design
Video Demonstration
Using a Triac:
The following image shows how the above delay timer circuit may be integrated with a triac and used for toggling a mains AC operated load
The above could be further modified with a self contained power transformerless power supply as shown below:
Without a Push-Button
If the above design is intended to be used without a push button, the same may be implemented as indicated in the following diagram:
The above delay OFF effect without a push button can be further improved by using two NPN transistor, and by using the capacitor across base/ground of the left NPN
The following circuit shows how the associated push button may be rendered inactive as soon as it's pressed and while the delay timer is in the activated state.
During this time any further pressing of the push button has no impact on the timer as long as the output is active or until the timer has finished its delay operation.
Delay from an External Trigger
Problem asked by Mr. Glen (one of the dedicated readers of this blog):
I have a situation where I have a pulse of 12V that lasts about 4 seconds (from a rotary switch being turned by a slow motor) but I only want about half a second pulse (to trigger a mechanical bell/chime).
Is there any way to take a long pulse into a circuit and send a much shorter pulse out?
The solution to the above problem is provided in the following schematic:
Two Step Sequential Timer
The above circuit can be modified to produce a two step sequential delay generator. This circuit was requested by one of the avid readers of this blog, Mr.Marco.
A simple delay OFF alarm circuit is shown in the following diagram.
The circuit was requested by Dmats.
The following circuit was requested by Fastshack3
Delay Timer with Relay
"I am looking to build a circuit that would control an output relay. This would be done in 12V and the sequence will be initiated by a manual switch.
I will need an adjustable time delay (possibly displayed time) after the switch is released, then the output would go on for an adjustable time (also possibly displayed) before shutting off.
The sequence would not restart until the button was pressed and released again.
The time after the button release would be from 250 milliseconds to 5 seconds. The "on" time for the output to turn on the relay would be from 500 milliseconds to 30 seconds. Let me know if you can offer any insight. Thanks!"
So far we have learned how to make simple delay OFF timers now let us see how we can build a simple delay ON timer circuit which allows the connected load at the output to be switched ON with some predetermined delay after power switch ON.
The explained circuit can be used for all applications which calls for an initial delay ON feature for the connected load after the mains power is switched ON.
Delay ON Timer Circuit Working Details
The shown diagram is pretty straightforward yet provides the necessary actions very impressively, moreover the delay period is variable making the set up extremely useful for the proposed applications.
The functioning can be understood with the following points:
Assuming the load which requires the delay ON action being connected across the relay contacts, when power is switched ON, the 12V DC passes via R2 but is unable to reach the base of T1 because initially, C2 acts as a short across ground.
The voltage thus passes through R2, gets dropped to relevant limits and starts charging C2.
Once C2 charges up to a level which develops a potential of 0.3 to 0.6V (+ zener voltage) at the base of T1, T1 is instantly switched ON, toggling T2, and the relay subsequently....finally the load gets switched ON too.
The above process induces the required delay for switching ON the load.
The delay period may be set by appropriately selecting the values of R2 and C2.
R1 ensures that C2 quickly discharges through it so that the circuit attains the stand by position as soon as possible.
D3 blocks the charge from reaching the base of T1.
Parts List
R1 = 100K (Resistor for Discharging C2 when circuit is switched OFF))
R2 = 330K (Timing Resistor)
R3= 10K
R4 = 10K
D1 = 3V zener diode (Optional, could be replaced with a wire link)
D2 = 1N4007
D3 = 1N4148
T1 = BC547
T2 = BC557
C2 = 33uF/25V (Timing Capacitor)
Relay = SPDT, 12V/400 Ohms
PCB Design
Application Note
I have explained how the above delay ON timer circuit becomes applicable for solving the following presented issue by one of the keen followers of this blog, Mr. Nishant.
Circuit Problem:
Hello Sir,
I have a 1KVA automatic voltage stabilizer.It has one defect that when it is switched on, very high voltage is outputted for about 1.5s (therefore cfls and bulb got fused frequently) after that the voltage becomes OK.
I have opened the stabilizer it consist of an auto-transformer,4 24V relay each relay connected to a separate circuit(each consisting of
10K preset,BC547,zener diode,BDX53BFP npn darlington pair transistor IC,220uF/63v capacitor,100uF/40V capacitor ,4 diodes and some resistors).
These circuits are powered by a step down transformer and output of these circuit are taken across corresponding 100uF/40V capacitor and fed to corresponding relay.What to do in order to tackle the problem.please help me.Hand drawn circuit diagram is attached.
Solving the Circuit Problem
The problem in the above circuit might be due to two reasons: one of the relays is switching ON momentarily connecting the wrong contacts with the output, or one of the responsible relays is settling down with the correct voltages a little while after power switch ON.
Since there are more than one relay, tracing out the fault and correcting it can be a bit tedious......the circuit of a delay ON timer explained in the above article could be actually very effective for the discussed purpose.
The connections are rather simple.
Using a 7812 IC, the delay timer can be powered from the existing 24V supply of the stabilizer.
Next, the delay relay N/O contacts may be wired in series with the stabilizer output socket wiring.
The above wiring would instantly take care of the issues as now the output would switch after some time during power witch ONs, allowing enough time for the internal relays to settle down with the correct voltages across their output contacts.
Feedback from Mr. Bill
Hi Swagatam,
I stumbled across your page doing research on the web to make my delay more consistent.Some back ground information first.
I am a bracket drag racer and launch the car on first sight of the 3rd amber bulb as the christmas tree is coming down.
I use a transbrake switch that is depressed to lock the automatic transmission in forward and reverse at the same time.
This allows you to rev up the engine to build power for launch. When the button is released the transmission comes out of reverse and moves the car forward under high rpm.
This is like popping the clutch on a manual transmission car, anyway my car reacts to quickly and the result is a redlight, leaving to early, and you lose the race.
In dragracing your reaction time on the launch is everything and it is a game of hundreths-thousanths with the big boys, so I have put the transbrake switch on a relay and put a 1100uf cap combo across the relay to delay its release.
Because of the car electronics I don't believe there is a precise voltage charging this cap every time I activate this circuit and precision is key so I bought a power stabilizer off of Ebay that takes 8-15 volts in and gives a consistent 12volts out.
This turned my season around but i believe this circuit could be made to be more precise and to vary the delay time in an easier way rather than swap cap combos.
Also should I run a diode in front of the relay, not currently because all that is there is the on off switch- where will the current go? I am not an electrical engineer by any means but do have some knowledge from trouble shooting high end audio for many years.
Would love your thoughts- thankyou
Bill Korecky
Analyzing and Solving the Circuit
Hi Bill,
I have attached the schematic of an adjustable delay circuit, please check it out. You can use it for the mentioned purpose.
The 100K preset can used and adjusted for acquiring precise short delay periods as per your specifications.
However, please note that, the supply voltage will need to be minimum 11V, for the 12V relay to operate correctly, if this is not fulfilled then the circuit might malfunction.
Regards.
Simple 5 to 20 Minute Delay Timer
The following section discusses a simple 5 to 20 minute delay timer circuit for a specific industrial application.
The idea was requested by Mr. Jonathan.
Technical Requirements
While trying to figure out a solution to my problem on google, I came across your above posting.
I'm trying to figure out how to build a better Sous Vide controller. The main problem is that my water bath has a very high hysteresis, and when heating from colder temperatures will overshoot about 7 degrees from the temperature at which power is terminated.
It is also very well insulated, with a gap between the inner and outer vessel which makes it act like a thermos jar, because of this it takes a very long time to decline from any excess temperature. My PID controller has an SSR control output and a relay alarm output.
The alarm can be programmed as a below limit alarm with an offset from the set-point. I can use a five volt supply I already have for my circulation motor to run through the alarm relay and drive the same SSR the control output is driving.
To be on the safe side and protect the PID controller I'll add a diode to both the alarm voltage and the control voltage to prevent one output from feeding back into the other.
I'll then set the alarm to stay on until the temperature rises above the set-point minus 7 degrees. This will allow the PID tuning to be adjusted without having to account for the initial temperature ramp-up.
Because I know that last few degrees will be achieved without any power input, I'd really like a way to delay any recognition of the control signal for about five minutes after the alarm shuts off, as it will still be calling for heat.
This is the part I've yet to figure out the circuitry for. I’m thinking of a normally closed relay in series with the control output, which is held open by the alarm signal.
When the alarm signal is terminated, I need a delay on the order of five minutes before the relay returns to its ‘off’ normally closed state.
I would appreciate help with the delayed off portion of the relay circuit. I like the simplicity of the initial designs on the page, but I get the impression they wouldn’t handle anywhere near five minutes.
Thank you,
Jonathan Lundquist
The Circuit Design
The following circuit design of a simple 5 to 20 minute delay timer circuit can be suitably applied for the above specified application.
The circuit employs the IC4049 for the required NOT gates which are configured as voltage comparators.
The 5 gates in parallel form the sensing section and provides the required time delay trigger to the subsequent buffer and the relay driver stages.
The control input is acquired from the alarm output as indicated in the above description. This input becomes the switching voltage for the proposed timer circuit.
On receiving this trigger, the input of the 5 NOT gates are initially held at logic zero because the capacitor grounds the initial trigger via the 2m2 pot.
Depending upon the 2m2 setting, the capacitor starts charging up and the moment the voltage across the capacitor reaches a recognizable value, the NOT gates revert their output to logic low, which is translated as a logic high at the output of the right single NOT gate.
This instantly triggers the connected transistor and the relay for the required delay output across the relay contacts.
The 2M2 pot may be adjusted for determining the required delays.
Sabri says
hi.
I want to control an electric motor with a relay.
I want the relay to close 5 seconds later when the current to the relay coil is cut off.Can you help me with this?
Thank you for everything
Swagatam says
Hi, you can try the 2nd circuit from the above article. Replace the LED/resistor with your relay, and make sure to add a freewheeling diode across the relay coil…Adjust the 2M2 and the 1000uF values to get the desired 5 second delay-off time.
Gajendra says
Hi Swagatam,
I have come across your blog and love it as I have been an enthusiast for long. I don’t design electronics.
I’m making a battery powered drone. I would like to have an on-off control which can be controlled with a tac push button. A 3 second contact to power on the electeonics and 3 seconds press to turn it off.
The current in drone circuit is very high, about 60 amps. Unable to find the solution as weight and space are critical on this small drone.
Should this be software controlled? Can you please help?
Swagatam says
Thank you Gajendra, for your question!
The circuit can be perhaps designed using a 4017 IC and a 555 IC.
Just wanted to know, is the ON/OFF operations done with a single tact switch?
And, what happens if the switch is not released after 3 seconds, and remains pressed for more 3 seconds?
Kindly clarify the above, I will try to help!
Wali says
Hello,
So, I have an application where I am using a D-type flip-flop to toggle my load using a pushbutton. I want to add a trip functionality, so when a trip signal comes, after 5 seconds will the load be turned off. If the trip signal goes out before 5 seconds, the load stays on. If it goes out after 5 seconds, the load will turn on again.
Swagatam says
Please explain the delay trigger operation with more details, I may try to solve it.
Wali says
So the circuit that starts with the output being high when you power it on. Now, when you give it a high signal through the dry contact input, it waits for 5 seconds. If the input stays high for the whole 5 seconds, the output switches to low. But if the input goes low before the 5 seconds are up, the timer resets, and the output stays high. Once the output goes low after the 5-second delay, it stays low as long as the input is high. And when the input finally goes low, the output immediately goes back to being high.
Swagatam says
Ok, you can try this circuit:
https://www.homemade-circuits.com/wp-content/uploads/2024/07/customized-timer-using-nand-gate.jpg
Colin Redway says
Hi Bill
I am a newcomer to your sight as you must realise and i find the content very handy and informative. However i have a situation that i hope you may be able to resolve. I need to be able to identify when a battery source of 12v dc (li iron sealed) drops its voltage to about 10.5 v and triggers a 3 second (approx.) timer to operate a small solenoid. The solenoid will still operate at this voltage. I would prefer to be able to do it without a relay. The trigger as well must only be able to operate once so as not to keep the solenoid on. The system will reset again after the battery is recharge. I am a retired electrician which makes me dangerous in this field so please understand my ignorance in these matters. I have always had a yen to get into this field as a hobby and now have the chance. Hope you can help. Regards Col R
Swagatam says
Hi Colin,
I will try to figure out the circuit soon, and let you know.
If you have any further questions please feel free to ask…
Colin Redway says
Thanks Bill
Swagatam says
Hi again,
Here’s the circuit you can try, it should hopefully fulfil your requirement:
https://www.homemade-circuits.com/wp-content/uploads/2024/04/low-battery-solenoid-activator-circuit.jpg
Colin Redway says
Hi Bill Thanks for replying so quickly. Could you advise me of the value of RX and CX in the circuit you supplied. Regards Col R
Swagatam says
RX can be around 33k and CX can be around 100uF, for getting an ON time pulse of 3 seconds.
Colin Redway says
Thank you
Vikas Mahindra says
Hi Swag,
I forgot to add one additional query for self contained power transformerless power supply circuit. It seems to be good for single application. But can certain modifications be made in circuit to place it just after electric meter? This will help in bypassing sudden surge during power supply in case of power failure.
Swagatam says
Hi Vikas,
Yes, that’s possible if you are able to configure the wiring correctly.
You can configure the following circuit which will ensure safety from sudden power ON surge.
https://www.homemade-circuits.com/wp-content/uploads/2023/01/refrigerator-protector-circuit-with-triac-timer.jpg
Vikas Mahindra says
Very nice site for electronics guys. I was going through self contained power transformerless power supply circuit and was fascinated by its simplicity without using transformer at all. Moreover, triac in circuit seems to be more effective and efficient than relay. But how to modify this circuit for mains supply to automatically turn on after a pre-defined period (say of 5-15 seconds) without the use of push button?
Swagatam says
Thank you Vikas, Glad you liked the site.
For a delay ON, mains operated circuit, you can refer to the first circuit from the following link:
https://www.homemade-circuits.com/simple-refrigerator-protector-circuit/
Saul says
Hi Swag
Many times your schematics have helped me but this time I cant cope myself. Imagine yarn winding mashine that has yarn tension motitoring via simpokle push button. Yarn stuck = machine stop. Problem is that any vibration of thicker yarn causes multiple false and unnecessary stops. My idea is that signal from button is transmitted only if it lasts more that say 0.5sec. Implementing microprocessor seems overkill to me.
One pole of switch is grounded and machine runs on 60v DC.
Do you thing any of your schematics will do ?
Swagatam says
Hi Saul,
What type of switch are you using, is it a manual push button? in that case you may have to replace it with a relay operated switch to implement the switch debounce..
Saul says
Yes simple micro switch is beeing used. It shorts some microcontroller input to ground to stop machine. I think transistor or mosfet will doo. Switch should trigger timer instead of what it did before. Does it have sense ?
Swagatam says
OK, you can implement the following setup:
Take a BC547 transistor.
Connect the collector to the microcontroller input.
Connect the emitter to ground.
Connect the base to a 10k resistor.
Connect the other end of the 10k to one terminal of the microswitch, connect the other terminal of the microswitch to the positive line.
Connect a 1uF capacitor between base and ground.
Saul says
It will work on 60 volt ?
Another question . Do I need resistor to discarge cap in order to not acumulate short burst chargindg ?
Swagatam says
For 60v you can use BC639 bjt. To ensure proper discharge of the capacitor you can connect a 2.2k resistor parallel to the capacitor.
Saul says
Thanks a lot.
Your advices are very helpfull.
Swagatam says
Glad to help!
Hefni says
Kindly I ask you what is 2m2 in the circuit best regards
Swagatam says
2M2 = 2.2 meg ohm resistor.
Dean G says
Is the PCB shown in the Delay ON Timer Circuit Working Details section available for sale?
Swagatam says
Sorry, we don’t make PCBs now, so I may not be able to provide it to you, nevertheless you can easily get it done from any local PCB designer in your area. These PCB designs were not created by me rather purchased from an external source so please double check it before manufacturing.
Fabio says
Hi Sir,
My name is Fabio. I saw all your project but I need one with small modification if you can help please.
I need a Power ON Delay with 3 channel output controlling a MOSFET not a relay.
When power is applied the first channel wait 30s before come ON. The second channel will wait 60s after the first channel is ON, and the third channel wait 60s after the second channel is powered ON.
The time in “s” doesn’t need precise.
Hope you can help with this project.
Thanks
Swagatam says
Hi Fabio,
I think the second concept from the following article will work for you. You will have to configure a MOSFET with the collectors of the BC557 transistors.
https://www.homemade-circuits.com/cube-light-circuits/
Tim says
Hi Swagatam, i have a question on the timers, i understand and have a grip on the single use sw from a transistor, however i need to stop an 74LS90 which is a single pulse/dragdown command then i need a second pulse/dragdown to reset the 74LS90. i am not sure it would work with a single pulse/dragdown from a single transistor to do both operations as they would be simultanious and atthe same time, do you have any ideas.
Swagatam says
Hi Tim, I haven’t studied the 74LS90 IC yet so I am finding it difficult to figure out the problem.
Wally Lee says
Hi Swagatam,
Atoto Head Unit A6G2A7PF (2G+32g)
I have installed the above head unit in my diesel Toyota Prado 120 Series.
The glow plugs in the engine take up to 5 seconds to heat after which I can start the car.
In this time my head unit begins to start but then crashes and restarts when I start the car, impacting recently adjusted settings e.g. steering wheel audio settings and who knows what else.
Is there a way to delay the start of the 12v (ignition on) to the unit so that it starts after the car is started?
I hope you can assist.
Wally
Swagatam says
Hi Wally,
You can delay the 12V supply to the ignition circuit through the following circuit. The 12V supply to the ignition can be applied through the N/O relay contacts. The C2 R2 component values decide the delay time after which the relay will operate, once the input 12V to the circuit is switched ON.
https://www.homemade-circuits.com/wp-content/uploads/2022/04/delay-ON-timer.jpg
Pete Mantle says
Hi my name is Pete I have just built a 300 led hex style sci – fi computer display when first turn on all the leds are red and whilst the timers in the devices are running at different rates for the first 2/3 minutes the effect is great after this time the slow change diodes don’t look too impressive . I need a circuit that will will switch on for 2/5 minutes then crash to 0 volts and recycle again at 5 volts for 2/5 minutes before repeating the same be nice if i could actually vary the time with a potentiometer to experiment and gauge the exact best time to gain maximum led colour difference and thus the best decorative effect. Regards Pete Mantle
Swagatam says
Hello Pete, I did not understand what you meant by 2/5 minutes, please clarify!
Pete Mantle says
i meant a variable control time from say 2 minutes to 5 or even 6 minutes i want to be able to vary the time with a pot to experiment for best results i really need the 5volts to collapse pretty fast also in order to reset the leds to red ( the starting colour ) thanks for your swift response
Swagatam says
You can do it with a help of a simple IC 555 flasher, as shown below. The pin#3 will alternately oscillate from positive supply level to 0V level. The ON OFF timings can be adjusted by adjusting the 1M pot and the 22K resistor values. But how will you use the pin#3 to control your LEDs? You will require a BJT or a MOSFET connected at pin#3 to do this:
https://www.homemade-circuits.com/wp-content/uploads/2011/12/f149dbce8308cab5de03978b6d8380ec6ee022f8_orig-1.jpg
Pete Mantle says
to clarify I need t to deliver 5volts which will crash to zero after 2 to 6 minutes then restart AGAIN at 5 volts ( with a pot so I can vary the time interval ) then repeat the whole cycle again constantly. also need the voltage to completely hit zero in order to start the colour change leds at red .
Francesco Fusco says
Hi. Your blog is very great. Please, can I explain my need? I was searching for a circuit that when in input receives a signal of 12V AC, whait for 30 seconds and after then send a 5VDC pulse to a relay. The delay and the activation time should be configurable. Thanks a lot.
Swagatam says
Hi, thanks for liking the blog! You can try the following circuit. Your 12V will need to be converted to 12V Dc first. For providing 5V to the relay disconnect the emitter of the T2 BC557 and the connect this emitter with a 5V DC. Make sure to connect the ground of the 5V DC with the circuit ground:
https://www.homemade-circuits.com/wp-content/uploads/2021/03/double-delay-circuit-compressed.jpg
T1 can be BC547 transistor.
R2 and C2 can be altered for adjusting the delay range
vespucci says
I need a simple solution for giving a little delayed impuls to a relay.
I already have the circuit which makes a short impulse out of the steady 12v connection.
1000uF in parallel to 10 Kohm on the negative input do the trick. Now I only need to happen this impulse (or the supply to this part of circuit) about one sec delayed. Time does not need to be exact.
I tried nearly all of your delay circuits but nothing worked;-(
My relay coil has 1kohm.
My favorite would be another rc circuit.
Can somebody please give me a hint how to combine those 2?
Thanks, VESPUCCI
Swagatam says
All the above circuits are tested and are working. The above circuits are not for a single common application but have different applications. You cannot use all the above circuits for a single application, they won’t work. They all have different specific functions. You have to understand them and then apply.
To understand your application I will need the schematic of your diagram, without a schematic it may not be possible to find a solution.
vespucci says
https://www.homemade-circuits.com/wp-content/uploads/2023/04/RelayMomDelay.jpg
Swagatam says
Please try the following circuit:
https://www.homemade-circuits.com/wp-content/uploads/2023/04/transistor-relay-delay-circuit.jpg
vespucci says
I tried with C945 transistor. But unfortunately not working;-(
No delay in powering. Very little delay after dividing.
Swagatam says
It has to work, because it is a tested design, it is just about adjusting the resistors and their values.
Try the following modified circuit:
https://www.homemade-circuits.com/wp-content/uploads/2023/04/BC547-relay-delay-circuit.jpg
Eric Crigler says
Good evening, I’m working on a project that will require a 12V circuit board to control a 12V solenoid. It seems basic and assumed i would be able to find this board with out much trouble but so far ive proven myself wrong. I need the circuit board to switch on my solenoid for 3-5 seconds ( i dont know exactly yet) one time every 30 days. Obviously the 30 day delay is the hurdle I’m encountering Could you get me on track to building this board?
Swagatam says
Hi, the 30 delay can be solved with a day/night light detector, which will detect the passing of each day with the help of the day/night light source. This day night pulse can be then converted into 30 day counting using 4017 IC, and subsequently at the final stage a 3 second delay timer can be added for activating the solenoid.
Eric Crigler says
Thank you for the quick reply. The day/night detector would absolutely work but I left out a detail. My mistake. The device for this project will be 100% indoors and set up either in a closet or the attic. I won’t be able to wire in any kind of external day/night type device, I would need it to all be integrated in a standalone circuit board with a 12V power supply. Thank you again for your input
Swagatam says
Oh, in that case in can be difficult for me to figure out an appropriate circuit design for you, because 30 day is a long delay and making a 30 day timer without errors can be quite difficult.
Joseph says
Hi Mr Swagatam
Re: Dumbwaiter startup problem.
This is some Chinese unit installed by some previous owner which has no manufacture ID and no papers or circuit information.
Each of the two floor levers have a power on/off switch and an up and down push buttons that light up just after the power is turned on.
The 220 V AC geared motor is controlled via a frequency Voltage converter and triggered through a mini plc card which gets its 24V power through the FVC.
If we push the required up or down button, when the buttons light up, too quickly the system fails and we then need to reset, by turning the power off and on again, and then wait for 2 to 3 seconds before we press the required button after it lights up, before the unit works correctly.
We concluded that the FVC, although it outputs 24v to the plc and the button led power, the other part of its function circuit is slower, which is the delay factor.
Other then introducing a time delay in the plc to delay the start up, which we have no information on, we would like to introduce a delay to the 24V power outlet from the FVC to the PLC, of 3 seconds in the simplest, cheapest, reliable way.
Do you have a simply circuit for me please.
Swagatam says
Hi Joseph,
You can add the following delay based LM338 power supply to your existing power supply:
https://www.homemade-circuits.com/wp-content/uploads/2012/04/LM338slowturnONpowersupplycircuit-1.png
You can adjust R1/R2 to change the output voltage and adjust R3/C1 to change the delay to the desired levels.
Dale Warner says
Hi Swagatam.
I’ve looking through google & ebay thinking that what I’m looking for should be easy to buy made but not turning out so easy. There are a lot of relays that delay power on, or turn power off after a set time, but the supply power needs to be on. What I’m after is a device that once my ignition is turned off, a relay stays open for a set amount of time so that I can hook one up to my electric windows & another to the cooling fan under my intercooler.
I did buy one off ebay & thought maybe the cap on it & adjustable pot would be enough to hold the relay open & direct power to the relay would stay on the load for a few seconds for windows, minutes for fan.
Cheers
Dale
Swagatam says
Hi Dale,
I think you should try the following circuit, it might be exactly what your are looking for.
https://www.homemade-circuits.com/wp-content/uploads/2022/12/delay-ON-timer-for-car-windows.jpg
achy1243 says
Great work , I needed help on, how to do the manual calculations, for the *With push button Delay timer*, circuit
Swagatam says
Thank you, unfortunately I do not have the formula for calculating the RC time constants.
Ambroise says
Thanks for these so simple, though efficient, working circuitries. Great Swagatam !!!
I wish to trigger the mains timer with sound (clap or any), together with the pushbutton : do I just add a microphone in parallel with the pushbutton ? Does a MOSFET improve anything ?
Swagatam says
Thank you Ambroise, Glad you liked it!
If you want to activate the delay OFF timer with a MIC then you may have to build the design discussed in the following article:
https://www.homemade-circuits.com/simplest-sound-activated-relay-switch/
If you have a heavy DC load then you can eliminate the relay and replace the PNP transistor with a MOSFET. The referred diagram is enclosed in the above link.
Jorge says
Good afternoon my friend Swagatam!
Unfortunately, I severely broke my leg and spent a long time in the hospital. Therefore, I could not proceed with the manufacture of the circuit that you kindly suggested. (https://www.homemade-circuits.com/simple-touch-sensor-switch-circuit/#comment-133997)
This circuit needs thyristors, but I don’t have them and I can’t go to the store yet. But I can already sit on a chair!
But I have another request for you.
I thought about making an alarm for the open door of the refrigerator. I want to use a magnet and a reed switch as a sensor. When the door is opened, the reed switch closes and connects power to the circuit. The timer waits for 30-40 seconds, after which the beep sounds, indicating that the door is still open.
If after that the door is closed, then the reed switch opens with the help of a magnet, the power supply to the circuit is interrupted, the signal stops.
I want to power the circuit from a 1.5 volt battery. I would like to increase the voltage to 3 volts using the HH004F chip. Is it possible?
Can you suggest me such a scheme?
Respectfully,
Jorge
Swagatam says
I am sorry to hear that friend. I hope you will recover soon.
For the fridge open delay ON buzzer circuit, you can try the following concept:
https://www.homemade-circuits.com/wp-content/uploads/2022/11/reed-switch-activated-delay-ON-timer-circuit.jpg
Let me know if you have any further doubts!
Jorge says
Thank you! Some questions…
What is the working principle of this scheme? What is the delay time? Regulated by R1 and C2?
Swagatam says
When power is switched ON through the relay, the capacitor C2 is charged via R2. While C2 charges the T1 base is inhibited from the required 0.6V biasing voltage. This keeps T1 switched OFF and with T1 switched OFF T2 also remains switched OFF. After the intended delay when C2 charges fully, D3 gets reversed biased and turns off, which allows a 0.6V to develop at the base of T1 switching it ON. When T1 switches ON, T2 also switches ON, turning ON the load.
R2 and C2 are responsible for the delay timing.
There should be a 1N4148 diode in series with the emitter of T1 to balance out D3, which is accidentally not shown in the diagram.
Jorge says
Good afternoon my friend Swagatam!
I made a circuit from the link:https://www.homemade-circuits.com/wp-content/uploads/2022/11/reed-switch-activated-delay-ON-timer-circuit.jpg
Everything works, but only from 3 volts. If the voltage is reduced to 2.4 volts, the circuit stops working.
I changed C2 and R2 so that the signal is delayed by 30-40 seconds. I do not specifically publish the modified data of these components, since I think that a lot depends on the gain of the transistors.
There is a question: what can be done to make the circuit work from 1.5 volts?
Swagatam says
Hi Jorge,
You can try doing a few modifications in the existing design and see if that helps.
Reduce R2 to 330K or lower and increase C2 to a higher value until the combination provides the required 30 seconds delay.
Reduce the value of R3 to 100 ohms.
Let me know if the above allows the circuit to work with 1.5 V supply.
Jorge says
Hi my friend Swagatam!
I changed the values of the resistor R2 to 300k, and the capacitor to 330uF. Thus, I achieved a signal delay of up to 30 seconds. But changing the value of the resistor R3 did nothing. The minimum voltage required for the circuit to work is 2.4 volts.
I solved this problem by using a mini boost module from 1.5v to 3v. Now everything works as it should.
If you are interested, you can see photo of the module and layout here:
https://www.homemade-circuits.com/wp-content/uploads/2022/12/1.5-V-timer-prototype.jpg
Respectfully,
Jorge
Swagatam says
That is great my friend Jorge!
Reducing R3 value was supposed to make the PNP more sensitive and respond to lower base voltages.
But no problems, I am glad you could finally make the circuit to work with 1.5 V using a boost converter circuit.
Thank your for updating and keep up the good work!
Ajaira Kamer says
Hello Sir, I want to make a Delay ON Timer Circuit operating with 5 volts. Can you please design a schematic for me?
Best regards,
Swagatam says
Hello Ajaira, a delay ON timer circuit is given in the above article. You can use it with a 5V supply also, just make sure to change the 12V relay with a 5V one.
Ajaira Kamer says
Thank you so much for your reply. I want to know one thing if I want to get 0.16 volt output, what will be the value of the resistor?
Swagatam says
If your supply is 5V, then the delay ON output will be also 5V, 0.16 V cannot be obtained in this design.
Ajaira Kamer says
Thanks for your reply. Is there any system to drop the output voltage from 5 to 0.16 or 1 volt? If yes please explain. I want to design a security module with an IR sensor for my car garage.
Swagatam says
It can be dropped using resistors if a low current output is acceptable. For higher current you can use a buck converter to drop 5V to 1V. But I do not have this type low voltage buck converter circuit with me right now.
Ajaira Kamer says
Thank you so much. Hope I’ll ask more questions about electronics in the future.
Swagatam says
Sure, not a problem at all!
Marcelo Russi says
Good day Swagatam, thank you so much for teaching everyone so much.
Greetings from Brazil.
I’m trying to create a circuit to work with a 18650 battery between 3.3V and 4.2V that after a brief press of a push button, turn on a relay for between 30 and 60 seconds, after that turn off the relay. But it can no longer be triggered by the button, only if the circuit is turned off that it could be reset. Could you be so kind as to suggest a schematic?
Thank you so much in advance.
Swagatam says
Thank you Macelo, you can try the following design, it looks close to what you are looking for:
https://www.homemade-circuits.com/wp-content/uploads/2014/11/transistorlongdurationtimercircuit-1.png
However I could not correctly understand what you meant by: “…..But it can no longer be triggered by the button, only if the circuit is turned off that it could be reset”
Marcelo Russi says
Hi, thanks for your quick reply. I meant that the circuit can only be triggered by the push button once. So after activation and consequent deactivation of the relay after the given time, the push button will no longer be able to activate the relay. And this cycle will only work again when the entire circuit is turned off and on again. It would be some kind of circuit that only works once and then has to be turned off to become operational again.
Sorry for my poor english. Thank you.
Swagatam says
OK, got it. In that case you can try the following 555 based design:
https://www.homemade-circuits.com/wp-content/uploads/2022/11/555-monostable-with-relay-and-SCR-latch.jpg
However make sure to use a CMOS version of the 555, such as a 7555 IC so that it can work optimally right from 3 V onward.
Marcelo Russi says
Thanks Swagatam, I will test your circuit. All the best.
Swagatam says
No problem, wish you all the best!
Marcelo says
Hi Swagatam,
I tested the circuit you indicated above.
I did a simulation in Multisim, it happens that the SCR, after pressing the button, leaves the trigger in low voltage. I think it should just give a pulse on low, to trigger the 555 and then lock on high so that the button only works on the first press. In this way, the circuit is permanently activated, as if the button was always pressed. Do you have any suggestions? Thank you again.
Swagatam says
Hi Marcelo,
Even if pin#2 is permanently grounded by the SCR, the output at pin#3 will produce only a momentary delay pulse.
If you don’t want pin#2 to be permanently grounded, you can put a 0.22uF capacitor between pin#2 and the SCR anode.
Also remember to put a 10K resistor between the positive supply line and the pin#2 of the IC.
Marcelo Russi says
IT WORKED! Thank you again. Your work and your promptness are exemplary.
Swagatam says
Great! Glad it worked!
Mark O says
Is it possible to create a delay circuit that trips if the delay is very short, but does not trip if the delay is long? For instance, if the delay is anything less than 2/10ths of a second, it trips. But if the delay is any longer, it doesn’t.
Swagatam says
Sorry, it looks difficult, not sure how this can be implemented practically.
Andre Jordaan says
Good day Swagatam,
Thank you for your prompt response (impressive!) and yes, the circuit works well.
Best,
Andre
Swagatam says
No problem Andre! Glad the circuit worked!
Andre Jordaan says
Good day Swagatam,
Thank you for readily sharing your expertise, I appreciate you!
We are having many power cuts due to load shedding.
When the power comes back there is often damage due to voltage spikes and fluctuations.
I would like to switch my mains power on 10 seconds after the mains power comes back to ensure that the voltage has settled down, stabilized. (Yes, it can take this long here!)
I want a delay circuit that does not need to be energized by a switch, I want the delay to start automatically when the mains power comes back.
I only need the delay circuit, the mains switching part is taken care of already.
I would appreciate you kind assistance, my efforts so far with 555 timers has not worked reliably.
Andre Jordaan
Swagatam says
Hello Andre,
You can try implementing the following delay ON circuit concept:
https://www.homemade-circuits.com/wp-content/uploads/2021/03/double-delay-circuit-compressed.jpg
Let me know if you have any further doubts or questions?
Henry obiajulu says
Show me the name of the
component that can be used to make 4 minutes delay 4minutes delay
Swagatam says
You can try the following design:
Adjustable Timer Circuit Using IC 555
Bright says
Hi!
I’m a beginner electronics enthusiast. been trying to build a blinking LED Circuit with a Relay and a capacitor. The capacitor is supposed to introduce a time delay so the LED could blink but it doesn’t seem to be working so. I am terribly confused. Please help! ????
Swagatam says
Hi,
why would you need a relay for blinking an LED? You can simply use a transistor/capacitor circuit to blink an LED?
DavidH says
Hi Swagatam, thanks for sharing your knowledge.
I wonder if does exist simple one component delay timer.
I need to delay 12V DC rail for 7-15s. It may be fixed, preferably adjustable.
I have seen various schematics for popular IC 555 timer – is it possible to do it simple with one component, please?
Is it possible to do it with something like resistor or capacitor?
Swagatam says
Thanks David,
To control the supply rail delay you will need some kind of control device which could be a transistor at the least. The resistor and capacitor timing components will control this transistor for implementing the delay.
If you use only an RC, the delay will not be sharp, it will rise gradually until the full voltage is reached. Moreover the series resistor will not allow the desired high current on the supply rail. So it doesn’t appear to be a feasible option.
Norman D Kelley says
Hi Swagatam,
Thanks so much for your quick response. You are the best!!!
Swagatam says
Thanks Norman, I am glad to help!
Norman D Kelley says
Hi Swagatam,
I have a circuit using the very small delay chip c-005. This chip works on 2-5v. If you ground its trigger, it supplies a negative output for a delayed time adjusted with a resistor. I have connected a 10k resistor between the output of the c-005 and the base of a bc807 smd transistor. I have also connected a 10k resistor from the positive voltage of 5v to the base of the bc807 transistor. This circuit has worked for me on several projects. This new circuit uses 9v so I installed an ams1117 regulator to reduce the supply to 5v for the c-005 delay chip. So, the bc807 transistor emitter has 9v and the base has 5v which can be grounded by the c-005. Grounding the base of the bc807 transistor is supposed to turn the transistor on. My problem is the transistor is always on, no matter what the output from the c-005 delay. Is the 9v on the emitter of the transistor causing the problem? Do I need to supply 9v to the base of the bc807 transistor?
Swagatam says
Hi Norman,
yes it is due to the 9V supplied at the emitter and 5V available from the C-005 IC. Since the 5V is lower than 9V, it is unable to block the 9V from the BC807 emitter. Meaning the BC807 is always getting 5 – 9 = -4V which is sufficient to keep it switched ON all the time.
To rectify this issue, both the voltages, at BC807 emitter and at the output of the C-005 must be equal.
James says
????????♂️Fantastic site ???? i wonder if you can help me? I am building a model rc submarine reading your site i thought placing a timer on servo controlling dive it would reset the vanes to vertical once again the delay not worked out yet but could you help? Take care stay safe and well????♂️????
Swagatam says
Glad you liked the site! Can you please explain the specifications of the timer, if possible I will try to help!
James says
????????♂️ thank you ???? the needs run from receiver to two servos, that dips and raises the diving vanes for settable ( secs ) to control depth of 2.4ghz antenna after which the vanes will return to horizontal level then rest ready for the next manouvre? Not being to knowledgeable with certain circuits ???? ????the smaller the better.could you make board? Thank you,if my autistic grandson had his way he’d have it fly!!????? Probably next project ????????????
Swagatam says
I appreciate your explanation, however I am sorry, it can be difficult for me to understand the working of your system. I only need the details of the timer, how the timer needs to function? Is it a delay OFF timer or delay ON timer? How much delay period is it supposed to produce?
James says
????????♂️Ok thank you, the power is 12v dc,the timer is off until receiver tells the timer to allow the servo to operate the pushrod for manual adjustable time ?it being manual to adjust so the rate of descent the alloted time after which the timer will return the vanes to horizontal position ready to be used to raise the sub????? taken on a challenge haha i am no captain Nemo ????♂️ i have no other means to explain ???? for my grandson i want it to be as easy as pos for his motor skills so i thank you kindly for your time and patience if it can not be done ???? take care stay safe and well ????♂️????
Swagatam says
No problem! I guess you are looking for a delay OFF timer. I can suggest you the following design, however I won’t be able to suggest about the mechanical integrations.
In the timer circuit below, when a trigger or a pulse is sent to the base of the BC547 transistor, the pin#3 output of the IC 555 becomes high with a 12V output. This 12V output at pin#3 remains ON for a short duration of time and then it switches OFF. This short duration depends on the adjustment of the 1M pot and the value of the 1000uf capacitor. Both can be altered for getting different output delays at pin#3 of the IC. A relay can be connected across pin#3 and ground for the necessary integrations with the mechanical systems and the relevant operations.
James says
????????♂️ wow!! thank you very much ???????? ???? .is there a board for this circuit? Thank you take care stay safe and well ????♂️????
Swagatam says
You are most welcome, however unfortunately there is no PCB for this design, you may have to construct it over strip-board or a vero-board
James says
????????♂️ THANK YOU SO MUCH ???? FOR ALL YOUR HELP ???? TAKE CARE STAY SAFE AND WELL ????♂️????
Bill O. says
Hi Swagatam,
Can your time delay on circuit be adjusted for 60 sec’s delay before turning on the relay? I also need to use the circuit in a 28vdc system it looks like the transistors are capable of 28vdc. Also how critical is the 3v zener on the emitter of T1 is it fully required?
Swagatam says
Hi Bill,
you can create a 60 second delay by suitably adjusting the values of R2/C2 components. The BC547/557 can handle upto 45V, so 28V looks fine.
3V is introduced to easily extend the delay even while R2 C2 are relatively smaller in value. With 3V zener attached the base cannot activate until the voltage across C2 has comfortably reached above 3V which takes more time, therefore the delay is longer. Without the zener the base voltage would only require 0.6V to activate which can reach much sooner across the capacitor C2.
Bill O. says
Thanks for the quick response I may need the Zener tried using the circuit without the Zener and could not achieve slow delays. Tried different values for R2, C2 without much success will try different Zener values as well to see what happens.
Bill
Swagatam says
You are welcome! The zener is not the crucial element, R2 and C2 are crucial, and they should definitely cause the delay time to change significantly.
Howard Walker says
I want to construct a time delay relay circuit for an amateur radio tube type amplifier, The TD relay will be used to control the delay time in turning off the cooling fan – which should be approximately 3 minutes after turning of the AC power rocker switch for the amplifier. The fan is a 120VAC, which obtains its operating voltage from a tap on the main transformer. The amplifier power is supply is wired for 230VAC. When the rocker switch is turned OFF, the power to the amplifier is OFF. However, there is STILL 230VAC being supplied to the INPUT side of the rocker switch. This is my dilemma. I still have 230 VAC available on the input side of the rocker switch. How do I supply 120VAC to keep the fan operational for 3 minutes, with only 230VAC available on the input side of the rocker switch?
Swagatam says
We will have use a separate capacitive power supply for operating the timer circuit, with a triac. The fan will be powered through the triac. The timer circuit will get the switching voltage from the rocker switch. Once the rocker switch is turned OFF, the timer circuit will keep the fan powered ON through the charge stored inside a timing capacitor. Once the charge inside the capacitor is exhausted the timer will switch OFF the fan.
Swagatam says
yes, the 120V to the fan must be continuously operational. If this voltage is switched OFF then I am afraid the fan will not work.
Howard Walker says
Can you provide me circuit sketch, with component values, to make this circuit? Much appreciated.
So, the fan will draw its power, continuously, from the TD circuit? That had not occurred to me. But it is quite logical.
Regards
Swagatam says
Yes the fan must have a continuous access from the 120V source. TD will provide the switching voltage for the triac. No relay is used here.
Here’s the proposed diagram for you:
Melvis says
Hello sir,I’m intending on building one of your sg3525 inverter circuit but the problem is that I will need a timer circuit so that when the battery reaches around 11.5v it switches on for some seconds and eventually shuts off so that I can get an indicator of low battery before it reaches 11v and switches off the inverter. And I would like the indicator to be a buzzer . Pls sir I would be great full concerning any positive response
Swagatam says
Hello Melvis, you can attach the following circuit with your battery:
https://www.homemade-circuits.com/wp-content/uploads/2022/07/low-battery-buzzer-indicator.jpg
You will have to adjust the 10K preset such that 741 IC output just becomes high at 11.5V battery voltage
Saroop Ts says
Sir, i need to 5v delay on circuit with a 5v relay, is there a circuit diagram available
Swagatam says
Saroop, a delay ON circuit is already given in the above article. Please see it under the heading “Delay ON Timer Circuit Working Details”
You can use 5V supply and a 5V relay in that circuit
Saroop Ts says
Thank you sir, can you provide the time for delay on circuit as per the specifications of components provided in that section
Swagatam says
Swaroop, Only R2 and C2 determine the output delay, you will have to test it practically to check how much delay you get with the specified values, and then you can adjust their values to get your own desired delay ON time.
Ravi Kumar says
I have a module for use as a watel level alarm. When the higher level is reached it gives an alarm, so that we can shut down the water flow (manually). The problem is that the alarm is ON Continously until the water level goes down. I need the alarm to be ON for maybe 2 minutes and then trigger OFF even when the probes are in conduction. Putting a switch in output is easiest solution, but then we have to switch ON/OFF the switch every time, which can be forgetful. Please suggest some design for this. If needed I can send a basic diagram of components used but it has a covered module which I have not broken into. The probes use AC for water level detection.
Thanks.
Swagatam says
I can suggest a simple circuit to solve your problem but the circuit will not use an AC based probes, will this be OK for you?
S Lakshminarayanan says
Dear sir,
Recently I started reading your blog. I became regular. Nice explanations. Kudo to you.
BTW, I have a requirment. There is intermittent DC voltage available in case of a fault. Say, 12V is “on for 2 sec and off for next two secs” and the cycle repeats, till the fault is cleared. I want to use this intermittent DC voltage to switch on a relay irrespective of on/off state of the input. ie once the DC voltage starts available, the relay should get energised until this intermittent supply is totally off which will happen on clearance of fault.
Please suggest a suitable scheme. Thanks in advance.
Swagatam says
Thank you S Lakshminarayan, your application is quite easy to implement. You can use the first circuit from top, remove the push button, connect the intermittent signal across the capacitor through a diode 1N4148, replace the LED with a relay (with a freewheeling diode connected across the coil). You will also need to replace the 1000uF capacitor with a lower value capacitor such as a 47uF/25V. Let me know if you have any further questions.
S Lakshminarayanan says
Dear Mr Majumder,
Thanks a lot for your valuable suggestion. I will try and let you know the result in a day or two.
With regards.
Swagatam says
You are welcome S Laxminarayan, let me know if you have any problems.
S Lakshminarayanan says
Dear sir,
I have built the circuit with bd139 and found working fine. Thanks a lot.
I have one more requirement. I have a built plasma flashback astable driver with 555. The frequency is about 25 kHz with duty cycle of 59%. Output of 555 goes to small signal push pull transistors, driving a MOSFET with very low RDS. Though the circuit is working fine (good plasma arc is produced with moderate heating of MOSFET), I am having 555 failure after some time, due to fly back voltage, though the output current of 555 is limited to 100 milliampere. The entire circuit operates on 12v DC. Current is about 2A on arcing. Transformer is wound by me with ferrite cores. No snubber or fast recovery diode across primary of transformer.
Please suggest a suitable protection circuit so as to protect 555 IC from failure.
Regards.
Swagatam says
Dear S Lakshminarayan, the problem could be happening due to the reverse voltage spikes from the flyback coil. You can try putting a few extra components around the supply pins of the IC 555, as shown in the following diagram, and see if that helps. You can additionally put a reverse 1N5402 diode across the drain/source pins of the MOSFET
koocu says
Hello.
I appreciate your hard work.
I’m going to construct the following circuit.
I am going to drive a 12V relay using a 12V power supply.
If you press the button, the relay turns on after 0.5s
If you release the button, the relay will be turned off after 0.5s.
I need your help.
Thank you.
Swagatam says
You can try the second circuit from top. You will have to disconnect the capacitor from its existing position and shift it across the base/emitter of BC547.
The 2m2 could be reduced to 100K, and the 1000uF which is now connected across base/emitter of BC547 can be reduced to 33uF/25V….the values will need to be experimented.
The LED/resistor will need to be replaced with the relay….the relay coil must have a freewheeling 1N4007 diode.
koocu says
Hello.
Thank you for your help.
I want to make another request to you.
I’m using a 220v light.
I want to BLINK by installing LED on the light switch. But the light switch has only one phase out of 220v voltage.
Will it be possible?
I look forward to hearing from you.
Swagatam says
You will need phase and neutral both for flashing the LED, only phase will not work.
koocu says
it doesn’t work.
I am still trying to drive a 12V relay using a 12V power supply.
Pressing the button will illuminate the relay 0.5 seconds later
. Release the button and the relay will turn off after 0.5 seconds.
I need your help.
Swagatam says
Try the following set up. But the time will not be exactly 0.5 second, you will have to adjust the two capacitors to get the desired timings.
koocu says
Hello.
Thank you for your reply.
I will go to the office on Friday and test it and contact you again.
I hope you have a great week.
Thank you.
Swagatam says
Sure, no problem!
koocu says
Hi.
I did a test in the office.
But it still doesn’t work.
Pressing the switch also shortens the + and -.
So I removed the – associated with the switch.
Also, if you change the first 10k to 100k, it turns on after 0.5 seconds. But off works immediately.
Which circuit operates exactly 0.5 seconds on and 0.5 seconds off?
Thank you for your help.
Swagatam says
Sorry, yes there was short circuit in the diagram, I have removed it now. However I cannot find any other easy circuit which would give you exact 0.5V second ON/OFF. You will have to experiment with this circuit only….you can try adding a 470uF right across the relay coil and see if that helps.
The following diagram is the last option I can see. You can experiment with the capacitor C for adjusting the relay ON/OFF timing:
koocu says
Oh, thank you.
Press Switch -> 0.5 second delay on
Switch off -> 0.5 second delay off
What is a simple circuit?
The time doesn’t have to be accurate.
Thank you.
Swagatam says
The transistor circuit which I gave you is the simplest one. You can try adding a 470uF across the relay coil, or try adding a 100uF directly across the base/emitter of the transistor and see that gives you the required results.
koocu says
0.5s on and 0.5s off circuit?
Swagatam says
you can use the following circuit, just press calculate
https://www.homemade-circuits.com/transistor-astable-multivibrator-amv-calculator/
Godfrey King says
Hi
I am a member of a model railway club and for signalling we use inductive sensors in the rails. The sensors are npn i.e. when the wheel of an engine passes the sensor grounds a relay coil, the other end being connected to +12v. I am looking for a circuit to delay the on time of the relay for say 1sec. with an output from the sensor going from 12v to zero to activate.
All the above use circuits use plus volts to trigger.
Swagatam says
Hi,
You will need to do the following modifications to your NPN transistor for getting the 1 sec or more delay:
https://www.homemade-circuits.com/wp-content/uploads/2021/09/Arduino-booting-delay-circuit.jpg
For 1 sec delay the value of the capacitor could be around 100uF, however the 10K might need to be increased to 47K
Godfrey King says
Hi
This is as far as we have got, looking to hold the relay on for 0.5sec. This is by trial and error, we cannot measure the time on, what do you think.
https://www.homemade-circuits.com/wp-content/uploads/2022/05/img057.jpg
Swagatam says
Hi, It Looks good to me,
You can use a Darlington transistor and increase the resistor value to 100K, for getting higher delays.
Godfrey King says
Thanks, I may follow up that idea.
T.C. says
Hello Swagatam, I am trying to design a circuit similar to an automatic nightlight. The difference being that it needs to be off when the room lights are on, then switch on for about 10 seconds only when the lights go out, then switch off fully until the room lights come back on without doing a fade out. The other requirement is the light sensor section be powered by a solar battery and not draw off of the LED batteries, or some other type of light sensor that draws a miniscule amount of current (photo transistor?) when no light is detected. I figure there will be a capacitor in the sensor section, but I can’t figure out how to charge it without the LED’s switching on, or keeping the LED’s off when the capacitor becomes fully charged and as long as the room lights are on. I was planning on using a 2N2222 NPN transistor for the switch. The lights are 8 LED’s wired in parallel. The batteries will supply 4.5 volts. I really appreciate your help on this.
Swagatam says
Hello T.C., you can probably try the following circuit for the mentioned application: I have used IC 555 monostable since a fade out effect is not acceptable on the LEDs. R1 and R5 both can be 10K resistors.
T.C. says
Thank you for your reply. The circuit you have provided is very informative, but not quite what I need. The voltage requirements in the schematic is 5-12 volts. The maximum voltage available for my project is 4.5 volts, reducing to the minimum required to light the LED’s as the batteries drain. Could you please explain the function of the 2 NPN transistors in the input circuit? If I were to use the CMOS version of the 555 (to reduce voltage requirements and current draw) the solar cell should be enough to trigger it, or am I missing something here?
Swagatam says
Yes CMOS version of IC 555 can be used which will work with 4.5 V easily. The BC547 connected with the solar cell ensures that while light is present it remains turned ON, and keeps the other BC547 transistor turned OFF. As soon as light is switched OFF, the left side BC547 associated with the solar cell turns off which turns ON the right side BC547, which in turn causes the pin#2 of the IC 555 to be grounded, initiating the timer action. Pin#3 now turns ON for sometime turning ON the TIP122 and the LEDs until the time elapses and the systems is completely switched OFF, until the external lights are turned ON again. The solar cell is enough to trigger the BC547 since it only required 0.6 V for the process.
T.C. says
I pretty much understand now, but still have one question. With a 10k between Vcc and the second transistor base, and a 2.2k going to ground, wouldn’t the greater negative potential prevent the second transistor from ever being able to switch on?
Swagatam says
The BC547 requires just 0.6V base voltage to switch ON, which can be easily acquired from the shown resistor set up, it is fine according to me.
Sarah says
Hi!
I am currently working on a device that controls two 6VDC pumps, where the pumps are triggered with an IR sensor. The sensor will start the first pump and run for 1-2s, then with a time delay of 2-3s the second pump should start, while the first one has already stopped.
Do you have any tips how I could accomplish my goal? I was thinking of using capacitors and transistors for the time delay, but I’m not sure how I can make sure that the first pump stops before the second pump starts.
Thanks in advance!
Swagatam says
Hi, How is the sensor supposed to start the timer, is it through a momentary pulse? And what happens after the second pump stops?
Sarah says
Yes, the sensor will cause a short pulse. After the second pump stops, the system should become idle and wait for a new trigger of the sensor – then the pumps should be activated again.
This device should work similar to an automatic disinfectant dispenser. I hope my description is understandable!
Swagatam says
OK, understood, and how is the second pump triggered, is it through a second subsequent pulse from the sensor? And a 3rd pulse for resetting the circuit?
Sarah says
The second pump is not separatly triggered, it should just start after the first one has stopped. It would be great if there is no need for a pulse to reset the circuit, but if thats not possible then I will use a second pulse for now.
Swagatam says
It looks difficult without a manual triggering for the second pump. However it can be perhaps accomplished using a 4017 IC along with 4069IC and a couple of transistors. The sequence will initiate through the sensor’s negative edge signal, meaning, when the sensor switches ON and OFF then the sequence will be triggered.
Ransford says
Hello,
Please, Can you explain how to use the rotary switch on timer to set the time interval for a semiconductor timer such as AB 700-RTC11200U1. Practical examples would be appreciated.
Thank you.
Swagatam says
Hi, sorry I have never used the mentioned unit, so have no idea about it.
Manav Singh says
Hi Swagatam, Im working on a ac led strip my aim is to achieve the maximum efficiency..that means I want this circuit(AC strip) to work till 300v I have also designed a circuit but there is no way that i can share it with you… How can i contact you? I hope you get my mail when i post this comment… Hope you’ll reply..
Swagatam says
Hi Manav, you can upload it to any free image hosting site online and provide the link to me here. Make sure to remove https while providing the link.
And please post it under an LED driver article, because the above article is related to timers not to LEDs.
Mourad Latreche says
What is the 2m2 resistance value shown in the circuits above?
Swagatam says
2M2 = 2.2 Meg ohms
Mourad Latreche says
Thanks.
In the schematic where it says: “The following circuit shows how the associated push button may be rendered inactive as soon as it’s pressed and while the delay timer is in the activated state.”
Where is the load output pins?
[img]https://www.homemade-circuits.com/wp-content/uploads/2012/05/delay2Btimer2Bimproved2Bcircuit.png[/img]
Swagatam says
The load output is between BC557 collector and ground.
Mourad Latreche says
In the schematic where it says: “The following circuit shows how the associated push button may be rendered inactive as soon as it’s pressed and while the delay timer is in the activated state.” How many seconds of delay we are talking about, I need about 5 seconds delay, Can a potentiometer be added somewhere to make time delay adjustments?
Swagatam says
I don’t remember the timing that can be achieved from a 2m2 resistor and a 1000uF capacitor. You will have to confirm it practically. You can replace the 2m2 with a 2m2 pot and a series 1K resistor. If a 2m2 pot is not available you can try a 1M instead. Remember to put a 1K resistor in series with the pot.
Mourad Latreche says
I also have a concern about the load resistance, I got a solenoid of 9.4 ohms with a tested 1.4 amps under 12V, do you think this load can be handled by the circuit?
Swagatam says
If the load resistance is high, then the BC557 can be replaced with TIP127 or any similar transistor.
Mourad Latreche says
The load resistance is low (9.4 ohms pull solenoid), I was told by a forum member at eevblog that it will overload the T3 base even when a relay is used to energize the load.
Mourad Latreche says
T3 refers to the BC557 next to the diode.
Swagatam says
You can use 10K resistor for the base of BC557 if you are using a relay. If you want to use the load directly at the collector of the transistor then you will have to calculate the base resistor, although it can be also estimated through some practical experimentation..
Andre says
Dear Swagatam
Appreciate you can please assist, your guidance, thanks!!!. I want to charge a capacitor e.g. 16 V, 8 F from a car alternator and discharge the capacitor into a battery bank that is separate, not connected with the alternator. I want to, after the capacitor is charged up, electronically disconnect the alternator charging circuit from the capacitor and a few seconds thereafter electronically connect a seperate discharging circuit with the capacitor, discharging the capacitor into the battery bank (battery bank and alternator not connected). It is important that at no instance the alternator capacitor charging circiut and the capacitor discharging circuit into the battery bank will not make contact, not be connected. in contact. My question how to design the electronic alternator capacitor charging on off and the electronic battery capacitor discharging on of circuits. Apologise if this is off topic. Thanks, Regards
Swagatam says
Thank you Andre, However this seems to be totally off-topic. If possible please post it under the following article, I will try to help:
https://www.homemade-circuits.com/multiple-battery-charger-using-dump-capacitor/
ElectroGeek says
I want to make a delay push circuit in which Led should stays ON as long as push again for few seconds to turn it off.
Swagatam says
what you are asking is a flip flop circuit, not a delay circuit:
https://www.homemade-circuits.com/build-these-simple-flip-flop-circuits/
Robert Stewart says
Thanks for your efforts on this page! I haven’t seen what looks like a solution to my case, but I may have missed something. If I may, additional information on the behavior and application of each of your examples would be helpful. The descriptions are rather terse.
There are many solar powered lights on the market, and many of them have a dusk-to-dawn feature using a photovoltaic cell (whether the battery charge lasts that long is another matter). What I would like is to switch off the power a configurable length of time after the circuit is activated. For example, I’d like the light to run for one hour after the photovoltaic sensor switches on. Thus, I need a timer that operates from the moment power is applied and does so using the low power from a battery.
I imagine using a relay to control the power delivered to the light(s), but the relay control requires a timer that activates the relay initially and deactivates it after the delay (or vice versa, depending on the relay). The result will be used to illuminate a chicken coop at dusk long enough for the chickens, which have very poor night vision, to make their way inside without my having to switch lights on and off at the right time.
Thanks for your help!
Swagatam says
Sure, that is possible using a IC 4060 circuit as described in the following article:
https://www.homemade-circuits.com/how-to-make-simple-versatile-timer/
You can try the relay based circuit, with the following modifications:
Connect the output from the dawn to dusk circuit to pin#12 of the above circuit through a 1N4148 diode.
Make sure the output from the dawn to dusk circuit is high during daytime, and becomes low during dusk or in the absence of ambient light.
Alternatively you can simply connect an LDR across the positive line and the pin#12 of the above IC 4060 circuit an get the very same results.
George says
Good day Sir,
I have the following problem, hope you can help me with the circuit. I need to get a push-button effect when apply 220v current to the circuit, and another push-button effect when I disconnect the 220v.
Thank you very much for your support.
Swagatam says
Hi George, you can try the following concept:
https://www.homemade-circuits.com/wp-content/uploads/2011/12/set-reset-circuit.jpg
Please enlarge the image, since it is too small to see.
Haryjith says
Really Excellent work
Noxam Eric says
Congrats for this page… Swagatam
My problem is as follow, I have 5 volts and 12 volts at disposal (both are available if needed), I can use either transistor or 555 timer.
Only one push button. I Press one time the relay switch ON. I press another time: one TTL output (transistor ?) immediately advise a microcontroler, X seconds after (around 30 secs but may be less) the relay switch OFF. and so on
Any help will be fine
Thanks and Regards
Swagatam says
Thank you Noxam, is the relay supposed to latch when the push button is pressed for the first time. Should the 30 second delay happen only after the second press??
Eric Noxam says
Dear Sir,
Initial state
1) Press button relay switch ON
2) Press Button -> immediate advise MCU and relay switch OFF after 30 seconds
3) Go to initial state
Thanks alot
Swagatam says
Yes I have understood, but what happens if the button is not pressed for the second time? does the relay stay ON permanently? When should the delay start, after the second button press or the first button press?
Eric Noxam says
Yes the relay stay ON permanently, the only way to switch OFF is to press again the second time.
The delay start after the second press. May be I was not clear but there is only one push button here.
1) Press BUTTON relay switch ON forever
2) Press BUTTON -> immediate advise MCU and start delay to switch OFF relay (30 seconds)
3) 30 sec
4) Relay is OFF
5) Go to initial state
Best Regard
Swagatam says
Thanks, I am working on it!
Eric Noxam says
Great it is not an easy case
Thank you
Swagatam says
Yes it was not easy but I managed to do it…I hope it will work.
You can find the complete design in the below shown diagram:
Pin#4 can be used for triggering the microcontroller
Eric Noxam says
Great I will immediately try a prototype.
Which Components determine the 30 secs time ?
Regards
Swagatam says
Sure!
The 100K and the 1000uF at the base of BC517 determine the delay output….but I have selected them randomly, they will need to be adjusted with trial and error.
Jeff King says
I like your delay timer circuit without a pushbutton. I think this would be perfect for a project that I am working on. However, in order for me to utilize this design, it need to be powered by a 24 volt DC, 1 amp power source. Can this be modified to work on the above power requirements? \And if so, how?
Swagatam says
Yes, the same circuit can be used with a 24V supply also, without any modifications.
Jim Murphy says
Hi Swagatam. My old HVAC thermostat had separate switches for Auxiliary Heat and for Emergency Heat. When I bought a new brainy thermostat, it has regular heat and Aux heat, but no connection for emergency heat. The instructions say to simply wire the aux and emergency heat wires together. Well, that means that when aux heat kicks on, it runs both heat strips. So I was thinking…if I had a delay circuit between the aux and emer heat wires, set for, say, 6 minutes, then when aux heat kicks on, it would also energize the timer and not kick on emergency heat unless aux heat couldn’t raise room temperature in 6 minutes. Voltage is 24VAC. Heat strip relay coil is 24VAC 1 amp. So circuit would have 24VAC IN, and delayed (+-6 minutes) 24VAC 1 amp OUT. Timer would reset when 24VAC input went to 0 (thermostat kicked off). Can you help me? Thanks.
Swagatam says
Hi Jim, you can try the design which is given under the heading: “Delay ON Timer Circuit Working Details”
You will have to disconnect the R2 upper end from the supply line and connect it with the supply voltage that would appear when the the AUX heater kick in.
However, the input to R2 must be DC and not AC from the AUX heater.
Jim says
Thanks. The 24VAC aux voltage is only present when the Aux line gets energized by the thermostat. So are you saying I need two voltage inputs…one constant 12VDC source for R4/T2, and one switched 12VDC source for R2? Can’t I take the 24VAC from the aux line, rectify it, drop to 12VDC, and use that as my input voltage for the circuit? Why do I need two voltage sources?
Can the circuit handle 24 V or do I need to step the voltage down to 12 V?
–Jim
Swagatam says
OK, in that case you can rectify the 24V AC to DC and feed it across the supply lines of the delay timer. For this you don’t have to change anything in the circuit, no need of disconnecting the R2. However, if 24V DC is used then the relay will also need to be a 24V. Alternatively the 24V DC could be stepped down to 12V through a 7812 IC for using with a 12V relay.
Zuredu Dady says
Hi sir, pls I need delay diagram with note that will work for 8 hours and off 16 hours.
Thanks sir
Swagatam says
Hi Zuredu, you can try the first circuit from this article:
https://www.homemade-circuits.com/how-to-make-simple-programmable-timer/
use 20 nos of parallel 1uF non-polar capacitors for C1, and use 4M7 pot for P1
Oladunni says
Pls I need either an equivalent or another transistor to replace this b1398… I found it damage in my car stereo and we can’t find it in our local store.
Swagatam says
You can use TIP32 as a replacement
lumpy says
Hi, I’m looking for a simple 12v timer circuit that delays turning off a relay for about 5 seconds (easily changed if longer delay needed),
ie turn a main 12v power switch on, timer circuit/relay turns on and controls another separate event, after 5 seconds, relay turns off, but main power is still on to the timer circuit powering the other equipment. Only turning off the main power switch and starting the sequence again will it reset and allow the delay time again.
I was looking at either of the “Without a Push-Button” circuits, would either of these work as above description?
Or is there something better?
thanks in advance.
Swagatam says
Hi, you can try the 6th circuit diagram from top. This should be able to solve your query:
https://www.homemade-circuits.com/wp-content/uploads/2021/07/delay-off-timer-compressed.jpg
R2, C2 can be adjusted for getting the intended delay
lumpy says
thanks, with the R100K, C100uF values shown, what would the delay be?
what values would be suitable for approx 5 sec?
thanks again
Swagatam says
Calculating would be difficult. you will have to experiment it practically and check.
Chinomso says
Thank you sir, but I don’t know the right platform for this, for this is very crucial for my inverter circuit. i have actually benefited from a lot of your posts, and I will appreciate it more if you put me through on this. Thanks again
Swagatam says
Chinomso, please use the search box at the top of the page and type the required keyword for getting the relevant posts, and then you can select one of the relevant posts to ask your question.
Swagatam says
Hello Chinomso, you have posted your question under the wrong article, the above article is about simple delay timer, so please post it under the relevant article, if possible I will try to help!
Moses says
Thank you so much for this lucid lecture. Please sir I need an ON delay timer circuit diagram whereby during delaying a blinking LED will be glowing and after delaying it switches off while the ON LED starts glowing. My DC supply is 12v. I need it for my project. Thanks.
Swagatam says
Thanks moses, what is the range of the delay time….if it is short then a transistorized circuit can be applied, if it is much longer then an IC 4060 will be required….let me know about it!
Moses says
Thanks sir The delay time is 5seconds. I need the circuit diagram for that. That blinking effect of the LED marking when the delay is on is very important for the project. And again the blinking LED should stop or switch off when the delaying has stopped and the load is now activated with ON LED now glowing. Thanks.
Swagatam says
Hi Moses, you can try the following design:
for the blinker circuit you can try the following design:
Single Transistor LED Flasher Circuit
Swagatam says
….T2 should be BC547, it is mistakenly shown as BC557. T1 can be any other powerful transistor such as TIP122 etc. depending on the load. The actual load can be connected between the the positive line and the collector of T1
Moses says
Thanks a lot sir.I hope the blinker LED will go off as soon as the load becomes activated.
Swagatam says
yes it will go off when the delay is over, and the load is On
Moses says
Thanks a lot dear,am grateful. I think there is a natural calling dimension of what you here. You will continue to increase in wisdom as you do this. God bless you richly.
Swagatam says
No problem Moses, God bless you too!
Moses says
Good day sir. I need a similar circuit you designed for me but this time an ON delay timer circuit with blinker LED that blinks for 5seconds and then continues glowing without blinking any further as soon as the load becomes activated. God bless you.
Swagatam says
Hi Moses, did you try the previous circuit, is it working?…..the new circuit can be designed only once the previous circuit is tested and confirmed!
Gary S. Trent says
Is there an inexpensive way to set up a cascading digital data delay so that the original signal is delayed in several discrete stages? My proposal is to delay by hours to days an identical action taking place in another unit, followed by another identical unit with the same delay. The loads are LED lights, a small water pump, and a small fan. The application is in a series of planters where a computer turns on the PLC controlling full spectrum lights and simulates wind with a small fan and waters as necessary using a pump on a moisture control. I want the same action taking place in the other units by delay.
Swagatam says
If these are simple logic levels, then it can be delayed using a 4017 IC, but if the data is a complex information such as a set of signals or frequency then it cannot be delayed by a simple method
Obi says
Hi,
After days of research, i finally saw this article and its very interesting and helpful at the same time.
Being a mechanical engineer, i have not much knowledge about electronics. But i always fascinate how simple components does the trick and operates from simple to complex logics.
My intention is to build a tennis ball throwing machine.
My requirements are, once the machine turns left it should press the limit switch and in turn should stop the turning motor (M1) only for 2 seconds and the should start the motor again in order to crank the machine towards right(changing of dirrction will be done by mechanical crank and levers). And then same thing should happen again over the right side.
Also at the same time, the either limit switches should stop the supply to a proximity sensor installed at motor M2 only for 0.5 seconds and then the supply should start again as normal.
Supply would be 12V dc.
Kindly advise, thanks..
Swagatam says
Hi, I will try to design the circuit soon, and post it as a new article. However it won’t be a simple design rather a complex one involving 3nos of IC 555 circuit
KAYSWELL says
I truly appreciate this post. I have been looking all over for this! Thank goodness I found it on Bing. You have made my day! Thanks again
Swagatam says
I am glad you found the post useful, thanks for your kind feedback!
Vamsi Krishna says
Hi swagatam,
Can you please make 555 timer based ON time delay for 5min adjustable with 12v powering the circuit.
Actually many circuits i saw is delayed ON after pressing the push switch. But I need the circuit without using push switch. If powered the circuit, it should automatically start timer
As same like a stabilizer works.
Thank you ????
Swagatam says
Hi Vamsi, do you want the timer output to switch ON after some delay? Normally the output becomes ON immediately when the switch is pressed and then switches OFF, so do want the opposite.
Vamsi Krishna says
Hi swagatam
Yes. Exactly. I want the timer output to switch ON relay after some delay. But here I need the circuit without push button.
That means same just as like a telivision stabilizer.
If powered the circuit it should start timer and after 5min. delay then the relay should stay activated.
Thank you very much for the reply
Swagatam says
Hi Vamsi, I think the following IC 555 circuit can work to provide the inverted delay ON output.
Swagatam says
The diodes are optional, they can be ignored and removed…..
Vamsi Krishna says
Sir,
Here why a 1k resistor used in between 12v and out / 547 transistor….?
And R3 1meg and C2 470uf both the components are for setting delay right sir…?
Thank you
Swagatam says
Hi Vamsi,
The 1K provides the positive output after the delay is over.
yes R3 and C2 are for the time delay adjustments.
kaluya moses says
Hi prince of electronics mr swagatam, ever glad to hear from you. Please can you help me
to connect a two segement diplay on the the circuit of 5 to 20 minutes timer delay on?
I will be grateful for your support as usual. Thanks.
Swagatam says
Thank you Kaluya, You can refer to the following article, it shows how to make a digital timer using a two segment display.
https://www.homemade-circuits.com/simple-digital-timer-circuit-with-2-digit-display/
Abhay says
Sir can you make a diagram for adjustable on and off timer. Please for saving electricity of cooler water pump.
Swagatam says
Abhay, you can try the second concept from the following article using IC 4060:
https://www.homemade-circuits.com/how-to-make-simple-versatile-timer/
To know more about IC 4060 you an read the following article
IC 4060 Pinouts Explained
Steve says
I am in need a a delay on/delay off timer. Upon input contact closure I need a 1 to 2 second delay before the timer contact closes (and stays closed) and then upon the original contact opening, a delay of 3 to 5 seconds before the timer contact opens. Thoughts on how that might be accomplished?
Thanks!
Swagatam says
You can try the following design:
Abuesak says
Hello Swagatam. I want you to help me with a simple diagram that has a relay without a push button. When we connect it to a 12 volt source it gives one pulse and stops working even if the circuit is not disconnected from the source.
Thank you very much.
Swagatam says
Hello Abuesak, the solution is already given under the heading “Without using Push-button….” in the above article.
You can use the second diagram. and adjust the R2/C2 values for getting the 1 second ON time.
Hamid says
Dear engineers Swagatam
Please help us to get a analog circuit diagram of a Beeper.
Periode :3000 ms
– Thin beep duration 1000 ms
– Bass beep duration 2000 ms
Thank You very much for your answer.
Institute of Biophysic
March. 28.2021
Swagatam says
Sorry Hamid, I do not have this circuit with me at this time!
Patrick says
Helo sir
I expect the delay circuit to energize the relay after about 5 seconds and remain on indefinitely nuntil the stabilizer is switched off again,because the stabilizer output wire passes through its 12v relay.the delay circuit having its own relay,is energized and the its relay allows the stabilizer output wire to pass through after like 5 seconds.
Swagatam says
Patrick, I think it is just a delay ON timer circuit that you want, you can find it under the heading “Delay ON Timer Circuit Working Details”
The D1 zener can be removed and replaced with a wire link.
Adjust the values of R2/C2 appropriately for getting the 5 seconds delay
Patrick says
Hello Sir ,
No,not to modify anything in the stabilizer circuit,but to construct a different 5 seconds delay ON circuit board with its associated components and relay. I plan to pass the output of the stabilizer wire through the relay of the timer,so that when the stabilizer and the timer are powered ,the timer circuit switches ON output after 5 seconds. That is the circuit delays the switching ON of the stabilizer immediately when power ON switch is pressed.where do i tap the 12v to relay of the delay circuit. I hope i sound clearer now .Looking forward to your answer. Thank you.
Swagatam says
So this delay is required only during the initial switch ON period… or during the entire voltage up/down fluctuations also??
patrick says
helo mr swag,
I forgot to ask where i should i tap the 12v to suply the delay circuit from the stabilizer circuit board
Patrick says
Dear Mr Swagatam ,
Thank you so much for the above timer circuit.This is what i have been looking for.
Someone brought to me a Qlink stabilizer which couldnt enter delay to repair.I have concluded to use a timer switch to repair it by which the output wire of the stabilizer will pass through the relay of the timer circuit,to delay the stabilizer about 5 seconds.please i need the formular for the time calculation.
Should i go ahead or what do you suggest,Thanks.
Swagatam says
Hi Patrick, do you want a delay ON circuit, meaning do you want to modify the existing relay inside the stabilizer with a delay effect of 5 seconds?
Mike says
I would like to backlight a desktop calculator with el wire and a timing circuit. Is it possible to have the LCD screen trigger the circuit, switch on the el wire device and then turn off after 1 minute of inactivity? The wire is powered by 5v usb.
Swagatam says
You can try the following one:
The Diode shown at the collector of the transistor should be replaced with the EL lamp, cathode towards the ground side.
The EL lamp will light up when it detects the LCD screen light, and will remain ON for a minute after the LCD is turned OFF
IŞIL AYLANÇ says
Hi Swagatam,
Nice work you doing here, answering all the guys with patience…
I tried to find the nearest related circuit to make it easier finding a solution.
I will try to use this in my bathroom to activate a fan which I need to run immediately as soon as it sees some light and switches off after the person left the room and switched off the light.
I am thinking of replacing the diode which you told to replace with the EL lamp by a Relais which will power the Fan.
My questions are:
1. am I correct if I increase the capacity of the 470uf capacitor to increase the time for switching off?
2. R5 is a regular LDR ??
Thanks in advance..
Swagatam says
Thank you IŞIL AYLANÇ,
If you intend to use a relay as the collector load, then you can simply connect the relay coil parallel to the existing diode, and use its contacts to switch the lamp.
You are right, increasing 470uF will increase the delay OFF time.
Alternatively you can replace Q1 with two BC557 connected in Darlington mode and then increase the 27K value to 100K for getting a higher delay OFF time
R5 is an ordinary LDR
DrZipZwan says
Hi, very interesting circuits. Can you help me to build a momentary switch activated by 220v or 12v please, after a few second??
I just need it to replicated a push button, and then Off, so disconnected.
Next 220v or 12v applied, the switch close itself again, after a few second delay, and again off.
Thanx
Swagatam says
H, you can try the following customization
For loads other than the shown LED, must be connected beyween the positive and collector of the right side NPN….
DrZipZwan says
Thx you, your site is a MUST for an electro lover!!
I will try the schematic you gave, and I read down that you also advise to try first circuit, just replace the 33k with a 0.22uF capacitor, and remove the 1000uF capacitor.
So I will give a shot to both and see which suits my needs.
Thx you very much!
Swagatam says
Thank you, I am always glad to help!
Kamesh says
Dear sir,
I required off delay adjustable timer circuit 0-1hour
Input 230v AC
Output 12v DC
With 555 or if any
Swagatam says
Dear Kamesh,
you can try the first circuit from the following article:
https://www.homemade-circuits.com/interesting-timer-circuits-using-ic-555-explored/
Adjust R1, C1 values appropriately to get the 60 minute delay.
Rahul Sharma says
great description and circuits.
I am try to make circuit in that, when we press button turn on led for some millisecond and turn off even if button is still pressed.
please help me on it.
Swagatam says
Thank you, just replace the 33k with a 0.22uF capacitor in the first circuit, and remove the 1000uF capacitor.
Marvin Manuel says
Swagatam, look at the performance and mastery of the timed states, it seems they are your strong suit … I am fond of them, this delay for ignition plays in different projects, it is dynamic … hello, do not forget the washing machine type with delay of the start of the other turn … type washing machine …
Kennis says
I am looking to build a momentary foot pedal switch in a audio application. I am using a condenser mic which requires 48V DC. I would like to build a foot pedal that allows me to use a single xlr input but has two xlr outputs. 48V “phantom power” comes from the mixer via pins 2 and 3. I need to be able to add about a 5 millisecond delay when the switch is pushed in order to keep from causing a “popping” noise. Have you ever done anything like this?
I appreciate any help you can provide.
Swagatam says
Do you want the delay for the 48V DC input or the music input? If it’s for the 48V Dc, it can be done, but not for the music!
Kennis says
I have been looking at another option that may be easier. If I used a constant 48V power supply upstream of a DPDT momentary switch that would keep me from having to use the mixer 48V power. the problem is that switching the signal from one channel to the other would possible cause a popping in the sound. is there way to stop the 48V from traveling back thru the switch? From what I have found, I sound be able to short the signal for the “off” channel to pins 2 and 3. I hope this makes sense.
Swagatam says
I will have too see the schematic drawing to understand the positions of the signals, only then I can suggest a solution. A popping sound may possibly arise due to the sudden switch ON of the 48 V DC, not the audio signal.
If you want the 48V to reach the other side slowly or exponentially, then that can be done with a transistor capacitor and the popping sound could be avoided.
Hakim says
hi.
After energizing a dc voltage regulator, I want to open it a few seconds late.
how can I do that?
thank you.
Swagatam says
which DC regulator?
hakim says
MIC29302WT
Swagatam says
try putting a 100uF parallel to R2
Swagatam says
That’s great Dennis. To increase the timing you just have to change the 100k resistor to 1M….the other 1M resistors shouldn’t be changed.
Additionally you must also change the BC557 base resistor to 100k each…please do these changes you should be able to get the desired delay.
If still you are not satisfied then you can try the next circuit just below the circuit being discussed.
Swagatam says
Thanks for informing, hope you succeed with the project soon!
Swagatam says
Dennis, in the following circuit, both are NPN because here we are looking for a delay OFF effect, not delay ON. Meaning, the relay should be ON initially then OFF after the set delay is elapsed.
https://www.homemade-circuits.com/wp-content/uploads/2021/01/delay-off-timer.jpg
This circuit will allow you to get a more accurate control of the desire delay. You can easily get 30 seconds by adjusting the values of R2 and C2.
Swagatam says
yes, it is wrongly printed as BC557 for the T2, which should be actually BC547
Swagatam says
OK that’s fine, but for driving an SSR TIP127 won’t be required, you can simply use a BC557 instead, or any similar small signal PNP
Swagatam says
Dennis, any SSR will require just a few mA to switch, which should not cause any loading on the driver circuit unless the supply current is too low, or the SSR itself is faulty.
You can also check if your SSR connections are correctly implemented, the (-) should connect with the ground, and the (+) should connect with the collector of the PNP transistor.
John Tyler says
Thank you for the explanation.
As soon as i get some 10k resistors. I will give it a try and report back.
Swagatam says
Sure, no problem!
zulkifal says
An electronic device employs a timer circuit of a kind shown in figure. RC circuits are used to
create delay for alarm, motor control and timing application. The given circuit is part of building
security system. The input of the RC circuit is a 20 V and the capacitor value is 40 μF. When
the door is opened, you have a specified number of seconds to disarm the system before
alarm goes off. Determine the value of resistance required to create a delay of at least
25 sev ± 0.5 sec. The threshold voltage to activate the alarm is VC = 16V ± 0.05 V
John Tyler says
Hello
I’ve built a muting circuit to mute audio on startup of an amplifier by grounding the outputs and then releasing the grounds once the circuit trips the relays. The problem is only one relay is activated, the other one sometimes works many seconds later or not at all.
Is there a way to post a schematic?
Swagatam says
Hello, you can post the schematic on any free image hosting site and provide the link here, I will check it out…
John Tyler says
Here’s a link to the image of the schematic.
Swagatam says
A relay should be always connected to transistor collector, not sure why you have connected them to the emitters. Anyway, in the present set up replace R1 with 10k, and add a couple of more 10ks one each in series with the bases of the two transistors, an see if that solves the issue….
John Tyler says
Thanks for the reply.
I was following someone else’s schematic. So it’s ok with the relay coil connected to the emitter?
I have the 2 transistors on a stripboard with 2 bases on the same strip. Could i just use one 10k resistor going to both? If not I’ll have to redo the layout.
Swagatam says
Using two separate base resistors ensures uniform sharing of the current and equal response from the transistors, if you use a single the condition may not show any improvement.
John Tyler says
Ok so after marking those changes. I can hear the relays clicking between 7 and 10 seconds. Strange how they don’t all fire at the same time. Perhaps it’s just the relays? They’re 5v telecom replays and are brand new. I would like the delay to be 10-20 secs. How can i achieve this? Thanks for your input.
Swagatam says
It is because the characteristics of the transistors will be always slightly different and will react differently to the relays. Additionally The relay resistances will be also never be exactly the same which may further add to the discrepancies.
I think you should go for a DPDT relay, which will enable you get a synchronized switching of both the relays. Otherwise you may consider shifting the relays on the collector sides for the same.
Seun says
Good day Sir, please I need a circuit that when DC supply is given its relay is activated and deactivated immediately. Thanks Swag
Swagatam says
Seun, just connect a 47uF capacitor in series with the relay coil, and a 22k resistor parallel to this capacitor, this should fulfill your requirement…
Seun says
Thanks Sir, it worked, but how can I make the on and off 3secs interval for the relay push button.
Swagatam says
Glad it worked seun, the value of the capacitor determines the ON/OFF delay time, higher values will give higher delay time and vice versa
Seun says
Thanks Sir for this article, I tried the “without push button” circuit, but it was was even on for more than 10minutes and never became deactivated ‘forever’ I don’t know why is not going delay off .
I want a without push button circuit, please help out.
Swagatam says
Seun, you can try reducing the 1M base resistor to 100k or lower and see the effect, or you an also try reducing the value of the 1000uF to 100uF
Moses says
No I have not built the circuit. I have been busy with other things. I will let you know as soon as it is built. Thanks.
Swagatam says
Okay!
Bob says
Thank you, I will try that and get back to you.
Bob.
Bob says
Hi,
Like most people I am flicking through the internet looking for a solution to a particular problem.
I want to monitor a train on a model circuit, when it goes over a sensor (in this case one track connected to the other by the train wheels, the common rail has 0v on it so the input to the circuit would start its timer when it sees a 0v signal) nothing happens initially when the train leaves the section and the signal is no longer there then a relay is closed for a second (after a short delay, say 3 seconds, to cover for a dirty rail).
The way I am trying to do it is to charge a capacitor and keep it charged while the signal is coming from the track, if the wheel misses for a second the capacitor would start to discharge but it will see the signal again and recharge so not get to the point when the relay closes till it has seen no signal for about 3 seconds.
Would the delay on timer circuit above do this?
Thanks.
Bob.
Swagatam says
Hi, I have never used a model train, so I am having difficulty in understanding the situation, there are many things which are not clear, like, where should the circuit be, inside the train or outside the train, what is a dirty rail? what is the wheel supposed to miss and where?
Alternatively, if you can explain how you want the timer circuit to work, or the specifications of the timer circuit, It would help me to understand the situation better!
Bob says
Thank you for the reply.
What I am trying to do is produce a small circuit that receives a 0v input from a garden railway.
The system works on 24v and has a number of small circuits consisting of a resistor and relay in series like this.
The relays I am using have four sets of contacts, the other three are used for changing the signals from green to red and back.
Points A and B are connected to one rail, the other rail is connected to 0v. A train goes over the point A and connects the bottom of the relay to 0v, this energises the relay. As the relay coil signal goes through one contact the coil is now latched on. When the train goes over the point B it puts 0v on the top of the relay and the relay de energises.
What I would like to happen is the train crosses point A and a 0v signal is sent into a circuit, if the 0v stays on (or keeps appearing because due to dirty rails the signal may not always pass cleanly, there may be a break of, say, half a second) then there is no output from the circuit, i.e. a capacitor keeps getting charged or discharged. When the train leaves point A the capacitor gets the chance to discharge or charge far enough to produce a signal that will show on the relay to energise it. This will indicate that the train has passed the point A and moved to a point between point A and B. A similar circuit could be used at point B to do the same thing.
Swagatam says
OK thank you for explaining in detail,
I think I got it now.
You can probably do the following modification to your existing circuit:
The base diode can be a 1N4148, and the capacitor can be a 1uF
Ugochukwu says
My fridge at start up draws much power. i need a simple circuit design to control it from getting damaged as i feel it may. pls is it adviceable to keep using the fridge that way or to get a deigned circuit to cause a delay of inflow power in it?
Thanks
Ugo
Swagatam says
That looks quite normal to me, fridge motors or any other motor will always draw higher current at the start up. If you prohibit this it can cause malfunctioning of the system
Claudio Sanchez says
Hi and thanks for such an informative article. I’d like you to please help me with this, at it seems I’m not able to get a solution.
There is a microprocessor that needs a delay to be set when being powered up. The BE line needs to be switched from low to high 100 ns after the RESET line.
I explain again: when being powered up, the RESET line switches from low to high (0 to +3.3v). And 100 nanoseconds *later* the BE line also needs to be switched from low to high.
How can I achieve that
Thanks.
Swagatam says
Hi, thanks, you can apply the +3.3 V to the BE line through a PNP transistor and delay the transistor conduction through a resistor/capacitor network at the base of the transistor
Illuminado says
Hi there,
I’m not sure if this is entirely relevant to this article, so apologies in advance, but looking for input/ideas from someone that knows far more about electronics than I do! I’m wondering whether it would be theoretically possible to do some of the things mentioned above for a potentiometer (for an analog stick on a video game controller). Essentially, I’m wondering whether its possible to create a circuit where moving the stick (say to the right) will register an input for a very brief window (say 1/60th of a second) before instantly returning it to the neutral voltage of the potentiometer (as if the stick was in its neutral position) despite still being held. Then, when the stick is released physically, it would be ready for this process to repeat. This essentially would work to eliminate the “hold” input of the stick and simulate it being a very precisely timed button press.
Sorry, I’m aware this is a very poor explanation; I’m not an electrician! This is more of an academic interest with a mind to modifying my hardware if its within the realms of possibility!
Thanks very much for reading!
Swagatam says
Hi, do you mean creating a momentary time delay pulse of 1/60th second through a pot movement at its extreme end?? Yes that can be done through an op amp attached with the pot resistance..
Dave J N says
Hi again Swagatam
Having now completed a timer circuit based on your design, I now want to build a door alarm circuit that will be triggered by the opening of switch (maybe a reed switch).
This will set of an alarm by the operation of a relay for a set period (maybe 30 seconds) then it will turn off.
I see that you have done circuits for the above however using the 555 but I cannot see one that will fit this final requirement.
That is, once the alarm has completed its operation, then I do not want it operating again, even if the door (reed switch) is left open or is closed or opened again. The circuit can only be reset by manually operating another switch.
The circuit can run off a voltage of 9 – 12 dc volts.
Regards
Dave
Swagatam says
Hi Dave,
You can try the second circuit from the following article:
https://www.homemade-circuits.com/loop-alarm-circuits-closed-loop-parallel-loop-series-parallel-loop/
You can eliminate the extra switches S3, S4, and replace S2 with your reed relay.
The SCR can be a C106
If you want the reset switch to be a push-to-ON type, then you can use the same in parallel to C1, and replace S1 with a wire link.
Dave J N says
Hi Swagatam
Thanks for the quick response.
I understand that the alarm will be audible until such time the reset switch is activated in this circuit. However I maybe didn’t make it clear that I only wanted the alarm to be audible for around 30 seconds and then turn off. Then it would require the manual reset switch to restore the circuit back to its normal state where its waiting on S2 to open.
Regards
Dave
Swagatam says
Hi Dave, I got it, you can try the following circuit with some modifications:
https://www.homemade-circuits.com/wp-content/uploads/2019/10/Fig-2.jpg
Replace the switch S1 with the anode/cathode of an SCR.
Next connect the reed switch across the positive line and the gate of the SCR, and connect a 1k across agte and ground of the SCR
Dave J N says
Hi Swagatam, I’m slightly confused about the reed switch going between the +ve rail and the gate of the SCR. Because the Reed switch will be normally closed when the door is closed, which will mean that a positive voltage will be applied to the gate of the SCR turning it on and causing the 555 at 3 to go high and activate the alarm. Or have I got something wrong?
Regards
Dave
Swagatam says
Hi Dave, In that case, simply reverse the configuration. Connect the reed between SCR gate and ground line, and connect any resistor between 1k and 10k between gate and positive.
Dave J N says
Hi Swagatam,
Ok, I have now tested it and found the following.
When the reed switch opens the SCR latches and applies a low state to pin 2 of the 555. Then Pin 3 goes high and operates the relay. All good so far. At Pin 6/7 the voltage then gradually rises until it exceeds the 2/3 supply voltage. But Pin 3 stays high and the relay does not release.
Is this because the SCR is still latched until the supply voltage is disconnected, so it will continue to supply a low state to Pin 2?
In a separate test with the reed switch closed and the SCR not latched, I momentary applied a low state to Pin 2 and the relay operated then released after the timeout. All good.
If the SCR being permanently latched is causing the relay not to timeout, then what I would like is for the relay to operate after the reed switch opens then for the relay to release after the timeout period. Irrespective of how many times the reed switch closes and opens during the timeout period or after the relay releases. Its only by removing the power supply and reconnecting the supply that it will restore the circuit to normal.
Look forward to your thoughts on this.
Cheers
Dave
Swagatam says
Thanks Dave, I think the following modification in the previous diagram should perfectly take care of the issue that you facing.
The capacitor in series with the pin2 of the IC ensures that the latching of the SCR does not have any effect on the pin2 of the IC 555
Norman Kelley says
Hi Swagatam,
Ok, I bread boarded the 4060 circuit as you suggested as follows: The positive for the KD9561 alarm is connected to the positive rail. The negative of KD9561 alarm is connected to pin 3 of the 4060. The LED is connected from positive rail to pin 4 of the 4060. The 4060 will not sink enough current to play the KD9561 alarm, so I added a PNP transistor. Pin 3 of the 4060 is connected to the base of the BC327 PNP transistor with a 1K resistor. The negative of the KD9561 alarm is connected to the emitter of the BC327 PNP transistor. The collector of the BC327 PNP transistor is connected to ground. When power is applied, the KD9561 alarm sounds until the 4060 times out and the diode latches it with a high output from pin 3 of the 4060. The KD9561 alarm stops and the LED stays lit, which is correct. I can add my delay-on 555 circuit to allow powering on the circuit without the KD9561 alarm sounding, but I still need a way to only turn on the 4060 when LIGHT is present. I haven’t been able to find any example circuits using LDRs to activate a 4060 IC. Maybe I’m missing something. Assistance please. Thanks!
Swagatam says
Hi Norman, for LDR triggering, connect pin12 of the IC to ground through the LDR, and also connect a 220k from pin12 to the positive line.
Norman Kelley says
Hi Swagatam,
I really don’t understand your last comment with respect to the cd4060. So, I used the first 555 delay circuit to allow powering alarm without the alarm sounding on power up. I then used your 555 one shot circuit to allow the alarm to activate with light and sound for a preset time and then not re-alarm when light is present again. I then used your transistor latch circuit to latch a flashing LED, which indicates the alarm has been tripped. The circuit works good and I am sending you a schematic by email. Thanks again for you help!
Swagatam says
Hi Norman, If you connect the IC 4060 exactly as suggested by me, you would be able to get all those required features through a single IC.
Norman Kelley says
Yes, exactly!
Swagatam says
This can be achieved through a single IC 4060. Use its pin3 to activate the buzzer, also connect a diode from pin3 to pin11 for latching the buzzer.
The buzzer should be connected across positive line to pin3. The LEd could be wired across pin4 and ground for getting the flashing effect.
Norman Kelley says
Hi Swagatam,
OK, I am still working on the Refrigerator Alarm. The delay circuit and your one shot circuit work fine. I wanted to add a latched LED (Flashing type) to indicate that the alarm had been triggered. I have tried several circuits with no success. The most promising looked to be using a BT169. I connected it with a 10k resistor from the transistor pair from pin 3 to the gate. I connected the LED from 5v to the anode and connected the cathode to ground through a 2k2 resistor (to protect LED). It works until the 555 times out and then the LED is off as the alarm is off. If I remove the 1uF capacitor from the circuit, it works. The LED flashes even after the 555 times out. which is what I want. It indicates the alarm has been triggered. The problem is ,without the 1uF capacitor, the alarm will sound anytime it receives light. So when the mother comes home and opens the refrigerator door, the alarm sounds and she has no idea if the kids have been in the refrigerator. I am sending by email a schematic of my circuit. I hope this is not aggravating you. Thanks for your help!
Swagatam says
Hi Norman, do you mean the whole circuit should be latched and “frozen” when the door is opened by the child, until reset manually.
So when the child opens the fridge door, the alarm sounds and latches the LED. Next, when the mom opens the door the alarm does not sound, and the mom sees only the flashing LED, realizing that the fridge had been opened before by someone.
Norman Kelley says
Hi Swagatam, I found a delay ON circuit that works. It is another 555 circuit that has pin 7 not connected. Pin 2 and 6 are shorted together. A 470uF cap in connected to pin 2 or pin 6 with the negative leg and the positive leg connected to VCC. A 47K resistor is connected from pin 6 or pin 2 to ground. When the circuit is powered the capacitor keeps pin 2 positive until the cap reaches a point and stops transferring to pin 2. The 47K resistor allows pin 2 to be grounded and then pin 3 goes high. Pin 3 is connected to the base of a BC548 with a 1K resistor. The emitter of the BC548 is connected to ground. The collector of the BC548 is connected to the base of a BC327 with a 1K resistor. The emitter of the BC327 in connected to VCC. The collector of the BC327 is connected to the positive rail of the circuit you gave me. The negative rails are common. I tried this with out the transistor pair and it worked, but was weak, so I added the transistor pair. I also added the same transistor pair to the output from your circuit as it provided a little more power to the music siren chip. I love your circuit. I tried to find it on your site so I could understand exactly how it works, but I couldn’t find it. Would you mind explaining how your circuit works. I understand some of it but the diodes are confusing to me. Thanks again for your quick response. You are the best!
Swagatam says
H Norman, that looks just the opposite of a monostable operation. As long as the capacitor keeps the pin2 high, the output pin3 remains low, and as soon as the pin2 becomes low, the output pin3 is pulled is high permanently.
Norman Kelley says
Hi Swagatam,
The circuit you suggested works great for the delay off for the alarm. What would you suggest for the delay on part of the circuit? I need to be able to power on the circuit with a delay so I can place it in the dark space without the alarm sounding prematurely. Thanks!
Swagatam says
Hi Norman, You said that
“the alarm would be powered on and placed inside of the refrigerator. when someone opens the refrigerator door, the alarm would sound and if they close the door, the alarm would continue to sound for say 1 minute. and then would shut off and not reset”
The 555 circuit would do exactly the same…. I cannot see the delay ON action need anywhere in your requirement…
Initially, for the first time the alarm will sound while installing the system inside the fridge, but once installed, the 555 circuit will sound only when someone opens the fridge door.
Norman Kelley says
Hi Swagatam,
I forgot to mention that I will be powering this circuit with 3 AAA batteries. The chip will work on 3-4.5v
Swagatam says
Hi Norman, if you apply the circuit suggested by me, you can use a CMOS IC 555 and use a 4.5V comfortably.
Norman Kelley says
Hi Swagatam,
I have been working on an alarm that will drive a prerecorded Chinese music alarm chip. The alarm chip needs clean 3v to operate correctly. The alarm would need a delay when power was applied so the alarm module could be placed. The alarm would need to be activated by light. For example, the alarm would be powered on and placed inside of the refrigerator. when someone opens the refrigerator door, the alarm would sound and if they close the door, the alarm would continue to sound for say 1 minute. and then would shut off and not reset. The circuit would have an led to indicate that the alarm had been triggered. This led would be a flashing red led and would only light when the alarm had been triggered. I built the alarm with a LM358 using one side as the alarm trigger and the other side as the delay. I tried adding your latching transistor circuit and it worked. The problem with my circuit is if you block the LDR the alarm goes silent and it doesn’t shut off after 1 minute. Once the time delay is over the circuit remains high forever. I have the output from the LM358 feeding a NPN transistor that grounds a 555 one shot, but it never shuts off due to the input from the LM358 being continuous. I tried adding a 0.1uF capacitor with resistors on both sides to the positive rail and it still would not shut off. The grounding resistor from pin 2 of the 555 is driven from pin 1 of the LM358. Do you think you will have time to design such a circuit and post it on you site? Thanks for your assistance.
Swagatam says
Hi Norman, I don’t think op amps would be required for the application, you can probably use the following 555 monostable for the purpose:
The LED can be added in parallel to the speaker for the blinking effect.
Seun says
Please how can I restart the 2nd circuit without discharge the capacitor, because it works first, but doesn’t restart after reconnecting without shorting the capacitor to discharge it
Swagatam says
The answer is given in the transistorized version presented in the following article:
https://www.homemade-circuits.com/how-to-make-long-duration-timer-circuit/
Jriofrio says
Hello, Good morning…
Wow, lots of questions and comments.
I’m trying to find one of your designs and suggestions in here to power a computer ON and OFF with a IR remote. Not sure if this is the best way the go, but i would like to find out if possible.
The computer power button use 5v, when pushed it shorts the connection (like 0.5 sec needed).
Could you suggest a best option/design to accomplish this, please.
Or you think will be best to go a different route like using a 555 or perhaps an Attiny85 mcu, or ???
I have see many circuits, getting confuse which way to go.
Thanks a lot for your time and any suggestions.
Good Day
Swagatam says
Hi, if you are sure about 0.5 second ON/OFF trigger for the button start then it can be easily done with a 555 IC based IR remote control or even an ordinary RF remote control, which looks more convenient since the whole module can be cheaply procured. In fact the momentary ON/OFf system is already included in those systems.
Bob Schumacher says
I sincerely appreciate your circuits for the delay on or the delay off. Would it be possible to show a circuit that does both – a 3 second delay on (no momentary switch) before turning on the led and also supports a 3 second delay off (when the power of 3v is turned off) before turning off the led? Not looking to cycle the on-off but instead support a one time delay on and if on long enough to charge the capacitor, also support a delay off. Would this be possible with the fewest electronics?
Swagatam says
It can be probably achieved with the second design through some minor modifications, as I have explained below:
The switch points should be shorted. The 2m2 should be replaced with two series 1M resistors, and the capacitor should be placed across the junction of these two 1M resistors and the ground line.
For an enhanced effect, the emitter of the NPN could be connected to the negative via a 1N4148 diode
Bob Schumacher says
Thank you Swagatam for the super fast response.
Two questions:
1. For the first two diagrams, I was able to get them to work perfectly at 12V. Very nice. What would change for only 3V (actually 2.1 to 3V) rather than 12V? (This application uses two AAA batteries that may be rechargeable to drive the led, hence the low voltage).
2. I tried making the changes you suggested to the second diagram but when I move the capacitor to the junction of the two 1M resistors, the led fails to go on at all. If I move the capacitor back, only the delay off portion works as before but no delay on. Would it be possible to email a diagram that supports both a delay on and delay off that works for 3V?
If the requests are out of line, no worries, please let me know and again thank you for all your help.
Swagatam says
No problem Bob, however the two resistor and a center capacitor network should definitely work, regardless of the supply voltage.
You can try reducing either the resistor values or the capacitor value and check the response, you may find the circuit working exactly as per your required specs.
For 3 V the emitter of the NPN must be directly linked with the ground without a diode.
Dave J N says
HI Swagatam
Is there a circuit you can provide that will do the following please?
1. I want a relay to operate when my cars ignition (+ve 12V) is turned on.
2. The relay is to remain on for around 5 seconds, then it will release.
3. It will not then re-operate due to the ignition switch still being on.
4. It will only operate again once the ignition has been turned off, then turned back on again at a later time.
Thanks
Swagatam says
hi Dave, you can apply the first circuit from the following article with a little modification:
https://www.homemade-circuits.com/input-trigger-synchronized-monostable/
Please connect a 10uF/25V capacitor across the points labeled as “Left Pins”
That’s all.
You will also have to adjust the values of R2, and C1 to get the required 5 seconds precise output
The 12V supply to the circuit must come from the ignition switch
Dave J N says
Excellent, thanks so much Swagatam for that and for coming back to me so quickly.
I have now got all the components and will put it all together in the next couple of days.
Cheers
Dave
Swagatam says
That sounds great Dave, let me know if you have any problems!
Dave J N says
Hi again Swagatam,
Made up the circuit on a spare bit of Vero board I had, then tested it’s functionality under all conditions. And the verdict….perfect!
Thanks again Swagatam
Now all I have to do is wire it into the car.
Swagatam says
Thanks Dave, and glad you could build it without any issues, hope it works in your car also.
jayanath says
dear sir i have made above IN4148 circuit. with 2N4401 and 2N4403 transistors. but LED is always on when power supplied. any reason for that sir?
Swagatam says
Hi Jayanath, are you referring to the second design? It requires a push button, which is pressed momentarily and released, which keeps the LED illuminated for sometime then shuts it off. If you keep the NPN base permanently connected to the supply then the LED will stay always ON
R Fernandes says
Dear Mr. Swagatam
Appreciate your detailed responses and feedback to each query received.
I need help with the following application.
A 220 VAC load needs to stay off for a 15 second delay and then stay on for 30 minutes. This should happen on switching on a main power supply to the load.
Pls do help me with the correct circuit for the same. The application is Industrial in nature. The load current is not high (1A) and can be switched via a PCB mounted relay
Swagatam says
Thank you Dear R Fernandes,
you can try the following concept:
C2/R3 decides the delay ON time (15 seconds)
C1/R2 decides the OFF time.
I forgot to add a 1N4148 diode across pin3 and pin11, so please add it. Cathode will go to pin11
Swagatam says
The timing parts are arbitrarily chosen, so you will have to tweak them to perfection with some trial and error.
R Fernandes says
Dear Sir
Your promptness and attention to detail are impeccable. Thank you very much for the help. Will have this tried and will revert with feedback once the markets open here for component procurement.
Best Regards
Swagatam says
No Problem dear Fernandes, please feel free to revert if you have any problems or doubts regarding the project, I’ll be happy to help!
Đặng Văn Mười says
Hi Swagatam,
I am looking for a circuit for my DIY hand sanitizer. Could you please help me to figure out this issue.
Power supply for this circuit is 12V (because I am using 12V pump).
The input is from an IR obstacle avoidance sensor that will produce 0V when detecting hands and 12V in normal condition. The function is as following:
1. Pump is in standby mode.
2. When detecting hands, pump is activated immediately and running in 2 seconds.
3. After 2 seconds, pump is deactivated in 3 seconds (this will prevent pump working continuously), even IR sensor detected hands or not.
4. After 5 seconds (2 seconds activated and 3 seconds deactivated), if detecting hands go to step 2, if not go to standby mode.
I attached a diagram for better understanding.
https://photos.app.goo.gl/NCCPTeyArYRLCruh7
Thank you and hope to receive your feedback.
Rgds,
Muoi
Roger says
Hi, I bought a 240v ac adjustable electronic repeat cycle timer, when buying it I didn’t realise it was 240v ac as I need 24vdc. I can supply 24vdc to it and get it working but the moment I put any load on the output it instantly drops from 24vdc to almost no volts. Can anyone please let me know what needs to be done to the pcb to fix my issue. I can supply photos of the pcb if needed. Thanks
Swagatam says
If you apply 24V Dc in place of 240V AC it won’t work. You must find out the operating DC of the circuit and the supply lines of the PCB, and then apply the specified amount of DC across the DC supply lines of the board via a protection diode.
Ron Patton says
Hi Swag –
I’m looking for a Power-On Timer solution that may be a variation of the Section 2.3 Without-a-Button circuit. I’m powering a 12VDC 2A (sustained) solenoid. I would like the solenoid to activate when power is applied (no trigger button) and stay on for at most 10 seconds (6-10 seconds set via RC would be okay). The solenoid would then deactivate, even though power is still applied, until power is removed and then reapplied. If power is removed before timeout, the solenoid would deactivate (expected because there’s no power). I like the 2.3 circuit but I’m wondering if it could be done with just one transistor since the delay is less than 10 seconds. I prefer a transistor/triac/opto output and not use a relay (for reliability due to sparking). I will/can put a flyback diode across the solenoid coil since it does have some bite on discharge! Any ideas? Thanks!
Swagatam says
Hi Ron, you can use a single transistor, a Darlington type such as TIP122, or TIP142 for a higher current load. You can also try a MOSFET such as IRF540 for improving the results.
Jill says
Sir can you give a schematic diagram for this? How to connect MOSFET in the said circuit? I also need an automated spray (no switch button) the spray will be on due to the PIR sensor. The process must be, when the PIR sensor detects a person in front of the door, theres a 5-10 seconds delay to trigger the dc pump which will cause the spray. And i need the spray to be on for 3-5 seconds before it turns off.
Swagatam says
Hi Jill, you can try the following schematic:
I forgot to show a 1K resistor across gate/source of the MOSFET. So please add it. The 10uF will need to be tweaked appropriately for getting the mentioned delays.
Jill says
Sir can I ask on how this works? Like can you explain what happens to every component on this circuit? I wanted to know the working principle of each components. Thanks sir
Swagatam says
When PIR detects humans, it sends a positive bias signal to T1 base, but due to C2 T1 does not conduct immediately. When C2 charges fully T1 conducts, which switches ON T2, the MOSFET and the solenoid.
When the human leaves, T1 stops conducting but T2 continues to hold the solenoid until T2 base capacitor discharges fully.
Jill says
Thank u sir. But how did you come up with the certain values of capacitors and resistors? Also sir what specific model of transistors should I use for the BJT and MOSFET. Like their max current and power rating (I have no idea on this)
Swagatam says
I have selected them approximately due to the wide tolerance range for transistors. The base RC decides the time delay with respect to the collector load. The basic formula can be studied in this example article:
https://www.homemade-circuits.com/universal-high-watt-led-current-limiter
Jill says
Also sir If i were to use a dc pump what the minimum or maximum ratings should i consider? Like its min/max current, voltage and power?
Swagatam says
I have not yet investigated charge pump circuits, so can’t suggest about it.
Jill says