Difference between revisions of "CircuitJS/C3/NAND-Gate/English"
(Created page with " {| border="1" |- || '''Visual Cue''' || '''Narration''' |- || Slide 1: || Welcome to the spoken tutorial on '''NAND''' Gate using '''CircuitJS''' simulator |- style="backgr...") |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
|- | |- | ||
|| Slide 1: | || Slide 1: | ||
− | || Welcome to the spoken tutorial on '''NAND''' Gate using '''CircuitJS''' simulator | + | || Welcome to the spoken tutorial on '''NAND''' Gate using '''CircuitJS''' simulator. |
− | |- | + | |- |
|| Slide 2: | || Slide 2: | ||
Learning Objective | Learning Objective | ||
|| In this tutorial, we will learn about | || In this tutorial, we will learn about | ||
− | * | + | * '''NAND''' Gate and |
− | * | + | * Verify its truth table |
− | |- | + | |- |
|| Slide 3: | || Slide 3: | ||
Prerequisite | Prerequisite | ||
|| To follow this tutorial, you should have a basic knowledge of | || To follow this tutorial, you should have a basic knowledge of | ||
− | * | + | * Electrical circuits |
− | |- | + | |- |
|| Slide 4: | || Slide 4: | ||
System Requirement | System Requirement | ||
|| To record this tutorial, I am using: | || To record this tutorial, I am using: | ||
− | * | + | * '''Ubuntu Linux '''20.04 OS |
− | * | + | * '''CircuitJS''' Application |
− | |- | + | |- |
|| '''Slide 5:''' | || '''Slide 5:''' | ||
'''NAND Gate''' | '''NAND Gate''' | ||
|| | || | ||
− | * | + | * '''NAND''' is an abbreviation for “'''NOT AND”''' |
− | * | + | * Its truth table is exactly opposite of the '''AND''' gate. |
− | * | + | * The output is "LOW" if both inputs are "HIGH." |
− | |- | + | |- |
|| '''NAND Gate.png''' | || '''NAND Gate.png''' | ||
0:50 - NAND Gate - title | 0:50 - NAND Gate - title | ||
− | || | + | || It is the combination of two basic logic gates, the '''AND''' gate and the '''NOT''' gate connected in series. |
− | We will make this circuit for the '''NAND''' Gate | + | We will make this circuit for the '''NAND''' Gate''' demonstration. |
− | |- | + | |- |
|| Show the diagram | || Show the diagram | ||
|| To do this experiment, we will need | || To do this experiment, we will need | ||
− | * | + | * 1 AND Gate |
− | * | + | * 1 NOT Gate |
− | * | + | * 2 Logic Inputs |
− | * | + | * 1 Logic Output |
− | |- | + | |- |
|| | || | ||
|| Let us open the '''CircuitJS''' interface. | || Let us open the '''CircuitJS''' interface. | ||
Click on '''File''' in the menu bar and select '''New Blank Circuit.''' | Click on '''File''' in the menu bar and select '''New Blank Circuit.''' | ||
− | |- | + | |- |
|| Click on the '''Draw''' option | || Click on the '''Draw''' option | ||
Line 68: | Line 68: | ||
Draw AND Gate | Draw AND Gate | ||
− | || Click on the '''Draw '''menu and select '''Logic Gates, Input and Output'''. | + | || Click on the '''Draw ''' menu and select '''Logic Gates, Input and Output'''. |
Then select '''Add AND Gate'''. | Then select '''Add AND Gate'''. | ||
Drag and draw the '''AND gate''' in the working area. | Drag and draw the '''AND gate''' in the working area. | ||
− | |- | + | |- |
|| | || | ||
|| We need two inputs and one output to see the result of the '''NAND''' Gate. | || We need two inputs and one output to see the result of the '''NAND''' Gate. | ||
− | |- | + | |- |
− | || | + | || Select Logic Input |
− | + | || Go to the '''Draw''' menu and select the '''Logic Gates, Input and Output'''. | |
− | Select Logic Input | + | |
− | || Go to the '''Draw''' menu and select the''' Logic Gates, Input and Output'''. | + | |
Select '''Add Logic Input''' and draw the logic input as shown. | Select '''Add Logic Input''' and draw the logic input as shown. | ||
Line 89: | Line 87: | ||
By doing this, the input values will be shown in either 0’s or 1’s. | By doing this, the input values will be shown in either 0’s or 1’s. | ||
− | |- | + | |- |
|| | || | ||
|| We need two logic inputs to build the '''NAND''' gate. | || We need two logic inputs to build the '''NAND''' gate. | ||
Line 96: | Line 94: | ||
Connect both the logic inputs to the '''AND''' Gate as shown. | Connect both the logic inputs to the '''AND''' Gate as shown. | ||
− | |- | + | |- |
− | || | + | || Select Add Inverter |
− | + | ||
− | Select Add Inverter | + | |
− | + | ||
|| We require a '''NOT''' gate to get the desired output of '''NAND''' Gate. | || We require a '''NOT''' gate to get the desired output of '''NAND''' Gate. | ||
Line 110: | Line 105: | ||
Connect the output of the '''AND''' gate to the input of the '''NOT''' gate. | Connect the output of the '''AND''' gate to the input of the '''NOT''' gate. | ||
− | |- | + | |- |
− | || | + | || Select Logic Output |
− | + | ||
− | Select Logic Output | + | |
− | + | ||
|| Now we need a logic output to see the result. | || Now we need a logic output to see the result. | ||
Line 121: | Line 113: | ||
Select '''Add Logic output''' component from the list. | Select '''Add Logic output''' component from the list. | ||
− | Drag and draw the Logic output component. | + | Drag and draw the '''Logic output''' component. |
− | Right click on the Logic output component and select '''Edit''' option. | + | Right click on the '''Logic output''' component and select '''Edit''' option. |
In the pop-up window, check the '''Numeric''' box and click on the '''OK''' button to save the changes. | In the pop-up window, check the '''Numeric''' box and click on the '''OK''' button to save the changes. | ||
Line 130: | Line 122: | ||
Connect the logic output to the output pin of '''NOT''' gate. | Connect the logic output to the output pin of '''NOT''' gate. | ||
− | |- | + | |- |
|| Use Add text option to give labels | || Use Add text option to give labels | ||
|| Use the '''Add text''' option to label these input and output pins. | || Use the '''Add text''' option to label these input and output pins. | ||
Let us label the inputs as A and B, and output as Y. | Let us label the inputs as A and B, and output as Y. | ||
− | |- | + | |- |
|| '''NAND Gate Truthtable.png''' | || '''NAND Gate Truthtable.png''' | ||
Line 141: | Line 133: | ||
If any of the inputs in the '''NAND''' gate is 0, the output is 1. | If any of the inputs in the '''NAND''' gate is 0, the output is 1. | ||
− | |- | + | |- |
|| | || | ||
− | || Let us go to '''circuitJS''' simulator to verify the truth table of the '''NAND ''' | + | || Let us go to '''circuitJS''' simulator to verify the truth table of the '''NAND gate '''. |
− | |- | + | |- |
− | || | + | || Working of the circuit |
− | + | || For the first condition in the truth table, both inputs A and B are 0, that is they are LOW. | |
− | Working of the circuit | + | |
− | || For the first condition in the truth table, both inputs A and B are 0, | + | |
By default, the values of both the inputs is 0. | By default, the values of both the inputs is 0. | ||
− | Notice that the output Y in the circuit is showing the value 1, | + | Notice that the output Y in the circuit is showing the value 1, that is output Y is HIGH. |
Thus the first condition is verified. | Thus the first condition is verified. | ||
− | |- | + | |- |
|| | || | ||
|| To verify the second condition in the truth table, we need to change the value of input B. | || To verify the second condition in the truth table, we need to change the value of input B. | ||
Line 161: | Line 151: | ||
Click on the input B value, and notice the input value changes from 0 to 1. | Click on the input B value, and notice the input value changes from 0 to 1. | ||
− | The result at the output Y is still the same. | + | The result at the output Y is still the same. That is output Y is 1. |
The second condition from the truth table is verified. | The second condition from the truth table is verified. | ||
Check the remaining two input conditions of the '''NAND''' gate with the truth table. | Check the remaining two input conditions of the '''NAND''' gate with the truth table. | ||
− | |- | + | |- |
|| Slide: | || Slide: | ||
Line 173: | Line 163: | ||
Note the small circle added in the '''AND''' gate which represents the '''NAND''' gate. | Note the small circle added in the '''AND''' gate which represents the '''NAND''' gate. | ||
− | |- | + | |- |
− | || | + | ||Go to '''Draw''', then select '''Logic Gates, Input and Output''', |
+ | select the '''Add NAND''' gate option. | ||
|| In '''CircuitJS''', a '''NAND''' gate component is available. | || In '''CircuitJS''', a '''NAND''' gate component is available. | ||
Line 183: | Line 174: | ||
Drag and draw the gate in the working area. | Drag and draw the gate in the working area. | ||
− | |- | + | |- |
|| Slide: | || Slide: | ||
Line 192: | Line 183: | ||
|| As an assignment, | || As an assignment, | ||
− | # | + | # Connect the logic input and logic output to the '''NAND''' gate. |
− | # | + | # Use''' Add Logic Input '''and '''Add Logic Output''' to connect input and output of the '''NAND''' gate. |
− | # | + | # Label the input pins as A and B and output pin as''' Y.''' |
− | # | + | # Follow the truth table input values and verify the '''NAND''' Gate. |
− | |- | + | |- |
|| Slide : | || Slide : | ||
Line 205: | Line 196: | ||
'''3-INPUT NAND Gate Truthtable.png''' | '''3-INPUT NAND Gate Truthtable.png''' | ||
− | || | + | || Do this assignment with 3-input gate: |
− | + | ||
− | + | ||
− | * | + | * Build a 3-input '''NAND''' gate as shown in the image. |
− | * | + | * Label the input pins as A, B and C and the output pin as Y. |
− | * | + | * Verify the truth table for the 3-input NAND gate. |
− | |- | + | |- |
|| | || | ||
− | || This brings us to | + | || This brings us to end of this tutorial. Let us summarize. |
− | |- | + | |- |
|| Slide | || Slide | ||
Summary | Summary | ||
|| In this tutorial, we learnt about | || In this tutorial, we learnt about | ||
− | * | + | * NAND Gate and |
− | * | + | * Verify its truth table |
− | |- | + | |- |
|| Slide : | || Slide : | ||
Line 231: | Line 220: | ||
Please download and watch it. | Please download and watch it. | ||
− | |- | + | |- |
|| Slide :Spoken Tutorial workshops | || Slide :Spoken Tutorial workshops | ||
|| The '''Spoken Tutorial Project''' Team conducts workshops and gives certificates. | || The '''Spoken Tutorial Project''' Team conducts workshops and gives certificates. | ||
For more details, please write to us. | For more details, please write to us. | ||
− | |- | + | |- |
|| Slide : Forum for specific questions | || Slide : Forum for specific questions | ||
|| Please post your timed queries in this forum. | || Please post your timed queries in this forum. | ||
− | |- | + | |- |
|| Acknowledgement | || Acknowledgement | ||
|| Spoken Tutorial project was established by the Ministry of Education(MoE), Govt of India | || Spoken Tutorial project was established by the Ministry of Education(MoE), Govt of India | ||
− | |- | + | |- |
|| Thank you | || Thank you | ||
|| This tutorial has been contributed by FOSSEE and Spoken Tutorial Project, IIT Bombay. | || This tutorial has been contributed by FOSSEE and Spoken Tutorial Project, IIT Bombay. |
Latest revision as of 15:20, 15 February 2024
Visual Cue | Narration |
Slide 1: | Welcome to the spoken tutorial on NAND Gate using CircuitJS simulator. |
Slide 2:
Learning Objective |
In this tutorial, we will learn about
|
Slide 3:
Prerequisite |
To follow this tutorial, you should have a basic knowledge of
|
Slide 4:
System Requirement |
To record this tutorial, I am using:
|
Slide 5:
NAND Gate |
|
NAND Gate.png
0:50 - NAND Gate - title |
It is the combination of two basic logic gates, the AND gate and the NOT gate connected in series.
We will make this circuit for the NAND Gate demonstration. |
Show the diagram | To do this experiment, we will need
|
Let us open the CircuitJS interface.
Click on File in the menu bar and select New Blank Circuit. | |
Click on the Draw option
Browse through the menu Draw AND Gate |
Click on the Draw menu and select Logic Gates, Input and Output.
Then select Add AND Gate. Drag and draw the AND gate in the working area. |
We need two inputs and one output to see the result of the NAND Gate. | |
Select Logic Input | Go to the Draw menu and select the Logic Gates, Input and Output.
Select Add Logic Input and draw the logic input as shown. Right click on the logic input and select the Edit option. In the pop-up window, check the Numeric box and click on the OK button to save the changes. By doing this, the input values will be shown in either 0’s or 1’s. |
We need two logic inputs to build the NAND gate.
Right click on the logic input component and select the Duplicate option. Connect both the logic inputs to the AND Gate as shown. | |
Select Add Inverter | We require a NOT gate to get the desired output of NAND Gate.
Click on the Draw menu and go to Logic Gates, Input and Output and select the Add Inverter option. The NOT gate is named as Inverter in CircuitJS. Drag and draw the NOT gate in the working area. Connect the output of the AND gate to the input of the NOT gate. |
Select Logic Output | Now we need a logic output to see the result.
Click on the Draw menu and go to Logic Gates, Input and Output. Select Add Logic output component from the list. Drag and draw the Logic output component. Right click on the Logic output component and select Edit option. In the pop-up window, check the Numeric box and click on the OK button to save the changes. By doing this, the output values will be shown in either 0’s or 1’s. Connect the logic output to the output pin of NOT gate. |
Use Add text option to give labels | Use the Add text option to label these input and output pins.
Let us label the inputs as A and B, and output as Y. |
NAND Gate Truthtable.png | This is the truth table for the NAND Gate, where A and B are the inputs and Y is the output.
If any of the inputs in the NAND gate is 0, the output is 1. |
Let us go to circuitJS simulator to verify the truth table of the NAND gate . | |
Working of the circuit | For the first condition in the truth table, both inputs A and B are 0, that is they are LOW.
By default, the values of both the inputs is 0. Notice that the output Y in the circuit is showing the value 1, that is output Y is HIGH. Thus the first condition is verified. |
To verify the second condition in the truth table, we need to change the value of input B.
Click on the input B value, and notice the input value changes from 0 to 1. The result at the output Y is still the same. That is output Y is 1. The second condition from the truth table is verified. Check the remaining two input conditions of the NAND gate with the truth table. | |
Slide:
Symbol_NAND Gate.png |
NAND Gate is represented with this symbol.
Note the small circle added in the AND gate which represents the NAND gate. |
Go to Draw, then select Logic Gates, Input and Output,
select the Add NAND gate option. |
In CircuitJS, a NAND gate component is available.
Let us see how to use it. Go to Draw, then select Logic Gates, Input and Output, and then select the Add NAND gate option. Drag and draw the gate in the working area. |
Slide:
Assignment 1 Symbol_NAND Gate.png |
As an assignment,
|
Slide :
Assignment 2 3-INPUT NAND Gate.png 3-INPUT NAND Gate Truthtable.png |
Do this assignment with 3-input gate:
|
This brings us to end of this tutorial. Let us summarize. | |
Slide
Summary |
In this tutorial, we learnt about
|
Slide :
About Spoken Tutorial project |
The video at the following link summarizes the Spoken Tutorial project.
Please download and watch it. |
Slide :Spoken Tutorial workshops | The Spoken Tutorial Project Team conducts workshops and gives certificates.
For more details, please write to us. |
Slide : Forum for specific questions | Please post your timed queries in this forum. |
Acknowledgement | Spoken Tutorial project was established by the Ministry of Education(MoE), Govt of India |
Thank you | This tutorial has been contributed by FOSSEE and Spoken Tutorial Project, IIT Bombay.
Thanks for watching. |