<?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=OpenPLC-version1-with-LDmicro%2FC2%2FOpenPLC-Traffic-Light-module%2FEnglish</id>
		<title>OpenPLC-version1-with-LDmicro/C2/OpenPLC-Traffic-Light-module/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=OpenPLC-version1-with-LDmicro%2FC2%2FOpenPLC-Traffic-Light-module%2FEnglish"/>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=OpenPLC-version1-with-LDmicro/C2/OpenPLC-Traffic-Light-module/English&amp;action=history"/>
		<updated>2026-05-13T15:05:32Z</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=OpenPLC-version1-with-LDmicro/C2/OpenPLC-Traffic-Light-module/English&amp;diff=54682&amp;oldid=prev</id>
		<title>Nancyvarkey at 15:10, 13 January 2021</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=OpenPLC-version1-with-LDmicro/C2/OpenPLC-Traffic-Light-module/English&amp;diff=54682&amp;oldid=prev"/>
				<updated>2021-01-13T15:10:19Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;https://script.spoken-tutorial.org/index.php?title=OpenPLC-version1-with-LDmicro/C2/OpenPLC-Traffic-Light-module/English&amp;amp;diff=54682&amp;amp;oldid=54636&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Nancyvarkey</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=OpenPLC-version1-with-LDmicro/C2/OpenPLC-Traffic-Light-module/English&amp;diff=54636&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 '''OpenPLC Traffic Light module''' |-  || Slide 2: Learning Obje...&quot;</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=OpenPLC-version1-with-LDmicro/C2/OpenPLC-Traffic-Light-module/English&amp;diff=54636&amp;oldid=prev"/>
				<updated>2021-01-05T09:05:43Z</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;OpenPLC Traffic Light module&amp;#039;&amp;#039;&amp;#039; |-  || Slide 2: Learning Obje...&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;
{| 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 '''OpenPLC Traffic Light module'''&lt;br /&gt;
|- &lt;br /&gt;
|| Slide 2: Learning Objectives* OpenPLC''' '''Traffic light module&lt;br /&gt;
&lt;br /&gt;
|| In this tutorial, we will learn about&lt;br /&gt;
* '''OpenPLC Traffic light''' module&lt;br /&gt;
|- &lt;br /&gt;
|| Slide 3: System Requirements&lt;br /&gt;
* Ubuntu Linux 18.04 operating system&lt;br /&gt;
* OpenPLC Traffic light module&lt;br /&gt;
* OpenPLC version 1 Mainboard&lt;br /&gt;
* 24V, 2A SMPS&lt;br /&gt;
&lt;br /&gt;
|| To record this tutorial I am using:&lt;br /&gt;
* '''Ubuntu Linux 18.04''' operating system&lt;br /&gt;
* '''OpenPLC''' '''Traffic light''' module&lt;br /&gt;
* '''OpenPLC version 1 Mainboard'''&lt;br /&gt;
* '''24V, 2A SMPS'''&lt;br /&gt;
|- &lt;br /&gt;
|| Slide 4: Pre-requisites&lt;br /&gt;
|| * To follow this tutorial, you should know about '''OpenPLC version 1''' '''Mainboard'''.&lt;br /&gt;
* If not, please refer to the relevant tutorials in this series on this website.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| Slide 5: Traffic Light module&lt;br /&gt;
|| This module is used to &lt;br /&gt;
* implement the working of traffic lights and&lt;br /&gt;
* visualize the status of any process with the built-in LEDs.&lt;br /&gt;
|- &lt;br /&gt;
|| Traffic.jpg&lt;br /&gt;
&lt;br /&gt;
|| This is a picture of the '''Traffic light''' module.&lt;br /&gt;
&lt;br /&gt;
This module replicates a traffic light. &lt;br /&gt;
&lt;br /&gt;
It has one red LED marked as '''STOP''' and one yellow LED marked as '''READY'''. &lt;br /&gt;
&lt;br /&gt;
At the bottom, it has 3 green '''LEDs''' marked as '''LEFT, GO '''and''' RIGHT.'''&lt;br /&gt;
|- &lt;br /&gt;
|| led-connectors.png&lt;br /&gt;
&lt;br /&gt;
|| You can access all of these '''LEDs''' using the connectors present below. &lt;br /&gt;
|- &lt;br /&gt;
|| &lt;br /&gt;
&lt;br /&gt;
|| The red '''LED''' can also be accessed through the two connectors on the right of it.&lt;br /&gt;
&lt;br /&gt;
If you want to use a single LED you can use these connectors.&lt;br /&gt;
|- &lt;br /&gt;
|| &lt;br /&gt;
|| Let us see how to do simple experiments using a single '''LED'''.&lt;br /&gt;
|- &lt;br /&gt;
|| traffic.jpg&lt;br /&gt;
|| The anode and cathode of the red LED are given as connectors to the right of it.&lt;br /&gt;
&lt;br /&gt;
The anode is marked as +5V and cathode as GND, which is '''Ground'''.&lt;br /&gt;
|-&lt;br /&gt;
|- &lt;br /&gt;
|| &lt;br /&gt;
&lt;br /&gt;
|| These connectors can be connected in 3 different ways.&lt;br /&gt;
&lt;br /&gt;
We will see one by one.&lt;br /&gt;
|- &lt;br /&gt;
|| traffic.jpg&lt;br /&gt;
&lt;br /&gt;
|| We can connect '''+5V pin''' to 5V and '''GND pin''' to any I/O pin of the microcontroller.&lt;br /&gt;
|- &lt;br /&gt;
|| traffic.jpg&lt;br /&gt;
|| Connect '''GND pin''' to 0V and '''+5V pin''' to any I/O pin of the microcontroller.&lt;br /&gt;
|- &lt;br /&gt;
|| traffic.jpg&lt;br /&gt;
|| Otherwise connect both +5V and GND pins to the I/O pins of the '''microcontroller'''. &lt;br /&gt;
|- &lt;br /&gt;
|| Led-connectors.png&lt;br /&gt;
&lt;br /&gt;
traffic.jpg image&lt;br /&gt;
|| We will see how to use '''LEDs''' with the connectors at the bottom of the module.&lt;br /&gt;
&lt;br /&gt;
Each '''LED’s''' '''cathode''' is taken out through connectors at the bottom of the module.&lt;br /&gt;
&lt;br /&gt;
Note that the rightmost pin marked as '''‘EN’''' is not an '''LED''' connector. &lt;br /&gt;
|-&lt;br /&gt;
|- &lt;br /&gt;
|| Led-connectors.png&lt;br /&gt;
&lt;br /&gt;
traffic.jpg image&lt;br /&gt;
|| Each connector is marked with the first letter of the respective '''LED''' name.&lt;br /&gt;
&lt;br /&gt;
We will see one by one starting from right.# Ri is for green '''LED''' marked as '''RIGHT'''&lt;br /&gt;
# S for red '''LED''' marked as '''STOP'''&lt;br /&gt;
# Re for yellow '''LED''' marked as '''READY'''&lt;br /&gt;
# G is for green '''LED''' marked as '''GO'''&lt;br /&gt;
# L is for green '''LED''' marked as '''LEFT'''.&lt;br /&gt;
|- &lt;br /&gt;
|| traffic-enable.png&lt;br /&gt;
|| '''‘EN’''' is an active low enable pin which enables all the '''LED''' pins.&lt;br /&gt;
&lt;br /&gt;
To the left of the yellow '''LED''', we can find a connector marked '''+5V'''.&lt;br /&gt;
This is the power pin of the module.&lt;br /&gt;
&lt;br /&gt;
That is, none of the '''LED''' glows unless you make these two connections.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide 6: LED to glow (patch-ledtoglow.webm)* +5V pin should be given 5V.&lt;br /&gt;
* EN and the respective '''LED''' pin should be grounded or given a logic-low signal.&lt;br /&gt;
&lt;br /&gt;
|| Therefore, for any '''LED''' to glow you should follow the below:# +5V pin should be given 5V.&lt;br /&gt;
# EN and the respective '''LED''' pin should be grounded or given a logic-low signal.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| &lt;br /&gt;
|| Now we’ll see the working of the module.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide 7: How can the Traffic Light module be powered?&lt;br /&gt;
&lt;br /&gt;
Traffic Light module can be powered using the output power pins of the Mainboard&lt;br /&gt;
|| How can the Traffic Light module be powered?&lt;br /&gt;
&lt;br /&gt;
It can be powered using the output power pins of the Mainboard.&lt;br /&gt;
|- &lt;br /&gt;
|| SMPS-Mainboard.jpg - add in editing&lt;br /&gt;
|| Connect the SMPS to the Mainboard as shown here.&lt;br /&gt;
|- &lt;br /&gt;
|| led-connectors.png&lt;br /&gt;
|| First we will see the demo of this module using the connectors available at the bottom.&lt;br /&gt;
|- &lt;br /&gt;
|| demo1.png&lt;br /&gt;
&lt;br /&gt;
Point to the image as per narration&lt;br /&gt;
|| Connect 5V to the power pin i.e. +5V pin to the left of the yellow LED. &lt;br /&gt;
&lt;br /&gt;
Connect 0V to the '''‘EN’''' pin.&lt;br /&gt;
&lt;br /&gt;
Then, connect 0V to any of the '''LEDs'''.&lt;br /&gt;
&lt;br /&gt;
I’m connecting it to the pins marked '''‘G’''', '''‘Re’''' and '''‘S’'''.&lt;br /&gt;
|- &lt;br /&gt;
|| demo1.png&lt;br /&gt;
&lt;br /&gt;
|| Make the connections as shown in the picture.&lt;br /&gt;
&lt;br /&gt;
Remember to turn off the power supply when you change or make new connections.&lt;br /&gt;
|- &lt;br /&gt;
|| &lt;br /&gt;
|| After making all the connections turn on the power supply of the Mainboard.&lt;br /&gt;
&lt;br /&gt;
The red, yellow and middle green '''LED''' has started glowing.&lt;br /&gt;
|- &lt;br /&gt;
|| &lt;br /&gt;
|| Do not use I/O pins of the '''Mainboard''' to power up the pin marked +5V.&lt;br /&gt;
&lt;br /&gt;
Because it may affect the intensity of the LED. &lt;br /&gt;
|- &lt;br /&gt;
|| &lt;br /&gt;
|| Now disconnect the '''‘EN’''' pin.&lt;br /&gt;
&lt;br /&gt;
We can observe that the all LEDs go off.&lt;br /&gt;
|- &lt;br /&gt;
|| &lt;br /&gt;
|| Turn off the power supply.&lt;br /&gt;
|- &lt;br /&gt;
|| traffic-sled.png&lt;br /&gt;
|| Next, we will see the demo on how to use this module when a single LED is needed.&lt;br /&gt;
|- &lt;br /&gt;
|| demo2.png&lt;br /&gt;
|| Connect 5V to the +5V pin on the right of the red LED.&lt;br /&gt;
&lt;br /&gt;
Connect 0V to the pin marked GND.&lt;br /&gt;
|- &lt;br /&gt;
|| &lt;br /&gt;
|| Turn on the power supply.&lt;br /&gt;
&lt;br /&gt;
This will make only the red LED to glow.&lt;br /&gt;
&lt;br /&gt;
Thus, there is no need to connect power and enable pins for this connection.&lt;br /&gt;
|- &lt;br /&gt;
|| &lt;br /&gt;
|| Turn off the power supply.&lt;br /&gt;
|- &lt;br /&gt;
|| &lt;br /&gt;
|| We have seen how traffic light module can be used in different ways.&lt;br /&gt;
|- &lt;br /&gt;
|| &lt;br /&gt;
|| This brings us to the end of this tutorial.&lt;br /&gt;
&lt;br /&gt;
Let us summarize.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide 8: Summary* '''OpenPLC Traffic light''' module&lt;br /&gt;
&lt;br /&gt;
|| In this tutorial, we learnt about&lt;br /&gt;
* '''OpenPLC Traffic light''' module&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| Slide 9: About&lt;br /&gt;
&lt;br /&gt;
Spoken Tutorial project&lt;br /&gt;
|| The video at the following link summarises the Spoken Tutorial 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;
Spoken Tutorial workshops&lt;br /&gt;
|| The''' Spoken Tutorial Project''' team:&lt;br /&gt;
* conducts workshops using spoken tutorials and&lt;br /&gt;
* gives certificates on passing online tests.&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;
Forum for specific questions:&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;
Forum for specific questions:&lt;br /&gt;
|| Do you have any general / technical questions on OpenPLC?&lt;br /&gt;
&lt;br /&gt;
Please visit the FOSSEE forum and post your question.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide 13:&lt;br /&gt;
&lt;br /&gt;
Acknowledgement&lt;br /&gt;
|| Spoken Tutorial Project is funded by MHRD, Government of India.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide 14:&lt;br /&gt;
&lt;br /&gt;
Thank you slide&lt;br /&gt;
|| This tutorial has been contributed by FOSSEE and Spoken Tutorial Project, IIT Bombay.&lt;br /&gt;
&lt;br /&gt;
And this is Harsha Priyanka from the FOSSEE team, signing off.&lt;br /&gt;
&lt;br /&gt;
Thanks for watching.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Nirmala Venkat</name></author>	</entry>

	</feed>