<?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=ElectroBlocks-archive-sept-2025%2FC2%2FTraffic-Lights%2FEnglish</id>
		<title>ElectroBlocks-archive-sept-2025/C2/Traffic-Lights/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=ElectroBlocks-archive-sept-2025%2FC2%2FTraffic-Lights%2FEnglish"/>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=ElectroBlocks-archive-sept-2025/C2/Traffic-Lights/English&amp;action=history"/>
		<updated>2026-04-26T15:35:36Z</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=ElectroBlocks-archive-sept-2025/C2/Traffic-Lights/English&amp;diff=57098&amp;oldid=prev</id>
		<title>Madhurig: Madhurig moved page ElectroBlocks/C2/Traffic-Lights/English to ElectroBlocks-archive-sept-2025/C2/Traffic-Lights/English without leaving a redirect</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=ElectroBlocks-archive-sept-2025/C2/Traffic-Lights/English&amp;diff=57098&amp;oldid=prev"/>
				<updated>2025-09-03T07:07:28Z</updated>
		
		<summary type="html">&lt;p&gt;Madhurig moved page &lt;a href=&quot;/index.php?title=ElectroBlocks/C2/Traffic-Lights/English&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;ElectroBlocks/C2/Traffic-Lights/English (page does not exist)&quot;&gt;ElectroBlocks/C2/Traffic-Lights/English&lt;/a&gt; to &lt;a href=&quot;/index.php/ElectroBlocks-archive-sept-2025/C2/Traffic-Lights/English&quot; title=&quot;ElectroBlocks-archive-sept-2025/C2/Traffic-Lights/English&quot;&gt;ElectroBlocks-archive-sept-2025/C2/Traffic-Lights/English&lt;/a&gt; without leaving a redirect&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 07:07, 3 September 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan='2' style='text-align: center;'&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Madhurig</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=ElectroBlocks-archive-sept-2025/C2/Traffic-Lights/English&amp;diff=56986&amp;oldid=prev</id>
		<title>Madhurig at 10:25, 16 June 2025</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=ElectroBlocks-archive-sept-2025/C2/Traffic-Lights/English&amp;diff=56986&amp;oldid=prev"/>
				<updated>2025-06-16T10:25:21Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;https://script.spoken-tutorial.org/index.php?title=ElectroBlocks-archive-sept-2025/C2/Traffic-Lights/English&amp;amp;diff=56986&amp;amp;oldid=56957&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Madhurig</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=ElectroBlocks-archive-sept-2025/C2/Traffic-Lights/English&amp;diff=56957&amp;oldid=prev</id>
		<title>Pratiknemane at 06:54, 9 June 2025</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=ElectroBlocks-archive-sept-2025/C2/Traffic-Lights/English&amp;diff=56957&amp;oldid=prev"/>
				<updated>2025-06-09T06:54:27Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 06:54, 9 June 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Author: Pratik Nemane&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Author: Pratik Nemane&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Keywords: Electroblocks, arduino board, 220 ohm resistor, LEDs breadboard, spoken tutorial, video tutorial.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Keywords: Electroblocks, arduino board, 220 ohm resistor, LEDs&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;breadboard, spoken tutorial, video tutorial.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Pratiknemane</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=ElectroBlocks-archive-sept-2025/C2/Traffic-Lights/English&amp;diff=56956&amp;oldid=prev</id>
		<title>Pratiknemane at 06:50, 9 June 2025</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=ElectroBlocks-archive-sept-2025/C2/Traffic-Lights/English&amp;diff=56956&amp;oldid=prev"/>
				<updated>2025-06-09T06:50:59Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;https://script.spoken-tutorial.org/index.php?title=ElectroBlocks-archive-sept-2025/C2/Traffic-Lights/English&amp;amp;diff=56956&amp;amp;oldid=56879&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Pratiknemane</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=ElectroBlocks-archive-sept-2025/C2/Traffic-Lights/English&amp;diff=56879&amp;oldid=prev</id>
		<title>Ketkinaina: Created page with &quot;'''Title of the Script: Traffic Lights '''  '''Author: Pratik Nemane'''  '''Keywords: '''Electroblocks, arduino board, 220 ohm resistor, LEDs breadboard, spoken tutorial, vide...&quot;</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=ElectroBlocks-archive-sept-2025/C2/Traffic-Lights/English&amp;diff=56879&amp;oldid=prev"/>
				<updated>2025-03-26T11:06:14Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;Title of the Script: Traffic Lights &amp;#039;&amp;#039;&amp;#039;  &amp;#039;&amp;#039;&amp;#039;Author: Pratik Nemane&amp;#039;&amp;#039;&amp;#039;  &amp;#039;&amp;#039;&amp;#039;Keywords: &amp;#039;&amp;#039;&amp;#039;Electroblocks, arduino board, 220 ohm resistor, LEDs breadboard, spoken tutorial, vide...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;'''Title of the Script: Traffic Lights '''&lt;br /&gt;
&lt;br /&gt;
'''Author: Pratik Nemane'''&lt;br /&gt;
&lt;br /&gt;
'''Keywords: '''Electroblocks, arduino board, 220 ohm resistor, LEDs breadboard, spoken tutorial, video tutorial.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=1&lt;br /&gt;
|- &lt;br /&gt;
|| '''Visual Cue'''&lt;br /&gt;
|| '''Narration'''&lt;br /&gt;
|- &lt;br /&gt;
|| '''Slide 1'''&lt;br /&gt;
&lt;br /&gt;
'''Title slide'''&lt;br /&gt;
|| Welcome to the Spoken Tutorial on '''Traffic Lights''' using '''Electroblocks'''.&lt;br /&gt;
|- &lt;br /&gt;
|| '''Slide 2'''&lt;br /&gt;
&lt;br /&gt;
'''Learning Objectives'''&lt;br /&gt;
|| In this tutorial, we will learn how to,&lt;br /&gt;
# Build a set of blocks to create a Traffic Light project&lt;br /&gt;
# Check the output of the experiment using the simulator&lt;br /&gt;
# Upload the Arduino code on Arduino Uno Board.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| '''Slide 3'''&lt;br /&gt;
&lt;br /&gt;
'''System Requirements'''&lt;br /&gt;
|| To record this tutorial, I am using:&lt;br /&gt;
* Ubuntu Linux OS version 22.04&lt;br /&gt;
* Google Chrome browser&lt;br /&gt;
&lt;br /&gt;
A working internet connection to use '''Electroblocks'''. &lt;br /&gt;
|- &lt;br /&gt;
|| '''Slide 4'''&lt;br /&gt;
&lt;br /&gt;
'''Prerequisite'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''https://spoken-tutorial.org'''&lt;br /&gt;
|| To follow this tutorial, &lt;br /&gt;
* Learner should have a basic knowledge of Electroblocks interface &lt;br /&gt;
* If not, please visit the relevant tutorials on this website.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| Type [https://electroblocks.org/ https://electroblocks.org/] '''&lt;br /&gt;
&lt;br /&gt;
Highlight the link in the search tab&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[https://electroblocks.org/ https://electroblocks.org/]&lt;br /&gt;
|| Let us open the '''Electroblocks''' '''platform''' using '''Google Chrome browser. '''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the address bar, type the URL as shown and press Enter. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You will see the default Blink '''LED''' circuit on the screen.&lt;br /&gt;
|- &lt;br /&gt;
|| Click on the''' New File '''icon.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click on the '''New File/Blank''' file option available on the toolbar.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click the '''OK''' button.&lt;br /&gt;
|| Click on the '''New File/Blank file''' option available on the toolbar.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A pop-up window appears.&lt;br /&gt;
&lt;br /&gt;
Click the '''OK''' button to start a new project.&lt;br /&gt;
|- &lt;br /&gt;
|| Point to the number 3 in the loop block.&lt;br /&gt;
|| Observe the loop block in the working area.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It indicates that the simulation will run for 3 times.&lt;br /&gt;
|- &lt;br /&gt;
|| Point to 3.&lt;br /&gt;
&lt;br /&gt;
Click to change the number from 2 to 3.&lt;br /&gt;
|| Let us change the number to 2. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This will simulate the code for 2 times.&lt;br /&gt;
|- &lt;br /&gt;
|| Add the entire Output video.mp4 in the main video at the 1:32 timestamp.&lt;br /&gt;
|| We will create this '''traffic light''' output.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let’s start by building '''traffic lights''' using '''Electroblocks'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Main Video.mp4&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click on the '''Add-ons''' menu.&lt;br /&gt;
&lt;br /&gt;
Select '''LED''' Option&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|| We need three '''LED''' blocks with different colours, namely, red, orange and green.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click on the '''Add-ons''' menu on the left panel.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A new list opens.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click on the '''LED''' option, you will see two blocks.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| Click on the Turn '''LED''' '''block''' and drag it in the working area.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Place the '''LED''' option in the loop block.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Point to the '''LED'''.&lt;br /&gt;
|| Click on the '''Turn LED''' block and drag it to the working area.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Place this block inside the loop block.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Notice the change in the circuit on the simulation screen.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can see an '''LED''' connected to the '''arduino'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| Zoom in to show the resistor&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Point to pin 2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|| Let us Zoom in to see the circuit connection clearly.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here the '''LED''' is connected through a resistor to the '''Arduino'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default, the '''LED''' is always connected to pin 2 of''' Arduino'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Change the''' LED pin '''and '''LED''' colour&lt;br /&gt;
|| Change the '''pin''' number to '''pin 12'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We can also change the colour of the '''LED'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click on the colour section on the '''LED''' '''block''' and select the green colour.&lt;br /&gt;
|- &lt;br /&gt;
|| Only narration&lt;br /&gt;
&lt;br /&gt;
Add the''' Wait block'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click on the '''Time'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Drag and drop the '''Wait block'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Place this block below the '''LED block'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Change to 4 seconds&lt;br /&gt;
|| Let’s make sure that the '''LED''' remains turned '''ON''' for a sufficient amount of time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For this, we must add a '''Wait block'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From the left panel, Click on '''Time'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Drag and drop the '''Wait block for 0.2 seconds''' in the working area.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Place this block below the '''turn ON LED''' block as shown.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Change the time to '''4 seconds''' in the block as shown.&lt;br /&gt;
|- &lt;br /&gt;
|| Only narration&lt;br /&gt;
&lt;br /&gt;
Duplicate the '''LED block'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|| Let’s turn '''OFF''' the green '''LED'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Right click on the '''Turn ON LED''' block, and select the '''Duplicate''' option.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This action creates an identical block in the working area.&lt;br /&gt;
|- &lt;br /&gt;
|| Point to '''Duplicate block '''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Drag and place this block below the Wait for 4 seconds block.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click on the dropdown option and select off state.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Change state of the '''LED'''&lt;br /&gt;
|| Drag and place this block below the '''Wait for 4 seconds''' block.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To change the state of the '''LED''', click the dropdown arrow and select OFF.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This block turns OFF the LED connected to pin 12.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| Duplicate the '''LED block'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Right click on the '''LED''' block and select the '''Duplicate '''option.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Drag and place this new block below the green colour led block as shown.&lt;br /&gt;
|| Now, let's add a second''' LED''' block to represent the orange colour.&lt;br /&gt;
&lt;br /&gt;
Right click on the '''LED '''block and select the '''Duplicate''' option.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Drag and place this new block below the green colour led block as shown.&lt;br /&gt;
|- &lt;br /&gt;
|| click on the dropdown arrow and select On.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click on the pin 12 dropdown menu and change the pin number to pin 11.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click on the colour section on the LED block and select orange colour.&lt;br /&gt;
|| To change the state of the''' LED''', click on the dropdown arrow and select '''ON'''. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click on the pin 12 dropdown menu and change the '''pin''' number to '''pin 11'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click on the '''colour''' section on the '''LED''' block and select '''orange''' colour.&lt;br /&gt;
|- &lt;br /&gt;
||  Duplicate the wait for 4 seconds block&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Place this block below the''' LED turn ON''' block.&lt;br /&gt;
&lt;br /&gt;
Change the time to 1 second.&lt;br /&gt;
|| Let us keep the orange LED turned ON for 1 second.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For this, '''duplicate''' the '''Wait for 4 seconds''' block.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Place this block below the LED turn ON block.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Change the time to '''1 second''' as shown.&lt;br /&gt;
|- &lt;br /&gt;
|| Duplicate the''' LED block'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Right click on the '''Turn LED''' block and select the Duplicate option.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Drag and place this block below the '''Wait for 1 second''' block.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To change the state of the '''LED''', click on the dropdown arrow and select off.&lt;br /&gt;
|| We will now turn '''OFF''' the orange LED.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Right click on the Turn LED block and select the '''Duplicate''' option.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Drag and place this block below the '''Wait for 1 second''' block.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To change the state of the LED, click on the dropdown arrow and select '''OFF'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Highlight the red '''LED''' block setup between the 5:45 to 6:06 timestamp&lt;br /&gt;
|| '''Duplicate''' the previous LED block and place it below the orange LED block.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Change the '''pin''' number to 10 and select RED colour.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Duplicate the '''Wait''' block and set the time to '''2 seconds'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Finally, '''duplicate''' the Turn '''LED''' block and place it below the wait block.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Turn the '''LED''' block to '''OFF'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Only narration&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click on the code icon.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Point the cursor to arduino code&lt;br /&gt;
|| Let us switch to the '''arduino''' '''code''' section.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click on the '''Code''' icon.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
An '''Arduino''' '''code''' for a traffic light experiment is generated here.&lt;br /&gt;
|- &lt;br /&gt;
|| Point the cursor to arduino code&lt;br /&gt;
|| The '''LED''' '''pin''' connections are defined in the void setup function.&lt;br /&gt;
|- &lt;br /&gt;
|| Point the cursor to arduino code&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Highlight '''digitalWrite(12, HIGH)'''&lt;br /&gt;
|| The working of these 3 '''LEDs''' is explained in the void loop function.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The '''digitalWrite(12, HIGH)''' command says that the green '''LED''' will be turned ON.&lt;br /&gt;
|- &lt;br /&gt;
|| Highlight the '''delay(4000) '''&lt;br /&gt;
||  The '''delay(4000)''' line of code makes sure that the green '''LED''' is '''ON''' for 4 seconds.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the arduino syntax, '''4000 milliseconds''' represent '''4 seconds.'''&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| Highlight '''digitalWrite(12, LOW)'''&lt;br /&gt;
&lt;br /&gt;
Highlight remaining all code&lt;br /&gt;
|| The''' digitalWrite(12, LOW)''' command says that the green LED will be turned off.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Similarly, orange and red '''LEDs''' will be turning '''ON''' and turning '''OFF''' after a given interval.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| Point to the simulator.&lt;br /&gt;
|| Let’s check the desired results using the '''simulator'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Click on '''Home''' page&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click on the play button&lt;br /&gt;
|| Click on the '''Home''' icon from the toolbar.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click on the '''Play''' button to start the simulation.&lt;br /&gt;
|- &lt;br /&gt;
|| Point towards the simulation window.&lt;br /&gt;
|| The visual representation of the simulation shows that:&lt;br /&gt;
* The green '''LED''' connected to '''pin''' 12 turns ON for 4 seconds, then turns OFF.&lt;br /&gt;
* After that, the orange '''LED''' connected to '''pin''' 11 turns ON for 1 second, then turns OFF.&lt;br /&gt;
* Then the red '''LED''' connected to '''pin''' 10 turns ON for 2 seconds, then turns OFF.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| One by one step&lt;br /&gt;
&lt;br /&gt;
Click the '''Previous''' '''Step''' button&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click on the '''Next Step '''button&lt;br /&gt;
&lt;br /&gt;
Highlight the '''Loop''' block&lt;br /&gt;
|| To see the simulation in the '''step by step '''manner,&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click the '''Previous Step''' button to return to the beginning of Step 1.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click on the '''Next Step''' button, notice the blocks in the working area.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The '''execution''' state of the '''block''' is highlighted with a yellow colour outline. &lt;br /&gt;
|- &lt;br /&gt;
|| Only narration &lt;br /&gt;
&lt;br /&gt;
Click on the '''Download''' icon&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click on the '''Download''' '''project''' option.&lt;br /&gt;
&lt;br /&gt;
|| Let us now '''download''' the project in our system.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click on the '''Download''' icon.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then, select the '''Download Project''' option.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| Select the directory&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click on the '''Home''' icon&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|| Select a directory and save the project with the filename '''Traffic Light'''.&lt;br /&gt;
&lt;br /&gt;
Click on the '''Home''' icon.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now let us see how to execute the same traffic light experiment on the hardware.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| '''Slide 5'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Hardware Requirements'''&lt;br /&gt;
|| To perform this experiment, we require&lt;br /&gt;
* 3 '''LEDs''' (red, green, orange)&lt;br /&gt;
* 3 '''Resistor''' (220 '''Ohms''')&lt;br /&gt;
* '''Arduino Uno'''&lt;br /&gt;
* '''Arduino '''cable&lt;br /&gt;
* '''Breadboard '''and''' '''connecting''' wires'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| '''Slide 6'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Circuit Diagram.png'''&lt;br /&gt;
|| Please refer to this '''circuit diagram''' to make the circuit connections.&lt;br /&gt;
|- &lt;br /&gt;
|| Add image&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Text box &lt;br /&gt;
|| Connect the '''arduino''' to your system with an '''arduino''' cable.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Windows users can go directly to the '''electroblock''' and '''upload''' the code.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| Setup for '''Ubuntu''' users only.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Open the '''terminal'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Type '''sudo usermod -a -G dialout $USER'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Enter system '''password'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Press '''Enter'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Type the password and press Enter.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|| For '''Ubuntu '''users, please follow the steps mentioned below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Open the '''terminal'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At the prompt, type:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''sudo usermod -a -G dialout $USER'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Press '''Enter'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The system will prompt you to enter the system '''password'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Type the '''password''' and press '''Enter'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Type sudo chmod -R 775 /dev/ttyACM0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
press Enter.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Point to ttyACM0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Point to command&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Only narration&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Go to the electroblocks website and click on the upload button.&lt;br /&gt;
|| Then type,&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''sudo chmod -R 775 /dev/ttyACM0(ACMzero)'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And press '''Enter'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ttyACM0''' is the''' arduino usb port.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This command initiates the communication between '''Electroblocks''' '''website''' and '''arduino board.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If an error occurs, go back to the '''electroblocks''' website and click on the '''Upload''' '''button'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Click on the upload code button and check the arduino USB port name.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|| Click on the''' upload code button''' and check the '''arduino USB''' '''port''' name.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Use the '''port''' name and change it accordingly in the '''sudo command.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You have to run these commands only once. &lt;br /&gt;
|- &lt;br /&gt;
|| Restart the system&lt;br /&gt;
|| We have to '''restart''' the system to save these changes.&lt;br /&gt;
|- &lt;br /&gt;
|| Open the '''electroblocks''' website.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Only narration&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click on the '''project''' icon&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click on the''' choose file '''option'''.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Open the '''traffic light.xml''' file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Point to Pop up window &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click on the ok button&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Point to''' traffic light project.'''&lt;br /&gt;
|| Open the '''electroblocks''' website again.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let us open the '''Traffic light''' experiment which we just saved in our system.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click on the '''Project''' icon on the toolbar.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click on '''choose file''' option.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Open the '''Traffic Light.xml''' file. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A pop-window appears on the screen to confirm if you want to open a new file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click on the '''OK''' button.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The '''Traffic light project '''appears on the screen.&lt;br /&gt;
|- &lt;br /&gt;
|| Only narration&lt;br /&gt;
|| Let’s '''upload''' this '''code''' on the '''arduino''' '''uno''' to perform the same experiment with hardware.&lt;br /&gt;
|- &lt;br /&gt;
|| Click on the '''Upload''' code option on the right hand side of your screen. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Point to usb '''port''' list.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Select the '''usb''' port&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|| Click on the '''Upload''' button on the toolbar.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click on the '''Upload code''' option on the right hand side of your screen. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A list of available '''USB port''' connections will appear.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Select the '''port''' to which '''Arduino''' is connected and click on '''Connect''' button.&lt;br /&gt;
|- &lt;br /&gt;
|| &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Point to''' Good Job '''message on the screen.&lt;br /&gt;
|| It will take a few seconds to connect the '''arduino board '''to the system.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once it is done, you will see a '''Good Job''' message on the screen.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It indicates that '''arduino code''' has been successfully '''uploaded''' on the '''arduino uno'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| Add the entire Output video.mp4 in the main video at the 13:54 timestamp.&lt;br /&gt;
|| Notice that the '''LED'''s are turning''' ON''' and turning''' OFF.''' &lt;br /&gt;
|- &lt;br /&gt;
|| &lt;br /&gt;
|| This brings us to the end of this tutorial.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let us summarise.&lt;br /&gt;
|- &lt;br /&gt;
|| '''Slide 7'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Summary'''&lt;br /&gt;
|| In this tutorial, we learnt how to&lt;br /&gt;
# Build a set of '''blocks''' to Create a '''Traffic light project'''&lt;br /&gt;
# Check the output of the experiment using the '''simulator'''&lt;br /&gt;
# '''Upload''' the '''arduino code''' on '''arduino uno'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| '''Slide 8'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Assignment'''&lt;br /&gt;
|| As an '''assignment''', please do the following,Connect* A green '''LED''' to pin 3,&lt;br /&gt;
* An orange '''LED''' to pin 5, and&lt;br /&gt;
* A red '''LED''' to pin 6 on the '''Arduino board'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Adjust the delay times as follows:# Set the '''delay''' for the green '''LED''' to 6 seconds.&lt;br /&gt;
# Set the '''delay''' for the orange '''LED''' to 2 seconds.&lt;br /&gt;
# Set the '''delay''' for the red '''LED''' to 3 seconds.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| Add the entire assignment video.mp4 in the main video at the 14:46 timestamp.&lt;br /&gt;
|| Notice the output of the assignment as shown in the video.&lt;br /&gt;
|-&lt;br /&gt;
|| '''Slide 9'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''About Spoken Tutorial project'''&lt;br /&gt;
|| The video at the following link summarizes the '''Spoken Tutoria'''l project.&lt;br /&gt;
&lt;br /&gt;
Please download and watch it.&lt;br /&gt;
|- &lt;br /&gt;
|| '''Slide 10'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''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;
|- &lt;br /&gt;
|| '''Slide 11'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Answers for THIS Spoken Tutorial '''&lt;br /&gt;
|| Please post your timed queries in this forum.&lt;br /&gt;
|- &lt;br /&gt;
|| '''Slide 12'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Acknowledgement'''&lt;br /&gt;
|| '''Spoken Tutorial project''' was established by the Ministry of Education(MoE), Govt of India&lt;br /&gt;
|- &lt;br /&gt;
|| '''Slide 13'''&lt;br /&gt;
&lt;br /&gt;
&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;
&lt;br /&gt;
Thank you for watching.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Ketkinaina</name></author>	</entry>

	</feed>