In this post I have explained how to make a simple IC 555 based alternate relay timer circuit for toggling a couple of loads alternately with a specified length of delay, as determined by the calculated values of the relevant components. The idea was requested by Mr. Sanjoy.
Circuit Objectives and Requirements
- I am a regular reader of your excellent posts. Here I would like to request a circuit design.
- I am trying to build a laboratory paper coating set up for which I am going to employ 2000 watts hair driers for drying of the coated paper.
- The problem is that those driers can't be run continuously.
- Therefore I decided to use two driers alternately for three minutes each. But alternate switching of these driers manually always is tiresome.
- So I request a circuit which will be able to switch on and switch off the the driers alternately and automatically for a preset period of time and continue doing this until switched off.
The Design
Referring to the below shown alternate switching relay circuit, or we can also call it an alternate switching flasher circuit, the idea may be understood with the help of the attached explanation.
The circuit is built around a standard IC 555 astable configuration, which basically produces an alternating high and low or an alternating 12V and zero volt at its pin#3 when switched ON.
This alternately switching output accompanies certain delay between its ON/OFF switching as determined by the component values of R1, R2, and C.
In the proposed design the values of these timing components are suitably calculated to produce an approximately 50% duty cycle, and having a delay length of around 180 seconds or 3 minutes.
With the shown arrangement, only the value of the 470uF capacitor needs to be altered for achieving other preferred time delays across the output pin#3.
The pin#3 can be seen connected with a transistor relay driver stage which responds to the high/low pulses from the pinout and accordingly switches the relay contacts across the N/C and N/O contacts.
Since the two loads are connected across these two contacts of the relay, these are also alternately switched from ON to OFF and vice versa with a delay of 3 minutes between each switching.
The two LEDs connected across the supply pins and the pin#3 of the IC helps to indicate which load may be in the switched ON or OFF position at a given instant.
The above explained alternate switching relay timer circuit can be also implemented for other identical applications and the ON/OFF periods can be independently adjusted for achieving different ON/OFF sequences, by suitably altering the R1/R2 timing components of the astable.
Calculations for R1, R2, and C1 in the 555 Timer Astable Circuit:
Let's say you want the both the loads to switch ON and OFF alternately with a time difference of exactly 50 minutes, then you can calculate it as given below:
The goal is to design the circuit to operate at a 50% duty cycle with an ON time of 50 minutes and an OFF time of 50 minutes.
Formulas:
Frequency (f):
f = 1 / T
Period (T):
T = (R1 + 2R2) × C1 × 1.44
Duty Cycle (D):
D = (R1 + R2) / (R1 + 2R2) × 100%
Data in Hand:
ON Time (T_ON) = 50 minutes = 50 × 60 = 3000 seconds
OFF Time (T_OFF) = 50 minutes = 50 × 60 = 3000 seconds
Total Period (T) = T_ON + T_OFF = 6000 seconds
Duty Cycle (D) = 50%
Step-by-Step Calculations:
Step 1: Calculate Frequency:
f = 1 / T = 1 / 6000 = 0.0001667 Hz
Step 2: Select C1:
You will choose a practical value for C1. For long timing a high capacitance is suitable.
Assume:
C1 = 100 µF = 0.0001 F
Step 3: Calculate R1 + 2R2:
Rearranging the formula:
R1 + 2R2 = T / (1.44 × C1)
Substituting the values:
R1 + 2R2 = 6000 / (1.44 × 0.0001)
R1 + 2R2 = 6000 / 0.000144
R1 + 2R2 = 41,666,667 Ω ≈ 41.67 MΩ
Step 4: Split R1 and R2 for 50% Duty Cycle:
For D = 50%, R1 = R2.
R1 + 2R2 = 41.67 MΩ
R1 + 2R1 = 41.67 MΩ
3R1 = 41.67 MΩ
R1 = 41.67 / 3 ≈ 13.89 MΩ
R2 = R1 = 13.89 MΩ
Verification of ON and OFF Times:
ON Time (T_ON):
T_ON = 0.693 × (R1 + R2) × C1
T_ON = 0.693 × (13.89 + 13.89) × 0.0001
T_ON = 0.693 × 27.78 × 0.0001
T_ON = 0.001923 seconds ≈ 3000 seconds (Correct)
OFF Time (T_OFF):
T_OFF = 0.693 × R2 × C1
T_OFF = 0.693 × 13.89 × 0.0001
T_OFF = 0.000962 seconds ≈ 3000 seconds (Correct)
Final Component Values:
R1 = 13.89 MΩ
R2 = 13.89 MΩ
C1 = 100 µF
This configuration will give you an IC 555 astable circuit with a 50% duty cycle and an ON time of 50 minutes and an OFF time of 50 minutes for a total period of 100 minutes.
With over 50,000 comments answered so far, this is the only electronics website dedicated to solving all your circuit-related problems. If you’re stuck on a circuit, please leave your question in the comment box, and I will try to solve it ASAP!
Morning Sir ji, I’ve built this project and it’s working flawless. Got a BJT timer on your site for including accurate 50m switching time!
https://www.homemade-circuits.com/how-to-make-long-duration-timer-circuit/
Now I’ve a requirement to complete!! I want to include this one without any push button so that the ckt can have an accurate 50 mins switching time between two loads! And if possible, you can help by just modifying 555 timer by just including any trick like diode-resistor trick adopted in BJT timer.
Thank you for everything Sirji!
Awaiting for your suggestions!!
Happy New Year!!
Thank you Maddy for updating the info, glad it is working for you.
Do you want to include a push button in the above “alternate load ON/OFF circuit?” Because I cannot see any excising push buttons in the design?
There’s no need to do any tricks in this circuit, since the IC 555 is already too good, and does not require any external improvements.
I have 4 large electric heaters used to heat a room in our church. They are each controlled with a low-voltage relay. Currently the relays are all wired in parallel. I’d like to be able to have 2 on for 3 minutes, then switch them off and switch the other two on for 3 minutes. The idea is to reduce the electric demand charge by only having 2 on at a time. This circuit looks perfect. I am thinking to hook it up to a RIB (relay in a box) using the NO and NC option. Sadly I am a real beginner at this sort of thing. Any suggestion on where to get all of the pieces in your diagram?
You can easily get the parts from any online electronic spare part dealer…or you can even get them through amazon or ebay.
I want to make a circuit with dual supplies automatic changes over AC and DC when the main power failure then the DC supply on and when the main power on then the DC supply automatic off do you help me with circuit thanks so much
I have a few changeover circuits published in this blog, you can check them out here:
https://www.homemade-circuits.com/?s=changeover
Thanks so much for help
I have built a microcurrent therapy unit, powered by a 9-volt battery. Iam stuck on the last task, however. Can you refer me to a circuit (maybe centered around anoth 555 timer, CMOS) that would switch the unit on for five minutes then switcing it off for five minutes before switching it back on another five minutes, repeating etc.?
You can try the following 4060 based design:
.webp
Make sure to remove the 1N4148 diode link, it is not required. You can adjust P1 and C1 for adjusting the output switching delay.
What should i change for more timing delay ( 15minutes on and 5minutes off in loop)
You will have to experiment by using different resistor values for R1 and R2
I need a timer which will help me in circulating water on and off for a desired time.
Need your clarifications for the following points.
1. Can I use just one motor (Load) to be operated instead of two in the circuit.
2. If I need to adjust the on and off timing, will it be possible to go for preset replacing fixed resistor.
3. What relay should I opt for if I use a 12 v motor, or 230 V motor.
Here are the answers:
1) Yes you can connect a single motor either to the N/C or the N/O contacts depending on whether you want the motor to be switched ON when power to the circuit is switched ON, or start with the motor OFF when power is switched ON.
2) Yes that’s possible. You cab replace the R1 with a 1M pot or preset, but make sure to connect a 10K fixed resistor in series with this preset or pot.
3) Relay will depend on the motor current specs, if it is less than 5 amps then you can use the ordinary cube shaped relay having a coil resistance of around 300 to 400 ohms.
A very informative and useable project. What if more than two devices are to be included in the project? Can this be modified to include variable number of devices working for variable time and at variable intervals?
Thank you, only two loads can be used in this circuit, for variable time and variable number of loads, you will need to have many IC 555 arranged in a sequential form with variable time adjust
Hello
This is just what i need, i have build it and it works ok with a lite load, like a LED on load A+B, but when i put a pump on (about 0.7 amp), the timing goes fubar, and unequal and drops from 3min to about 1min.
Do you have a idea as to what goes wrong? hope i make sense. Thanks alot for your time.
Bo Andersen
Hi, Glad you could build it successfully.
The problem could be due to the strong motor transients the IC 555 timing might be getting disturbed.
Please do the following modifications to your IC 555 supply line.
Power the IC 555 positive line through a 50 ohm or 100 ohm series resistor.
Add a 1N4148 diode directly across the pin#8/4 and pin#1 of the IC. Cathode will go the pin#8/4.
Also add a 100uF capacitor parallel with the above diode. Positive of the capacitor will connect with the cathode of the diode.
Additionally increase the value of the pin#5 capacitor to 1uF or higher.
Please do the above and see if that helps to solve the issue?
Would like to toggle between low/hi tone auto horns. Perhaps less than 1/2 second for each on cycle. Would need to eliminate horn output when momentary switch released. Output would control 12vdc relays. Circuit power 12vdc. Is this possible using above design?
Formula calls for Ra to be 0, Rb to be 600 ohms and cap to be 3 micro farads. Seems both relays would be off if momentary switch were released.
Yes the above circuit will work, you can put the push switch in series with the 12V supply
Good day sir, the circuit seems not to have 3secs delay in between on/off, please any way out. Also, please help
Me out for r1, r2 and c for 10 secs on/off with 3secs delay inbetween, I have tried astable calculator but didn’t get it.
Adeyemi, use R1 = 1k, R2 = 100k, C = 47uF/25V
Hi Sir,.
I have a question on Switching Two Alternate Loads ON/OFF with IC 555.
Currently I had sequential arrow led installed on a Toyota side mirror.
This sequential arrow led had 3 wire( neutral, pattern 1 , pattern 2 )
Currently it is connected as pattern 1( wire connection is neutral , pattern 1 ) and I wish to use 2 pattern but couldn’t figure out how to do it. Alternating switching relay may work for me but unable to hide inside side mirror housing due to its size .
When indicator is turn on, I wish to light up pattern 1 and than off (off for 0.6sec ), next pattern 2 and than off ( off for 0.6sec), next pattern 1… the cycle repeat until indicator is turn off.
Battery voltage for this circuit is 12VDC and the power source to the circuit will be control by flasher relay( on and off interval is 0.6sec).
Could you help?
Thanks
Hi Kelvin, you can use an astable circuit such as this
https://www.homemade-circuits.com/how-to-make-any-light-strobe-light/
add the two sets of LEDs across the two collectors of the transistors
Dear Sir,
Thank you for your replied but that isn’t the Circuit I’m looking for.
I found a link in youtube which could be explain better.
Could you help to covert that white bulky alternating relay into a circuit?
Thanks
Regards
Kelvin
Kelvin, the video shows a relay flip-flop alternately switching to every single input pulse. You can get the results by employing one of the circuits that explained in the following article
https://www.homemade-circuits.com/build-these-simple-flip-flop-circuits/
I am looking for an alternating relay that will simply replace a manual 24 volt 3 position toggle switch; load A, off, load B, which operates two irrigation solenoid valves. When my mechanical timer shuts off, there is “no” power to the system, when the mechanical timer comes back on power is restored and i need to switch to the other valve, and so on. All the relays i have found require continous power to work. Can you tell me if i am looking for something no one makes???? I appreciate any input.
Gary
It may be possible to switch loadA and loadB alternately, but how’s the off position supposed to be switched, i can’t figure it out? Please clarify this!
Hello Sir Good Morning! can i adjust it for 3 seconds each? Tnx Sir
Hi Jindro, yes that’s possible, you can use the following software to adjust the concerned resistors and capacitor for getting the results:
https://www.homemade-circuits.com/ic-555-timer-astable-circuit-calculator
Hi sir I really appreciate your concern I love so much for that you rely my message God will bless you and your family, pls I will he in touch if I need some support over circuit thanks.
You are welcome Adewale, keep up the good work
Thanks sir for your support, but I will let you know if I will need your technical support, from Adewale.
You are most welcome!
hi swagatam I need a circuit that operate timer on interval of 45 mins on/off switch, pls kindly help.
Hi Adewale, you can try the following circuit
https://www.homemade-circuits.com/how-to-make-simple-versatile-timer/
remove the feedback link, and set the pot to get 45 minute time intervals.
pin#3 can be configured with a relay driver stage
I need a circuit that will time the duration of an induction heater. The heater run time can be from 1 to 30 seconds, depending upon part size and configuration, at which time it turns off, shutting off the power relay to the heater. It would then trip a second relay with operates a solenoid to remove the part from the heater and reset everything to the initial state. A push button would initiate the heating/part ejection cycle.
what will be the operating voltage rating for the solenoid?
which software is good for sumulation???