Homework 6 Solution

# Fac 2 2 4 8 16 32 64 128 freq 2 mhz 2 mhz 1 mhz

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: = 300/4 – 50 = 25 C Temperature step size = (Voltage step size) * 100 = 0.25C So the temperature range is [25C, 25.25C) Question 4: ADC Design Principle (10 pts) A 4- bit ADC (of 24 = 16 steps in the analog range) uses the Successive Approximation implementation. The input voltage range is 0.0V- 16.0V. If the input is 5.0V, how does the ADC work out each bit of the digital encoding? Fill the following table to show the steps (as did in the class). The first step is given. Step Range DN_Mid AV_Mid(V) Input >= AV_Mid 0 xxxx 1000 8 0 1 0xxx 0100 4 1 2 01xx 0110 6 0 3 010x 0101 5 1 4 0101 The digital value is _0101__ (binary) and __5___ (decimal). Question 5: ATmega128 ADC Programming (5 pts) Describe in a few sentences how to use the ADSC bit in ADCSRA to start an ADC conversion, and to wait fo...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online