Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

i have to make a program that follows these instructions in c that works with an arduino board. 1. Temperature Sensor a. The name of

image text in transcribed

i have to make a program that follows these instructions in c that works with an arduino board.

1. Temperature Sensor a. The name of this program will be lab4pl b. The EduShield comes with an LM34 temperature sensor. The input from the temperature sensor is on analog pin 0 c. You will use the function read voltage(pin) Recall that read voltage(pin) takes 10 readings of the specified analog pin, averages them (using real division), and convert to a range of 0V to 5V d. The LM34 is a linear temperature sensor that maps 0 V to 0 F and 3 V to 300 F By hand, convert 0.950 V to degrees F using the given mapping e. Write the proto-type for degF_to_degC) to convert degrees F to degrees C. f. Write a program, calling the two functions, to display formatted output on the serial monitor as shown below Voltage 0.7063 0.7062 Degrees F Xx. x Xx.x Degrees C yy-y yy-y g. Note the approximate temperatures when the sensor is untouched by your finger and when it is touched by your finger after 30 seconds F (ambient) F (with finger)

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

Oracle Databases On The Web Learn To Create Web Pages That Interface With Database Engines

Authors: Robert Papaj, Donald Burleson

11th Edition

1576100995, 978-1576100998

More Books

Students also viewed these Databases questions

Question

5. Have you any experience with agile software development?

Answered: 1 week ago