|
 |
03-18-2003, 10:53 PM
|
#1
|
|
Variable Bitrate
Join Date: Feb 2001
Location: Williamsport, PA
Posts: 353
|
Electronic Circuit Help - Flip-Flop
Trying to design a circuit to switch between lamp 1, lamp 2, and off in order. I know there are flip flop circuits to switch between two LEDs, but it's just not what I'm trying to do. I just can't figure out this puzzle. Any help? ^_^;
--Ashlawn Kemling
|
|
|
|
|
|
Advertisement
|
Sponsored links
|
03-19-2003, 03:20 AM
|
#2
|
|
Raw Wave
Join Date: Apr 2000
Location: Surrey, UK
Posts: 2,129
|
You coudl use a 74LS193 combined with a 74LS138. Wire the "3" decoded output from the 74LS138 back to the master reset of the 74LS193. The system will then count 0, 1, 2, 0, 1, 2 over and over. Use 0, 1 outputs to drive your lamps.
When 2 is active, that will be the off stage. You can add lamps or change the sequence by moving the reset tap on the 74LS138.
You may need the non inverting output version of th 74LS138 (can't remember the exact part number atm).
Rob
|
|
|
03-19-2003, 09:43 AM
|
#3
|
|
Maximum Bitrate
Join Date: Jun 2001
Location: Boise, ID (USA)
Posts: 551
|
or you could just get a single pole tripple throw switch?
|
|
|
03-19-2003, 11:10 AM
|
#4
|
|
Maximum Bitrate
Join Date: Jun 2000
Location: Virginia
Posts: 569
|
or you could wire three flip flops in series, and use the push buton for the clock
__________________
Car: 1999 Dark Green Mustang GT Coupe
Audio: Alpine HU, JL 6ch Amp, JL Stealthbox and XR series components.
Player: Empeg for now; something custom later.
www.neotechpc.com - Custom built laptops!
|
|
|
03-19-2003, 09:40 PM
|
#5
|
|
Variable Bitrate
Join Date: Feb 2001
Location: Williamsport, PA
Posts: 353
|
Quote:
Originally posted by mikeinsanmarcos
or you could just get a single pole tripple throw switch?
I would love to, but I have room for exactly one switch.
|
|
|
03-20-2003, 12:08 AM
|
#6
|
|
FLAC
Join Date: Aug 2002
Location: so cal 2 hours from everywhere
Posts: 1,120
|
why cant you use a 3 position "on off on" switch like this?
http://www.switchchannel.com/product.../orl/index.htm
ground the 2 lamps. The center pin goes to positive, lamp 1 goes to top pin (depends on how you look at the switch), lamp 2 goes to bottom pin. The on off on switch will do exactly what you want.
__________________
NEW complete and updated My project with 100+ pics on 7-4-03
If you have a Shuttle FV24 motherboard in perfect working condition for sale, please PM me.
|
|
|
03-20-2003, 03:07 AM
|
#7
|
|
Raw Wave
Join Date: Apr 2000
Location: Surrey, UK
Posts: 2,129
|
Quote:
Originally posted by mikeinsanmarcos
or you could just get a single pole tripple throw switch?
Ah, I misunderstood, I thought he wanted it to do all three states in order, with no possibility of user error (and potentially automated). A three position switch (center-off) would give you the sequence lamp1on, off lamp2on, off, lamp1on, off, etc...
Rob
|
|
|
03-20-2003, 07:12 PM
|
#8
|
|
Variable Bitrate
Join Date: Aug 2002
Location: Montreal / Los Angeles
Posts: 266
|
Use a 555 chip in a low frequency astable mode, connect its output to one side of a push button switch, connect the other side (of the switch) to the clock input of a 4017 counter.
Arrange the counter outputs like this:
0utput 1 to control lamp 1
0utput 2 to control lamp 2
0utput 3 unconnected
0utput 4 to 4017's reset pin, the counter will reset (duh!) and will turn output 1 on again.
Last edited by mp3hombre; 03-20-2003 at 07:14 PM.
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:44 AM.
| |