ecet_340_week_5_homework- - Pages 467468 problems 1 5 11 12...

Info icon This preview shows pages 1–4. Sign up to view the full content.

Pages 467–468, problems 1, 5, 11, 12, 35, 38, 42, 45, 54, 55 1. True or false. Sensor output is in analog. 5. True or false. An ADC with 8 channels of analog input must have 8 pins, one for each analog input. 11. Which of the following ADC sizes provides the best resolution? (a) 8-bit (b) 10-bit (c) 12-bit (d) 16-bit (e) They are all the same. 12. In Problem 11, which provides the smallest step size? 16 bit 35. With V rh = 2.56 V and V rl = Gnd, find the Vin for the following outputs:. (a) D9–D0 = 1111111111 (b) D9–D0 = 1000000001 (c) D9–D0 = 1100110000 a) D9 - D0 = 1111111111=2048 in decimal V=2048/2048 x 2.56 =2.56 V b) D9 - D0 = 1000000001=1025 in decimal V=1025/2048 x 2.56 =1.28125 V
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

(c) D9 - D0 = 1100110000 =1632 in decimal V=1632/2048 x 2.56=2.04 V 38. How do we start conversion in the HCS12? This is the analog to digital module. It has an array of flexible conversion sequences. The following is the procedure on how it is started. First call ATD On for specified set of 8 inputs. Then call ATD Digital Input with appropriate bitmask to configure the pins as analog or digital. Then ATD Off function turns the corresponding 8-channel ATD converter off. After the relevant ATD converter has been turned on, any of the conversion routines can be invoked. Now start conversion using ATD Single or ATD Sample or ATD Start Sample or ATD Multiple 42. Discuss the different analog-to-digital converter (ADC) types and configurations. What is the purpose of the ADC? How do you interface to the different configurations? Analog-to-digital converter (ADC) takes in an analog input, which can either be a voltage or a current-and converts it to a digital value that can be interpreted by a microprocessor.ADCs are of various speeds, use different interfaces, and provide differing degrees of accuracy. The following are the common types.
Image of page 2
Flash ADC The flash ADC among the available ADCs is the fastest .It uses comparators, one per voltage step, and a string of resistors.
Image of page 3

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

Image of page 4
This is the end of the preview. Sign up to access the rest of the document.
  • Spring '12
  • Analog-to-digital converter, Office suite, analog input, control structure

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    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.

    Student Picture

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

  • Left Quote Icon

    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.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    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.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern