



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Main points of this exam paper are: Scrolling Led Based Event, Categories, a Micro-Controller or Microprocessor, Electronic Keyfob, Computer, Information, Input
Typology: Exams
1 / 7
This page cannot be seen from the preview
Don't miss anything!




Semester 1 Examinations 2009/
Module Code: ELTR 7019
School: Electrical and Electronic Engineering
Programme Title: Bachelor of Engineering in Electronic Engineering - Award
Programme Code: EELXE_7_Y
External Examiner(s): Dr. A. Donnellan Dr. P. O’Sullivan Internal Examiner(s): Mr. F. O’Reilly
Instructions: Answer 3 Questions. All questions carry equal marks.
Duration: 2 Hours
Sitting: Winter 2009
Requirements for this examination:
Note to Candidates: Please check the Programme Title and the Module Title to ensure that you have received the correct examination paper. If in doubt please contact an Invigilator.
Q1 (a) List four categories/criteria under which one might examine an application to decide whether to use a micro-controller or microprocessor? [9 marks]
(b) The following is a set of embedded electronics applications. o Electronic KeyFob/Door Opener. o Scrolling LED based Event List/Sign as used in a Hotel Foyer. o Computer to be placed in a Information Kiosk to give map/tourist directions.
For the each of the applications listed identify, (i) Approximate number of Input & Outputs (ii) Estimate of speed/performance required. (iii) Complexity/Range of algorithms/programmes to execute. (9 marks) From the following micro-controller/microprocessors choices suggest and justify suitable models for each of the above applications. 8051 8-bit microcontroller, Intel Pentium 3 family, Microchip PIC, Motorola 68332 Micro-controller (6 marks) [15 marks] (c) The PIC 16c74 arranges its memory into two register banks. What advantages/disadvantages does this have? How do you control which register bank is addressed/selected at any time? [10 marks] [Total: 34 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 -> 3V on RA2 and outputs it in binary format on PORTC. [20 marks] [Total: 34 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 4800 baud? Calculate the baud rate generator configuration value and show how it would be loaded. [8 marks]
Explain using a diagram how it operates to Transmit data serially or Receive data serially You are required to examine only one case above, explaining the registers and pins used. [8 marks]
(b) Describe how a LCD Display unit can be connected to a micro-processor/micro- controller and used to display text. Describe the input signals necessary for the LCD unit and how a micro-processor can supply these. Provide sample code to show how the LCD control can be done, paying particular attention to the slowness of the LCD unit. [18 marks] [Total: 34 marks]