Laboratory Report Cover Sheet
DeVry University
College of Engineering and Information Sciences

 



 

Course Number: ECET 340

 

Professor:

 

Laboratory Number: 5

 

Laboratory Title: Analog to Digital Conversion in C

 

Submittal Date

 

 

 

 

 

Objectives:

 

 

 

  1. To become familiar with the configuring and enabling of the analog-to-digital converter

  2. Usage of both the ATD and RTI interrupt service routines

 

I. 1,  iLab5A (Software Triggered ADC Conversion) – Paste a picture of the LEDs (1pts). As you turn the dial for the potentiometer what are the two extreme patterns for the LEDs?

I. 2,  iLab5B (Interrupt Triggerd ADC Conversion) – Paste a picture of the board showing the jumper that connects IOC1 to ETRIG1 (1pt) Paste a scope capture of the pulse that triggers the A/D conversion (1pts) At what frequency is this pulse taking place? ________________   (1pts)

I. 3,  iLab5C (Interrupt Triggerd ADC Conversion with Dual DAC Conversion) – Paste ALL the code for your design project that is part of your main.c file. Make sure it looks neat. Use single spacing and a font size of 10 (15pts)

I. 3,  iLab5C (Interrupt Triggerd ADC Conversion with Dual DAC Conversion) – Paste a scope capture showing the two waveforms being output by the ADC (1pts). Include a diagram of the LCD board with all the necessary connections -- use the board outline included in this document (2pts).  Paste a scope capture of the pulse that triggers the A/D conversion (1pt) At what frequency is this pulse taking place? _____________  (1pt)

Questions (1 pts each):

 

1.         What commands are utilized for the configuration of the ADC polling software? How does each affect the operation of the ADC?

 

4.         Discuss challenges experienced in working on the lab project.

 

3.         What time is there between the ATD conversions for Lab 5b? What method can you use to determine the time between ATD conversions?

 

2.         What commands are utilized for the configuration of the ADC interrupt software? How does each affect the operation of the ADC?

    • 11 years ago
    This was graded A+ Use Only As A Guide
    NOT RATED

    Purchase the answer to view it

    blurred-text
    • attachment
      week5.docx