circuit help

This is the place for any magazine-related discussions that don't fit in any of the column discussion boards below.
Post Reply
psi_wanted
Posts: 3
Joined: Thu Feb 14, 2002 1:01 am
Location: ND
Contact:

circuit help

Post by psi_wanted »

I need a cicuit that has six momentary switches, each hooked to an led. when a switch is pressed the led is activated and stays on. when another switch is pressed it will shut off the previous led and turn on the one connected to that switch. i figured it out using latching relays and a lot of diodes, just looking for an easier way. any takers?? :D
bodgy
Posts: 1044
Joined: Tue Dec 04, 2001 1:01 am
Location: Australia
Contact:

Re: circuit help

Post by bodgy »

Thyristors (SCR's ) instead of relays could do the trick! Slightly cheaper than relays.<p>bodgy
On a clear disk you can seek forever.
toejam
Posts: 253
Joined: Wed Dec 05, 2001 1:01 am
Location: n.c.
Contact:

Re: circuit help

Post by toejam »

Is this circut follow a sequence?
tj
User avatar
Joseph
Posts: 681
Joined: Mon Dec 10, 2001 1:01 am
Location: USA,World
Contact:

Re: circuit help

Post by Joseph »

I think this idea works as an option: use one cd40106 IC, 3 resistors and two LEDs. Resistors on the LED drives are ommitted because the gate outputs are current limited to about 10mA. I would post it if it were possible. I can email the diagram if you like. Oh, sorry, I see now you want a circuit for 6 switches. I only did it for two.<p>[ March 29, 2002: Message edited by: Joseph Meisenhelder ]</p>
emerson_85
Posts: 3
Joined: Sat Mar 30, 2002 1:01 am
Location: Los Angeles
Contact:

Re: circuit help

Post by emerson_85 »

All you need for this circuit is a 74LS373, an inverter (74LS04 or something else that can
invert), 6 diodes, 6 4.7K resistors, and a 220-330 ohm resistor. Oh, and the 6 LEDs and switches, of course.<p>I have posted the schematic at
http://www.apricot.com/~emerson/images/6Buttons.gif<p>where it will remain for at least a couple weeks.<p>Good luck!<p>-Emerson
User avatar
Joseph
Posts: 681
Joined: Mon Dec 10, 2001 1:01 am
Location: USA,World
Contact:

Re: circuit help

Post by Joseph »

Emerson, did you forget a pull-down resistor at the input of U2A.
Ron H
Posts: 360
Joined: Tue Dec 18, 2001 1:01 am
Location: Boise, ID
Contact:

Re: circuit help

Post by Ron H »

This is basically a good idea, but it might not work, due to setup and hold time requirements. The '373 latches on the falling edge of the enable input, and by the time it sees this edge, the input has already gone back high. A '374 should work in place of the '373, but I would add a couple more inverters in series with U2A in order to satisfy the setup time requirement. I still have some concerns about contact bounce causing errors, but it might not be a problem.<p>Ron H
PhilaArt
Posts: 1
Joined: Sat Feb 23, 2002 1:01 am
Location: Philadelphia PA
Contact:

Re: circuit help

Post by PhilaArt »

How about a BASIC stamp and a little software?
User avatar
Chris Smith
Posts: 4325
Joined: Tue Dec 04, 2001 1:01 am
Location: Bieber Ca.

Re: circuit help

Post by Chris Smith »

They make mechanical switches for this. Radios of the older style had five positions, multi line telephones had five positions, and my Video controller has ten positions. They have multiple contacts on each switch for many different things with one of them tapping off to run leds or light bulbs. Check Switch manufactures for one to suit your needs.
psi_wanted
Posts: 3
Joined: Thu Feb 14, 2002 1:01 am
Location: ND
Contact:

Re: circuit help

Post by psi_wanted »

Thanks for all the help everyone. I was thinking of a stamp but thats a little more than I wanted to spend for this. I will probably try the schematic posted.
Thanks Again!! :D
emerson_85
Posts: 3
Joined: Sat Mar 30, 2002 1:01 am
Location: Los Angeles
Contact:

Re: circuit help

Post by emerson_85 »

Oops! You're right, I forgot to draw the line
from the last 4.7K pullup resistor to U2A<p>Sorry about that.<p>As for contact bounce, this is not a complex requirement, as originally stated. Even when
the contacts bounce, it won't change the state
of the latched output, unless you're pressing
all the buttons at once or something crazy,
in which case you might get "indeterminate
results." The original poster seemed to be
going for simple and cheap, which is why I posted
what I did.<p>I actually built this before I posted it to
make sure it worked, and it did...mainly because
PCad wouldn't let me simulate the diodes in
the interactive mode (lame!) Guess I have to find
some other software for modelling.
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 29 guests