{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Homework 6 Solution

# Note that each digital number corresponds to a step a

This preview shows page 1. Sign up to view the full content.

This is the end of the preview. Sign up to access the rest of the document.

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

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern