# Percent Error For The Binary Problem 2

1985 Words 8 Pages
Register to read the introduction… What is the percent error for the binary answer found in Problem #2?

4. Given an 24 MHz bus speed. Write down the line(s) of instruction which set the ATD1 unit for 2MHz conversion frequency, 10-bit resolution and 8 A-to-D clocks per sample time.

5. A single 10-bit, left justified conversion of 3.75V is complete in ATD0. Assume and
i. Name the register(s) where the result of the conversion is found ii. What are the values in each of the 16-bits of this register after conversion is complete? Assume the result is unsigned. Show work

6. Assume that a position-sensitive potentiometer can measure up to 25 cm over a voltage range of 0 to 5 V. If an 8-bit ADC outputs a value of 0111 1010, what is the distance measured?

7. Design the basic interface circuit (using an op amp) for a temperature sensor that covers a range of 0° to 70°C if the output of the sensor is 2 mV/1°C and the ADC voltage range is 0 to 4 V.
8. Design an amplifier suitable for converting the output voltage from an LM35 temperature sensor (10 mV/°C) into a signal that makes use of the full input voltage range (0-5V) of the HCS12 ADC port pins. Assume the LM35 is to measure temperatures from 0°C up to +150°C. Show work and
What is the percent error for the binary answer found in Problem #2?

4. Given an 24 MHz bus speed. Write down the line(s) of instruction which set the ATD1 unit for 2MHz conversion frequency, 10-bit resolution and 8 A-to-D clocks per sample time.

5. A single 10-bit, left justified conversion of 3.75V is complete in ATD0. Assume and
i. Name the register(s) where the result of the conversion is found ii. What are the values in each of the 16-bits of this register after conversion is complete? Assume the result is unsigned. Show work

6. Assume that a position-sensitive potentiometer can measure up to 25 cm over a voltage range of 0 to 5 V. If an 8-bit ADC outputs a value of 0111 1010, what is the distance measured?

7. Design the basic interface circuit (using an op amp) for a temperature sensor that covers a range of 0° to 70°C if the output of the sensor is 2 mV/1°C and the ADC voltage range is 0 to 4 V.
8. Design an amplifier suitable for converting the output voltage from an LM35 temperature sensor (10 mV/°C) into a signal that makes use of the full input voltage range (0-5V) of the HCS12 ADC port pins. Assume the LM35 is to measure temperatures from 0°C up to +150°C. Show work and