Answered step by step
Verified Expert Solution
Link Copied!

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.
1- Connect the following components to an 8051: an LCD, eight LM335
temperature sensors, an ADC0804 analog to digital converter, a 4*4 keypad, and a
4051 analog multiplexer. Explain the connections in a detailed way.
2- Write a program that displays the max, min and average values of the sensors
on the LCD. The temperature can be between -30 to +50 Celsius. These values
should be display on the first line of the LCD as follows:
Ag=xxx M=xxx,xxx
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 1 to 8 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 2nd line of the LCD as follows:
CHx=xxx
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 2nd line of
the LCD( right to the CHx=xxx message)
If the average temperate is negative and the maximum is negative, then displays
State=1
Else If the average temperate is negative and the maximum is positive, then
displays State=2
Else If the average temperate is positive and at least two of the sensors are
negative, then displays State=3
Else If sensors #1,#3,#5 and #7 are positive and the other ones are negative displays
State=4

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Machine Performance Modeling Methodologies And Evaluation Strategies Lncs 257

Authors: Francesca Cesarini ,Silvio Salza

1st Edition

3540179429, 978-3540179429

Students also viewed these Databases questions

Question

Networking is a two-way street. Discuss this statement.

Answered: 1 week ago