<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://script.spoken-tutorial.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://script.spoken-tutorial.org/index.php?action=history&amp;feed=atom&amp;title=CircuitJS%2FC3%2FOR-Gate%2FEnglish</id>
		<title>CircuitJS/C3/OR-Gate/English - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://script.spoken-tutorial.org/index.php?action=history&amp;feed=atom&amp;title=CircuitJS%2FC3%2FOR-Gate%2FEnglish"/>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=CircuitJS/C3/OR-Gate/English&amp;action=history"/>
		<updated>2026-05-13T11:50:42Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.17</generator>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=CircuitJS/C3/OR-Gate/English&amp;diff=56480&amp;oldid=prev</id>
		<title>Madhurig at 06:45, 1 February 2024</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=CircuitJS/C3/OR-Gate/English&amp;diff=56480&amp;oldid=prev"/>
				<updated>2024-02-01T06:45:16Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;https://script.spoken-tutorial.org/index.php?title=CircuitJS/C3/OR-Gate/English&amp;amp;diff=56480&amp;amp;oldid=56471&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Madhurig</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=CircuitJS/C3/OR-Gate/English&amp;diff=56471&amp;oldid=prev</id>
		<title>Nirmala Venkat: Created page with &quot;   {| border=&quot;1&quot; |- || '''Visual Cue''' || '''Narration''' |- || slide:1 || Welcome to the spoken tutorial on '''OR''' gate using '''circuitjs''' simulator |- style=&quot;border:1p...&quot;</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=CircuitJS/C3/OR-Gate/English&amp;diff=56471&amp;oldid=prev"/>
				<updated>2024-01-29T09:46:14Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;   {| border=&amp;quot;1&amp;quot; |- || &amp;#039;&amp;#039;&amp;#039;Visual Cue&amp;#039;&amp;#039;&amp;#039; || &amp;#039;&amp;#039;&amp;#039;Narration&amp;#039;&amp;#039;&amp;#039; |- || slide:1 || Welcome to the spoken tutorial on &amp;#039;&amp;#039;&amp;#039;OR&amp;#039;&amp;#039;&amp;#039; gate using &amp;#039;&amp;#039;&amp;#039;circuitjs&amp;#039;&amp;#039;&amp;#039; simulator |- style=&amp;quot;border:1p...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| '''Visual Cue'''&lt;br /&gt;
|| '''Narration'''&lt;br /&gt;
|-&lt;br /&gt;
|| slide:1&lt;br /&gt;
|| Welcome to the spoken tutorial on '''OR''' gate using '''circuitjs''' simulator&lt;br /&gt;
|- style=&amp;quot;border:1pt solid #000000;padding:0.176cm;&amp;quot;&lt;br /&gt;
|| Slide 2:&lt;br /&gt;
&lt;br /&gt;
Learning Objective&lt;br /&gt;
|| In this tutorial, we will learn about&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;OR Gate and&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;Verify its truth table&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|- style=&amp;quot;border:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| Slide 3:&lt;br /&gt;
&lt;br /&gt;
Prerequisite&lt;br /&gt;
|| To follow this tutorial, you should have a basic knowledge of,&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;Electrical circuits&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|- style=&amp;quot;border:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| Slide 4:&lt;br /&gt;
&lt;br /&gt;
System Requirement&lt;br /&gt;
|| To record this tutorial, I am using:&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''Ubuntu Linux '''20.04 OS&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;CircuitJS Application&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|- style=&amp;quot;border:1pt solid #000000;padding:0.176cm;&amp;quot;&lt;br /&gt;
|| OR Gate Circuit.png&lt;br /&gt;
|| We will create this circuit using switches and LEDs for the '''OR''' Gate''' '''demonstration'''.'''&lt;br /&gt;
|- style=&amp;quot;border:1pt solid #000000;padding:0.176cm;&amp;quot;&lt;br /&gt;
|| Show the diagram&lt;br /&gt;
&lt;br /&gt;
OR Gate circuit.png&lt;br /&gt;
&lt;br /&gt;
|| To do this experiment, we will need&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;2 Switches&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;2 Resistors of 220 Ohm&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;1 DC Power supply of 5 Volts&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;1 LED&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|- style=&amp;quot;border:1pt solid #000000;padding:0.176cm;&amp;quot;&lt;br /&gt;
|| Keep the circuit diagram on the top right&lt;br /&gt;
|| Let us open the '''circuitjs''' interface.&lt;br /&gt;
&lt;br /&gt;
Click on '''File''' and select '''New Blank Circuit.'''&lt;br /&gt;
|- style=&amp;quot;border:1pt solid #000000;padding:0.176cm;&amp;quot;&lt;br /&gt;
|| Click on the '''Draw''' option&lt;br /&gt;
&lt;br /&gt;
Browse through the menu&lt;br /&gt;
|| Click on the '''Draw''' menu.&lt;br /&gt;
&lt;br /&gt;
Go to the '''Passive Components''', and then select '''Add Switch'''.&lt;br /&gt;
&lt;br /&gt;
Drag and place the switch in the working space.&lt;br /&gt;
|- style=&amp;quot;border:1pt solid #000000;padding:0.176cm;&amp;quot;&lt;br /&gt;
|| &lt;br /&gt;
|| We will use 2 switches in this circuit.&lt;br /&gt;
&lt;br /&gt;
Right-click on the switch, then select the '''Duplicate '''option to make another one.&lt;br /&gt;
&lt;br /&gt;
Place both the switches in parallel alignment as shown.&lt;br /&gt;
&lt;br /&gt;
In this circuit, these switches act as '''INPUTs''' for the '''OR''' Gate.&lt;br /&gt;
|- style=&amp;quot;border:1pt solid #000000;padding:0.176cm;&amp;quot;&lt;br /&gt;
|| Add Resistor&lt;br /&gt;
|| Go to '''Draw''', and select the '''Add Resistor''' option.&lt;br /&gt;
&lt;br /&gt;
Drag and draw the resistor as shown.&lt;br /&gt;
&lt;br /&gt;
Change the resistor value to 220 Ohms using the '''Edit''' option.&lt;br /&gt;
&lt;br /&gt;
Use the '''Duplicate''' option to have another resistor of 220 Ohms.&lt;br /&gt;
&lt;br /&gt;
Connect one resistor each to the switches in series connection.&lt;br /&gt;
|- style=&amp;quot;border:1pt solid #000000;padding:0.176cm;&amp;quot;&lt;br /&gt;
|| Show the path to find the DC power supply and draw it&lt;br /&gt;
&lt;br /&gt;
|| Now we need a '''DC Power''' supply to make the circuit work.&lt;br /&gt;
&lt;br /&gt;
Click on '''Draw''', then go to '''Inputs and Sources''' to see a list of components.&lt;br /&gt;
&lt;br /&gt;
Select '''Add Voltage Source (2-terminal)''', and drag the DC power supply.&lt;br /&gt;
&lt;br /&gt;
Place the power supply in the working space, as shown in the video.&lt;br /&gt;
|- style=&amp;quot;border:1pt solid #000000;padding:0.176cm;&amp;quot;&lt;br /&gt;
|| Add LED&lt;br /&gt;
|| We need an LED to show the output of the circuit.&lt;br /&gt;
&lt;br /&gt;
Click on the '''Draw '''menu and go to the '''Outputs and Labels''' option and&lt;br /&gt;
&lt;br /&gt;
select '''Add LED.'''&lt;br /&gt;
&lt;br /&gt;
Now click and drag to draw the '''LED''' in the working space.&lt;br /&gt;
|- style=&amp;quot;border:1pt solid #000000;padding:0.176cm;&amp;quot;&lt;br /&gt;
|| Use wire&lt;br /&gt;
|| We have all the required components in the working space. &lt;br /&gt;
&lt;br /&gt;
Now let's connect the components using wires.&lt;br /&gt;
|- style=&amp;quot;border:1pt solid #000000;padding:0.176cm;&amp;quot;&lt;br /&gt;
|| Add Text&lt;br /&gt;
|| Use the''' Add Text''' option to label the switches and LED.&lt;br /&gt;
&lt;br /&gt;
Give names to these switches as A and B and to the LED as Y.&lt;br /&gt;
|- style=&amp;quot;border:1pt solid #000000;padding:0.176cm;&amp;quot;&lt;br /&gt;
|| Slide:&lt;br /&gt;
&lt;br /&gt;
OR Gate Truth Table.png&lt;br /&gt;
|| This is the truth table for the '''OR''' Gate, where A and B are the inputs and Y is the output.&lt;br /&gt;
&lt;br /&gt;
When any one of the inputs is 1, the OR Gate gives the output as 1.&lt;br /&gt;
&lt;br /&gt;
If both the inputs in the OR gate are zero, then the output is zero.&lt;br /&gt;
|- style=&amp;quot;border:1pt solid #000000;padding:0.176cm;&amp;quot;&lt;br /&gt;
|| &lt;br /&gt;
|| Let us go to '''circuitJS''' simulator to verify the truth table of '''OR''' gate.&lt;br /&gt;
|- style=&amp;quot;border:1pt solid #000000;padding:0.176cm;&amp;quot;&lt;br /&gt;
|| &lt;br /&gt;
|| For the first condition in the truth table, both inputs A and B are 0, i.e. they are LOW.&lt;br /&gt;
|- style=&amp;quot;border:1pt solid #000000;padding:0.176cm;&amp;quot;&lt;br /&gt;
|| &lt;br /&gt;
|| This means, we have to open both switches A and B in the circuit.&lt;br /&gt;
&lt;br /&gt;
Click on the center of the switch to open it.&lt;br /&gt;
&lt;br /&gt;
Now we can see that the output LED is not glowing.&lt;br /&gt;
&lt;br /&gt;
This indicates that the output Y is 0, as given in the truth table.&lt;br /&gt;
&lt;br /&gt;
Thus the first condition is verified.&lt;br /&gt;
|- style=&amp;quot;border:1pt solid #000000;padding:0.176cm;&amp;quot;&lt;br /&gt;
|| &lt;br /&gt;
|| For the second case, input A is 0 and input B is 1.&lt;br /&gt;
&lt;br /&gt;
To attain this condition in the circuit, keep switch A open and close switch B as shown.&lt;br /&gt;
&lt;br /&gt;
Note that the output LED is now glowing.&lt;br /&gt;
&lt;br /&gt;
This indicates that the output Y is 1, as given in the truth table.&lt;br /&gt;
&lt;br /&gt;
Thus the second condition is verified.&lt;br /&gt;
|- style=&amp;quot;border:1pt solid #000000;padding:0.176cm;&amp;quot;&lt;br /&gt;
|| Slide :&lt;br /&gt;
&lt;br /&gt;
Assignment1&lt;br /&gt;
&lt;br /&gt;
Image&lt;br /&gt;
|| As an assignment,&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;Using the switches and LED circuit, verify the '''OR''' gate truth table &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|- style=&amp;quot;border:1pt solid #000000;padding:0.176cm;&amp;quot;&lt;br /&gt;
|| &lt;br /&gt;
|| Next we will see how to use the '''OR''' gate component provided by '''CircuitJS''' simulator.&lt;br /&gt;
|- style=&amp;quot;border:1pt solid #000000;padding:0.176cm;&amp;quot;&lt;br /&gt;
|| &lt;br /&gt;
|| Click on '''Draw''', Go to '''Logic Gates, Input and Output.'''&lt;br /&gt;
&lt;br /&gt;
Select '''Add OR Gate''' option.&lt;br /&gt;
&lt;br /&gt;
Click and drag the cursor in the working space to draw the '''OR gate'''.&lt;br /&gt;
|- style=&amp;quot;border:1pt solid #000000;padding:0.176cm;&amp;quot;&lt;br /&gt;
|| &lt;br /&gt;
|| We require two logic inputs and one logic output to see the working of '''OR gate'''.&lt;br /&gt;
|- style=&amp;quot;border:1pt solid #000000;padding:0.176cm;&amp;quot;&lt;br /&gt;
|| &lt;br /&gt;
|| Click on '''Draw''', Go to '''Logic Gates, Input and Output.'''&lt;br /&gt;
&lt;br /&gt;
Select''' Add Logic Input''' option.&lt;br /&gt;
&lt;br /&gt;
Click and drag the cursor in the working area to draw the logic input.&lt;br /&gt;
&lt;br /&gt;
Press the '''Esc''' key to deselect the component wherever required.&lt;br /&gt;
|- style=&amp;quot;border:1pt solid #000000;padding:0.176cm;&amp;quot;&lt;br /&gt;
|| &lt;br /&gt;
|| Right click on the logic input and select the '''Edit''' option. &lt;br /&gt;
&lt;br /&gt;
In the pop-up window , check the '''Numeric''' box and click on the OK button to save the changes.&lt;br /&gt;
&lt;br /&gt;
By doing this, the input values will be shown in either 0’s or 1’s.&lt;br /&gt;
&lt;br /&gt;
As we require two logic inputs, let us select the '''Duplicate''' option.&lt;br /&gt;
&lt;br /&gt;
Now we have two logic inputs.&lt;br /&gt;
&lt;br /&gt;
Connect these logic inputs to the input pins of the '''OR''' gate as shown.&lt;br /&gt;
|- style=&amp;quot;border:1pt solid #000000;padding:0.176cm;&amp;quot;&lt;br /&gt;
|| &lt;br /&gt;
|| Next we will add one logic output to the '''OR''' gate.&lt;br /&gt;
&lt;br /&gt;
Now, go to '''Draw''', click on '''Logic gates, Input and Output.'''&lt;br /&gt;
&lt;br /&gt;
Then Select '''Add Logic output '''and draw it in the working space.&lt;br /&gt;
&lt;br /&gt;
Right click on the logic output and select the '''Edit''' option. &lt;br /&gt;
&lt;br /&gt;
In the pop-up window , check the '''Numeric''' box and click on the OK button to save the changes.&lt;br /&gt;
&lt;br /&gt;
By doing this, the output value will be shown in either 0’s or 1’s.&lt;br /&gt;
&lt;br /&gt;
Connect the logic output to the output pin of '''OR''' Gate.&lt;br /&gt;
|- style=&amp;quot;border:1pt solid #000000;padding:0.176cm;&amp;quot;&lt;br /&gt;
|| &lt;br /&gt;
|| Use the '''Add text '''option to give labels to pins as shown.&lt;br /&gt;
&lt;br /&gt;
Letters A and B are the inputs and Y is the output.&lt;br /&gt;
|- style=&amp;quot;border:1pt solid #000000;padding:0.176cm;&amp;quot;&lt;br /&gt;
|| &lt;br /&gt;
|| To change the state of the input value from 0 to 1 or vice-versa, click on the input value.&lt;br /&gt;
&lt;br /&gt;
Now click on the input B to make its value 1.&lt;br /&gt;
&lt;br /&gt;
Notice the output value Y is 1.&lt;br /&gt;
&lt;br /&gt;
It implies that when at least one of the inputs is 1, the output will be 1.&lt;br /&gt;
&lt;br /&gt;
Check the remaining two conditions according to the OR gate truth table.&lt;br /&gt;
|- style=&amp;quot;border:1pt solid #000000;padding:0.176cm;&amp;quot;&lt;br /&gt;
|| &lt;br /&gt;
|| This brings us to the end of this tutorial. Let us summarize.&lt;br /&gt;
|- style=&amp;quot;border:1pt solid #000000;padding:0.176cm;&amp;quot;&lt;br /&gt;
|| Slide&lt;br /&gt;
&lt;br /&gt;
Summary&lt;br /&gt;
|| In this tutorial, we learnt about&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;OR Gate and&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;Verify its truth table&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|- style=&amp;quot;border:1pt solid #000000;padding:0.176cm;&amp;quot;&lt;br /&gt;
|| Slide: Assignment 2&lt;br /&gt;
|| As an assignment,&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;With the '''OR''' gate component, check and verify the '''OR''' gate truth table &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|- style=&amp;quot;border:1pt solid #000000;padding:0.176cm;&amp;quot;&lt;br /&gt;
|| Slide :&lt;br /&gt;
&lt;br /&gt;
About Spoken Tutorial project&lt;br /&gt;
|| The video at the following link summarizes the Spoken Tutorial project.&lt;br /&gt;
&lt;br /&gt;
Please download and watch it.&lt;br /&gt;
|- style=&amp;quot;border:1pt solid #000000;padding:0.176cm;&amp;quot;&lt;br /&gt;
|| Slide&amp;amp;nbsp;:Spoken Tutorial workshops&lt;br /&gt;
|| The&amp;amp;nbsp;'''Spoken Tutorial Project'''&amp;amp;nbsp;Team conducts workshops and gives certificates.&lt;br /&gt;
&lt;br /&gt;
For more details, please write to us.&lt;br /&gt;
|- style=&amp;quot;border:1pt solid #000000;padding:0.176cm;&amp;quot;&lt;br /&gt;
|| Slide : Forum for specific questions&lt;br /&gt;
|| Please post your timed queries in this forum&lt;br /&gt;
|- style=&amp;quot;border:1pt solid #000000;padding:0.176cm;&amp;quot;&lt;br /&gt;
|| Acknowledgement&lt;br /&gt;
|| Spoken Tutorial project was established by the Ministry of Education(MoE), Govt of India&lt;br /&gt;
|- style=&amp;quot;border:1pt solid #000000;padding:0.176cm;&amp;quot;&lt;br /&gt;
|| Thank You&lt;br /&gt;
|| This tutorial has been contributed by FOSSEE and Spoken Tutorial Project, IIT Bombay.&lt;br /&gt;
&lt;br /&gt;
Thanks for watching.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:-1.588cm;margin-right:-1.429cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nirmala Venkat</name></author>	</entry>

	</feed>