Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Help with switching

Status
Not open for further replies.

mawty1

New Member
Help with a circuit,

i have one switch that needs to operate 3 lights at a time
on firsts toggle on, ON LED1, OFF LED2, OFF LED3
on second toggle on, OFF LED1, ON LED2, OFF LED3
on third toggle on, OFF LED1, LED2, ON LED3
then when toggled again the process repeats itself. is it possible? thanks.

I have this Idea modifying this circuit can operate 2 LED one at a time alternately.
**broken link removed**
**broken link removed**

can it be converted to a 3 way LED?
 
Last edited:
The second link you posted using the 4017 can be configured to do pretty much what you are looking to do. It would be configured as a count to N and reset. You would get:
No LED Lit
#1 LED ON #2 & 3 OFF
#2 LED ON #1 & 3 OFF
#3 LED ON #1 & 2 OFF
No LED Lit

Ron
 
This fits into a classic binary logic design problem, where there are three states:
1 0 0
0 1 0
0 ? 1
By using the TTL, or other digital logic chips, you can greatly simplify the problem, as far as design and construction.
It can be expanded if more LEDs are required.

What are you using this for?
 
With a 4017 or 4022, if you want n outputs in a ring, then tie the n+1 output to the reset line. The chip "0" output is circuit output #1, the "1" output is #2, etc. If you want a guaranteed startup state, diode-or the n+1 output and an R-C network into the Reset input. Be sure to debounce the toggle switch into the clock input.

ak
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top