



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
An examination paper for the microcomputer applications module (eltr7019) in the bachelor of engineering in electronic engineering program at the cork institute of technology. Three questions covering topics such as microprocessors and microcontrollers, memory configuration, and analog to digital converters. Students are required to answer all questions within a 2-hour duration.
Typology: Exams
1 / 7
This page cannot be seen from the preview
Don't miss anything!




Semester 1 Examinations 2012/
Module Code: ELTR
School: Mechanical, Electrical & Process Engineering
Programme Title: Bachelor of Engineering in Electronic Engineering - Award
Programme Code: EELXE_7_Y
External Examiner(s): Mr Traoloch O’Brien, Mr Ian Kennedy Internal Examiner(s): Mr F. O’Reilly
Instructions: Answer 3 Questions. All questions carry equal marks.
Duration: 2 Hours
Sitting: Winter 2012/
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) Compare and contrast microprocessors and micro-controllers. What advantages, disadvantages does each have? [9 marks]
(b) You have the following selection of micro-processors/micro-controllers available to you for a number of projects: (i) Motorola 68000 based embedded processor (68332 ), (ii) Intel Core 2 x86 Processor, (iii) Microchip PIC 18f452. (iv) 8051 8-bit Microcontroller.
Outline 4 categories/requirements you would examine each application under
Then for each of the following application choose one and say why you think it is appropriate to that application. Untrasonic measuring unit which displays on a small screen. ATM cash dispenser which can double as on-line banking kiosk. Microwave oven with digital timer and programmer. [9 marks] (c) Describe your understanding of the memory configuration and usage in the PIC18f452 micro-controller. You should discuss how the program memory is organised and how the data memory is organised and what is kept in each part or memory. [8 marks] [Total: 34 marks]
Q3 (a) Describe the capabilities and operation of the Analog to Digital Converter Unit of the Microchip PIC, explaining. i. The possible input signal levels. ii. The number of possible inputs iii. The possible output values. iv. Key registers used both in the configuration. v. Key registers during the operation. vi. How does one know a conversion has completed? [14 marks]
(b) Write the configuration, interrupt handling and data reading sections of a PIC assembly language program for the 18f452 micro-controller, which continually reads in an analogue voltage from 0 -> 5V 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 9600 baud? Calculate the baud rate generator configuration value and show how it would be loaded. What is the percentage error in the final baud rate? [8 marks]
Explain one of the following, naming the registers and pins used. How it transmits data serially. or How it receives data serially. [8 marks]
(b) Describe, using diagrams, the principle of how a 16 key-keypad can be read from a micro-controller/micro-processor. How many input/outputs are needed and provide an example of how a particular key press (no 4) would be determined and identified. You should explain the algorithm to determine which key has been pressed with a flowchart. [18 marks] [Total: 34 marks]