ECET 340 Inspiring Minds/newtonhelp.com - PowerPoint PPT Presentation

About This Presentation
Title:

ECET 340 Inspiring Minds/newtonhelp.com

Description:

For more course tutorials visit www.newtonhelp.com ECET 340 Week 1 HomeWork 1 ECET 340 Week 1 iLab 1 ECET 340 Week 2 HomeWork 2 ECET 340 Week 2 iLab 2 ECET 340 Week 3 HomeWork 3 – PowerPoint PPT presentation

Number of Views:6
Slides: 25
Provided by: abcdf262

less

Transcript and Presenter's Notes

Title: ECET 340 Inspiring Minds/newtonhelp.com


1
ECET 340 Inspiring Minds/newtonhelp.com
2
ECET 340 Inspiring Minds/newtonhelp.com
  • ECET 340 Entire Course (All ilabs and Homework)
  •  
  • For more course tutorials visit
  • www.newtonhelp.com
  •  
  • ECET 340 Week 1 HomeWork 1
  • ECET 340 Week 1 iLab 1
  • ECET 340 Week 2 HomeWork 2

3
ECET 340 Inspiring Minds/newtonhelp.com
  • ECET 340 Week 1 HomeWork 1
  •  
  • For more course tutorials visit
  • www.newtonhelp.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 signals
    destination must match the capabilities of the
    signals source, name some of the electrical
    signal parameters that must be considered when
    designing an interface between two different
    hardware components. (2 points)

4
ECET 340 Inspiring Minds/newtonhelp.com
  • ECET 340 Week 1 iLab 1
  •  
  • For more course tutorials visit
  • www.newtonhelp.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.

5
ECET 340 Inspiring Minds/newtonhelp.com
  • ECET 340 Week 1 iLab LCDs and Keypad (100 Score)
  •  
  • For more course tutorials visit
  • www.newtonhelp.com
  •  
  • Laboratory Title LCDs and Keypad
  • Objectives
  • 1. To become familiar with LCD initialization
  • 2. Displaying messages on the LCD
  • 3. Developing a poll routine to capture Keypad
    information

6
ECET 340 Inspiring Minds/newtonhelp.com
  • ECET 340 Week 2 HomeWork 2
  •  
  • For more course tutorials visit
  • www.newtonhelp.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
  • 3. RAM Vector table addresses 3E52 belongs to
    which interrupt? 2 points

7
ECET 340 Inspiring Minds/newtonhelp.com
  • ECET 340 Week 2 iLab 2
  •  
  • For more course tutorials visit
  • www.newtonhelp.com
  •  
  • ECET 340 Week 2 iLab 2

8
ECET 340 Inspiring Minds/newtonhelp.com
  • ECET 340 Week 2 iLab Interrupts in C (100 Score)
  •  
  • For more course tutorials visit
  • www.newtonhelp.com
  •  
  • Objectives
  • 1.To become familiar with the configuring and
    enabling of interrupts

9
ECET 340 Inspiring Minds/newtonhelp.com
  • ECET 340 Week 3 HomeWork 3
  •  
  • For more course tutorials visit
  • www.newtonhelp.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)
  • 4. Write down the lines of C code (interrupt
    service routine, ISR) that generates an interrupt
    when Port H pin 0 becomes a logic 1. Within
    this ISR, disable interrupts, clear the interrupt
    flag, then enable

10
ECET 340 Inspiring Minds/newtonhelp.com
  • ECET 340 Week 3 iLab 3
  •  
  • For more course tutorials visit
  • www.newtonhelp.com
  •  
  • SOLVED ECET 340 iLAB3
  • OBJECTIVES
  • To learn the basic operation of a keypad.
  • To understand how to interface a keypad to a
    microprocessor.

11
ECET 340 Inspiring Minds/newtonhelp.com
  •  
  • ECET 340 Week 3 iLab Timers in C (100 Score)
  •  
  • For more course tutorials visit
  • www.newtonhelp.com
  •  
  • Objectives
  • 1.To become familiar with the configuring and
    enabling of timers
  • 2.Using the timer counter

12
ECET 340 Inspiring Minds/newtonhelp.com
  • ECET 340 Week 4 HomeWork 4
  •  
  • For more course tutorials visit
  • www.newtonhelp.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?
  •  

13
ECET 340 Inspiring Minds/newtonhelp.com
  • ECET 340 Week 4 iLab 4
  •  
  • For more course tutorials visit
  • www.newtonhelp.com
  •  
  • I. OBJECTIVES
  • To learn how to use A-to-D converters to digitize
    signals from analog input devices.

14
ECET 340 Inspiring Minds/newtonhelp.com
  • ECET 340 Week 4 iLabEvent Counter and DACs in C
    (100 Score)
  •  
  • For more course tutorials visit
  • www.newtonhelp.com
  •  
  • Objectives
  • 1.Become familiar with the configuring and
    enabling of the event counter.

15
ECET 340 Inspiring Minds/newtonhelp.com
  • ECET 340 Week 5 HomeWork 5
  •  
  • For more course tutorials visit
  • www.newtonhelp.com
  •  
  • 1. 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
  • a. The settling time
  • b. Accuracy at full scale output current (1.99
    mA), 25ºC

16
ECET 340 Inspiring Minds/newtonhelp.com
  •  
  • ECET 340 Week 5 iLab 5
  •  
  • For more course tutorials visit
  • www.newtonhelp.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

17
ECET 340 Inspiring Minds/newtonhelp.com
  • ECET 340 Week 5 iLab Analog to Digital Conversion
    in C (100 Score)
  •  
  • For more course tutorials visit
  • www.newtonhelp.com
  •  
  • Objectives
  • 1.To become familiar with the configuring and
    enabling of the analog-to-digital converter

18
ECET 340 Inspiring Minds/newtonhelp.com
  • ECET 340 Week 6 HomeWork 6
  •  
  • For more course tutorials visit
  • www.newtonhelp.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?
  •  
  • 3. What is the maximum time possible before the
    free-running counter overflows when the e MHz?
  •  
  • 4. Two input capture events occur at 0x1037 and
    0x002A. If the prescaler bits PR210 are set
    to 101 and the e clock is 24 MHz, how much time
    as transpired between the two events?
  •  

19
ECET 340 Inspiring Minds/newtonhelp.com
  • ECET 340 Week 6 iLab 6
  •  
  • For more course tutorials visit
  • www.newtonhelp.com
  •  
  • ECET 340 Week 6 iLab 6

20
ECET 340 Inspiring Minds/newtonhelp.com
  •  
  • ECET 340 Week 6 iLab Asynchronous Serial
    Communications in C (100 Score)
  •  
  • For more course tutorials visit
  • www.newtonhelp.com
  •  
  • Objectives
  • 1. To become familiar with the configuring and
    enabling of serial communication transmitter
  • 2. To configure the microcontroller to receive
    serial communications from another device
  • 1

21
ECET 340 Inspiring Minds/newtonhelp.com
  • ECET 340 Week 7 HomeWork 7
  •  
  • For more course tutorials visit
  • www.newtonhelp.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? 2
    points
  • 3. Calculate the number of steps per revolution
    for a stepper motor with a step angle of 7.5. 2
    points
  • 4. How is stepper motor speed controlled? State
    any two ways a program can do this. 2 points

22
ECET 340 Inspiring Minds/newtonhelp.com
  • ECET 340 Week 7 iLab 7
  •  
  • For more course tutorials visit
  • www.newtonhelp.com
  •  
  • ECET 340 Week 7 iLab 7

23
ECET 340 Inspiring Minds/newtonhelp.com
  • ECET 340 Week 7 iLab HVAC Automatic Temperature
    Controller (100 Score)
  •  
  • For more course tutorials visit
  • www.newtonhelp.com
  •  
  • Title HVAC Controller
  • I. OBJECTIVES
  • 1.To become familiar with the thermistor
  • 2.To use integrated modular programming
    techniques in developing the project

24
ECET 340 Inspiring Minds/newtonhelp.com
Write a Comment
User Comments (0)
About PowerShow.com