How to plot real-time temperature using MATLAB

Published on . Written by

How to plot real-time temperature using MATLAB

Overview


Skyfi Labs Projects
We all have seen the various graphs which portray different results for better understanding. Just like this, we will be tracing the graph of the real temperature using MATLAB. The project will be carried out with the help of the LM35 sensor. Arduino Uno is used here to get the temperature from the LM35 sensor. The graph will be made with the help of the two axes.

Read more..

SLNOTE
Procedure

We will download the GUI file and code file from the internet. You can download the code from the internet and you will need these things to build the project which is:-

  • MATLAB
  • Arduino UNO
  • LM35-Temperature Sensor
  • Connecting wires
  • Breadboard
The temperature sensor will be connected to the Arduino UNO. To fire the sensor we will code on the start button of the interface. Whenever the button is clicked the sensor will sense the temperature around the room and then send signals to the Arduino. The “in”-pin is used to input the temperature signals and the “out”-pin to again send the signals to the interface for projection.

We will then convert the voltage signals into temperature and then display it on the graph. The graph can be used to display temperature variation through time. The graph has two axes among which one if the temperature value and the other is the time. MATLAB is a perfect environment which can deal with the manipulation of such signals. The language helps us to code easily to get the desired result.


SLLATEST
The breadboard is a construction of prototyping of electronics. The breadboard is usually used for testing the electric signals. The base can easily detect the fluctuations and to get the temperature will multiply the voltage with 100. The voltage is transferred from the sensor to the Arduino UNO. The Arduino also helps us to manipulate the voltage signals and MATLAB emphasis us to control those signals.

For the project, we have also used the LM temperature sensor. The sensor enables us to get the analog signals proportional to the temperature it detects. It provides output voltage in centigrade (Celsius). The sensor is quite sensitive as it can also detect 10mv/degree. That is the reason we will multiply the mv to 100 to get the required result in Celsius.

The sensor can sense the temperature from a range of -55 to 150 degree Celsius. The project needs a sensor to transmit the signals according to the temperature. Without the signals, the program will not run and it will be unable to get the result. The project should be made carefully and the code can be downloaded or you can also write it on your own. It will be better if you write it on your own. It will give a sense of basic knowledge.

Conclusion

The project requires some basic knowledge about MATLAB and Arduino UNO. The person should also require some knowledge of electronics. The project is very easy to make and handle. You will learn many concepts in the project.


SLDYK
Kit required to develop How to plot real-time temperature using MATLAB:
Technologies you will learn by working on How to plot real-time temperature using MATLAB:


Any Questions?


Subscribe for more project ideas