In this post I have explained a couple of interesting timer circuits customized as per individual requirements.
The first one is a kind of week/day programmable timer circuit for actuating a motor for a predetermined time only during certain selected days of the week, while the second timer circuit is for alerting a lecturer regarding the finish of the allotted time of his/her class period.
The ideas were requested by Mr. Stevan and Mr Ilman respectively.
Circuit Request#1
I spend more than 20 hours on your site, searching for a circuit I need...
My knowledge is not enough to figure which circuit I can use and I tried with many of them... If you have time, I would be very grateful if you could help me and design circuit.
I need timer circuit which will allow me to choose for how long it will stay ON (3-10 sec) and how many times it will repeat that action during 7 days (1-7 times i.e. once in a week, twice in a week, every day etc). I need it for controlling 9-12V electrical motor.
Circuit Diagram

Circuit Operation
As shown in the above week day programmable timer circuit, the IC 4060 at the left side is wired up as a 24 hour timer circuit.
The time length is determined by the 22uF capacitor and the 10m pot. A suitable fixed value may be selected for these two components for getting the specified time delay.
The 22uF capacitor must be non-polar low leakage type of capacitor and the resistors should be MFR 1%
The output is received from pin#3 of the above IC, which goes high as soon as the set time elapses. This results in a short pulse to pin#14 of the IC 4017 which is configured as a 7 stage counter divider here.
With every pulse after the preset 24 hours interval, the IC 4060 also resets itself via the diode connected across its pin#3 and pin#12.
The IC 4017 output functions as a week timer where its 7 outputs shift (become high) from pin3 to pin6 sequentially in response to the above 24 hour pulses, depicting the 7 days of the week.
The right hand side IC 4060 is configured as short duration timer for activating the motor which may be connected with the shown relay contacts.
This stage is integrated with the IC 4017 stage through the shown 7 1N4148 diodes. Depending on what days the motor needs to be switched ON, only those relevant diodes are connected with the 4017 outputs, rest of the diodes are kept unconnected.
After all these connections, when power is switched ON, the left hand side 4060 triggers and forces the outputs of the IC 4017 to become high in sequence every after 24 hours.
Depending upon the connections of the diodes, the right hand side 4060 IC gets switched ON only on those selected days of the week via the BC547 transistor which grounds its reset pin#12 on receiving the signal from the IC 4017 relevant outputs.
This prompts its pin#3 to go low activating the preceding relay driver stage and the motor.
The above stage stays activated until the set time elapses when its output becomes high inhibiting the relay driver sage from base drive thereby stopping the motor.
The high from the pin 3 also latches the IC via the diode to its pin11. The time interval may be fixed by adjusting the given 100k pot
The whole operation resets on the next pulse from the 24 hour 4060 timer stage.
The operation thus repeats as per the programming done on the three ICs.
Circuit Request#2
I need circuit for time limiter to use for public speaking.
Say if a teacher has one hour to speak in the class then the timer will show a green light starting from 60 minute then counting down to 0, but before finish the yellow light will turn on to remain a teacher that the time almost finish, it can be 3 minutes before to 0, finally when the time is over the red light will be on, it means that time for the teacher is finish.

Circuit Operation
The above cascaded two stage sequential timer circuit is rather simple with its configuration Two 4060 ICs are linked with each other to form a sequential timer configuration.
The left IC is rigged as a 57 minute timer circuit while the right hand side IC as a 3 minute timer circuit.
When switched ON the left IC starts counting (green LED ON) until 57 minutes have elapsed which makes its pin3 go high, shutting off the green LED
This triggers the connected BC547 transistor which now grounds pin12 of the second 4060 IC prompting it to start its 3 minute counting process.
This activates the yellow LED indicating the last 3 minutes being counted, until it gets over shutting off the yellow LED and switching ON the RED LED.
The diodes across pin3 and pin11 of the ICs keep the ICs latched until the circuit is switched OFF and switched ON for initiating the next cycle.
Using LDR for Detecting Day Night Periods
The fundamental strategy is to produce an electronic signal that turns high once the sun sets and turns low as dawn sets in, followed by counting the transitions. Photocel1 LDR1 is positioned to sense the sun light.
This must be targeted at the north skies instead of the sun directly, thus it is going to see practically the same thing during clear skies and also over cast ones.
R1 is placed for controlling sensitivity of the LDR.

A good way to fine-tune it, without dealing with a complete day/night period, is to hold off until around 10 minutes following sunset, at the center rotation between day and night, and alter R1 in order that the voltage across it is half the supply voltage.
Later, examine that the IC1 output is high during night and low during the daytime. A low-pass filter is created using R2 and C1, producing roughly a 1-second hold up to ensure the circuit doesn't get rattled with lightning flashes or various other brief light variations.
A 555 timer, ICI, is employed like a light level sensor; instead of the comparator circuit. The 555 offers hysteresis, which implies that the trigger ON voltage will be greater than the trigger-off voltage.
This prevents the circuit from "stuttering" to and fro between off and on during transition thresholds. The second IC in the circuit (IC2) is a 4017 (CD4017) CMOS decade counter.
Simply by hooking up output Q8 to the reset input, we allow it to count upto 7 and then start off yet again, therefore its output creates a solitary day-long pulse each week. You are able to supply this to additional counters in order to calculate even extended time periods.
For instance, incorporating a divide-by-four counter (like a 4017 with Q5 attached to reset) could give you a period of 28 days.
7 Day ON and 7 Day OFF Timer Circuit
The following circuit will keep relay#1 switch ON for 7 days, and when relay#1 is switched OFF after 7 days, relay#2 is switch NN for the next consecutive 7 days. This alternate 7 day ON and 7 day OFF across relay#1 and relay#2 is maintained infinitely, as long as the circuit remains powered ON.





Comments
Hello sir
Hope all is going well with you and your familly.
Reqested diagram for timer change over. I want to make timer change over for two electric input and 1 output (like load). I want that 1st source should be on for 7days after that automatically switched off first source and switched on 2nd source.for 7 days. Like this sequence work automatically. Please provide me circut diagram
Please support me as you are always giving kind response.
Thanks
Hello Ghulam,
You will have to build it step-wise. First build the following cascaded 4017 sequential driver, then build 2.4 hour clock generator and after that the driver stage:
https://www.homemade-circuits.com/wp-content/uploads/2021/08/cascading-two-407-ICs-to-get-17-output-sequences.jpg
I will try to update the complete diagram soon in the above article.
Please sir i am thank full to you. As soon as possible plz share the complete diagram with components, and as last i discused with you i am learner so plz provide me diagram in easy way like cd4060 project on and off circut.
Thanks
Ghulam, the 4060 ic or any other single ic cannot be used to create 7 day long on/off cycles, so the circuit will be difficult using many cmos ics.
The above circut is with cd4060 and cd4017. Like this if we make 2 circuts and then with transister can we reset auto as my requirement. Plz sir try to guide me.
Yes that’s possible but if you adjust the 4060 IC to produce 24 hour long delay, its accuracy can be affected by maybe by 5 or 10%…then for 7 days this fault can aggravate to produce a difference of many hours within 7 days.
Sir i will try if you provide me complete circut diagram with auto reset option plz
Ghulam, I will design it and let you know soon.
thank you so much
Ghulam, what should be the output switching device be, should there be two relays, relay#1 and relay#2? Relay#1 will be ON for 7 days, then it will switch OFF and Relay#2 will switch ON for the next 7 days, and the cycle will repeat? Let me know if that will do or not?
Exactly same i want plz. With 2 relays with same 7 days seqanc on and off…I will be thank full to you for your kind support.
Sir, I thank you for what you have given us, but I want a timer circuit that starts the engine for 20 minutes and stops it for 25 minutes, while repeating this process for 24 hours without interference. Is it possible to add a screen or indicator for the number of times it is started and stopped? Thank you very much.
Thank you Khaled,
I think you can try the following design for implementing the desired application:
https://www.homemade-circuits.com/how-to-make-simple-programmable-timer/
For the counter you can add the following design with the above timer:
https://www.homemade-circuits.com/5-digit-frequency-counter-circuit/
Hi sir thanks for share with us good topic. I want to make timer on and off automatically, suppose i want to switvh on my load for 12hrs and off for 5 hrs what i have to do? Plz suggest in easy way, this cycle auto work daily.plz send me diagram with bc547 pinout and comopnent plz
Thank you, Ghulam,
You can try the following circuit concept for fulfilling your requirement:
https://www.homemade-circuits.com/how-to-make-simple-programmable-timer/
Hello,
Thank you very much, the first circuit is perfect for a project I am working on. I’m relatively new to circuits and I wanted to try to understand what is happening a little more. Could you explain the purpose of some of the components for me?
How does the 10M pot change the calculations for the frequency for the 4060? Every time I try to use the formula you gave in the 4060 explained article, either to calculate the frequency from what you gave or try to calculate the resistance from the frequency I want, my answers never match up.
What is the purpose of the diode across pin#3 and pin#12? When I was looking through that 4060 article, it didn’t seem like a diode was necessary, is it still?
What is the purpose of the 10 uF polar capacitor between pin#3 and the ground?
Sorry for all the questions, I’m just hoping to learn more.
You are welcome, and appreciate your feedback.
The 10M forms the timing resistor for the complementing timing capacitor Ct. The Ct is charged and discharged alternately via Rt with the help of the actions of the IC internal gates connected with the Rt, Ct.
In the formula you must use Ct in Farads, and Rt in Ohms.
The diode causes instant resetting and reverting pin#3 to zero so that the next count is able to start from a perfect zero, and this ensures accurate uniform timing pulses from the IC 4060.
The capacitors ensures that pin#14 gets a proper logic from pin#3 and the IC 4060 is erset after some delay, allowing pin14 of the IC 4017 to implement the changeover correctly.
las publicaciones son excelentes,por lo básicas que son ,me han ayudado a comprender el funcionamiento de muchos aparatos electrónicos y mecánicos de la manera mas simple,por lo que esto me permitido poder interpretar planos y maquinas mas complejas.
bueno no puedo escribir muy bien Ingles pero si pudo traducir perfectamente.
¡Gracias! Realmente aprecio sus pensamientos y me alegro de que le hayan gustado mis artículos, ¡sigan con el buen trabajo!
Love all your work!
Such blessing to many.
Old ET. From tubes to transistors and ICs.
Enjoying everything.
Walt. S.
Thanks a lot, Glad you liked my work, please keep up the good work!
Would love to see a circuit that turns an LED on for 4 hours, then sleeps for 20 hours. Part of my adventures in making an LED candle setup.
You can probably try the following design:
https://www.homemade-circuits.com/how-to-make-simple-programmable-timer/
For the 20 hour stage in the circuit use many 1uF non-polar cps in parallel for C1
Dear Swagatam Majumdar
Im Shouquat. I like ur work. May I know, How to check the 7 days daily circuit? Its working or not. Because if its working but wait for long time to see the result. Can u give me some idea to check the circuit quickly? Regards,
Respected Sir,
I love your blog. I spend a lot time for searching circuit for countdown timer switch for 120v but I cannot find it. Can you please upload one or can guide me for the same?
Thank You
shah
kristin, please provide more details about your requirement, i'll try to help.
Thanks Guru …
It works by little bit correction in pin 8 (IC2) should be opened from ground.
My next question is about the formula for resistors and capacitor that connect to pin 9 and 10, so I can calculate the time needed.
Thanks for your help.
Gumilar
Gumilar, if you disconnect pin8 of any of the ICs will result in malfunction of the circuit, because it's the ground pin of the ICs.
For the formula you may refer to this article:
https://www.homemade-circuits.com/2012/01/how-to-make-simple-versatile-timer.html
Dear Swagatam, thank you very very much for this circuit, explanation and your time! I have just two additional question…
You wrote "Depending on what days the motor needs to be switched ON, only those relevant diodes are connected with the 4017 outputs, rest of the diodes are kept unconnected" – Does it mean that motor can be turned ON for example 2nd day and 4th day?
My second question is about +12V and Ground because it looks like it's short circuited?
Thanks again…
Dear Stevan,
Thanks! Yes the motor can be switched ON on any particular selected days of the week.
I have corrected the diagram, the short is removed now.