Unformatted text preview: s used with a thermal sensor to monitor the ambient temperature. The sensor measures temperature in range of  50 degree Celsius to 150 degree Celsius and converts temperature proportionally to an electrical signal of voltage range from 0.0V to 2.0V. The ADC uses the reference voltage of 2.56V. Assume that the number of steps is 2n, where n is the number of bits of the ADC output. Recall that the ADC in ATmega128 is 10 bit. a. If the ambient temperature is 22 degree Celsius, what is the voltage of the sensor’s output? (3 pts) Recall the formula: (a – Amin) / (Amax – Amin) = (v – Vmin) / (Vmax – Vmin) Given Vmin = 0, (a – Amin) / (Amax – Amin) = v / Vmax (a – ( 50)) / (150 – ( 50)) = v / 2.0 v = 0.01 * (a + 50) = 0.01 * (32 + 50) = 0.82V...
View
Full Document
 Spring '09
 Hertz

Click to edit the document details