Cork Institute of Technology. Autumn 2006 Microcomputer Applications (Time: 2 Hours)

Similar documents
CORK INSTITUTE OF TECHNOLOGY INSTITIÚID TEICNEOLAÍOCHTA CHORCAÍ. Electrical and Electronic Engineering

MicroProcessor. MicroProcessor. MicroProcessor. MicroProcessor

UNIVERSITY OF BOLTON SCHOOL OF ENGINEERING MSC SYSTEMS ENGINEERING AND ENGINEERING MANAGEMENT SEMESTER 2 EXAMINATION 2016/2017

UNIVERSITY OF BOLTON SCHOOL OF ENGINEERING. BEng(Hons) Electrical and Electronics Engineering SEMESTER 1 EXAMINATION 2016/2017

Ali Karimpour Associate Professor Ferdowsi University of Mashhad

PART B UNIT II PART A

UNIT V MICRO CONTROLLER PROGRAMMING & APPLICATIONS TWO MARKS. 3.Give any two differences between microprocessor and micro controller.

Ali Karimpour Associate Professor Ferdowsi University of Mashhad

ELCT708 MicroLab Session #1 Introduction to Embedded Systems and Microcontrollers. Eng. Salma Hesham

In this tutorial, we will discuss the architecture, pin diagram and other key concepts of microprocessors.

BHARATHIDASAN ENGINEERING COLLEGE. III Year / V Semester / EEE MICROPROCESSORS AND MICROCONTROLLERS (R-2013)

Computer Hardware Requirements for Real-Time Applications

UNIVERSITY OF BOLTON SCHOOL OF ENGINEERING B.ENG (HONS) ELECTRICAL AND ELECTRONIC ENGINEERING EXAMINATION SEMESTER /2016

ELEG3923 Microprocessor Ch.0 & Ch.1 Introduction to Microcontroller

Registers Format. 4.1 I/O Port Address

Embedded Systems. PIC16F84A Internal Architecture. Eng. Anis Nazer First Semester

Computer Hardware Requirements for ERTSs: Microprocessors & Microcontrollers

University of Florida EEL 4744 Spring 2014 Dr. Eric M. Schwartz Department of Electrical & Computer Engineering 1 April Apr-14 9:03 AM

Bachelor of Engineering in Computer and Electronic Engineering

BASIC INTERFACING CONCEPTS

CS-424/580A Microcontrollers and Robotics

Microprocessors/Microcontrollers

Introduction to Microcontrollers

ELCT 912: Advanced Embedded Systems

Calendar Description

PIC Microcontroller Introduction

Fig 1. Block diagram of a microcomputer

DHANALAKSHMI COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING YEAR : III SEM : VI

EC4205 Microprocessor and Microcontroller

Skill Badge Requirements: Microcontrollers

b. List different system buses of 8085 microprocessor and give function of each bus. (8) Answer:

Introduction to Microprocessor

Figure 1.1: Some embedded device. In this course we shall learn microcontroller and FPGA based embedded system.

Rewa Engineering College, Rewa. Rewa Department OF Electrical Engineering

Microprocessors And Microcontroller

CENG-336 Introduction to Embedded Systems Development. Timers

Embedded Systems Lab Lab 1 Introduction to Microcontrollers Eng. Dalia A. Awad

Microprocessors and Interfacng. Question bank

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad

MICROCONTROLLERS 8051

Lecture (02) PIC16F84 (I)

1 Microprocessors 2 Microcontrollers 3 Actuation sensing, process control

MT2 Introduction Embedded Systems. MT2.1 Mechatronic systems

INTRODUCTION OF MICROPROCESSOR& INTERFACING DEVICES Introduction to Microprocessor Evolutions of Microprocessor

Introducing Microcontrollers System Design

The Atmel ATmega168A Microcontroller

revolution GETTING STARTED Appendix H - Frequently Asked Questions (FAQ). Section 1 92

Mechatronics and Measurement. Lecturer:Dung-An Wang Lecture 6

EC 6504 MICROPROCESSOR AND MICROCONTROLLER

Hong Kong Institute of Vocational Education Digital Electronics & Microcontroller. 8. Microcontroller

Computer Organization and Microprocessors SYLLABUS CHAPTER - 1 : BASIC STRUCTURE OF COMPUTERS CHAPTER - 3 : THE MEMORY SYSTEM

8051 MICROCONTROLLERS

The Freescale MC908JL16 Microcontroller

MLR INSTITUTE OF TECHNOLOGY DUNDIGAL , HYDERABAD

Computer Systems Architecture

PIC Microcontroller and

Table of Contents. Table of Contents Microcomputers Microcontroller Technology using the 32-Bit ARM Cortex M3

7. Discuss the hardware signals and superscalar architecture of Pentium BTL 2 Understand

Introduction to L.A.P. 1

MPLAB SIM. MPLAB IDE Software Simulation Engine Microchip Technology Incorporated MPLAB SIM Software Simulation Engine

ME 515 Mechatronics. A microprocessor

INDUSTRIAL TRAINING:6 MONTHS PROGRAM TEVATRON TECHNOLOGIES PVT LTD

EMBEDDED SYSTEM BASICS AND APPLICATION

CONSUMER ELECTRONICS Microwave Ovens

Microcontroller and Embedded Systems:

PIC16F87X. 28/40-pin 8-Bit CMOS FLASH Microcontrollers. Devices Included in this Data Sheet: Pin Diagram PDIP. Microcontroller Core Features:


8051 Microcontrollers

SARDAR RAJA COLLEGES SARDAR RAJA COLLEGE OF ENGINEERING ALANGULAM

Summer 2003 Lecture 21 07/15/03

Laboratory Exercise 5 - Analog to Digital Conversion

Embedded Systems Design (630414) Lecture 1 Introduction to Embedded Systems Prof. Kasim M. Al-Aubidy Computer Eng. Dept.

The Atmel ATmega328P Microcontroller

8.1.1 Objective and Relevance Scope Syllabus - JNTU Suggested Books Websites Experts Details. 8.1.

Segment 1A. Introduction to Microcomputer and Microprocessor

VALLIAMMAI ENGINEERING COLLEGE

e-pg Pathshala Subject : Computer Science Paper: Embedded System Module: 8051 Architecture Module No: CS/ES/5 Quadrant 1 e-text

The University of Texas at Arlington Lecture 21_Review

Lesson 14. Title of the Experiment: Introduction to Microcontroller (Activity number of the GCE Advanced Level practical Guide 27)

Jordan University of Science and Technology Electrical Engineering Department Microcontrollers and Embedded Systems Spring 2011

EMBEDDED SYSTEMS. Part I: Introduction and Hardware

DEVELOPMENT OF USER FRIENDLY DATA ACQUISITION AND ACTUATION SYSTEM ON EMBEDDED PLATFORM

EE 390 Lab Manual, EE Department, KFUPM. Experiment #7. Introduction to Flight86 Microprocessor Trainer and Application Board

Microprocessors and Microcontrollers. Assignment 1:

Department of Electronics and Instrumentation Engineering Question Bank

Microcontrollers and Applications. Revised Edition

MECE336 Microprocessors I

8051 Peripherals. On-Chip Memory Timers Serial Port Interrupts. Computer Engineering Timers

Syllabus for Bachelor of Technology. Computer Engineering. Subject Code: 01CE0501. Subject Name: Microprocessor Fundamentals & Programming

LABORATORY USE OF A MICROCOMPUTER (Last Revision: August 27, 2000)

3. (a) Explain the steps involved in the Interfacing of an I/O device (b) Explain various methods of interfacing of I/O devices.

SquareWear Programming Reference 1.0 Oct 10, 2012

MICROCONTROLLER AND PLC LAB-436 SEMESTER-5

THE 8051 MICROCONTROLLER

EasyPIC5 Development System

TEVATRON TECHNOLOGIES PVT. LTD Embedded! Robotics! IoT! VLSI Design! Projects! Technical Consultancy! Education! STEM! Software!

Chapter 2 Logic Gates and Introduction to Computer Architecture

General Purpose Programmable Peripheral Devices. Assistant Professor, EC Dept., Sankalchand Patel College of Engg.,Visnagar

Exercise 4-1. DSP Peripherals EXERCISE OBJECTIVES

Introduction. Embedded system functionality aspects. Processing. Storage. Communication. Transformation of data Implemented using processors

Transcription:

Cork Institute of Technology Bachelor of Engineering in Applied Electronic Design - Stage 3 Bachelor of Engineering in Electronic Automation and Robotics - Stage 3 Bachelor of Engineering in Communication Systems - Stage 3 Answer THREE questions. (NFQ Level 7) Autumn 2006 Microcomputer Applications (Time: 2 Hours) Examiners: Mr. F. O Reilly Mr. P. Watson Mr. J. Berry Dr. R. O Dubhghaill Q1 (a) Compare and contrast microprocessors and micro-controllers. What advantages, disadvantages does each have? [8 marks] (b) For the following applications identify, (i) Approximate no of Input & Outputs (ii) Estimate of speed/performance required. (iii) Complexity/Range of algorithms/programmes to execute. Applications Handheld Remote Control for TV/Video. Microwave Oven with digital timer and programmer. PlayStation Portable (PSP) handheld games console. From the following micro-controller/microprocessors, suggest suitable models and why for each of the above applications. Embedded 8051 Low Cost IC, Motorola 68000 processor, Intel Pentium 3 family, Microchip PIC. [15 marks]

(c) As a member of an 8-bit micro-processor usage team, you are tasked to devise a scheme to vary the number of special registers from 200(basic model) to 800(advanced model), while being restricted to using only 8 bits(max of 256) to describe which register is in use. Can you suggest a scheme to do this? Which micro-processors/micro-controller currently use such a technique? [10 marks] Q2 (a) Interrupt handling is important for embedded systems. Explain what happens when an interrupt occurs in the PIC and how the interrupt should be handled. Explain what memory addresses are used, the different types of interrupts available and how they can be differentiated. [12 marks] (b) Explain the operation and configuration of Timer 2 on the PIC micro-controller. Derive the following formula for the preload value. [10 marks] Pre-load Value = Time * FOSC (Using Internal Clock) Prescalar * 4 (c) Calculate the pre-load value for the 16c74 micro-controller to generate a 4.0 khz square wave using Timer2, showing in code how the value would be loaded in. Assume a clock of 4MHz. [12 marks]

Q3 (a) You have an analog signal with a maximum frequency of 4KHz which varies in voltage from 0 -> 5V. You wish to digitise this into a numerical value at a regular sampling interval. Describe how this can be done with a Microchip PIC, describing the manipulation of the input levels, range of output values and any key registers used both in the configuration and operation. How does one know one of these conversions will have completed? [14 marks] (b) Write the configuration, interrupt handling and data reading sections of a PIC assembly language program for the 16c74 micro-controller, which continually reads in an analogue voltage from 0 -> 5V on RA0 and outputs it in binary format on PORTB. [20 marks] Q4 (a) What peripheral device is used on the PIC to achieve a Serial Data interface? How would this be configured to give an asynchronous serial interface at 7200 baud? Calculate the baud rate generator configuration value and show how it would be loaded. Explain, naming the registers and pins used, how it can be used to Transmit data serially. Receive data serially. [16 marks] (b) Describe, using diagrams, the principle of how a 16 key-keypad can be read from a microcontroller/micro-processor. How many input/outputs are needed and provide an example of how a particular key press (no 5) would be determined and identified. You should explain the algorithm to determine which key has been pressed with a flowchart. [18 marks]