OpenPLC-version1-with-LDmicro/C3/OpenPLC-Heater-module/English

From Script | Spoken-Tutorial
Revision as of 17:40, 11 January 2021 by Nirmala Venkat (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


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* Ubuntu Linux 18.04 operating system
  • OpenPLC Heater module
  • OpenPLC version 1 Mainboard
  • 24V, 2A SMPS
To record this tutorial I am using:* Ubuntu Linux 18.04 operating system
  • OpenPLC Heater module
  • OpenPLC version 1 Mainboard
  • 24V, 2A SMPS
Slide 4: Pre-requisites*OpenPLC version 1 Mainboard * 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.
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
  • Then it will turn on if it is adequately cold.
  • If it exceeds a certain threshold, the machine shuts down and starts the cooler.
First it will sense the temperature of the machine.

Then it will turn on if it is adequately cold.

If it exceeds a certain threshold, the machine shuts down and starts the cooler.

Slide 6: Main Components
  • Fan
  • PCB

Resistor(heating element) Thermistor Indicator LEDs Connectors

The main components of this module are
  • Fan and
  • PCB
  • The PCB has Resistor i.e. heating element
  • Thermistor
  • Indicator LEDs
  • Connectors
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 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 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 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* OpenPLC Heater module 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:
  • conducts workshops using spoken tutorials and
  • gives certificates on passing online tests.

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.

Contributors and Content Editors

Nancyvarkey, Nirmala Venkat