• Skip to main content
  • Skip to primary sidebar

Homemade Circuit Projects

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

Blog | Categories | About | Hire Me | Contact | Calculators-online
You are here: Home / Mini Projects / 10 Step Relay Selector Switch Circuit Diagram

10 Step Relay Selector Switch Circuit Diagram

Last Updated on June 23, 2026 by Swagatam 131 Comments

In this post I have explained a simple yet useful 10 step selector switch circuit which can be operated using a singe push-to-ON switch. In the following design the circuit is used as a 3 step, single push motor speed controller unit. The circuit was requested by Mr.Edalcor.

Table of Contents
  • Technical Specifications
    • Circuit Diagram
  • How it Works

Technical Specifications

hi sir good day to to you, can you please design me a circuit with only one switch (a push button) to control the speed of my dc motor 1st push low, 2nd push medium and 3rd push high the output will go to my 12 volts relay there are 3 relay for low med and high, and the output of my relay will be going to my dc motor with rheostat to control the speed i want to use it for my car air-con. thank you and more power to your blog.

Circuit Diagram

 

10 Step Relay Selector Switch Circuit Diagram

IC 4017

How it Works

The IC 4017 is a johnson decade counter IC with 10 decoded output, designed to produce sequential logic high outputs in response to high/low alternate logic switching at its pin#14.

Here pin#14 of the IC is switched or toggled using a push button switch, which generates the shifting high logic pulses across the output pinouts of the IC starting from pin#3 to pin#11.

However in the shown design since only 3 outputs are used for implementing 3 relay based switches, the IC is resets back to the first pinout as soon as the logic sequence reaches pin#7 of the IC.

If you want to implement a 10 relay operation in that case you can configure the transistor relay driver stages across all the 10 output pins of the IC.

Application Circuit:

The above concept can be applied as a 3 step LED brightness controller through a single push button, as shown below:

push button led brightness control circuit diagram

The above design can be further improved, as shown in the following diagram:

10 Step Selectable LED brightness Circuit Diagram

You'll also like:

  • comparator 1Comparator Circuits using IC 741, IC 311, IC 339
  • image 19Best IC 4060 Circuits and Projects
  • 4093 piezo driver circuit12 Simple IC 4093 Circuits and Projects Explained
  • Make this Simple Set Reset Circuit using IC 555

Filed Under: Mini Projects Tagged With: Relay, Selector, Step, Switch

About Swagatam

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

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

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



Previous Post: « Homemade 100VA to 1000VA Grid-tie Inverter Circuit
Next Post: 1.5V to 12V DC Converter Circuit Diagram for LEDs »

Reader Interactions

Questions & Answers

Total Posts: 131 (Older Threads Archive)
Newest Oldest
edalcor zuproc
August 27, 2013 • 13 years ago #14642

nice one sir thank you very much i will appreciate your effort of doing this i will try it. My last comment sir, if i push it on the fourth time it will be off?

Reply
SwagatamAdmin
August 27, 2013 • 13 years ago #14656

Yes, the fourth push will reset the circuit to zero or pin#3 which is an unused output, rendering all the relays to off position.

Reply
edalcor zuproc
November 26, 2014 • 12 years ago #27298

hi sir, again I'm here to bother you. Can i have another request? Can you please design a PWM circuit that fit my A/C blower motor to replace my rotary switch? It is cool if a potentiometer vary the speed of my blower. More power to your blog and thank you.

Reply
SwagatamAdmin
November 27, 2014 • 12 years ago #27313

hi edalcor, why don't you try a dimmer switch for it, you can get pretty cheaply from your local electrical shop?

I have explained it here:

https://www.homemade-circuits.com/2012/04/how-to-make-simplest-triac-flasher.html

Reply
edalcor zuproc
November 28, 2014 • 12 years ago #27333

i'm sorry sir i forgot to indicate A/C blower motor 12 volts for my car.

Reply
SwagatamAdmin
November 29, 2014 • 12 years ago #27345

do you mean you want to operate a 220v ac motor with a 12V DC input??

Reply
edalcor zuproc
November 30, 2014 • 12 years ago #27366

no sir the my 12volt evaporator motor in my car air conditioning unit i want to convert the control unit i.e.(fan speed) to PWM instead of the conventional rotary type circuit. thanks for your time.

Reply
SwagatamAdmin
November 30, 2014 • 12 years ago #27376

OK, you can use the following circuit for the application:

https://www.homemade-circuits.com/2012/05/make-this-pwm-based-dc-motor-speed.html

Reply
pp
August 27, 2013 • 13 years ago #14661

Good One Sir..!!!

Can this concept be used in Home used Mixer-Grinder???

Reply
SwagatamAdmin
August 27, 2013 • 13 years ago #14677

yes surely, but the whole thing with the relays would become too expensive.

Reply
Abu-Hafss
August 27, 2013 • 13 years ago #14688

ZABARDAST !!!

Reply
SwagatamAdmin
August 28, 2013 • 13 years ago #14716

😀

Reply
SUHAIL M
August 29, 2013 • 13 years ago #14770

sir, I want a circuit for control three relay using touch switch(first touch ON and Second is OFF)

Reply
SwagatamAdmin
August 31, 2013 • 13 years ago #14800

You can use the above circuit for the application, just replace the push button terminals with metal pads held close by, …..touching the pads together will enable touch triggering of the relays.

Reply
Rahman shah
September 5, 2013 • 13 years ago #14949

Hai sir: How ten relay circuit maiking tell me plz,,,

Reply
SwagatamAdmin
September 6, 2013 • 13 years ago #14961

Use all the 10 outputs of the IC4017 and connect relays to them in the manner shown above.

For knowing the output pinout sequence order you can refer to the following article:

https://www.homemade-circuits.com/2011/12/how-to-understand-ic-4017-pin-outs.html

Reply
siya
December 21, 2013 • 13 years ago #18391

great information..

Reply
SwagatamAdmin
April 30, 2015 • 11 years ago #30531

you can use an SPDT switch rated at 20 amps and wire the units through them.

one of the supply input can be wired as common to both the systems, this will engage two wires of the two loads with this common line, next pick the the other supply input and connect it with the center lead of the SPDT switch, after this the remaining two ends of the switch may be terminated with the free supply inputs of the loads individually.

Reply
kikira
July 12, 2015 • 11 years ago #32184

Sir,
I'm here again to disturb you. Please……
If any of the out put terminal left open between two close out put terminal then wheather it will reset at open terminal switching or not ?
With regards,
k.kausik

Reply
SwagatamAdmin
July 12, 2015 • 11 years ago #32211

Kikira, are you referring to the 4017 IC output pins? if yes then the answer is no…it won't reset if any of the output pins is left open….it will reset only if it's connected with pin15 of the IC

Reply
kikira
July 13, 2015 • 11 years ago #32248

Sir,
Have a look on the above circuit and please inform 3v :1/3w zener number and other diodes are 4148 means must be zener but in figure they are simple .
As I have collected all the parts and ready to solder, expecting your final touch as soon as possible.
Thanking you,
K. Kausik

Reply
SwagatamAdmin
July 14, 2015 • 11 years ago #32260

Kaushik, the diodes connected in parallel to the relay coils are all 1N4007.

The one which is marked 3V, 1/4w is the zener diode.

Reply
kikira
July 15, 2015 • 11 years ago #32327

Sir,
What's the pin no. of ic-4017 just left behind of the pin 15.in the fig.
Thanking you,
K. Kausik

Reply
SwagatamAdmin
July 16, 2015 • 11 years ago #32346

it's pin#16, the supply pin of the IC

Reply
kikira
July 18, 2015 • 11 years ago #32406

Sir,
In this moment I'm under the debris. The above ckt that I made, is working well when I connect a led. But a 12v even if a 6v relay is'nt working.please help.
Egarly waiting for your kind guidance.
With regards,
k.kausik

Reply
SwagatamAdmin
July 18, 2015 • 11 years ago #32414

your relay might not be working due to one of the following reasons:

transistor emitter not connected to the circuit negative line.

transistor pins wrongly connected.

transistor is burnt or faulty.

relay coil resistance is too low for the transistor to make it work.

relay diode is faulty or with wrong polarity…which might eventually burn the transistor

connect a LED with a series 1k resistor parallel to the relay coil, to check the transistor response and whether the transistor is conducting as expected or not.

Reply
kikira
July 18, 2015 • 11 years ago #32416

Sir,
Many many thanks for your quick and valuable advice. But sorry to say none of the relay is responding though leds are.
With regards,
K.kausik

Reply
SwagatamAdmin
July 19, 2015 • 11 years ago #32422

Kaushik, please investigate and check the above mentioned points for finding the exact fault in your circuit.

Reply
kikira
July 24, 2015 • 11 years ago #32556

Sir,
In this late night I have found a solution. I connected the base of a 557 with the collector
of 547 instead of a relay. Then a relay with the557 & a parallel diode 4007. For your kind information now the relay is working.
How is it possible ? Would you kindly explain it…….
Thanking you,
k.kausik

Reply
SwagatamAdmin
July 25, 2015 • 11 years ago #32559

kaushik, it's because your relay has a low coil resistance and requires more current to operate…adding another transistor simply boosts the current and allows the relay to operate.

use 1K at the base of the BC547 and try the previous configuration, without the BC557

or you must use the type of relay which is shown below

1.bp.blogspot.com/-xpR6CBVr5RY/VB7jiU5puOI/AAAAAAAAIRA/gKnCI1xGHFA/s1600/relay%2Bpinout.png

Reply
kikira
July 25, 2015 • 11 years ago #32561

Dear sir,
Good morning and many many thanks for your kind reply. Actually I belong small city of u.p. Though this is the SADAR but there is only one reliable electronic store. The relay that you maintioned is not available here and adding 1k resistor was unsuccessful.
I think it's O.K to add an extra 557 if it is not harmful for the ckt.
With regards and thanks a lot,
K. Kausik

Reply
SwagatamAdmin
July 25, 2015 • 11 years ago #32567

OK kaushik, no problem you may go ahead with it…

alternatively you can also try a BC547 in the Darlington mode, that is by using two BC547 on each channel…this will give you the same results.

Reply
kikira
July 27, 2015 • 11 years ago #32636

Good day sir,
Would you kind help me with the adjust ment to connect the ckt to a 12v/1.5 amp tr.
Thanking U….
K. Kausik

Reply
SwagatamAdmin
July 27, 2015 • 11 years ago #32657

Kaushik, no adjustments would be required in the above circuit.

you just have to make a bridge rectifier and add a filter capacitor to it for converting the trafo secondary AC to DC…this rectified DC can be then connected with the above circuit.

Reply
kikira
July 27, 2015 • 11 years ago #32662

Sir,
Sorry to disturb you. I have already a bridge rec. added with the tr. but 3 ic's has damaged… I think it's due to over current….any how thanks for your kind feedback. I have (already posted on realated ckt.) an another prob. realated with led.. if you kindly take care of it I wil be highly grateful to you….
With regards,
K. Kausik

Reply
SwagatamAdmin
July 28, 2015 • 11 years ago #32681

it may be because of the stepped up voltage after rectification….use a 7812 IC after the trafo DC, this will safeguard the circuit and the IC.

Reply
Ashok Dhenge
May 27, 2016 • 10 years ago #41337

Sir can we use above circuit for time interval switching (interval 3 sec) continuous switching? what is working lifespan of relay? Any other option for relay?

Reply
SwagatamAdmin
May 27, 2016 • 10 years ago #41347

Ashok, yes you can use the circuit for 3 sec continuous switching….relays can have a permanent life and be stress resistant as long as the current through its contacts are much below the rated limit

other option will depend on the load and supply specs

Reply
Asainar Vadakkethil
December 30, 2016 • 10 years ago #47673

Thanks for your circuit and working it fine, but I want to know will I keep all session in swich on state undil reset the circuit, that means in first push switch on session one and second push switch on session two keep the first session in on state? And what I have to do for this needs, I need 4 steps like these fucrionality

Reply
SwagatamAdmin
December 31, 2016 • 10 years ago #47683

to keep the outputs switched ON you will need to replace the single transistors with a two transistor latch circuit as shown in the following article:

https://www.homemade-circuits.com/2011/12/simple-and-useful-transistor-latch.html

you may need 4 such circuits connected across the 4 outputs of the IC 4017

for resetting you may have to switch OFF the entire circuit and then switch it ON.

Reply
Asainar Vadakkethil
December 31, 2016 • 10 years ago #47696

thank you for your suggestion and i added two transistors bc547 ,bc557 driven by output0 pin#3 bc557 output to T1 of entire circuit suggested by you. in each session spend 4 transistors. and now it working fine. it made for a led drive dimmer for mirror in my home. thank you again ,

Reply
SwagatamAdmin
January 1, 2017 • 10 years ago #47704

I am glad it worked for you…..but 4 transistors on each channel is not required, the latch circuit uses two just transistors…so it should be two transistors and a relay on each channel??

Reply
Asainar Vadakkethil
January 1, 2017 • 10 years ago #47708

Really thanking you again for quick response and spending time for my doubts and needs. I did that with total 4 transistors . and tried with 3 but not working. how can send my diagram i modified . ?

Reply
SwagatamAdmin
January 1, 2017 • 10 years ago #47713

OK thanks, just forgot to mention that the outputs of the 4017 should be connected through a diode with the latch circuits, otherwise the latch cannot hold due to the negative trigger by the 4017 while it changes its sequence…

Reply
SwagatamAdmin
January 1, 2017 • 10 years ago #47714

you can use 1N4148 diodes….anode to 4017 IC pins and cathode to the latch trigger inputs.

Reply
Asainar Vadakkethil
January 1, 2017 • 10 years ago #47721

Ok thank you sir, and I have problem with touch when i extended my lead up to 15cm

Reply
SwagatamAdmin
January 2, 2017 • 10 years ago #47729

Asainar, the above circuit is designed to work with a push switch, a touch sensor might require a different configuration…

Reply
Asainar Vadakkethil
January 2, 2017 • 10 years ago #47733

Sir I used your touch sensor circuit using 4017 used 2 nos of bc557 in input signal of 4017,

Reply
SwagatamAdmin
January 2, 2017 • 10 years ago #47738

what kind of problem are you facing?

Reply
Dad
June 21, 2017 • 9 years ago #51229

Good useful ckt. you have posted. I would like to know whether the PUSH-TO-ON SWITCH – is it a momentary switch – or push to on and then push to off switch?

Reply
SwagatamAdmin
June 21, 2017 • 9 years ago #51244

Thanks dad,

it's a PUSH-TO-ON SWITCH momentary switch

Reply
kikira
August 9, 2017 • 9 years ago #52318

NAMASTE sir,
Here is a problem….
How can I get out put 4,as the pin #10 is already engage.
Thanking you,
K.Kausik

Reply
SwagatamAdmin
August 10, 2017 • 9 years ago #52328

hello kaushik, which is the pin number after pin#10??

connect that pin with pn#15, then you can use pin#10 for the intended purpose

Reply
K.kausik
July 14, 2018 • 8 years ago #61685

PRANAM ,SIR,
I have a problem… The circuit is working fine but when I’m trying to control a set of relays as a load (not a motor or bulb etc.)it’s resetting the circuit . Would you kindly help me to resolve the problem…(!!)
Expecting your kind and prompt answer.
Thanking you …
K. Kausik

Reply
SwagatamAdmin
July 14, 2018 • 8 years ago #61687

Hi Kaushik,

That is very strange, because a relay should work without any problems. Anyway do the following things and see if it resolves the issue.
Increase the pin#14 capacitor to 10uF/25V (electrolytic will do). Connect additional 10uF capacitors parallel to each relay coil. Connect a 10uF capacitor directly across pin#16 and ground of the IC.
Also increase the pin#15 capacitor to 1uF

Reply
K.kausik
July 14, 2018 • 8 years ago #61686

SIR,
Actually I have coupled a 4060 ic to a 4017 to get 9 out puts for a time period of 1.30 min. each (adding .01 mf capacitor with ic 4060) and trying to control a number of relays with each relay that connected with the output of ic 4017.
Thanking you ….
K. Kausik

Reply
SwagatamAdmin
July 14, 2018 • 8 years ago #61688

With a 4060 clocks the output switching should be absolutely without any issues, I think there might be some problem with your connections or wiring. Are you using a breadboard??

Reply
K.kausik
July 14, 2018 • 8 years ago #61689

THANK YOU SIR,
The original RELAY connected with ic 4017 output is working fine,when testing with a LED. But after connecting another relay to on &off an circuit. it starts to misbehave.
By the way I’m going to check according to your advice.
Finally thanks a lot……
With a hearty gratitude…….
K. Kausik

Reply
SwagatamAdmin
July 14, 2018 • 8 years ago #61690

Hi Kaushik, do you mean to say you are operating a bigger relay through the smaller relay connected with the IC 4017? In that case did you connect a flyback diode across the bigger relay coil, please make sure you connect a flyback diode across all the relays.

Reply
K.kausik
July 15, 2018 • 8 years ago #61694

Respected MASTER,
In this dark and rainy night,the roar of the sky, the sound of Crickets and the sweet ripple of the river GOMTI….everything seems just nothing but to praise you. Obviously for the the master of ELECTRONICS.
You are right by more than 100%.
I’ve connected two 10uf cap. across pin#14 & #16 each(omitted 1uf cap. for pin#15)And other 10uf cap. across the relay connected with the O/P of ic 4017. As there is only 7 caps. of 10uf were left I’ve connected 33uf cap. across two pins each.
And it’s working…..really working..
I was stuck by two days with trail and error method by changing ic’s.transistors.re-checking the wiring etc. etc.
But only, your prompt and accurate guidance help me to achieve the goal.
Many many thanks to you…and have a good day …….
K.Kausik
N. B diodes were previously connected with the relays.

Reply
SwagatamAdmin
July 15, 2018 • 8 years ago #61696

I am glad it is working kaushik, let me know if you have further problems.

Reply
K.kausik
July 24, 2018 • 8 years ago #61877

Good day SIR,
Here is a “LITTLE ” problem…. When I’m switching on the circuit output relay no. 5 and 7 is engaging momentarily.
Would you kindly help me to resolve the problem.
Thanking you ,
K.kausik

Reply
SwagatamAdmin
July 24, 2018 • 8 years ago #61878

Hi Kaushik, increase the value of the capacitor between the positive line and pin#15 to 1uF, presently it is showing as 0.1uF. Electrolyte cap will also do, positive terminal will go to the positive line, and negative to pin#15

Reply
Nitin
February 4, 2019 • 7 years ago #65326

Hello sir,
I want to know use of zener diode in above circuit?

Reply
SwagatamAdmin
February 4, 2019 • 7 years ago #65327

Hello Nitin, it ensures that the voltage from the supply reaches pin#14 only after the switch is correctly and fully pressed, and ignores partial or undefined pressing of the button.

Reply
Nitin
February 5, 2019 • 7 years ago #65328

Sir I can’t understand what makes it latch in on state, as I think this ic gives only pulse with push button?
Also can it work with 5v ?

Reply
SwagatamAdmin
February 5, 2019 • 7 years ago #65329

Nitin, It is not designed to latch, rather switch on the loads in sequence alternately. Yes it will work with 5V also

Reply
T Gowan
April 10, 2019 • 7 years ago #66414

Hi
I have a Lighting system DMX controlled by a laptop, with individual keys assigned to different scenes. I would like to automate the system using a decade counter controlling a USB keyboard matrix PCB to switch scenes with a single push button. will it work, can the USB power the decade counter?

Reply
SwagatamAdmin
April 10, 2019 • 7 years ago #66431

Hi, A decade counter will work at 5V, so according to me there shouldn’t be any problems operating it from a USB supply

Reply
T Gowan
April 10, 2019 • 7 years ago #66434

Thanks for this.
Can I just exchange the relay in the first project with the contacts from the USB PCB or is there more to it. I have already implemented the USB board in a foot switch setup but have to punch individual switches to call up scenes. This will give me far more available scenes and no brainer , just hit one button and there you go.

Reply
SwagatamAdmin
April 10, 2019 • 7 years ago #66436

you can connect any load you wish to have with the relay contacts. Therefore you can surely integrate the USB boards with the relay contacts.

Without the relays I am not sure how you would do it? If you can explain a bit I may try to figure it out?

Reply
T Gowan
June 13, 2019 • 7 years ago #67631

I have a 10 k between the counter and the cap. Do I need on between the cap and the base

Reply
SwagatamAdmin
June 14, 2019 • 7 years ago #67636

separate 10K capacitors connected from each end of the capacitor to ground, meaning one 10K across positive pin of the cap and ground, another 10K from the negative pin of the cap to ground.

Reply
T Gowan
April 11, 2019 • 7 years ago #66442

Hi again and thanks

I believe the USB board scans the matrix line and row (square wave I was told) looking for connection. Can a transistor in place of a keyboard contact make this connection or is a relay necessary?

Reply
SwagatamAdmin
April 11, 2019 • 7 years ago #66444

Hi, I would recommend relay contacts for operating the connections. You can use smallest low current relays for this. Transistors can work well for switching supply voltages, but for making connections across two points may they not be too efficient…

Reply
T Gowan
April 29, 2019 • 7 years ago #66721

I have discovered that my lighting app. changes the scene on the release of the key. Is there a way to make the relay switch on and off after a few milliseconds? Thanks

Reply
SwagatamAdmin
April 29, 2019 • 7 years ago #66726

Yes you can do it by connecting a capacitor, may be a 10uF, across the base/emitter pins of the relay driver transistor. Or you may connect a 220uF/25V directly across the relay coil terminals.

Reply
T Gowan
April 29, 2019 • 7 years ago #66727

I think I know what this is doing, charge/discharge time of cap, Can you spell it out a little more for both setups, Are these polarized caps, is polarity important.

Reply
SwagatamAdmin
April 30, 2019 • 7 years ago #66736

The capacitor is placed to prevent switch debounce issue, and erratic output sequencing. You can use a polarized capacitor her!!

Reply
T Gowan
April 30, 2019 • 7 years ago #66744

Just want to make sure I’m on the same page. I want to push the clock in switch on the decade counter, have it turn on the relay and them the relay turns off while the output of the decade counter stays high.

Reply
SwagatamAdmin
April 30, 2019 • 7 years ago #66747

You want to have a momentary ON on the relay, you can have it by putting a capacitor in series with the base of the transistor, negative will go the base, and positive to the resistor. Value can be anywhere between 10uF and 100uF

Reply
T Gowan
April 30, 2019 • 7 years ago #66748

Excellent, just wanted to make sure I understood the setup.

Reply
SwagatamAdmin
April 30, 2019 • 7 years ago #66755

Glad it helped!!

Reply
T Gowan
May 8, 2019 • 7 years ago #66915

Another question 🙂 Since I’m going for full 10 count should pin 15 be grounded. if so does it need a resistor to gnd or just strait to ground. In you original schematic there is a cap between 15 and Vcc . Can that be eliminated? Still getting parts together so no circuit progress yet.

Reply
SwagatamAdmin
May 8, 2019 • 7 years ago #66916

Normally the pin#15 can be connected directly to ground but since we need the switch ON auto “reset” function through the indicated capacitor, pin#15 needs to be connected to ground through some resistor, any value between 10K and 1M will do. The capacitor should be around 0.22uF or 1uF max, connected between Vcc and pin#15

Reply
T Gowan
June 13, 2019 • 7 years ago #67610

Finally got my parts together and bread boarded it up. turns on the relay and works like a stuck key, which I expected, When I put the cap in series with the resistor and base, negative to base, I get nothing. tried a couple of different caps , still not momentary relay action. Any suggestions. I know the basic circuit is working ok as I can see the stuck key stroke on notepad.

Reply
SwagatamAdmin
June 13, 2019 • 7 years ago #67613

If the input signal does not provide a zero logic the capacitor will not discharge. The capacitor must discharge during the off cycles. To solve this issue, you can connect resistors from both the sides of the capacitor to ground. The value can be 10K resistors.
And I hope you have a series resistor with the base of the transistor. All these values are somewhat critical.

Reply
Artur
January 26, 2020 • 6 years ago #75405

Hi could you recommend ic for similar project except for momentary output ( press and hold momentary button led #1 is on as long as button is pressed ,let go of the switch and led one goes off ,press a button again and it’s turning led #2 as long as switch is held. Release the switch and it goes back to switch 1.
Best regards

Reply
SwagatamAdmin
January 27, 2020 • 6 years ago #75459

Hi, you can try the following configuration:

push switch LED ON/OFF sequential

Reply
Artur
January 30, 2020 • 6 years ago #75640

Thanx for response. I just tried it on bread bord and it works the way I wanted but there’s a little issue. When I press once led #1 goes on than I release the button it lots up led #2 but than I have to wait for 5-6 seconds for led #1 to light up. Is it possible to make it work constantly?
Best regards

Reply
SwagatamAdmin
January 30, 2020 • 6 years ago #75644

Glad it’s working, but not sure if I understood your question rightly, still you can do a few modifications and check the response. Change the 1M resistor to 10k, remove the zener diode and replace it with a 1N4007 diode (anode will be at the positive supply side, cathode at the switch side)

Reply
Artur
January 30, 2020 • 6 years ago #75643

Ok I got it working. I used 0.1uf caps and switched resistor from pin 7 to pin 4. Now another thing I can’t figure it out is that it doesn’t work on 5v. When I press the button it lits up led#1 but it doesn’t switch to led #2. Any recommendations?
Thanx in advance

Reply
SwagatamAdmin
January 30, 2020 • 6 years ago #75646

You can try replacing the 3V zener with a 1N4007 diode as suggested by me in the previous reply, and check if that helps 5 V operation.

Reply
Artur
January 31, 2020 • 6 years ago #75681

Very nice it works with suggested changes. Thank you for your help.
Best regards!

Reply
SwagatamAdmin
January 31, 2020 • 6 years ago #75689

Thanks, Happy to help!

Reply
Bond
April 20, 2020 • 6 years ago #78034

Hi all!
I would like to light 2 LED lamps that are series at 230v. They turn on with only one switch and I want to switch them on independently or both. how could i change the above scheme to have 2 outputs for 2 relays, and the switch to change it with a pushbutton type, i think.
Condition: 1- A, 2-B, 3-AB, 4-OFF, or 1-AB, 2-A, 3-B, 4-OFF
Thank you very much!

Reply
SwagatamAdmin
April 21, 2020 • 6 years ago #78056

If you put two lamps in series, the brightness will become 50% less when lit together, and when they are lit individually the brightness will become 100%, is that something you wish to have?

Reply
Eka
December 11, 2020 • 6 years ago #85220

If I have 10 output, it will be more simple on operation if it has two switches, 1st for up and 2nd for down. What to modify? Thank you.

Reply
SwagatamAdmin
December 11, 2020 • 6 years ago #85227

up/down sequence may not be possible in this design

Reply
Norman Kelley
December 22, 2020 • 6 years ago #85539

High Swagatam,
I want to drive 5m RGB strip LEDs using a 555 timer and a cd4017. I am powering the RGB strip with 12vdc. The 555 pin 3 is connected to pin 14 of the cd4017. Pin 3 of 4017 is connected to a bc548 transistor through a 1k resistor. Pin 2 of 4017 is connected to a bc548 transistor through a 1k resistor. Pin 4 of 4017 is connected to a bc548 transistor through a 1k resistor. Pin 7 of 4017 is connected to Pin 15. Pin 15 is connected to 12v through a 104 capacitor. Pin 15 is connected to ground through a 1M resistor. Each of these transistors is used to drive a 12vdc relay by completing the circuit to ground. Each relay’s normally open contact is connected to either the red or green or blue leg of the RGB strip. The common contact of each relay is connected to ground. 1N4148 diodes are connected across the relay coils. My problem is the relays chatter like crazy when the cd4017 advances. I am posting here as it is the closest circuit type I could find on your site. I am sending you a schematic of my circuit under separate cover as I don’t know how to attach it to this post. Thanks for your help! Happy Holidays!

Reply
SwagatamAdmin
December 22, 2020 • 6 years ago #85552

Hi Norman,

please try the following modification at the base of all the transistors, this will prevent the relay chattering issue permanently.
how to prevent relay chattering in a transistor relay driver

Reply
Norman Kelley
December 24, 2020 • 6 years ago #85581

Hi Swagatam,
Works great! Thanks!

Reply
tom gowan
February 8, 2021 • 5 years ago #86837

Hi
Its been a while , still working on my Decade counter to USB keyboard lighting control circuit.
I have 2 double poll foot switches directing signal routing to the usb interface PCB , removed from a keyboard. I want to have an indictor LED to show which pole of the switch is active. The switches are not carrying voltage, just matrix routing to the interface. There is 5 volts available to power if it can be done.

Thanks

Reply
SwagatamAdmin
February 9, 2021 • 5 years ago #86862

Hi, without a current it can impossible to detect the switching actions according to me. Here’s a possible design which you try, only if the external current do not cause problems to the system…

foot switch routing indicator compressed

Reply
tom gowan
February 9, 2021 • 5 years ago #86881

Thanks. I think for simplicity I will mechanically gang another switch to control the LED function, put them under a foot pedal or something like that. I have decided that i will limit my counter to 8 and reset. The usb interface card has 2 sets of 8 contacts that only require 1 wire common to all relay contacts and then 8 on the other side. So if i switch the common set of 8 (1 wire) through the foot switch I get 16 , Then add Shift and you get a complete different set of 16, all with 4 switches.

Reply
SwagatamAdmin
February 9, 2021 • 5 years ago #86882

OK fine…. that sounds technically more appropriate

Reply
Muhammad abubakar
August 15, 2021 • 5 years ago #94483

Please sir how can I configure this circuit to be controlled by remote

Reply
SwagatamAdmin
August 15, 2021 • 5 years ago #94496

Muhammad, you can configure the pin14 of the IC in the same way as done in the following example concept:

https://www.homemade-circuits.com/laser-beam-light-activated-remote/

Reply
Kris Tufford
September 13, 2021 • 5 years ago #97283

Good day to you,
I am trying to control multiple loads via automotive style relays by using one push button switch. I have read through all the comments and I can understand how to change the output to a latching circuit. Why don’t you use output channel 0 on pin 3 as the first signal output? Is that so that the circuit has an off state?

Reply
SwagatamAdmin
September 13, 2021 • 5 years ago #97292

Hi, you are right, pin#3 is not used to ensure that all the 3 relay stages can be kept switched OFF at pin#3

Reply
Az-eddine
October 11, 2021 • 5 years ago #100815

Hi,
could you please tell me how to reset all if the button is pressed for 3 seconds?
Thanks

Reply
SwagatamAdmin
October 11, 2021 • 5 years ago #100848

Hi, 3 second pressing is not required, you just have to momentarily connect pin#15 with the positive line in order to erset the IC.
The circuit will automatically reset after the 3rd sequence at pin7 is reached and the button is pressed.

Reply
Az-eddine
October 12, 2021 • 5 years ago #100950

Hi,
my application requirement is:
If the press is longer than 3 seconds reset the system.
short press will just go the other steps

Reply
SwagatamAdmin
October 12, 2021 • 5 years ago #100995

You can add the following circuit with the above circuit:

Adjust C2 value appropriately to get the 3 second delay

delay relay circuit

Reply
Az-eddine
October 12, 2021 • 5 years ago #101009

Many thanks

Reply
Inzane
May 29, 2022 • 4 years ago #122116

Hi Sir, have a good day. Thank you so much for this wonderful circuit design.

Reply
SwagatamAdmin
May 29, 2022 • 4 years ago #122118

You are most welcome Inzane.

Reply
oscar
May 30, 2022 • 4 years ago #122143

hello, i have a question is that i seem the supply voltage is 12V which means that the output pin of the 4017 is 12V, however, your recommended transistor is 8050 which the maximum base-emitter on voltage is 1V. That my question is that will 4017 output burn out the transistor ?
Best regard,

Reply
SwagatamAdmin
May 30, 2022 • 4 years ago #122147

Hello, the base of the transistor is supposed to have a resistor, this resistor will automatically bring down the base emitter voltage to 1V, or 0.7V, so there’s nothing to worry about.

Reply
Paul Hess
May 5, 2024 • 2 years ago #151987

Is there a way to do this with latching relays? For example, turning a logic high from the counter into a positive pulse, and a logic low into a negative pulse. Or any other circuits for driving latching relays? Thanks

Reply
SwagatamAdmin
May 5, 2024 • 2 years ago #151997

The relays can be latched by employing a feedback across the N/O contacts and the transistor bases, via a 100k resistors.
Alternatively, the transistors can be replaced with SCRs to enable the latching feature.

Reply
rajesh
November 23, 2024 • 2 years ago #165835

one press all the three output will enable ? is it possible to configure like for an example one switch toggle pin 2 output will activate and second toggle pin 4 will activate and in 2 deactivate .

Reply
SwagatamAdmin
November 24, 2024 • 2 years ago #165852

One press all the 3 outputs ON together is not possible and it won’t serve any purpose… if you want to restrict the 10 outputs to lower number of outputs then you can simply use the reset pin#15 for that.

Reply
rajesh
November 24, 2024 • 2 years ago #165856

what i meant that . on press the out put 1 will activate and another on press output 1 will be deactivate and output 2 will be activate , third on press the output 2 will deactivate and output 3 will activate ..is it possible to do this configuration. my application is 3 in one led fog light . it had Low, normal, and high beam . so one switch on /off if i can toggle the low ,normal and high . it is much better

Reply
SwagatamAdmin
November 24, 2024 • 2 years ago #165865

Yes, that is possible…

Reply
rajesh
November 24, 2024 • 2 years ago #165866

can you please upload the circuit diagram for as i mentioned application. is it possible using transistors or mosfet instead of using relays .

Reply
SwagatamAdmin
November 24, 2024 • 2 years ago #165878

It is possible using transistors,…How many terminals are there in you fog lamp? Let me know the full specifications of the fog lamp, I will try to design the circuit…

Reply
Rajesh
November 25, 2024 • 2 years ago #165892

hai…the fog lamp having 4 wires..one is negative and that is common..and other 3 for different levels of light and it takes almost 2A current with 12V supply ..
thanks

Reply
SwagatamAdmin
November 25, 2024 • 2 years ago #165918

Ok, in that case you can try the following circuit:
car fog lamp control

Reply
Rajesh
November 25, 2024 • 2 years ago #165919

thank you brother for your kind support and really appreciated

Reply
SwagatamAdmin
November 25, 2024 • 2 years ago #165922

No problem Rajesh, you are most welcome, let me know if you have any problems with this circuit…

Reply
« Back to Newest Comments

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

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

Primary Sidebar



My Youtube Channel

Circuit Simulator

circuit simulator image



Subscribe to get New Circuits in your Email



Categories

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



Other Links

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

People also Search

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



Recent Comments

  • Swagatam on 3 Tested 220V High and Low Voltage Cut OFF Circuits Using IC LM324 and Transistors
  • ENGR BRIGHT on 3 Tested 220V High and Low Voltage Cut OFF Circuits Using IC LM324 and Transistors
  • Swagatam on IC LM393 Complete Datasheet with Circuit Diagram
  • Norman D Kelley on IC LM393 Complete Datasheet with Circuit Diagram
  • Swagatam on Simple Capacitive Discharge Ignition (CDI) Circuit

Social Profiles

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

© 2026 · Swagatam Innovations