Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

Multi toggle button press?

Status
Not open for further replies.

jizyjuice

Newbie level 3
Joined
Nov 28, 2006
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,302
multi toggle button

I'm trying to devise a way to implement connecting different pins using one button only. I'm trying to do this all in hardware with no programming involved. Programming it would be easy, but i was wondering if this is possible in hardware.

Ex:

button pressed zero times
led 1 - off
led 2 - off
led 3 - off

button pressed once
led 1 - on
led 2 - off
led 3 - off

button pressed twice
led 1 - off
led 2 - on
led 3 - off

button pressed three times
led 1 - off
led 2 - off
led 3 - on

And repeating like so with every button press.

Any ideas? I was looking into shift registers or possibly counters and a mux?
 

IanP

Advanced Member level 5
Joined
Oct 5, 2004
Messages
7,942
Helped
2,309
Reputation
4,620
Reaction score
531
Trophy points
1,393
Location
West Coast
Activity points
66,459
One of options is to use 4017 decade counter with 10 decoded outputs ..

Take a look at the attached 10-channel example ..
Re-configure 555 timer to button-operated-one-shot circuit (otherwise you will have to take care about button debounce problem) and to operate only 3 LEDs connect output [7] to [15] ..

Regards,
IanP
 

Attachments


    jizyjuice

    points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top