CircuitJS/C3/NOT-Gate/English

From Script | Spoken-Tutorial
Revision as of 15:29, 14 February 2024 by Madhurig (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Visual Cue Narration
slide:1 Welcome to the spoken tutorial on NOT gate using circuitjs simulator.
Slide 2:

Learning Objective

In this tutorial, we will learn about,
  • NOT 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
NOT Gate Circuit.png We will create this circuit using a switch and LED for the NOT Gate demonstration.
Show the diagram

NOT Gate circuit.png

To do this experiment, we will need
  • 1 Switch
  • 1 Resistor of 220 Ohm
  • 1 DC Power supply of 5 Volts
  • 1 LED
Keep the circuit diagram on the top right Let us open the circuitjs interface.

Click on the File menu and select New Blank Circuit.

Click on the Draw option

Browse through the menu

Click on the Draw menu.

Go to the Passive Components, and then select Add Switch.

Drag and place the switch in the working area.

In this circuit, this switch acts as INPUT for the NOT Gate.

Add Resistor Go to Draw, and select the Add Resistor option.

Drag and draw the resistor.

Change the resistor value to 220 Ohms using the Edit option.

Place the resistor as shown.

Show the path to find the DC power supply and draw it Now we need a DC Power supply to make the circuit work.

Click on Draw, then go to Inputs and Sources.

Select Add Voltage Source (2-terminal), and drag the DC power supply.

Place the DC power supply across the switch as shown.

Add LED We need an LED to show the output of the circuit.

Click on the Draw menu and go to the Outputs and Labels option and

select Add LED.

Now click and drag to draw the LED in the working area.

Use wire We have all the required components in the working area.

Now let's connect the components using wires to complete the circuit.

Add Text Use the Add Text option to label the switch and LED.

Name the switch as A and the LED as Y in the circuit.

Slide:

NOT Gate Truth Table.png

This is the truth table for the NOT Gate, where A is the input and Y is the output.

When the input is 0, the output is 1, and vice-versa.

Let us go to circuitJS simulator to verify the truth table of NOT gate.
For the first condition in the truth table, input A is 0, that is A is LOW.
For this, we have to open switch A in the circuit.

Click on the center of the switch to open it.

Now we can see that the output LED is glowing.

This indicates that the output Y is 1, as given in the truth table.

Thus the first condition is verified.

Slide :

Assignment

As an assignment,
  • Using the above switch and LED circuit, verify the NOT gate truth table.
Next we will see how to use the NOT gate component provided by CircuitJS simulator.
Click on Draw>> Go to Logic Gates, Input and Output. Click on the Draw menu, Go to Logic Gates, Input and Output.

Select the Add Inverter option.

The NOT gate is named as Inverter in CircuitJS.

Click and drag the cursor in the working area to draw the NOT gate.

We require one logic input and one logic output to see the working of NOT gate.
Click on the Draw menu, Go to Logic Gates, Input and Output. Click on the Draw menu, Go to Logic Gates, Input and Output.

Select Add Logic Input option.

Click and drag the cursor in the working area to draw the logic input.

Press the Esc key to deselect the component wherever required.

Right click on the logic input >> select the Edit option. 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.

Connect this logic input to the input pins of the NOT gate as shown.

Click on the Draw menu, click on Logic gates, Input and Output. Next we will add one logic output to the NOT gate.

Now, click on the Draw menu, click on Logic gates, Input and Output.

Then Select Add Logic output and draw it in the working space.

Right click on the logic output 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 output value will be shown in either 0’s or 1’s.

Connect the logic output to the output pin of NOT Gate.

Use the Add text option to give labels to pins as shown.

Input is denoted by A and output is denoted by Y.

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

Now click on the input A to make its value 1.

Notice the output value Y is Zero.

For the NOT gate, the output value will always be opposite of the input value.

This brings us to end of this tutorial. Let us summarize.
Slide

Summary

In this tutorial, we learnt about
  • NOT 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