Difference between revisions of "OpenPLC-version1-with-LDmicro/C3/OpenPLC-Heater-module/English"
(Created page with " {| border="1" |- || '''VISUAL CUE''' || '''NARRATION''' |- || Slide 1: || Welcome to the spoken tutorial on '''OpenPLC Heater module.''' |- || Slide 2: Learning Objectives...") |
Nancyvarkey (Talk | contribs) |
||
Line 11: | Line 11: | ||
|| Slide 2: Learning Objectives* OpenPLC''' '''Heater''' '''module''' ''' | || Slide 2: Learning Objectives* OpenPLC''' '''Heater''' '''module''' ''' | ||
− | || In this tutorial, we will learn about | + | || In this tutorial, we will learn about '''OpenPLC Heater module.''' |
− | + | ||
|- | |- | ||
− | || Slide 3: System Requirements* Ubuntu Linux 18.04 operating system | + | || Slide 3: System Requirements |
+ | * Ubuntu Linux 18.04 operating system | ||
* OpenPLC Heater module | * OpenPLC Heater module | ||
* OpenPLC version 1 Mainboard | * OpenPLC version 1 Mainboard | ||
* 24V, 2A SMPS | * 24V, 2A SMPS | ||
− | || To record this tutorial I am using:* '''Ubuntu Linux 18.04''' operating system | + | || To record this tutorial I am using: |
− | * '''OpenPLC | + | * '''Ubuntu Linux 18.04''' operating system |
+ | * '''OpenPLC Heater module''' | ||
* '''OpenPLC version 1 Mainboard''' | * '''OpenPLC version 1 Mainboard''' | ||
* '''24V, 2A SMPS''' | * '''24V, 2A SMPS''' | ||
|- | |- | ||
− | || Slide 4: Pre-requisites*OpenPLC version 1 Mainboard | + | || Slide 4: Pre-requisites |
+ | *OpenPLC version 1 Mainboard | ||
*If not, please refer to the relevant tutorials from [https://spoken-tutorial.org/ Home | spoken-tutorial.org] | *If not, please refer to the relevant tutorials from [https://spoken-tutorial.org/ Home | spoken-tutorial.org] | ||
− | || * To follow this tutorial, you should know about '''OpenPLC version 1 | + | || |
+ | * To follow this tutorial, you should know about '''OpenPLC version 1 Mainboard'''. | ||
* If not, please refer to the relevant tutorials in this series on this website. | * If not, please refer to the relevant tutorials in this series on this website. | ||
|- | |- | ||
|| heater-setup.png | || heater-setup.png | ||
− | || This is the image of the heater module. | + | || This is the image of the '''heater module'''. |
− | '''Heater module''' is used to perform a typical analog experiment. | + | '''Heater module''' is used to perform a typical '''analog''' experiment. |
That is, to control the temperature of a heating element. | That is, to control the temperature of a heating element. | ||
Line 39: | Line 42: | ||
You may imagine this setup as a cutting machine, used to cut heavy metals. | You may imagine this setup as a cutting machine, used to cut heavy metals. | ||
|- | |- | ||
− | || Slide 5: How the Heater module works?*First it will sense the temperature of the machine | + | || Slide 5: How the Heater module works? |
+ | *First it will sense the temperature of the machine | ||
* Then it will turn on if it is adequately cold. | * Then it will turn on if it is adequately cold. | ||
* If it exceeds a certain threshold, the machine shuts down and starts the cooler. | * If it exceeds a certain threshold, the machine shuts down and starts the cooler. | ||
Line 45: | Line 49: | ||
|| First it will sense the temperature of the machine. | || First it will sense the temperature of the machine. | ||
− | Then it will turn on if it is adequately cold. | + | |
+ | Then it will turn '''on''' if it is adequately cold. | ||
+ | |||
If it exceeds a certain threshold, the machine shuts down and starts the cooler. | If it exceeds a certain threshold, the machine shuts down and starts the cooler. | ||
Line 52: | Line 58: | ||
*Fan | *Fan | ||
*PCB | *PCB | ||
− | Resistor(heating element) | + | **Resistor(heating element) |
− | Thermistor | + | **Thermistor |
− | Indicator LEDs | + | **Indicator LEDs |
− | Connectors | + | **Connectors |
− | || The main components of this module are | + | || The main components of this '''module''' are |
*Fan and | *Fan and | ||
− | *PCB | + | *'''PCB''' |
− | *The PCB has Resistor i.e. heating element | + | *The '''PCB''' has |
− | *Thermistor | + | **Resistor i.e. heating element |
− | *Indicator LEDs | + | **Thermistor |
− | *Connectors | + | **Indicator LEDs |
+ | **Connectors | ||
|- | |- | ||
|| heater-input-power.png | || heater-input-power.png | ||
− | || This module can be powered up with the power pins, marked as '''‘Power Input’'''. | + | || This '''module''' can be powered up with the '''power pins''', marked as '''‘Power Input’'''. |
|- | |- | ||
|| heater-MCU-pins.png | || heater-MCU-pins.png | ||
Line 74: | Line 81: | ||
Mark ‘temp’ as output | Mark ‘temp’ as output | ||
− | || We can find 3 '''MCU''' i.e. microcontroller pins on the '''PCB'''. | + | || We can find 3 '''MCU''' i.e. '''microcontroller pins''' on the '''PCB'''. |
− | They are marked as '''‘fan’ | + | They are marked as '''‘fan’, ‘heat’''' and '''‘temp’'''. |
− | '''‘fan’''' and '''‘heat’''' are the input pins for the heater module. | + | '''‘fan’''' and '''‘heat’''' are the '''input pins''' for the '''heater module'''. |
− | Whereas '''‘temp’''' is an output pin. | + | Whereas '''‘temp’''' is an '''output pin'''. |
|- | |- | ||
|| heater-resistor.png | || heater-resistor.png | ||
− | || In this module we are using a resistor as the heating element. | + | || In this '''module''' we are using a '''resistor''' as the heating element. |
− | While conducting current it gets heated up due to power loss from it. | + | While conducting current, it gets heated up due to '''power''' loss from it. |
− | This resistor conducts only when the | + | This '''resistor''' conducts only when the '''pin ‘heat’''' is given '''logic 1'''. |
− | This will be indicated by the | + | This will be indicated by the '''LED ‘HeatOn’ '''present to the right on the '''PCB'''. |
|- | |- | ||
|| heater-MCU-pins.png | || heater-MCU-pins.png | ||
Highlight fan pin | Highlight fan pin | ||
− | || Similarly, the fan will turn on when the | + | || Similarly, the fan will turn '''on''' when the '''pin ‘fan’''' is given '''logic 1'''. |
− | This will be indicated by the | + | This will be indicated by the '''LED ‘FanOn’ ''' |
|- | |- | ||
|| thermistor.jpg | || thermistor.jpg | ||
Highlight thermistor | Highlight thermistor | ||
− | || A temperature sensor is coupled with the resistor. | + | || A temperature '''sensor''' is coupled with the '''resistor'''. |
− | The temperature sensor used here is a '''NTC thermistor.''' | + | The temperature '''sensor''' used here is a '''NTC thermistor.''' |
− | Thus, the resistance of the thermistor is inversely proportional to the temperature. | + | Thus, the '''resistance''' of the '''thermistor''' is inversely proportional to the temperature. |
|- | |- | ||
|| | || | ||
− | || This thermistor data will be given to the microcontroller on the '''Mainboard'''. | + | || This '''thermistor data''' will be given to the '''microcontroller''' on the '''Mainboard'''. |
− | The program in the MCU will then control the logic level of '''‘fan’''' and '''‘heat’''' | + | The program in the '''MCU''' will then control the '''logic''' level of '''‘fan’''' and '''‘heat’ pins'''. |
|- | |- | ||
|| Slide 7: How can the Heater module be powered? | || Slide 7: How can the Heater module be powered? | ||
Heater module can be powered using the output power pins of Mainboard | Heater module can be powered using the output power pins of Mainboard | ||
− | || How can the Heater module be | + | || How can the '''Heater module''' be '''power'''ed? |
− | It can be | + | It can be '''power'''ed using the output '''power pins''' of '''Mainboard'''. |
|- | |- | ||
− | || SMPS-Mainboard.jpg | + | || SMPS-Mainboard.jpg >> Make the connections as shown in the picture. |
|| Connect the''' SMPS''' to the '''Mainboard''' as shown here. | || Connect the''' SMPS''' to the '''Mainboard''' as shown here. | ||
|- | |- | ||
|| | || | ||
− | || Now, we’ll look at the working demo of the module. | + | || Now, we’ll look at the working demo of the '''module'''. |
|- | |- | ||
|| demo-fan.png | || demo-fan.png | ||
|| Make the connections as shown in the picture. | || Make the connections as shown in the picture. | ||
− | Remember to turn OFF the power while changing or making new connections. | + | Remember to turn '''OFF''' the '''power''' while changing or making new connections. |
|- | |- | ||
|| demo-fan.png | || demo-fan.png | ||
− | |||
− | Connect +5V to the '''‘fan’''' | + | Make the connections as shown in the picture. |
+ | || Connect the '''power pins''' of the '''module''' from the '''Mainboard''' using '''relimate connectors'''. | ||
+ | |||
+ | Connect '''+5V''' to the '''‘fan’ pin'''. | ||
|- | |- | ||
|| video-fan.mp4 | || video-fan.mp4 | ||
− | || We can observe that the fan starts rotating and the '''‘FanOn’''' | + | || We can observe that the fan starts rotating and the '''‘FanOn’ LED''' starts glowing. |
|- | |- | ||
|| demo-heat.png | || demo-heat.png | ||
− | |||
− | Connect it to the ''''heat'''' | + | Make the connections as shown in the picture. |
+ | || Remove '''+5V''' connected to the '''‘fan’ MCU pin'''. | ||
+ | |||
+ | Connect it to the ''''heat' pin''' instead. | ||
|- | |- | ||
|| video-heat.mp4 | || video-heat.mp4 | ||
− | || We can observe that the '''‘HEATon’''' | + | || We can observe that the '''‘HEATon’ LED''' starts glowing. |
− | It indicates that the resistor is turned on and the temperature is rising. | + | It indicates that the '''resistor''' is turned '''on''' and the temperature is rising. |
|- | |- | ||
|| | || | ||
− | || If you have a multimeter, use it to measure the resistance from time to time. | + | || If you have a '''multimeter''', use it to measure the '''resistance''' from time to time. |
|- | |- | ||
|| | || | ||
Line 156: | Line 167: | ||
Let us summarize. | Let us summarize. | ||
|- | |- | ||
− | || Slide 8: Summary* OpenPLC | + | || Slide 8: Summary |
+ | * OpenPLC Heater module''' | ||
− | || In this tutorial, we learnt about | + | || In this tutorial, we learnt about '''OpenPLC Heater module'''. |
|- | |- | ||
Line 180: | Line 192: | ||
Forum for specific questions: | Forum for specific questions: | ||
− | || | + | || Please post your timed queries in this forum |
|- | |- |
Latest revision as of 15:55, 14 January 2021
VISUAL CUE | NARRATION |
Slide 1: | Welcome to the spoken tutorial on OpenPLC Heater module. |
Slide 2: Learning Objectives* OpenPLC Heater module | In this tutorial, we will learn about OpenPLC Heater module. |
Slide 3: System Requirements
|
To record this tutorial I am using:
|
Slide 4: Pre-requisites
|
|
heater-setup.png | This is the image of the heater module.
Heater module is used to perform a typical analog experiment. That is, to control the temperature of a heating element. You may imagine this setup as a cutting machine, used to cut heavy metals. |
Slide 5: How the Heater module works?
|
First it will sense the temperature of the machine.
|
Slide 6: Main Components
|
The main components of this module are
|
heater-input-power.png | This module can be powered up with the power pins, marked as ‘Power Input’. |
heater-MCU-pins.png
Mark ‘fan’ and ‘heat’ as input Mark ‘temp’ as output |
We can find 3 MCU i.e. microcontroller pins on the PCB.
They are marked as ‘fan’, ‘heat’ and ‘temp’. ‘fan’ and ‘heat’ are the input pins for the heater module. Whereas ‘temp’ is an output pin. |
heater-resistor.png | In this module we are using a resistor as the heating element.
While conducting current, it gets heated up due to power loss from it. This resistor conducts only when the pin ‘heat’ is given logic 1. This will be indicated by the LED ‘HeatOn’ present to the right on the PCB. |
heater-MCU-pins.png
Highlight fan pin |
Similarly, the fan will turn on when the pin ‘fan’ is given logic 1.
This will be indicated by the LED ‘FanOn’ |
thermistor.jpg
Highlight thermistor |
A temperature sensor is coupled with the resistor.
The temperature sensor used here is a NTC thermistor. Thus, the resistance of the thermistor is inversely proportional to the temperature. |
This thermistor data will be given to the microcontroller on the Mainboard.
The program in the MCU will then control the logic level of ‘fan’ and ‘heat’ pins. | |
Slide 7: How can the Heater module be powered?
Heater module can be powered using the output power pins of Mainboard |
How can the Heater module be powered?
It can be powered using the output power pins of Mainboard. |
SMPS-Mainboard.jpg >> Make the connections as shown in the picture. | Connect the SMPS to the Mainboard as shown here. |
Now, we’ll look at the working demo of the module. | |
demo-fan.png | Make the connections as shown in the picture.
Remember to turn OFF the power while changing or making new connections. |
demo-fan.png
Make the connections as shown in the picture. |
Connect the power pins of the module from the Mainboard using relimate connectors.
Connect +5V to the ‘fan’ pin. |
video-fan.mp4 | We can observe that the fan starts rotating and the ‘FanOn’ LED starts glowing. |
demo-heat.png
Make the connections as shown in the picture. |
Remove +5V connected to the ‘fan’ MCU pin.
Connect it to the 'heat' pin instead. |
video-heat.mp4 | We can observe that the ‘HEATon’ LED starts glowing.
It indicates that the resistor is turned on and the temperature is rising. |
If you have a multimeter, use it to measure the resistance from time to time. | |
This brings us to the end of the tutorial.
Let us summarize. | |
Slide 8: Summary
|
In this tutorial, we learnt about OpenPLC Heater module. |
Slide 9:
About Spoken Tutorial project |
The video at the following link summarises the Spoken Tutorial project.
Please download and watch it |
Slide 10:
Spoken Tutorial workshops |
The Spoken Tutorial Project team:
For more details, please write to us |
Slide 11:
Forum for specific questions: |
Please post your timed queries in this forum |
Slide 12:
Forum for specific questions: |
Do you have any general / technical questions on OpenPLC?
Please visit the FOSSEE forum and post your question. |
Slide 13:
Acknowledgement |
Spoken Tutorial Project is funded by MHRD, Government of India. |
Slide 14:
Thank you slide |
This tutorial has been contributed by FOSSEE and Spoken Tutorial Project, IIT Bombay.
And this is Harsha Priyanka from FOSSEE team, signing off. Thanks for watching. |