Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In this project you are expected to read data from the analog devices on the Ardukit board and write them on the LCD display and

In this project you are expected to read data from the analog devices on the Ardukit board and
write them on the LCD display and some alarm messages to the 7-segment display also on an
external LED.
The sensors to be read are the temperature sensor LM35 and the light sensor LDR. The
potentiometer will also be used, and its value will also be read and displayed on the LCD screen.
The program will loop and read LM35, it will display its value (converted to temperature) on the
LCD and if its value is less than 22 degrees Centigrade then it will display the letter "L" on the 7-
segment display (rightmost digit). If its value is greater than 22 degrees Centigrade, then it will
display the letter "H" on the 7-segment display and sound the buzzer but only if potentiometer
reading is greater than 500.
The LDR will sense light. Under normal conditions its readings will be around 300-400. If it is dark,
however, the readings will increase. After displaying the temperature reading, the LDR value
should also be displayed on the LCD. If the reading is greater than 600 then you will light an
external LED connected to the relay on the board. The external led circuitry should be set up on
the breadboard available on the Ardukit.
You will also display the potentiometer reading on the LCD.
It should be clearly identified which value is being displayed.
You should include the following library into your program (right at the top)
#include int GND1=33;??
intGND2=34;??
int GND3=35;??
intGND4=36;??|cod(36,37,26,27,28,29)=A8lm35=A4|dr=A11;=5
image text in transcribed

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

Beginning Microsoft SQL Server 2012 Programming

Authors: Paul Atkinson, Robert Vieira

1st Edition

1118102282, 9781118102282

More Books

Students also viewed these Databases questions

Question

=+b) Find an exponential (multiplicative) model for this series.

Answered: 1 week ago

Question

Explain key aspects of e-learning

Answered: 1 week ago

Question

To what extent can OL ideas help this organization?

Answered: 1 week ago