Question: 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

 i have to make a program that follows these instructions in

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!