Answered step by step
Verified Expert Solution
Question
1 Approved Answer
For this lab you need to use Proteus and send your project file containing your schematic and the source code. 1 - Connect the following
For this lab you need to use Proteus and send your project file containing your
schematic and the source code.
Connect the following components to an : an LCD, eight LM
temperature sensors an ADC analog to digital converter, a keypad, and a
analog multiplexer. Explain the connections in a detailed way.
Write a program that displays the max, min and average values of the sensors
on the LCD. The temperature can be between to Celsius. These values
should be display on the first line of the LCD as follows:
Agxxx Mxxxxxx
Which are the average, maximum and minimum, respectively.
The user can select a specific channel to monitor it individually, for this purpose
the user should enter a number between to and then press the key the
program doesnt display any message for this operation The value of the selected
channel will be displayed on the left side of the nd line of the LCD as follows:
CHxxxx
Where x in CHx should be replaced by the selected channels number. By default,
the channel one is selected and displayed on the LCD in the beginning.
Finally the program should display one of the following message on the nd line of
the LCD right to the CHxxxx message
If the average temperate is negative and the maximum is negative, then displays
State
Else If the average temperate is negative and the maximum is positive, then
displays State
Else If the average temperate is positive and at least two of the sensors are
negative, then displays State
Else If sensors ### and # are positive and the other ones are negative displays
State
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