ECET 340 Devry All Labs 1-7
Lab 1
DeVry University
College of Engineering and Information Sciences
Course Number: ECET-340
Professor:
Laboratory Number: 1
Laboratory Title: LCDs and Keypad
Submittal Date: Click here to enter a date.
Objectives (1pts):
Results (3pts):
Conclusions (3pts):
Team: |
|
|
|
|
|
| Name |
| Program |
| Signature |
|
|
|
|
|
|
| Name |
| Program |
| Signature |
|
|
|
|
|
|
| Name |
| Program |
| Signature |
Observations/Measurements:
I. 1. Paste a couple of picture displaying the LED pattern associated with a key press (1pts/pic – max 2 pictures) – Part A of iLab1
I. 2. Paste a picture of the LCD displaying a message (1pts) – Part B of iLab1
I. 3. Paste a picture of the LED display showing the keys that have been pressed (1pts) – iLab1 Part C Solution
I. 4 Paste the WORKING code for the file containing your main(), the code from file keypad.c and the code from file keypad.h – iLab1 Part C Solution (20pts) – Your code must show the functionality demonstrated in the iLab1 recordings
Questions:
1. What distinguishes a control data value from a character data value for the LCD module? (1pt)
2. Describe the steps in the keypad polling routine (1pt)
3. Draw a flow chart for the keypad LCD software code (1pt)
4. Discuss challenges experienced in developing the keypad LCD software code (1pts)
Lab 2
Course Number: ECET340
Professor:
Laboratory Number: 2
Laboratory Title: Interrupts in C
Submittal Date: Click here to enter a date.
Objectives:
To become familiar with the configuring and enabling of interrupts
Using the external interrupt
Using the Real Time Interrupt
To combine two interrupts within a program
Questions:
What distinguishes an external interrupt from an RTI interrupt?
2. Describe what transpires when an interrupt occurs?
3. What is an interrupt service routine? What benefit does the ISR have over standard polling code
4. Discuss challenges experienced in developing the dual interrupt software code.
Lab 3
Course Number: ECET-340
Professor:
Laboratory Number: 3
Laboratory Title: Timers in C
Submittal Date: Click here to enter a date.
Objectives(1pt):
Results (2pts):
Conclusions (2pts):
Team: |
|
|
|
|
|
| Name |
| Program |
| Signature |
|
|
|
|
|
|
| Name |
| Program |
| Signature |
|
|
|
|
|
|
| Name |
| Program |
| Signature |
Observations/Measurements:
I. 1, iLab3A (Output Compare) – Paste a screen capture of the scope showing the following measurements: min, max, frequency, and period. Paste a picture showing the connection between the Tower Board, and the scope (1pts/each)
I. 2. iLab3B (Input Capture) - Paste a picture showing the connections between the Tower and the Function Generator – Paste a screen capture of the scope showing the following measurements: min, max, frequency, and period. Paste a screen capture of the LEDs. (1pts/each)
I. 3. iLab3 Design Project (Frequency Generator) – Paste all the code in the file that holds your main() function (do not paste any other code) (20pts)
I. 4. iLab3 Design Project (Frequency Generator) – Paste a screen capture of the scope showing the following measurements: min, max, frequency, and period; also paste a picture of the LCD showing the frequency measurement (the value displayed on the LCD, and the value read on the scope should be very close to each other) (1pts/each)
Questions (1pt/each):
1. What commands are utilized for the configuration of the Output Compare Timer? How does each affect the time interval of the Output Compare timing?
2. What is being determined by the input capture function?
3. What settings are used for the input capture? How does each affect the function of the input capture program?
4. Discuss challenges experienced in working on the lab project.
Lab 4
Course Number: ECET 340
Professor:
Laboratory Number: 4
Laboratory Title: Event Counter and DACs in C
Submittal Date: Click here to enter a date.
Objectives (1pt):
Results (2pts):
Conclusions (2pts):
Team: |
|
|
|
|
|
| Name |
| Program |
| Signature |
|
|
|
|
|
|
| Name |
| Program |
| Signature |
|
|
|
|
|
|
| Name |
| Program |
| Signature |
Observations/Measurements:
I. 1, iLab4A (PACNTL to LEDs) – Paste a picture of the LEDs and the connections from the signal generator to the Tower board (1pts)
I. 2, iLab4A MODIFIED (PACNTL to LCDs) – Paste a couple of pictures of the LCDs and the connections from the signal generator to the Tower board (1pts/each) – Working code is worth 12pts
I. 3, iLab4B (DAC Signal Generation) – Paste picture of the scope showing the outputs from the two ADC channels (5pts) – Annotate the picture to show the time/div setting and the volts/div setting
Questions:
1. What commands are utilized for the configuration of the Event Counter? How does each affect the operation of the Event Counter? (2pts)
2. What signal was observed at the output of DACA? What is the signal frequency of the DACA wave? What is the amplitude of the DACA signal? (2pts)
What signal was observed at the output of DACB? What is the signal frequency of the DACB wave? What is the amplitude of the DACB signal? (2pts)
3. Describe a technique that can be used to have the DAC generate a square wave? What features could be added? (2pts)
Discuss challenges experienced in working on
Lab 5
Course Number: ECET 340
Professor:
Laboratory Number: 5
Laboratory Title: Analog to Digital Conversion in C
Submittal Date
Objectives:
To become familiar with the configuring and enabling of the analog-to-digital converter
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?
Course Number: ECET 340
Professor:
Laboratory Number: 6
Laboratory Title: Asynchronous Serial Communications in C
Submittal Date:
Objectives:
To become familiar with the configuring and enabling of serial communication transmitter
To configure the microcontroller to receive serial communications from another device.
Questions :
1. What commands are utilized for the configuration of the asynchronous serial communications transmitter? How does each affect the operation of the transmitter
2. What is being used to configure the setup and control of the asynchronous serial communications receiver?
3. Describe a technique that can be used to configure the software to manage both the transmitter and receiver
4. Discuss challenges experienced in working on the lab project
Lab 7
Course Number: ECET 340
Professor:
Laboratory Number: 7
Laboratory Title: The HVAC Controller in C
Submittal Date
Objectives:
To become familiar with the thermistor
To use integrated modular programming techniques in developing the project
To write a report document for the HVAC Controller
11 years ago
Purchase the answer to view it

- week1lab.docx
- week2lab.docx
- week3lab.docx
- week4lab.docx
- week5lab.docx
- week6lab.docx
- week7lab.docx