LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabView Program Utilizing a Thermal Couple and a Solenoid

I am an undergraduate student doing research at the University of Tennessee. My advising professor has asked me to develop a program using a thermal couple to detect the temperature of a room or object and produce a 110 volt signal when a certain temperature threshold is reached. I currently have made a program that detects a voltage level from a solar panel and subsequently turns a light bulb on when it reaches a certain voltage signal (Attached Below). The main limitation of the hardware I'm using is that the voltage output will be coming from a MyDAQ module that is limited to a 10 Volt output. Is there an easy way to modify the attached program to accomplish this task?

Download All
0 Kudos
Message 1 of 5
(2,346 Views)

You use the voltage to drive a relay that controls the 120V line.

 

You have to be sure the current draw of the relay coil doesn't exceed the current capacity of your DAQ module

 

One problem I see with your VI is that it only runs once.  I don't see any while loop in it to keep it running longer.

0 Kudos
Message 2 of 5
(2,344 Views)

Alright I've added a while loop in order to keep the program running continuously. 

And I apologize for my inexperience with this kind of stuff, but could you go more into how to set up and use a relay coil? This is my first project in this field. 

0 Kudos
Message 3 of 5
(2,322 Views)

You'll be using 120VAC.  If you aren't familiar with electricity, then I suggest you find someone who does so you don't hurt yourself.  I'm not going to give instructions over the internet and risk that you don't do them correctly.

 

In your code, the code in the true and false cases are nearly identical.  There is an easy way to simplify all of that.

 

light%20bulb-1_BD

0 Kudos
Message 4 of 5
(2,298 Views)

Thanks for the help with simplifying the program!

Ill go through the department to find somebody who can hands on help explain and set up the electrical side of the project.

0 Kudos
Message 5 of 5
(2,278 Views)