ECET 365 Week 5 Complete DeVry


Just Click on Below Link To Download This Course:


ECET 365 Week 5 Complete DeVry

ECET 365 Week 5 Timing and Intterupts DeVry

ECET 365 Week 5 Discussions

WEEK 5: SOFTWARE INTERRUPT COMMANDS
What software commands are used to allow the 9S12 program to receive interrupts?
WEEK 5: POLLING VERSUS INTERRUPTS
For your project, which subsystems should use polling and which should use interrupts?

ECET 365 Week 5 HOMEWORK 

Page 241, Problems 4.1–4.9
Don’t forget to submit your assignment.

ECET 365 Week 5 COURSE PROJECT (DUE IN WEEK 8)

Review the Course Project Overview under the Introduction & Resources area for an overall description of the Course Project, grading rubric, and deliverables.
Although this week’s Lab focuses specifically on interrupts, you should use this opportunity to ensure that the software works correctly. This means that you will be loading each of two programs from Appendix A of the Construction Notes for the Robotic Car (Found in the Files section of the Course Menu).
The Lab is focused on tasks required to develop a power supply system for the project.

ECET 365 Week 5 Lab

Lab 5: Converting Requirements to a Work Schedule
Objectives
  1. Determine the timing requirements for data to and from subsystems.
  2. Change a procedural subroutine to an interrupt-driven subroutine.
  3. Compare the interrupt-driven system operation to the procedural system.
Parts List
  1. Robotic Car Kit with visual sensor
  2. Freescale Tower Kit with S12G128 CPU board
  3. PC with IDE software (e.g. CodeWarrior Development Studio V5.1)
  4. Alternative Robotics Kit or other kit if applicable
  5. Oscilloscope with X10 probe
Introduction
  1. A system can use many ways to ensure that operations are controlled. A procedural code program can manage the data to and from devices within the main program, or it can use interrupt requests to cause the CPU to jump from the main program to a subroutine.
  2. We will take the code for the Smart Car and modify it to use an interrupt service routine. We will then compare the performance of the two approaches by measuring the period of the SI pulse on the video sensor.
Deliverables
Answer all questions in Week 5 Lab Cover Sheet here (Links to an external site.)Links to an external site..
Submit your Week 5 Lab Assignment.
You can also download the cover sheet for Week 5 Lab in the Files section of the Course Menu.
Required Software
CodeWarrior Development Studio for S12(x) V5.1
Lab Steps
STEP 1: Procedures
  1. Robotic Car Subsystems
    1. The interacting subsystems are the visual sensor subsystem, the steering subsystem, and the CPU board subsystem. We need to ensure that the motor subsystem does not affect the other systems.
    2. Set the assembled car on blocks so that the motor wheels can move freely. Consider that the front wheels must have room to move side to side, and that the back wheels will be powered.
    3. Load the car program into the CPU board. Ensure that the video sensor inputs and outputs are connected to the CPU board. Also, ensure that the servo inputs are correctly connected.
    4. In a previous lab, we have tested the steering with an index card that has a 1-inch-wide stripe down the center of the card. This time, we will test the system with the wheels powered.
    5. Test the system with the subsystems powered, but the motor power to the H-bridges disconnected. Troubleshoot the system if it does not operate satisfactorily. Once the steering system works correctly, proceed to the next step.
    6. Load the CPU with the first program shown in Appendix A of the Construction Notes for the Robotic Car (see the Files section of the Course Menu). If a test track is available, run the Robotic Car program and observe the operation. If a test track is not available, set up the car on a block so that the wheels are free to turn. Use the test index card with the center black stripe. Observe the operation of the car as the stripe is moved left and right.
    7. Load the CPU with the second program shown in Appendix A. Run the program and observe the operation of the Robotic Car as the index card center stripe is moved left and right.
  2. Observations – Complete the following questions in the Week 5 Lab Cover Sheet and submit your Lab Assignment.
    1. Compare the operation of the first program with the operation of the second program.
    2. Explain why the timing has changed.
    3. What changes should be made to the second program to enhance the Robotic Car performance?

ECET 365 Week 5 Quiz

Instructions
Here is some information about your Quiz.
  • This quiz covers CO 6 and Chapter 4.
  • This quiz is worth 20 total points, which include the following questions:
    • 3 multiple-choice questions at 5 points each;
    • 1 short-answer question at 5 points each; and
  • You have 60 minutes to finish the quiz.
  • Here is a reminder to SAVE frequently, because when the time limit is reached, you will automatically be exited from the exam.
  • This quiz contains one page.
By submitting this work, I am attesting that it abides by the Student Honor Code.

Comments

Popular Posts