FOR MORE CLASSES VISIT www.ecet340cart.com.   ECET 340 Week 1 HomeWork 1  ECET 340 Week 1 iLab 1  ECET 340 Week 2 HomeWork 2  ECET 340 Week 2 iLab.

Slides:



Advertisements
Similar presentations
1 ECE 372 – Microcontroller Design Parallel IO Ports - Outputs Parallel IO Ports E.g. Port T, Port AD Used to interface with many devices Switches LEDs.
Advertisements

MC68HC11 System Overview. System block diagram (A8 version)
Programmable Interval Timer
Analog-to-Digital Converter (ADC) And
Sistemi Elettronici Programmabili13-1 MULTI OSC + CLOCK FILTER LVD POWER SUPPLY CONTROL 8 BIT CORE ALU PROGRAM MEMORY RAM I2CI2C PORT A SPI PORT B 16-BIT.
EEE226 MICROPROCESSORBY DR. ZAINI ABDUL HALIM School of Electrical & Electronic Engineering USM.
1 Lab2: A/D Converter. 2 This circuit connects a variable voltage to an A/D port on the AVR mcu. Your software running on the AVR mcu will read the digital.
Data acquisition and manipulation
ECE 372 – Microcontroller Design Parallel IO Ports - Interrupts
Counter Circuits and VHDL State Machines
Introduction to Microprocessors Number Systems and Conversions No /6/00 Chapter 1: Introduction to 68HC11 The 68HC11 Microcontroller.
Railway Foundation Electronic, Electrical and Processor Engineering.
1 ECE 263 Embedded System Design Lessons 2, 3 68HC12 Hardware Overview, Subsystems, and memory System.
Railway Foundation Electronic, Electrical and Processor Engineering.
ASPPRATECH.
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
UNIT 8 Keypad Interface Contact Closure Counter Exceptions (Interrupts and Reset)
Ch. 9 Interrupt Programming and Real-Time Sysstems From Valvano’s Introduction to Embedded Systems.
ECE-L304 Lecture 5. 2 Step 3 Lab Complete 8-pin header Data Bus Test Port Resistor Array LED Array Timing & Filter Components Self-Clocked ADC DAC External.
ACOE2551 Microprocessors Data Converters Analog to Digital Converters (ADC) –Convert an analog quantity (voltage, current) into a digital code Digital.
ECE 353 Introduction to Microprocessor Systems Michael G. Morrow, P.E. Week 8.
ELEC4601 Microprocessor systems Lab 3 Tutorial
Data Acquisition Systems
Other Chapters From the text by Valvano: Introduction to Embedded Systems: Interfacing to the Freescale 9S12.
MICROPROCESSOR AND MICRO CONTROLLER LAB
MICROPROCESSOR AND MICRO CONTROLLER
MICROCONTROLLER SYSTEMS Part 1. Figure 1.1Elements of a digital controller CPU Central Processing Unit Input Peripherals Output Peripherals ROM Read Only.
Atmel Atmega128 Overview ALU Particulars RISC Architecture 133, Mostly single cycle instructions 2 Address instructions (opcode, Rs, Rd, offset) 32x8 Register.
ENG3640 Review and Exam Question1 ENG3640 Microcomputer Interfacing Review & Final Exam Structure.
Representing Numerical Data Analog Any signal that varies continuously over time Mechanical Pneumatic Hydraulic Electrical Digital Quantities are represented.
ELE22MIC Lecture 9 MULTIPLEXOR - DATA SELECTOR DEMULTIPLEXOR - DATA DISTRIBUTOR Parallel to Serial Data Conversion External Address Bus Latching Address.
1 Interrupts, Resets Today: First Hour: Interrupts –Section 5.2 of Huang’s Textbook –In-class Activity #1 Second Hour: More Interrupts Section 5.2 of Huang’s.
8254 Timer.
Module 11 Adapted By and Prepared James Tan © 2001.
Analog/Digital Conversion
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction Purpose  This course provides an introduction to the peripheral functions.
CSE466 - Fall What is an Embedded System  Its not a desktop system  Fixed or semi-fixed functionality (not user programmable)  Lacks some or.
ECET 340 Entire Course (All ilabs and Homework) For more classes visit ECET 340 Week 1 HomeWork 1 ECET 340 Week 1 iLab 1 ECET 340.
Components of a typical full-featured microcontroller.
MICROCONTROLLER INTERFACING WITH STEPPER MOTOR MADE BY: Pruthvirajsinh Jadeja ( ) COLLEGE:DIET BRANCH:EC.
For more course tutorials visit ECET 365 Entire Course (All Labs and Quizzes) (Devry) ECET 365 Lab 1 Using the Serial Communication Interface.
MICROPROCESSOR INTEL 8086/8088 BY: SERA SYARMILA SAMEON.
CEng3361/18 CENG 336 INT. TO EMBEDDED SYSTEMS DEVELOPMENT Spring 2007 Recitation 01.
BITS Pilani Pilani Campus Pawan Sharma ES C263 Microprocessor Programming and Interfacing.
1. PIC ADC  PIC18F877 has 8 analog input channels i.e. port A pins(RA0 to RA5) and port E pins(RE1 and RE2). These pins are used as Analog input pins.
For more course tutorials visit ECET 365 Entire Course (All Labs and Quizzes) (Devry) For more course tutorials visit
Case Study #1 Microcontroller System. What is a microcontroller? A microcontroller can be considered a self-contained system with a processor, memory.
EET 2259 Unit 12 Data Acquisition
Popular Microcontrollers and their Selection by Lachit Dutta
Homework Reading Machine Projects Labs
Timer and Interrupts.
ECE 353 Introduction to Microprocessor Systems
ECE-L304 Lecture 3.
E3165 DIGITAL ELECTRONIC SYSTEM
ECET 340 Competitive Success/snaptutorial.com
ECET 402 Competitive Success/snaptutorial.com
ECET 340 Education for Service-- snaptutorial.com.
ECET 402 Education for Service-- snaptutorial.com.
ECET 340 Education for Service/tutorialrank.com
ECET 365 Education for Service/tutorialrank.com
ECET 340 Teaching Effectively-- snaptutorial.com.
ECET 402 Teaching Effectively-- snaptutorial.com.
Introduction to Microprocessors and Microcontrollers
EET 2259 Unit 12 Data Acquisition
Chapter 7 Features and Interfacing of Programmable Devices for 8085 based systems.
Lesson 8: Analog Signal Conversion
Conversation between Analogue and Digital System
ADC and DAC Data Converter
Compiled by Dr. N.Shanmugasundaram, HOD, ECE Dept, SECE.
ADC and DAC Data Converter
Presentation transcript:

FOR MORE CLASSES VISIT

  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  ECET 340 Week 3 iLab 3  ECET 340 Week 4 HomeWork 4  ECET 340 Week 4 iLab 4  ECET 340 Week 5 HomeWork 5  ECET 340 Week 5 iLab 5  ECET 340 Week 6 HomeWork 6  ECET 340 Week 6 iLab 6

 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)

 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.  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.

 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  4. Before exiting an ISR, the programmer should use which command? +2 points  5. In which one of the following sequences is the stack pulled by rti? +3 points  6. Given the starting address for the TC0 Interrupt is to become $5000. Write the assembly instruction necessary to place this ISR address into the interrupt vector table and then unmask the interrupt (assembly only). +3 points

 ECET 340 Week 2 iLab 2

 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)

 SOLVED ECET 340 iLAB3  OBJECTIVES:  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.  To learn how to program a keypad activated interrupt that identifies the key being pressed and displays or otherwise returns its value to the main program.

 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.

 I. OBJECTIVES:  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.

 1. Explain, briefly, why an analog restoring filter is sometimes used at the output of a DAC.  2. Give Iref = 2 mA for a DAC1408 IC, find Iout for the input  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 MC version, the following:  a. The settling time  b. Accuracy at full scale output current (1.99 mA), 25ºC

 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  peripheral.  Deliverables  For this lab, the deliverables include the cover sheet,  filled-in sections of the lab report, photographs (online), or instructor  sign-offs (onsite), and answers to the questions. The cover sheet must be  completed in typed format.

 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 PR[2:1:0] are set to 101 and the e clock is 24 MHz, how much time as transpired between the two events?

 ECET 340 Week 6 iLab 6 (Devry)

 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

 ECET 340 Week 7 iLab 7

FOR MORE CLASSES VISIT