17
ECET 340 Course Tutorial ECET 340 Course Tutorial For more course tutorials visit www.uophelp.com

ECET 340 Academic Coach Uophelp

Embed Size (px)

DESCRIPTION

ECET 340 Week 1 HomeWork 1ECET 340 Week 1 iLab 1ECET 340 Week 2 HomeWork 2ECET 340 Week 2 iLab 2ECET 340 Week 3 HomeWork 3ECET 340 Week 3 iLab 3ECET 340 Week 4 HomeWork 4ECET 340 Week 4 iLab 4ECET 340 Week 5 HomeWork 5ECET 340 Week 5 iLab 5ECET 340 Week 6 HomeWork 6ECET 340 Week 6 iLab 6ECET 340 Week 7 HomeWork 7ECET 340 Week 7 iLab 7

Citation preview

Page 1: ECET 340 Academic Coach Uophelp

ECET 340 Course TutorialECET 340 Course TutorialFor more course tutorials visit

www.uophelp.com

Page 2: ECET 340 Academic Coach Uophelp

ECET 340 Entire Course (All ilabs and Homework) (Devry)

For more course tutorials visit www.uophelp.com

ECET 340 Week 1 HomeWork 1ECET 340 Week 1 iLab 1ECET 340 Week 2 HomeWork 2ECET 340 Week 2 iLab 2ECET 340 Week 3 HomeWork 3ECET 340 Week 3 iLab 3ECET 340 Week 4 HomeWork 4ECET 340 Week 4 iLab 4

Page 3: ECET 340 Academic Coach Uophelp

ECET 340 Week 1 HomeWork 1 (Devry)

For more course tutorials visit www.uophelp.com

1. Give three examples each of internal and external peripheral devices as referenced to the HCS12 microcontroller and not an entire PC. (2 points)

2. Given “the requirements of each signal’s destination must match the capabilities of the signal’s source,” name some of the electrical signal parameters that must be considered when designing an interface between two different hardware components. (2 points)

Page 4: ECET 340 Academic Coach Uophelp

ECET 340 Week 1 iLab 1 (Devry)

For more course tutorials visit www.uophelp.com

To become familiar with Microcontroller MC9S12 parallel ports and how simple input and output devices are interfaced through them.To learn how to program I/O instructions in C language.To learn how to organize a program to read data from input ports, process the data, and display the result on a simple output device.

Page 5: ECET 340 Academic Coach Uophelp

ECET 340 Week 2 HomeWork 2 (Devry)

For more course tutorials visit www.uophelp.com

. Where does program control transfer to when an interrupt occurs? +2 points2. Which one of the following Interrupts has highest priority? +2 points3. RAM Vector table addresses $3E52 belongs to which interrupt? +2 points4. Before exiting an ISR, the programmer should use which command? +2 points

Page 6: ECET 340 Academic Coach Uophelp

ECET 340 Week 2 iLab 2 (Devry)

For more course tutorials visit www.uophelp.com

ECET 340 Week 2 iLab 2 (Devry)

Page 7: ECET 340 Academic Coach Uophelp

ECET 340 Week 3 HomeWork 3 (Devry)

For more course tutorials visit www.uophelp.com

1. Sketch a circuit that can be used to debounce a pushbutton and explain how it works. (4 points max)2. In Figure 7.32 on page 339 of the Huang textbook, if the row has and the columnsare , which key is pressed? (2 points max)3. In Figure 7.32 on page 339 of the Huang textbook, explain why the 10kΩ resistors ties to VCC are required. (2 points max)

Page 8: ECET 340 Academic Coach Uophelp

ECET 340 Week 3 iLab 3 (Devry)

For more course tutorials visit www.uophelp.com

SOLVED ECET 340 iLAB3OBJECTIVES:To learn the basic operation of a keypad.To understand how to interface a keypad to a microprocessor.To learn how to program a keypad driver in C language.

Page 9: ECET 340 Academic Coach Uophelp

ECET 340 Week 4 HomeWork 4 (Devry)

For more course tutorials visit www.uophelp.com

1. Determine the conversion time for an ADC0804 (8-bit), where 66 clocks per bit are required, if its clock frequency is 50 kHz.

2. If an 8-bit SAR has Vref = 10 V, what is the binary value for an input voltage of 7.28 V?3. 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.

Page 10: ECET 340 Academic Coach Uophelp

ECET 340 Week 4 iLab 4 (Devry)

For more course tutorials visit www.uophelp.com

To learn how to use A-to-D converters to digitize signals from analog input devices.To learn how to write a C language program that samples the data from an analog device, digitizes it and formats it for output on an LCD.To become more proficient in programming displays for real-time operation

Page 11: ECET 340 Academic Coach Uophelp

ECET 340 Week 5 HomeWork 5 (Devry)

For more course tutorials visit www.uophelp.com

. Explain, briefly, why an analog restoring filter is sometimes used at the output of a DAC.

2. Given Iref = 2 mA for a DAC1408 IC, find Iout for the input 1110 1110

3. Find the number of discrete voltages output by a 12-bit DAC. Show work.4. Use the internet to locate the data sheet for an MC1408 DAC. From it find, for the MC1408-7 version, the following:

Page 12: ECET 340 Academic Coach Uophelp

ECET 340 Week 5 iLab 5 (Devry)

For more course tutorials visit www.uophelp.com

Scenario/SummaryThis week's lab covers two areas, conversion of digital HCS12 signals to an analog format, and the use of a Serial Peripheral Interface (SPI) to transfer data, and commands between the HCS12, and the DAC peripheral.

Page 13: ECET 340 Academic Coach Uophelp

ECET 340 Week 6 HomeWork 6 (Devry)

For more course tutorials visit www.uophelp.com

1. What are the four main functions of the HC12 Timer unit?

2. Two input capture events occur at counts 0x1037 and 0xFF20 of the free-running counter. How many counts (in decimal) have transpired between these two events?

Page 14: ECET 340 Academic Coach Uophelp

ECET 340 Week 5 DQ 2

For more course tutorials visit www.uophelp.com

Based on the Yew (2009) article, how does the information presented to decision makers affect the quality of their decisions?

Page 15: ECET 340 Academic Coach Uophelp

ECET 340 Week 6 iLab 6 (Devry)

For more course tutorials visit www.uophelp.com

ECET 340 Week 6 iLab 6 (Devry)

Page 16: ECET 340 Academic Coach Uophelp

ECET 340 Week 7 HomeWork 7

For more course tutorials visit www.uophelp.com

1. The movable part of the solenoid is the: +2 points2. Why is the 6N139 optoisolator used in the interfaces to devices such as large motors? +2 points3. Calculate the number of steps per revolution for a stepper motor with a step angle of 7.5°. +2 points4. How is stepper motor speed controlled? State any two ways a program can do this. +2 points

Page 17: ECET 340 Academic Coach Uophelp

ECET 340 Course TutorialECET 340 Course TutorialFor more course tutorials visit

www.uophelp.com