Question
Connect a temperature sensor to pin of your choice using the scheme given in Lab 5. You may also use the temperature sensor given in
Connect a temperature sensor to pin of your choice using the scheme given in Lab 5. You may also use the temperature sensor given in MSP430. Connect a 2-digit 7-segment display as in Lab 4. The display is used to display the temperature value measured by the temperature in 0C.
Write a program in C which achieves the following tasks:
Initially the 7-segment display digits are all off.
Every second the program does an A/D conversion
After every 3 samples, the samples are averaged and the resulting digital value corresponding to the average measured temperature is displayed on the 7-segment display. To display values correctly, you need to calibrate the system.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started