Lab 7.2

pdf

School

Embry-Riddle Aeronautical University *

*We aren’t endorsed by this school

Course

313

Subject

Mechanical Engineering

Date

Dec 6, 2023

Type

pdf

Pages

5

Uploaded by MasterEel3825

Report
MECH 314 Data and Acquisitions Laboratory Measure Temperature using Thermistor, myDAQ, and LabVIEW Prof. Yuetong Lin Nathan Hernandez 9-24-2023
Hernandez 1 Purpose The purpose of this week’s lab was to measure the temperature of water using a thermistor, myDAQ, and LabView, and then record the successful operation of our lab setup. We setup our lab in accordance with the measurement example provided by the LabView website then took the temperature measurement of a bowl of water that was left in the freezer for about 5 minutes, and a glass of water that was boiled in the microwave for 3 minutes. We verified that our lab worked properly by observing the temperature readings we received on the Front Panel of our vi and by setting up a LED indicator that would turn on once the temperature was withing a certain range. We were able to successfully record our lab results and upload them to YouTube at the following link: https://youtu.be/3l9-E47E-jg . Objectives The objectives for this lab were to set up a vi using a provided example from LabView that would be able to read the resistance from a thermistor connected to a myDAQ then convert the readings to Kelvin and Celsius which will then be read out on a temperature indicator on the Front Panel of the vi. An additional objective was to create a functionality where an LED indicator would turn on once the temperature of the water was within a range of 70 to 100 degrees Celsius. We were then asked to record our setup, explain our program, and verify the successful operation of our vi. Equipment and Supplies For this lab the equipment we used was a NI myDAQ and thermistor. We used NI LabView as the software to record the signals from the thermistor. Additionally, we also used a bowl of cold water and a glass of hot water. We recorded our results using a cellphone and uploaded the video to YouTube.
Hernandez 2 Observations
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Hernandez 3 Discussion Overall, our lab was a success. We received accurate measurements based on our observations of the Front Panel from LabView and were able to verify the functionality of the LED indicator. In the lab write up were asked to use a pot of boiling hot water on a kitchen stove, however, because I am unable to move my PC from my desk, I opted to use a bowl of water that was left in my freezer for about five minutes and a glass of water that was boiled in the microwave for three minutes. I believe this setup still met the lab requirements and offered satisfactory temperatures to be read. For the lab we connected the myDAQ to a thermistor with the provided multimeter leads and then connected the myDAQ to the PC using the provided USB cable. We used the vi given to us by LabView in the example that was linked in the lab write-up and added the additional functionality of the LED indicator. By studying the Block Diagram of the vi we can understand how the signal from the thermistor is converted to temperature readings in Kelvin and Celsius. A while loop is created and a DAQ Assistant is set up to read an analog signal value from the DMM terminals of the myDAQ. The value is then based on to be divided by 10000 and then its natural log is taken from that quotient. This new value is then converted to Kelvin by using the polynomial equation supplied based on the constants of the thermistor from the specification sheet. Finally, the temperature is converted to Celsius and both values are displayed on the Front Panel of the vi. The process restarts every 500 ms until the program is stopped. The added functionality of the LED works by taking the converted Celsius value and passing it through a range function with the upper and lower limits set to 100 70 respectively. The signal is then passed to a Boolean LED indicator on the Front Panel. Conclusion In conclusion, we were able to verify that our set up works, and the provided video can verify the results. This lab was pretty straightforward and easy to follow. Other than the small change that we had to make with the bowl and glass of water everything went extremely smoothly.
Hernandez 4 References Embry-Riddle Aeronautical University Worldwide, MECH 313. https://erau.instructure.com/courses/161583/assignments/3206308?module_item_id=97942 09 by:ExamplePrograms 07-22-201003:50 PMLast Edited by:ExamplePrograms12-03-201902:08 AMDocument optionsEditMove DocumentDelete DocumentSubscribe to RSS FeedMark as NewMark as ReadBookmarkSubscribePrinter Friendly PageReport to a Moderator. (2019). Measure temperature using 10kω thermistor, myDAQ, and labview. Retrieved from https://forums.ni.com/t5/Example-Code/Measure-Temperature-using-10k%E2%84%A6- Thermistor-myDAQ-and-LabVIEW/ta-p/3996485