Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

;ists of an Arduino Uno, a Temperature Sensor, a DC-motor, and LCD. The temperature sensor can read the temperature in the range 40 to +125

image text in transcribed
;ists of an Arduino Uno, a Temperature Sensor, a DC-motor, and LCD. The temperature sensor can read the temperature in the range 40 to +125 and is connected to pin A0 and has the following equation V0=T0.01+0.5 where Vo is the output voltage of the sensor and T is the temperature. The LCD is connected to pins 2,3,4,5,6,7. The motor is connected to pin 9 . Write a complete Arduino Code that: 1- Reads the temperature every 25 seconds (DO NOT USE DELAY). 2- Calculates the average temperature (Tavg) during the last 2 minutes. 3- Write the Tavg on the LCD. 4- If the Tavg is larger than 29C, drive a DC motor (fan) with 25% duty cycle. And then increase the speed of the fan with 25% for every 5C increase above 29 . additional page 8

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

Accounting And Auditing Research And Databases Practitioner's Desk Reference

Authors: Thomas R. Weirich, Natalie Tatiana Churyk, Thomas C. Pearson

1st Edition

1118334426, 978-1118334423

Students also viewed these Databases questions

Question

What is Working Capital ? Explain its types.

Answered: 1 week ago