<?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%2FC3%2FAD-Converter-Read-Instruction%2FEnglish</id>
		<title>OpenPLC-version1-with-LDmicro/C3/AD-Converter-Read-Instruction/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%2FC3%2FAD-Converter-Read-Instruction%2FEnglish"/>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=OpenPLC-version1-with-LDmicro/C3/AD-Converter-Read-Instruction/English&amp;action=history"/>
		<updated>2026-05-13T15:09:19Z</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/C3/AD-Converter-Read-Instruction/English&amp;diff=54678&amp;oldid=prev</id>
		<title>Nancyvarkey at 09:52, 12 January 2021</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=OpenPLC-version1-with-LDmicro/C3/AD-Converter-Read-Instruction/English&amp;diff=54678&amp;oldid=prev"/>
				<updated>2021-01-12T09:52:18Z</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/C3/AD-Converter-Read-Instruction/English&amp;amp;diff=54678&amp;amp;oldid=54631&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/C3/AD-Converter-Read-Instruction/English&amp;diff=54631&amp;oldid=prev</id>
		<title>Nancyvarkey: Nancyvarkey moved page OpenPLC-version1-with-LDmicro/C3/A/D-Converter-Read-Instruction/English to OpenPLC-version1-with-LDmicro/C3/AD-Converter-Read-Instruction/English without leaving a redirect: There was a slash in the topic name which was c...</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=OpenPLC-version1-with-LDmicro/C3/AD-Converter-Read-Instruction/English&amp;diff=54631&amp;oldid=prev"/>
				<updated>2021-01-04T09:50:55Z</updated>
		
		<summary type="html">&lt;p&gt;Nancyvarkey moved page &lt;a href=&quot;/index.php?title=OpenPLC-version1-with-LDmicro/C3/A/D-Converter-Read-Instruction/English&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;OpenPLC-version1-with-LDmicro/C3/A/D-Converter-Read-Instruction/English (page does not exist)&quot;&gt;OpenPLC-version1-with-LDmicro/C3/A/D-Converter-Read-Instruction/English&lt;/a&gt; to &lt;a href=&quot;/index.php/OpenPLC-version1-with-LDmicro/C3/AD-Converter-Read-Instruction/English&quot; title=&quot;OpenPLC-version1-with-LDmicro/C3/AD-Converter-Read-Instruction/English&quot;&gt;OpenPLC-version1-with-LDmicro/C3/AD-Converter-Read-Instruction/English&lt;/a&gt; without leaving a redirect: There was a slash in the topic name which was c...&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 09:50, 4 January 2021&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>Nancyvarkey</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=OpenPLC-version1-with-LDmicro/C3/AD-Converter-Read-Instruction/English&amp;diff=54619&amp;oldid=prev</id>
		<title>Nirmala Venkat: Created page with &quot;  {| border=&quot;1&quot; |-  | align=center| '''Visual Cue''' | align=center| '''Narration''' |- || Slide 1:  || Welcome to the spoken tutorial on '''A/D Converter Read ''' |- || Slide...&quot;</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=OpenPLC-version1-with-LDmicro/C3/AD-Converter-Read-Instruction/English&amp;diff=54619&amp;oldid=prev"/>
				<updated>2020-12-29T08:24:45Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;  {| border=&amp;quot;1&amp;quot; |-  | align=center| &amp;#039;&amp;#039;&amp;#039;Visual Cue&amp;#039;&amp;#039;&amp;#039; | align=center| &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;A/D Converter Read &amp;#039;&amp;#039;&amp;#039; |- || Slide...&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;
&lt;br /&gt;
| align=center| '''Visual Cue'''&lt;br /&gt;
| align=center| '''Narration'''&lt;br /&gt;
|-&lt;br /&gt;
|| Slide 1: &lt;br /&gt;
|| Welcome to the spoken tutorial on '''A/D Converter Read '''&lt;br /&gt;
|-&lt;br /&gt;
|| Slide 2: Learning Objectives&lt;br /&gt;
* A/D Converter read instruction&lt;br /&gt;
&lt;br /&gt;
|| In this tutorial we’ll learn about the working of &lt;br /&gt;
* '''A/D '''i.e.''' Analog to Digital Converter Read''' instruction&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Slide 3: System Requirements&lt;br /&gt;
* Ubuntu 18.04''' '''OS&lt;br /&gt;
* LDmicro&lt;br /&gt;
* OpenPLC version 1 Mainboard&lt;br /&gt;
* 24V, 2A SMPS&lt;br /&gt;
* USBasp programmer&lt;br /&gt;
* Heater module&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;
* '''LDmicro'''&lt;br /&gt;
* '''OpenPLC version 1 Mainboard'''&lt;br /&gt;
* '''24V, 2A SMPS'''&lt;br /&gt;
* '''USBasp programmer'''&lt;br /&gt;
* '''Heater module'''&lt;br /&gt;
|-&lt;br /&gt;
|| Slide 4: Pre-requisites&lt;br /&gt;
* Heater module &lt;br /&gt;
* '''Compare''' instructions&lt;br /&gt;
&lt;br /&gt;
If not, please refer to the relevant tutorials from [https://spoken-tutorial.org/ Home | spoken-tutorial.org]&lt;br /&gt;
|| * To follow this tutorial, you should be familiar with &lt;br /&gt;
&lt;br /&gt;
* Heater module and&lt;br /&gt;
* '''Compare''' instructions.&lt;br /&gt;
&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: Prerequisites - Hardware setup&lt;br /&gt;
&lt;br /&gt;
hardware-prerequisite.jpg&lt;br /&gt;
|| Connect''' SMPS''' and '''USBasp''' to the '''Mainboard''' as shown in the picture.&lt;br /&gt;
&lt;br /&gt;
Keep these connections throughout this tutorial.&lt;br /&gt;
|-&lt;br /&gt;
|| Slide 6: A/D Converter Read&lt;br /&gt;
* Reads the data collected by ADC built within a microcontroller&lt;br /&gt;
* Can be manipulated with general variable operations &lt;br /&gt;
* ADC of ATmega16 is of 10-bit resolution i.e. it outputs value from 0 to 1023&lt;br /&gt;
&lt;br /&gt;
|| This instruction reads the data collected by '''ADC''' built within a microcontroller.&lt;br /&gt;
&lt;br /&gt;
The data collected will be stored in a variable.&lt;br /&gt;
&lt;br /&gt;
This ADC variable can be manipulated using '''Compare''' and '''Arithmetic''' operations.&lt;br /&gt;
&lt;br /&gt;
The '''ADC''' of '''ATmega16''' is of 10-bit resolution i.e. it outputs values from 0 to 1023.&lt;br /&gt;
|-&lt;br /&gt;
|| &lt;br /&gt;
|| We will learn about the working of this instruction using a simple analog example.&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: Example&lt;br /&gt;
* Control the temperature of the resistor of the OpenPLC Heater module&lt;br /&gt;
&lt;br /&gt;
'''Conditions:'''&lt;br /&gt;
* If ADC value &amp;lt; 800, &lt;br /&gt;
Output: fan is ON and heat is OFF* If ADC value &amp;gt; 900, &lt;br /&gt;
&lt;br /&gt;
Output: fan is OFF and heat is ON&lt;br /&gt;
|| In this tutorial we will control the temperature of the resistor.&lt;br /&gt;
&lt;br /&gt;
That is, the heating element of the '''OpenPLC Heater module'''.&lt;br /&gt;
&lt;br /&gt;
We will have the conditions as follows.&lt;br /&gt;
&lt;br /&gt;
If the '''ADC''' value is less than 800, turn on the fan and turn off the heating element.&lt;br /&gt;
&lt;br /&gt;
If the '''ADC''' value is greater than 900, turn off the fan and turn on the heating element.&lt;br /&gt;
&lt;br /&gt;
You can set the limit values according to your requirements.&lt;br /&gt;
|-&lt;br /&gt;
|| &lt;br /&gt;
|| Recall that the temperature sensor used in the '''Heater''' module is a '''NTC thermistor'''.&lt;br /&gt;
&lt;br /&gt;
Thus, the resistance of the thermistor is inversely proportional to the temperature.&lt;br /&gt;
|-&lt;br /&gt;
|| Open the LDmicro from the launcher bar&lt;br /&gt;
|| Let us open '''LDmicro'''.&lt;br /&gt;
|-&lt;br /&gt;
|| Click Instructions -&amp;gt; Analog Operations -&amp;gt; Insert A/D converter read&lt;br /&gt;
|| Insert a '''A/D converter read''' instruction as shown.&lt;br /&gt;
|-&lt;br /&gt;
|| Double click on Read ADC &amp;gt;&amp;gt; Type ‘temp’ in the destination column &amp;gt;&amp;gt; Click OK button&lt;br /&gt;
|| Double-click on '''Read ADC'''.&lt;br /&gt;
&lt;br /&gt;
We can see a box to enter the destination variable.&lt;br /&gt;
&lt;br /&gt;
Type '''‘temp’''' and click the OK button.&lt;br /&gt;
|-&lt;br /&gt;
|| Highlight Atemp in I/O list&lt;br /&gt;
|| We can see that the name '''‘temp’''' is prefixed by '''A'''.&lt;br /&gt;
&lt;br /&gt;
In the''' I/O''' list we can see its type as ‘'''adc input’'''.&lt;br /&gt;
|-&lt;br /&gt;
|| Click Edit -&amp;gt; Insert rung after&lt;br /&gt;
|| Now insert a rung below.&lt;br /&gt;
|-&lt;br /&gt;
|| Place the cursor in the new rung &amp;gt;&amp;gt; Click on Instructions -&amp;gt; Comparison Operators -&amp;gt; Insert GRT&lt;br /&gt;
|| Insert a '''greater than compare''' instruction in the new rung as shown.&lt;br /&gt;
|-&lt;br /&gt;
|| Double-click on GRT &amp;gt;&amp;gt; Type ‘Atemp’ in the first column &amp;gt;&amp;gt; Type 900 in the second column&lt;br /&gt;
|| Double click on it.&lt;br /&gt;
&lt;br /&gt;
Set the variable to '''Atemp''' and compare it to 900.&lt;br /&gt;
&lt;br /&gt;
Click the OK button.&lt;br /&gt;
|-&lt;br /&gt;
|| Place cursor to the right of GRT &amp;gt;&amp;gt; Click on Instructions -&amp;gt; Insert Coil&lt;br /&gt;
|| To the right of it insert a Coil.&lt;br /&gt;
|-&lt;br /&gt;
|| Double-click on Ynew &amp;gt;&amp;gt; Type ‘heat’ in the name box &amp;gt;&amp;gt; Select ‘SET-only’ in type &amp;gt;&amp;gt; Click OK button&lt;br /&gt;
|| Rename the Coil as '''‘heat’''' and configure it as '''SET-only Coil'''.&lt;br /&gt;
|-&lt;br /&gt;
|| Place the cursor parallel to Yheat &amp;gt;&amp;gt; Click on Instructions -&amp;gt; Insert Coil&lt;br /&gt;
|| Now, parallel to '''Yheat''' insert another Coil.&lt;br /&gt;
|-&lt;br /&gt;
|| Double-click on Ynew &amp;gt;&amp;gt; Type ‘fan’ in the name box &amp;gt;&amp;gt; Select ‘RESET-only’ in type &amp;gt;&amp;gt; Click OK button&lt;br /&gt;
|| Rename it as '''‘fan’''' and configure it as '''RESET-only''' Coil.&lt;br /&gt;
|-&lt;br /&gt;
|| Click Edit -&amp;gt; Insert rung after&lt;br /&gt;
|| Insert one more rung below.&lt;br /&gt;
|-&lt;br /&gt;
|| Place the cursor in the new rung &amp;gt;&amp;gt; Click on Instructions -&amp;gt; Comparison Operators -&amp;gt; Insert LES&lt;br /&gt;
|| Place a '''less than compare''' instruction in the new rung as shown.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Double-click on LES &amp;gt;&amp;gt; Type ‘Atemp’ in the first column &amp;gt;&amp;gt; Type 900 in the second column&lt;br /&gt;
|| Double click on it.&lt;br /&gt;
&lt;br /&gt;
Set the variable as '''Atemp''' and compare it to 800.&lt;br /&gt;
&lt;br /&gt;
Click the OK button.&lt;br /&gt;
|-&lt;br /&gt;
|| Place cursor to the right of GRT &amp;gt;&amp;gt; Click on Instructions -&amp;gt; Insert Coil&lt;br /&gt;
|| To the right of it insert a '''Coil'''.&lt;br /&gt;
|-&lt;br /&gt;
|| Double-click on Ynew &amp;gt;&amp;gt; Type ‘heat’ in the name box &amp;gt;&amp;gt; Select ‘RESET-only’ in type &amp;gt;&amp;gt; Click OK button&lt;br /&gt;
|| Rename the Coil as '''‘heat’''' and configure it as '''RESET-only Coil'''.&lt;br /&gt;
|-&lt;br /&gt;
|| Place the cursor parallel to Yheat &amp;gt;&amp;gt; Click on Instructions -&amp;gt; Insert Coil&lt;br /&gt;
|| Now, parallel to '''Yheat''' insert another Coil.&lt;br /&gt;
|-&lt;br /&gt;
|| Double-click on Ynew &amp;gt;&amp;gt; Type ‘fan’ in the name box &amp;gt;&amp;gt; Select SET-only’ in type &amp;gt;&amp;gt; Click OK button&lt;br /&gt;
|| Rename it as '''‘fan’''' and configure it as '''SET-only Coil'''.&lt;br /&gt;
|-&lt;br /&gt;
|| &lt;br /&gt;
|| We will now check the working of this logic.&lt;br /&gt;
|-&lt;br /&gt;
|| Click Simulate -&amp;gt; Simulation mode &amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click Simulate -&amp;gt; Real-time simulation&lt;br /&gt;
|| Let us turn on the simulation mode.&lt;br /&gt;
&lt;br /&gt;
For that, click '''Simulate''' and then on '''Simulation mode.'''&lt;br /&gt;
&lt;br /&gt;
Next, start real-time simulation as shown.&lt;br /&gt;
|-&lt;br /&gt;
|| Highlight the state of Yheat, Yfan and Atemp in the I/O list&lt;br /&gt;
|| We can observe initially the value of '''Atemp''' is 0 i.e less than 800.&lt;br /&gt;
&lt;br /&gt;
So the state of '''Yheat''' is 0 and '''Yfan''' is 1.&lt;br /&gt;
|-&lt;br /&gt;
|| Double click on Atemp in the I/O list&lt;br /&gt;
|| Double-click on '''Atemp''' in the '''I/O''' list.&lt;br /&gt;
|-&lt;br /&gt;
|| Highlight the value changer&lt;br /&gt;
|| A slider bar appears.&lt;br /&gt;
&lt;br /&gt;
We can change the ADC value by scrolling the pointer.&lt;br /&gt;
|-&lt;br /&gt;
|| &lt;br /&gt;
|| '''ADC''' reading 0 represents the minimum resistance value of the thermistor.&lt;br /&gt;
&lt;br /&gt;
'''ADC''' reading 1023 represents the maximum resistance value of the thermistor.&lt;br /&gt;
|-&lt;br /&gt;
|| Increase the value of Atemp&lt;br /&gt;
&lt;br /&gt;
Highlight the states of Yheat and Yfan&lt;br /&gt;
|| Slowly increase the value of '''Atemp'''.&lt;br /&gt;
&lt;br /&gt;
We can observe the states of '''Yheat''' and '''Yfan''' will be the same until it reaches 900.&lt;br /&gt;
|-&lt;br /&gt;
|| Decrease the value of Atemp&lt;br /&gt;
&lt;br /&gt;
Highlight the states of Yheat and Yfan&lt;br /&gt;
|| Once it goes above 900 the state of '''Yheat''' will be 1 and '''Yfan''' will be 0.&lt;br /&gt;
&lt;br /&gt;
These states will be the same until the '''ADC''' value goes below 800.&lt;br /&gt;
|-&lt;br /&gt;
|| Click Simulate -&amp;gt; Halt simulation &amp;gt;&amp;gt; Click Simulate -&amp;gt; Simulation Mode&lt;br /&gt;
|| Now, turn off the simulation mode.&lt;br /&gt;
&lt;br /&gt;
For that, click '''Simulate''' and then on '''Halt Simulation.'''&lt;br /&gt;
&lt;br /&gt;
Then click '''Simulate''' and '''Simulation Mode.'''&lt;br /&gt;
|-&lt;br /&gt;
|| &lt;br /&gt;
|| Now let us compile the logic.&lt;br /&gt;
&lt;br /&gt;
The detailed steps on how to compile and save the logic are explained in the earlier tutorials. &lt;br /&gt;
|-&lt;br /&gt;
|| Click on Settings &amp;gt;&amp;gt; Click on Microcontroller &amp;gt;&amp;gt; Select AVR ATmega16 40-PDIP &lt;br /&gt;
&lt;br /&gt;
Click on Settings &amp;gt;&amp;gt; Click on MCU parameters &amp;gt;&amp;gt; Change Crystal frequency to 16&lt;br /&gt;
|| Click on '''Settings''' and select the microcontroller '''AVR ATmega16 40-PDIP.''' &lt;br /&gt;
&lt;br /&gt;
Adjust its parameters as shown here.&lt;br /&gt;
|-&lt;br /&gt;
|| Double-click on Yfan in I/O list &amp;gt;&amp;gt; Select PC6 &amp;gt;&amp;gt; Click OK button&lt;br /&gt;
&lt;br /&gt;
Double-click on Yheat in I/O list &amp;gt;&amp;gt; Select PC7 &amp;gt;&amp;gt; Click OK button&lt;br /&gt;
|| Assign pin '''PC6''' to '''Yfan''' and '''PC7''' to '''Yheat''' as shown.&lt;br /&gt;
&lt;br /&gt;
And PC7 to Yheat.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Double-click on Atemp in I/O list &amp;gt;&amp;gt; Select PA7 &amp;gt;&amp;gt; Click OK button&lt;br /&gt;
&lt;br /&gt;
|| Double-click on '''Atemp '''in the I/O list.&lt;br /&gt;
&lt;br /&gt;
'''I/O''' '''pin''' dialog box opens.&lt;br /&gt;
&lt;br /&gt;
We can see there are only''' Port A '''pins as they are the '''ADC''' pins.&lt;br /&gt;
&lt;br /&gt;
Select '''PA7''' and click the OK button.&lt;br /&gt;
|-&lt;br /&gt;
|| Click on Compile &amp;gt;&amp;gt; Click on Compile &amp;gt;&amp;gt; Go to Desktop/LDmicro folder &amp;gt;&amp;gt; Rename it as ‘adc.hex’ &amp;gt;&amp;gt; Click on Save.&lt;br /&gt;
&lt;br /&gt;
Click OK button&lt;br /&gt;
|| Compile the logic as '''adc.hex'''&lt;br /&gt;
|-&lt;br /&gt;
|| Click on File &amp;gt;&amp;gt; Click on Save &amp;gt;&amp;gt; Go to Desktop/LDmicro folder &amp;gt;&amp;gt; Rename it as ‘adc.ld’ &amp;gt;&amp;gt; Click on Save&lt;br /&gt;
|| Then save the ladder diagram as '''adc.ld.'''&lt;br /&gt;
|-&lt;br /&gt;
|| &lt;br /&gt;
|| We will now see the working of this logic on hardware.&lt;br /&gt;
|-&lt;br /&gt;
|| Connect Mainboard to PC using USBasp&lt;br /&gt;
&lt;br /&gt;
laptop-usbasp.jpg&lt;br /&gt;
&lt;br /&gt;
|| Connect the '''Mainboard''' to your laptop using '''USBasp'''.&lt;br /&gt;
&lt;br /&gt;
Turn on the power supply.&lt;br /&gt;
|-&lt;br /&gt;
|| Open terminal &amp;gt;&amp;gt; Type cd Desktop/LDmicro &amp;gt;&amp;gt; Press ENTER &amp;gt;&amp;gt; type ‘'''avrdude -c usbasp -p m16 -U flash:w:adc.hex’ '''&amp;gt;&amp;gt; Press ENTER&lt;br /&gt;
|| Open the Terminal by pressing '''CTRL+ALT+T''' keys simultaneously.&lt;br /&gt;
&lt;br /&gt;
Go to the folder where you have saved the hex file.&lt;br /&gt;
&lt;br /&gt;
Type the command as shown to upload the hex file to the '''Mainboard'''.&lt;br /&gt;
|-&lt;br /&gt;
|| Remove the '''USBasp''' connection from the laptop.&lt;br /&gt;
|| Turn off the power supply.&lt;br /&gt;
&lt;br /&gt;
Remove the '''USBasp''' connection from the laptop.&lt;br /&gt;
&lt;br /&gt;
This will prevent any hardware damage.&lt;br /&gt;
|-&lt;br /&gt;
|| adc.png&lt;br /&gt;
|| Let us see the connection details now. &lt;br /&gt;
|-&lt;br /&gt;
|| adc.png&lt;br /&gt;
|| Power the '''Heater''' module through relimate connectors from the '''Mainboard'''.&lt;br /&gt;
&lt;br /&gt;
Connect pin '''PA7 '''of the '''Mainboard''' to''' temp''' '''MCU''' pin of the '''Heater''' module.&lt;br /&gt;
&lt;br /&gt;
Connect pin '''PC7''' of the Mainboard to '''heat''' '''MCU''' pin of the '''Heater''' module.&lt;br /&gt;
&lt;br /&gt;
Connect pin '''PC6''' of the Mainboard to '''fan''' '''MCU''' pin of the '''Heater''' module.&lt;br /&gt;
&lt;br /&gt;
Make the connections as shown in the picture.&lt;br /&gt;
|-&lt;br /&gt;
|| &lt;br /&gt;
|| After making all the connections properly, turn on the power supply.&lt;br /&gt;
|-&lt;br /&gt;
|| &lt;br /&gt;
|| Depending on the initial temperature either the fan or resistor starts heating up.&lt;br /&gt;
&lt;br /&gt;
For the first time we can observe that '''Heaton LED '''is turned ON.&lt;br /&gt;
&lt;br /&gt;
This is because its temperature of the heating element is low.&lt;br /&gt;
|-&lt;br /&gt;
|| &lt;br /&gt;
|| After sometime when the resistor gets heated up, the fan will turn ON.&lt;br /&gt;
&lt;br /&gt;
It is also indicated by '''FanOn''' LED.&lt;br /&gt;
|-&lt;br /&gt;
|| &lt;br /&gt;
|| Again when the resistor cools down, the resistor starts heating up.&lt;br /&gt;
|-&lt;br /&gt;
|| &lt;br /&gt;
|| Thus the process continues depending on the temperature of the resistor.&lt;br /&gt;
|-&lt;br /&gt;
|| &lt;br /&gt;
|| Note that initially the fan might turn on if the resistor is already heated up.&lt;br /&gt;
|-&lt;br /&gt;
|| &lt;br /&gt;
|| Turn off the power supply.&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* A/D converter read instruction&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|| In this tutorial we learnt about working of &lt;br /&gt;
* A/D converter read instruction&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Slide : Assignment&lt;br /&gt;
&lt;br /&gt;
Change the limit values :* If ADC value &amp;lt; 750, &lt;br /&gt;
&lt;br /&gt;
Output: fan is ON and heat is OFF* If ADC value &amp;gt; 950, &lt;br /&gt;
&lt;br /&gt;
Output: fan is OFF and heat is ON&lt;br /&gt;
|| As an assignment, change the limit values and repeat the experiment.&lt;br /&gt;
&lt;br /&gt;
If ADC value &amp;lt; 750, the fan should turn on and the heating element should turn off.&lt;br /&gt;
&lt;br /&gt;
If ADC value &amp;gt; 950 , the fan should turn off and the heating element should turn on.&lt;br /&gt;
|-&lt;br /&gt;
|| Slide 9:&lt;br /&gt;
&lt;br /&gt;
About 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;
|-&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 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>