Digital Electronics: Seven-Segment Displays
Electronics Projects: How to Connect a Push Button to a BASIC Stamp
Digital Electronics: What is a Flip-Flop?

Electronics Projects: How to Build a Gated Latch

This electronics project shows you how to build a gated D latch using two 4011 Quad 2-Input NAND gates. Two 4011 chips are required because the NAND gate requires a total of five gates (four NAND gates and one NOT gate), and each 4011 provides just four gates.

You can create a NOT gate from a NAND gate simply by tying the two inputs of the NAND gate together. In this project, you use that technique to create the NOT gate.

To operate the assembled gated D latch, use the first button (the one in row 4) as the DATA input and the second button (the one in row 8) as the ENABLE input, as follows:

  • Set the Q output to HIGH. First, press and hold the DATA input button, and then press and release the ENABLE input button to activate the latch. The first LED lights to indicate that the output is HIGH.

  • Set the Q output to LOW (which sets the Q-bar output to HIGH). Just press and release the ENABLE button without pressing the DATA button. The first LED goes out to indicate that the Q output is LOW, and the second LED lights to indicate that the Q-bar output is HIGH.

    image0.jpg image1.jpg image2.jpg
  • Add a Comment
  • Print
  • Share
blog comments powered by Disqus
Electronics Projects: How to Program PBASIC Subroutines
Electronics Projects: How to Flash an LED with a BASIC Stamp
Electronics Projects: How to Build Series and Parallel Switched Circuits
Digital Electronics: Vixen for Parallel-Port Control
Electronics Projects: How to Build a Motor Driver
Advertisement

Inside Dummies.com