Which JK Flip Flop is Best for Simple State Machines Using a 9V Battery?

AI Thread Summary
For building simple state machines powered by a 9V battery, using D flip-flops is recommended over JK flip-flops due to their ease of design and functionality. D flip-flops allow for straightforward state transitions, eliminating the need for complex logic to determine J and K inputs. The 74HC273 octal edge-triggered D flip-flop is suggested for its availability and features, including a reset line for initial state definition. The discussion highlights that JK flip-flops are considered outdated for most applications, making D flip-flops a more practical choice for synchronous designs. Overall, D flip-flops provide a more efficient and user-friendly approach to state machine design.
mistermotown
Messages
13
Reaction score
0
Hi, I am looking to build some very simple state machines, with JK flip flops. I am planning to run them off a 9 volt battery, if that is feasible.

Does anyone have a suggestion on what JK flip flop to buy, preferably from Mouser?
I know Mouser has about 300 different parameters to pick from, I just want someone to suggest a good starting JK. I am not going to be doing anything high power, or fast frequency switching. I believe I am going to want a positive trigger though.

Anyone have a good suggestion?
 
Engineering news on Phys.org
Type 4027 or HEF4027/CD4027
 
JK flip-flops are old-fashioned. D latches and D flip-flops cover about all uses and have replaced all others. It would need a very special need and tricky circuitry to justify a JK.

Plus, a state machine traditionally uses D flip-flops, with logic between. Anything else is probably too complicated to design.
 
D-flip flops still have a clock input for them to change states, right?
Do you have any suggestions for a D-flip flop?
 
mistermotown said:
D-flip flops still have a clock input for them to change states, right?
Do you have any suggestions for a D-flip flop?

Yes and they're much easier to design with as the "next state" is simply "D". (So no need to mess about with translating "next states" into equations for J and K).

And as long as you are sticking with purely synchronous designs (all f/flops having common clock) then hex and octal D flipflop packages are readily available.

As Enthalpy said, JK flipflops are pretty outdated. Well actually any random SSI logic implementation is going to be outdated, but it's probably still a very good "hands on" learning experience for familiarizing yourself with logic design.

The basic idea behind J-K was that some of the next state logic could (if you were lucky) be shoehorned into the J-k functionality, thereby perhaps saving a gate or two in the combination logic. You'll probably get a bigger saving however by just making use of the good number of D f/flops (8) that you can get in a single SSI IC, and then just using an all nand combinatorial logic.

74xx273 is an octal edge triggered D flipflop with a reset line (so good for forcing a well defined initial state). The "xx" in this code represents the exact logic family. Eg 74HC273 is the part in the "HC" (5 volt high performance cmos) logic family, probably one of the more readily available types.
 
Last edited:
Very basic question. Consider a 3-terminal device with terminals say A,B,C. Kirchhoff Current Law (KCL) and Kirchhoff Voltage Law (KVL) establish two relationships between the 3 currents entering the terminals and the 3 terminal's voltage pairs respectively. So we have 2 equations in 6 unknowns. To proceed further we need two more (independent) equations in order to solve the circuit the 3-terminal device is connected to (basically one treats such a device as an unbalanced two-port...
suppose you have two capacitors with a 0.1 Farad value and 12 VDC rating. label these as A and B. label the terminals of each as 1 and 2. you also have a voltmeter with a 40 volt linear range for DC. you also have a 9 volt DC power supply fed by mains. you charge each capacitor to 9 volts with terminal 1 being - (negative) and terminal 2 being + (positive). you connect the voltmeter to terminal A2 and to terminal B1. does it read any voltage? can - of one capacitor discharge + of the...
Thread 'Weird near-field phenomenon I get in my EM simulation'
I recently made a basic simulation of wire antennas and I am not sure if the near field in my simulation is modeled correctly. One of the things that worry me is the fact that sometimes I see in my simulation "movements" in the near field that seems to be faster than the speed of wave propagation I defined (the speed of light in the simulation). Specifically I see "nodes" of low amplitude in the E field that are quickly "emitted" from the antenna and then slow down as they approach the far...
Back
Top