Title: ECET 340 Exceptional Education / snaptutorial.com
1ECET 340 Exceptional Education / snaptutorial.com
2ECET 340 Exceptional Education / snaptutorial.com
ECET 340 Entire Course (All ilabs and Homework)
For more classes visit www.snaptutorial.com ECE
T 340 Week 1 HomeWork 1 ECET 340 Week 1 iLab
1 ECET 340 Week 2 HomeWork 2
3ECET 340 Exceptional Education / snaptutorial.com
ECET 340 Week 1 HomeWork 1 For more classes
visit www.snaptutorial.com Give three examples
each of internal and external peripheral devices
as referenced to the HCS12 microcontroller and
not an entire PC. (2 points)
4ECET 340 Exceptional Education / snaptutorial.com
ECET 340 Week 1 iLab 1 For more classes
visit www.snaptutorial.com OBJECTIVES 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.
5ECET 340 Exceptional Education / snaptutorial.com
ECET 340 Week 2 HomeWork 2 For more classes
visit www.snaptutorial.com 1. Where does
program control transfer to when an interrupt
occurs? 2 points 2. Which one of the following
Interrupts has highest priority? 2 points
6ECET 340 Exceptional Education / snaptutorial.com
ECET 340 Week 2 iLab 2 For more classes
visit www.snaptutorial.com ECET 340 Week 2 iLab
2
7ECET 340 Exceptional Education / snaptutorial.com
ECET 340 Week 3 HomeWork 3 For more classes
visit www.snaptutorial.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)
8ECET 340 Exceptional Education / snaptutorial.com
ECET 340 Week 3 iLab 3a For more classes
visit www.snaptutorial.com SOLVED ECET 340
iLAB3 OBJECTIVES To learn the basic operation of
a keypad. To understand how to interface a keypad
to a microprocessor.
9ECET 340 Exceptional Education / snaptutorial.com
ECET 340 Week 4 HomeWork 4 For more classes
visit www.snaptutorial.com Determine the
conversion time for an ADC0804 (8-bit), where 66
clocks per bit are required, if its clock
frequency is 50 kHz.
10ECET 340 Exceptional Education / snaptutorial.com
ECET 340 Week 4 iLab 4 For more classes
visit www.snaptutorial.com OBJECTIVES To learn
how to use A-to-D converters to digitize signals
from analog input devices.
11ECET 340 Exceptional Education / snaptutorial.com
ECET 340 Week 5 HomeWork 5 For more classes
visit www.snaptutorial.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
12ECET 340 Exceptional Education / snaptutorial.com
ECET 340 Week 5 iLab 5 For more classes
visit www.snaptutorial.com Scenario/Summary This
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
13ECET 340 Exceptional Education / snaptutorial.com
ECET 340 Week 6 HomeWork 6 For more classes
visit www.snaptutorial.com What are the four
main functions of the HC12 Timer unit?
14ECET 340 Exceptional Education / snaptutorial.com
ECET 340 Week 6 iLab 6 For more classes
visit www.snaptutorial.com ECET 340 Week 6 iLab
6
15ECET 340 Exceptional Education / snaptutorial.com
ECET 340 Week 7 HomeWork 7 For more classes
visit www.snaptutorial.com 1. The movable part
of the solenoid is the 2 points 2. Why is the
6N139 optoisolator used in the interfaces to
devices such as large motors?
16ECET 340 Exceptional Education / snaptutorial.com
ECET 340 Week 7 iLab 7 For more classes
visit www.snaptutorial.com ECET 340 Week 7 iLab
7
17ECET 340 Exceptional Education / snaptutorial.com