Idea
In short
How do you build a JK flip-flop from NAND gates?
Build a clocked JK flip-flop from NAND gates and watch it set, reset, hold and toggle as you press the J, K and clock buttons, with LEDs for Q and not Q. It shows how memory is built from plain gates and why the toggle case needs care with timing. You need 74HC00 quad NAND gate × 2, Tactile push button 6 mm × 3, LED 5 mm red × 2, Resistor 220 Ω × 2, Resistor 10 kΩ × 3, Breadboard 830 Tie Points and Jumper wires male to male (40 pcs, 20 cm).
- Level
- Intermediate
- Time
- About 90 min
- Parts
- 7
An idea, not a guided build yet. Goal, parts and steps; no wiring, code or tests. Copy it to My Garage to plan it.
Goal
Build a JK flip-flop out of NAND gates.
Parts list
- Integrated Circuits
- Switches
- SemiconductorsLED 5 mm red × 2
- PassivesResistor 220 Ω × 2
- PassivesResistor 10 kΩ × 3
- Prototyping
- Prototyping
How to build it
- Build the gated SR latch from four NAND gates
- Add feedback to make it a JK
- Clock it with a debounced button
- Try set, reset, hold and toggle
- Note what happens if the clock is held down
Common questions
What parts do I need for the JK flip-flop from NAND gates?
74HC00 quad NAND gate × 2, Tactile push button 6 mm × 3, LED 5 mm red × 2, Resistor 220 Ω × 2, Resistor 10 kΩ × 3, Breadboard 830 Tie Points and Jumper wires male to male (40 pcs, 20 cm).
How long does the JK flip-flop from NAND gates take to build?
About 90 minutes for a intermediate maker.
