Difference between revisions of "CircuitJS/C3/NOR-Gate/English"

From Script | Spoken-Tutorial
Jump to: navigation, search
(Created page with " {| border="1" |- || '''Visual Cue''' || '''Narration''' |- || slide:1 || Welcome to the spoken tutorial on '''NOR''' Gate using '''CircuitJS''' simulator |- style="border:1pt...")
 
 
Line 6: Line 6:
 
|-
 
|-
 
|| slide:1
 
|| slide:1
|| Welcome to the spoken tutorial on '''NOR''' Gate using '''CircuitJS''' simulator
+
|| Welcome to the spoken tutorial on '''NOR''' Gate using '''CircuitJS''' simulator.
|- style="border:1pt solid #000000;padding:0.176cm;"
+
|-
 
|| Slide 2:
 
|| Slide 2:
  
 
Learning Objective
 
Learning Objective
 
|| In this tutorial, we will learn about  
 
|| In this tutorial, we will learn about  
* <div style="margin-left:1.27cm;margin-right:0cm;">'''NOR''' Gate and</div>
+
* '''NOR''' Gate and
* <div style="margin-left:1.27cm;margin-right:0cm;">Verify its truth table</div>
+
* Verify its truth table
  
|- style="border:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;"
+
|-
 
|| 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,
* <div style="margin-left:1.27cm;margin-right:0cm;">Electrical circuits</div>
+
* Electrical circuits
  
|- style="border:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;"
+
|-
 
|| Slide 4:
 
|| Slide 4:
  
 
System Requirement
 
System Requirement
 
|| To record this tutorial, I am using:
 
|| To record this tutorial, I am using:
* <div style="margin-left:1.27cm;margin-right:0cm;">'''Ubuntu Linux '''20.04 OS</div>
+
* '''Ubuntu Linux '''20.04 OS
* <div style="margin-left:1.27cm;margin-right:0cm;">'''CircuitJS''' Application</div>
+
* '''CircuitJS''' Application
  
|- style="border:1pt solid #000000;padding:0.176cm;"
+
|-
|| <div style="color:#000000;">Slide 5:</div>
+
|| Slide 5:
  
<div style="color:#000000;">NOR Gate</div>
+
NOR Gate
 
||
 
||
* <div style="margin-left:1.27cm;margin-right:0cm;">'''NOR''' is an abbreviation for '''“NOT OR”'''</div>
+
* '''NOR''' is an abbreviation for '''“NOT OR”'''
* <div style="margin-left:1.27cm;margin-right:0cm;">Its truth table is exactly opposite of the '''OR''' gate.</div>
+
* Its truth table is exactly opposite of the '''OR''' gate.
* <div style="margin-left:1.27cm;margin-right:0cm;">When all the inputs are LOW, NOR gate<span style="color:#ff0000;"> </span>output is HIGH, otherwise it is LOW.</div>
+
* When all the inputs are LOW, NOR gate output is HIGH, otherwise it is LOW.
  
|- style="border:1pt solid #000000;padding:0.176cm;"
+
|-
|| <div style="color:#000000;">NOR Gate.png</div>
+
|| NOR Gate.png
  
 
|| It is the combination of two basic logic gates, the '''OR''' gate and the '''NOT''' gate connected in series.
 
|| It is the combination of two basic logic gates, the '''OR''' gate and the '''NOT''' gate connected in series.
  
We will make this circuit for the '''NOR''' Gate<span style="color:#0e101a;">''' '''</span>demonstration'''.'''
+
We will make this circuit for the '''NOR''' Gate''' demonstration.
|- style="border:1pt solid #000000;padding:0.176cm;"
+
|-
|| <div style="color:#000000;">Show the diagram</div>
+
|| Show the diagram
 
+
<div style="color:#000000;"></div>
+
 
+
<div style="color:#000000;"></div>
+
 
|| To do this experiment, we will need
 
|| To do this experiment, we will need
* <div style="margin-left:1.27cm;margin-right:0cm;">1 OR Gate</div>
+
* 1 OR Gate
* <div style="margin-left:1.27cm;margin-right:0cm;">1 NOT Gate</div>
+
* 1 NOT Gate
* <div style="margin-left:1.27cm;margin-right:0cm;">2 Logic Inputs</div>
+
* 2 Logic Inputs
* <div style="margin-left:1.27cm;margin-right:0cm;">1 Logic Output</div>
+
* 1 Logic Output
  
|- style="border:1pt solid #000000;padding:0.176cm;"
+
|-
| style="color:#ff0000;" |  
+
||  
 
|| 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'''.
|- style="border:1pt solid #000000;padding:0.176cm;"
+
|-
 
|| Click on the '''Draw''' option Browse through the menu
 
|| Click on the '''Draw''' option Browse through the menu
  
Line 71: Line 67:
  
 
Drag and draw the '''OR gate''' in the working area.
 
Drag and draw the '''OR gate''' in the working area.
|- style="border:1pt solid #000000;padding:0.176cm;"
+
|-
||  
+
|| Cursor on the interface.
 
|| We need two inputs and one output to see the result of the '''NOR''' Gate.
 
|| We need two inputs and one output to see the result of the '''NOR''' Gate.
|- style="border:1pt solid #000000;padding:0.176cm;"
+
|-
 
|| Select Logic Input
 
|| Select Logic Input
 
|| Go to the '''Draw''' menu and select the''' Logic Gates, Input and Output'''.
 
|| Go to the '''Draw''' menu and select the''' Logic Gates, Input and Output'''.
Line 85: Line 81:
  
 
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.
|- style="border:1pt solid #000000;padding:0.176cm;"
+
|-
||  
+
|| Right click on the logic input component >> select the '''Duplicate''' option.
 
|| We need two logic inputs to build the '''NOR''' gate.
 
|| We need two logic inputs to build the '''NOR''' gate.
  
Line 92: Line 88:
  
 
Connect both the logic input to the '''OR''' Gate as shown.
 
Connect both the logic input to the '''OR''' Gate as shown.
|- style="border:1pt solid #000000;padding:0.176cm;"
+
|-
 
|| Select Add Inverter
 
|| Select Add Inverter
 
|| We require a '''NOT''' gate to get the desired output of '''NOR''' Gate.
 
|| We require a '''NOT''' gate to get the desired output of '''NOR''' Gate.
Line 103: Line 99:
  
 
Connect the output of the '''OR''' gate to the input of the '''NOT''' gate.
 
Connect the output of the '''OR''' gate to the input of the '''NOT''' gate.
|- style="border:1pt solid #000000;padding:0.176cm;"
+
|-
 
|| 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 120: Line 116:
  
 
Connect the logic output to the output pin of '''NOT''' gate.
 
Connect the logic output to the output pin of '''NOT''' gate.
|- style="border:1pt solid #000000;padding:0.176cm;"
+
|-
 
|| Use Add text option to give labels
 
|| Use Add text option to give labels
 
|| Use the '''Add text''' option to give names to the inputs and output pins.
 
|| Use the '''Add text''' option to give names to the inputs 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.
|- style="border:1pt solid #000000;padding:0.176cm;"
+
|-
 
|| '''NOR Gate Truthtable.png'''
 
|| '''NOR Gate Truthtable.png'''
 
|| This is the truth table for the '''NOR''' Gate, where A and B are the inputs and Y is the output.
 
|| This is the truth table for the '''NOR''' Gate, where A and B are the inputs and Y is the output.
  
 
The '''NOR''' gate output is 1, only when both the inputs are 0.
 
The '''NOR''' gate output is 1, only when both the inputs are 0.
|- style="border:1pt solid #000000;padding:0.176cm;"
+
|-
 
||  
 
||  
 
|| Let us go to the '''CircuitJS''' simulator to verify the truth table of the '''NOR '''gate.
 
|| Let us go to the '''CircuitJS''' simulator to verify the truth table of the '''NOR '''gate.
|- style="border:1pt solid #000000;padding:0.176cm;"
+
|-
 
|| Working of the circuit
 
|| Working of the circuit
 
+
|| For the first condition in the truth table, both inputs A and B are 0, that is, they are '''LOW'''.
|| For the first condition in the truth table, both inputs A and B are 0, i.e. they are '''LOW'''.
+
  
 
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 value 1, i.e. the output Y is '''HIGH'''.
+
Notice that the output Y in the circuit is showing value 1, that is, the output Y is '''HIGH'''.
  
 
Thus the first condition is verified.
 
Thus the first condition is verified.
|- style="border:1pt solid #000000;padding:0.176cm;"
+
|-
 
||  
 
||  
 
|| 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 151: Line 146:
 
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 changes, i.e. the output Y shows 0 value.
+
The result at the output Y changes, that is, the output Y shows 0 value.
  
 
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 NOR gate with the truth table.
+
Check the remaining two input conditions for the NOR gate with the truth table.
|- style="border:1pt solid #000000;padding:0.176cm;"
+
|-
 
|| '''Symbol_NOR Gate.png'''
 
|| '''Symbol_NOR Gate.png'''
 
|| '''NOR''' gate is represented with this symbol.
 
|| '''NOR''' gate is represented with this symbol.
  
 
Note the small circle added in the '''OR''' gate which represents the '''NOR''' gate.
 
Note the small circle added in the '''OR''' gate which represents the '''NOR''' gate.
|- style="border:1pt solid #000000;padding:0.176cm;"
+
|-
 
||  
 
||  
 
|| In '''CircuitJS''', a '''NOR''' gate component is available.
 
|| In '''CircuitJS''', a '''NOR''' gate component is available.
Line 167: Line 162:
 
Let us see how to use it.
 
Let us see how to use it.
  
Go to '''Draw''', then select '''Logic Gates, Input and Output''', and then select the '''Add NOR gate''' option.
+
Go to '''Draw''', then select '''Logic Gates, Input and Output''', and select the '''Add NOR gate''' option.
  
 
Drag and draw the gate in the work area.
 
Drag and draw the gate in the work area.
|- style="border:1pt solid #000000;padding:0.176cm;"
+
|-
 
|| Slide:
 
|| Slide:
  
Line 178: Line 173:
 
|| As an assignment,
 
|| As an assignment,
  
# <div style="margin-left:1.27cm;margin-right:0cm;">Connect the logic input and logic output to the '''NOR''' gate.</div>
+
# Connect the logic input and logic output to the '''NOR''' gate.
# <div style="margin-left:1.27cm;margin-right:0cm;">Use''' Add Logic Input '''and '''Add Logic Output''' to connect input and output of the '''NOR''' gate.</div>
+
# Use''' Add Logic Input '''and '''Add Logic Output''' to connect input and output of the '''NOR''' gate.
# <div style="margin-left:1.27cm;margin-right:0cm;">Label the input pins as''' A '''and''' B '''and output pin as''' Y'''</div>
+
# Label the input pins as ''' A '''and''' B '''and output pin as''' Y'''
# <div style="margin-left:1.27cm;margin-right:0cm;">Follow the truth table input values and verify the '''NOR''' Gate.</div>
+
# Follow the truth table input values and verify the '''NOR''' Gate.
  
|- style="border:1pt solid #000000;padding:0.176cm;"
+
|-
 
|| Slide :
 
|| Slide :
  
Line 193: Line 188:
 
|| Do this assignment with 3-input gate:
 
|| Do this assignment with 3-input gate:
  
* <div style="margin-left:1.27cm;margin-right:0cm;">Build a 3-input '''NOR''' gate as shown in the image.</div>
+
* Build a 3-input '''NOR''' gate as shown in the image.
* <div style="margin-left:1.27cm;margin-right:0cm;">Label the input pins as''' A,B '''and''' C '''and output pin as''' Y'''</div>
+
* Label the input pins as''' A''', '''B '''and''' C '''and output pin as''' Y'''
* <div style="margin-left:1.27cm;margin-right:0cm;">Verify the truth table for the 3-input '''NOR''' gate.</div>
+
* Verify the truth table for the 3-input '''NOR''' gate.
  
|- style="border:1pt solid #000000;padding:0.176cm;"
+
|-
 
||  
 
||  
 
|| This brings us to the end of this tutorial. Let us summarize.
 
|| This brings us to the end of this tutorial. Let us summarize.
|- style="border:1pt solid #000000;padding:0.176cm;"
+
|-
 
|| Slide
 
|| Slide
  
 
Summary
 
Summary
 
|| In this tutorial, we learnt about
 
|| In this tutorial, we learnt about
* <div style="margin-left:1.27cm;margin-right:0cm;">NOR Gate and</div>
+
* NOR Gate and
* <div style="margin-left:1.27cm;margin-right:0cm;">Verify its truth table</div>
+
* Verify its truth table
  
|- style="border:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;"
+
|-
 
|| Slide :
 
|| Slide :
  
Line 215: Line 210:
  
 
Please download and watch it.
 
Please download and watch it.
|- style="border:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;"
+
|-
 
|| Slide&nbsp;:Spoken Tutorial workshops
 
|| Slide&nbsp;:Spoken Tutorial workshops
|| The&nbsp;'''Spoken Tutorial Project'''&nbsp;Team conducts workshops and gives certificates.
+
|| The &nbsp;'''Spoken Tutorial Project'''&nbsp;Team conducts workshops and gives certificates.
  
 
For more details, please write to us.
 
For more details, please write to us.
|- style="border:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;"
+
|-
 
|| 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.
|- style="border:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;"
+
|-
 
|| 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
|- style="border:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;"
+
|-
 
|| 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 13:25, 4 March 2024

Visual Cue Narration
slide:1 Welcome to the spoken tutorial on NOR Gate using CircuitJS simulator.
Slide 2:

Learning Objective

In this tutorial, we will learn about
  • NOR Gate and
  • Verify its truth table
Slide 3:

Prerequisite

To follow this tutorial, you should have a basic knowledge of,
  • Electrical circuits
Slide 4:

System Requirement

To record this tutorial, I am using:
  • Ubuntu Linux 20.04 OS
  • CircuitJS Application
Slide 5:

NOR Gate

  • NOR is an abbreviation for “NOT OR”
  • Its truth table is exactly opposite of the OR gate.
  • When all the inputs are LOW, NOR gate output is HIGH, otherwise it is LOW.
NOR Gate.png It is the combination of two basic logic gates, the OR gate and the NOT gate connected in series.

We will make this circuit for the NOR Gate demonstration.

Show the diagram To do this experiment, we will need
  • 1 OR Gate
  • 1 NOT Gate
  • 2 Logic Inputs
  • 1 Logic Output
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

Select OR Gate

Click on the Draw menu and select Logic Gates, Input and Output.

Then select Add OR Gate.

Drag and draw the OR gate in the working area.

Cursor on the interface. We need two inputs and one output to see the result of the NOR 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.

Right click on the logic input component >> select the Duplicate option. We need two logic inputs to build the NOR gate.

Right click on the logic input component and select the Duplicate option.

Connect both the logic input to the OR Gate as shown.

Select Add Inverter We require a NOT gate to get the desired output of NOR Gate.

Click on Draw and go to Logic Gates, Input and Output and select 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 OR gate to the input of the NOT gate.

Select Logic output Now we need a logic output to see the result.

Click on Draw 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 give names to the inputs and output pins.

Let us label the inputs as A and B, and output as Y.

NOR Gate Truthtable.png This is the truth table for the NOR Gate, where A and B are the inputs and Y is the output.

The NOR gate output is 1, only when both the inputs are 0.

Let us go to the CircuitJS simulator to verify the truth table of the NOR 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 value 1, that is, the 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.

To change the value of the input from 0 to 1 or vice-versa, click on the input value.

Click on the input B value, and notice the input value changes from 0 to 1.

The result at the output Y changes, that is, the output Y shows 0 value.

The second condition from the truth table is verified.

Check the remaining two input conditions for the NOR gate with the truth table.

Symbol_NOR Gate.png NOR gate is represented with this symbol.

Note the small circle added in the OR gate which represents the NOR gate.

In CircuitJS, a NOR gate component is available.

Let us see how to use it.

Go to Draw, then select Logic Gates, Input and Output, and select the Add NOR gate option.

Drag and draw the gate in the work area.

Slide:

Assignment 1

NOR GATE component

As an assignment,
  1. Connect the logic input and logic output to the NOR gate.
  2. Use Add Logic Input and Add Logic Output to connect input and output of the NOR gate.
  3. Label the input pins as A and B and output pin as Y
  4. Follow the truth table input values and verify the NOR Gate.
Slide :

Assignment 2

3-INPUT NOR Gate.png

3-INPUT NOR Gate Truthtable.png

Do this assignment with 3-input gate:
  • Build a 3-input NOR gate as shown in the image.
  • Label the input pins as A, B and C and output pin as Y
  • Verify the truth table for the 3-input NOR gate.
This brings us to the end of this tutorial. Let us summarize.
Slide

Summary

In this tutorial, we learnt about
  • NOR Gate and
  • Verify its truth table
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.

Contributors and Content Editors

Madhurig, Nirmala Venkat