Ok, Im in over my head, i know very little about electronics, and Im trying to use a flip flop ic. A 74hct273 octal d-type flip flop ic from radio shack to be exact. Essentially, to experiment at least, i want to have a LED turn off and on with the push of a momentary button. Any help is much appreciated, and please keep in mind im not all that sure on what im doing... Any help is much appreciated.
Code: 74273 8-bit 3-state D flip-flop with reset. +---+--+---+ +----+---+---*---+ /RST |1 +--+ 20| VCC |/RST|CLK| D | Q | 1Q |2 19| 8Q +====+===+===*===+ 1D |3 18| 8D | 0 | X | X | 0 | 2D |4 17| 7D | 1 | / | 0 | 0 | 2Q |5 74 16| 7Q | 1 | / | 1 | 1 | 3Q |6 273 15| 6Q +----+---+---*---+ 3D |7 14| 6D 4D |8 13| 5D 4Q |9 12| 5Q GND |10 11| CLK +----------+ Put a HIGH or a LOW on an input (D) and pulse the CLK input, and that value will appear at the corresponding output (Q). Possibly not the ideal chip for what you want to do.
hmmmm.... perhaps this IC isnt exactly what i needed... thanx though, i managed to hook it up. Maybe you can tell me what IC i would need. Basically, what i want is to have a 6 position rotary switch that can be used to "select" different outputs. Just one momentary switch is used to toggle the selected output on or off, hence the use of the flip flop. any idea?
Look for a D flip-flop with a complementary output. Wire /Q back to D and you have yourself a T flip-flop, which will toggle its output state every time you clock it. The unsuitable part of this is that it lacks the complementary output, so it's hard to toggle (you could use it with an extra inverter).
after playin around with the current IC i have i realized that changing the clock input changed the state of all outputs. I want it so each output can be changed individually. Would i need more than one IC, or is there one that can do that (will the one linear mentioned do that?)
After looking around on the net for something that would do it, i found this: This looks exactly like what i need (i think, havent tested it yet), but i dont wann have to build 6 of them, which is why i was lookin for an IC that did the same.
I don't think, that a flip flop IC would be easy to use for turning a button into a switch. Here is a better way: T1 and T2 go to the button (momentary switch) LEDR+ goes to the red annode of a duo LED LEDB+ goes to the green annode of a duo LED LED- goes to the cathode of the duo LED OUT outputs a 12V+ current to power the circuit you want to control The duo LED is simply a status LED. It lights up green if the relay is on and power is flowing through OUT. When power is off, the NOT gate inverts the LOW signal to a HIGH and so lets the duo LED light up red. Oh... and C1 is a 1µF cap. Forgot to write the value onto it...