Temperature Controller Project using LabVIEW and Arduino

Hi friends, here we are going to build a small engineering project based on LabVIEW and Arduino. In this project we are making Temperature controller using Arduino and LabVIEW. We will operate a cooling fan when the temperature goes above set point.

Before you start this project make sure that you have installed LabVIEW Interface For Arduino (LIFA) on your system. If not follow this article for installing LIFA: How to Interface Arduino with LabVIEW

Components required:

  • Arduino Uno (or Freeduino)
  • 10K ohm resistor
  • Thermistor (Click here to buy)
  • RGB LED (or separate LEDS can also be used)
  • DC fan (5V)

Theory:

In this temperature controller project, we will use thermistor for measuring the temperature of liquid or any other material. We are using three LEDs to indicate temperature range. Red LED is used to indicate the temperature is above set opint. Blue LED will indicate temperature lies between upper and lower set point. Green LED will indicate temperature below set point.

Front Panel of Temperature Controller
Front Panel of Temperature Controller

When the RED LED glows the cooling fan will turned on. Due to cool air (or you can also use cooler water pump with relay circuitry) your object (liquid) will get cooled. When the temperature falls down DC cooling fan will get turned off.

Construction of Temperature Controller Project:

Interfacing thermistor with Arduino
fig 1: Interfacing thermistor with Arduino

 

Temperature controller using LabVIEW and Arduino
fig2: Temperature controller using LabVIEW and Arduino

 

  • Connect thermistor and Resistor with the analog port of Arduino as shown in first image.
  • Now connect three LEDs with positive terminals of each led to pin number 8,9 and 10. Connect negative terminal of LED with common (ground of arduino).
  • Now depends on your application i.e. if you are using small 5V dc fan you can connect it directly with the Arduino (pin number 3 and ground) using motor driver IC L293D (In figure we have connected motor directly but it should be not so. You should use motor driver IC). If you are using 230V AC appliance you need a relay circuit. You can buy it from here.

Download LabVIEW Program: Click Here

You may like these articles:

Hope your Temperature controller project is working fine. If you have any doubts feel free to ask in comments. If you liked this article please share it with your friends and like our facebook page for future projects.

How to Interface Arduino with LabVIEW

Hi friends, here we will see how to interface arduino (or freeduino) with LabVIEW. In this post a step by step tutorial is given on LabVIEW Interface For Arduino (i.e. LIFA). Follow the steps in given order and configure your LabVIEW to make it comaptible with Arduino or Freeduino.

LabVIEW Interface For Arduino:

Step 1: Download LabVIEW Interface For Arduino (LIFA) 

Step 2: Don’t install LIFA directly. If you install LIFA directly you will get an error like

"VIPM could not continue. Please fix the error and try again.
VIPM could not connect to Labview 2013. VIPM requires LabVIEW access as a part of the current task execution in progress.
please verify the VI SERVER : Exported VIs and Machine access settings in LabVIEW 2013...... "

Complete the following steps to enable VI server access

Step 3: Open LabVIEW go to Tools > Options > VI Server

LabVIEW Settings for Arduino 005

 

Configuring VI Servers in LabVIEW 006

 

Step 4: After clicking on VI Server scroll down to check Machine Access. Here you have to add machine access list manually. So make sure that you have added “10.211.55.13”, “localhost”, “*” in the Machine access list as shown in above image. Then click on OK.

Step 5: Now open downloaded VI Package Manager.

Step 6: Search for LabVIEW Interface For Arduino and double click on it to install it.

LabVIEW Interface For Arduino LIFA

 

LabVIEW Interface for Arduino 002

 

Step 7: Click on continue and after installation complete click on finish.

LabVIEW Interface for Arduino 003

 

LabVIEW Interface for Arduino 004

 

Now you are ready to connect arduino with LabVIEW. In the next post we will see how to connect Arduino with LabVIEW practically and we will do a simple project using Arduino and LabVIEW.

For more details you may refer: Configuring VI Server 

See also:  How to save LabVIEW Program in Image format

I hope you have successfully installed LabVIEW Interface for Arduino and ready to do some stuff with Arduino. If you have any doubt feel free to ask. Share this article with your friends and like our facebook page for future updates.