




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 from the cork institute of technology, semester 1, 2010/11, for the module microcomputer applications (eltr7019) in the bachelor of engineering in electronic engineering program. The paper includes three questions covering topics such as microprocessors and microcontrollers, interrupts, timers, and analog-to-digital converters. Students are required to answer questions related to comparing microprocessors and microcontrollers, identifying suitable processors for various applications, designing a microprocessor with variable special registers, understanding interrupts and their handling in the pic, configuring and using timer 2 in the pic, reading analog voltage inputs and outputting binary data, and achieving a serial data interface and connecting an lcd display to the pic.
Typology: Exams
1 / 8
This page cannot be seen from the preview
Don't miss anything!





Semester 1 Examinations 2010/
Module Code: ELTR
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, Mr I. Kennedy
Internal Examiner(s): Mr F. O’Reilly
Instructions: Answer 3 Questions. All questions carry equal marks.
Duration: 2 Hours
Sitting: Autumn 2011
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? [8 marks]
(b) You have the following selection of micro-processors/micro-controllers available to you for a number of projects: (i) Low Power Motorola 68000 (20MHz), (ii) Microchip PIC 16c74 (4 MHz), (iii) AMD/Intel Pentium Clone (500 MHz), (iv) Analog Devices 8051(2MHz) compatible micro-controller. For each of the following applications identify (i) Approximate number of Input & Outputs (ii) Estimate of speed/performance required. (iii) Complexity/Range of algorithms/programmes to execute. Applications: DVD Player Remote Control Unit Handheld Music Player such as an iPod/Zen General Purpose home computer Choose one of the above processors for each application saying why you think it is appropriate to the application. [16 marks] (c) As a member of an 8-bit micro-processor design team, you are tasked to devise a scheme to vary the number of special registers from 200 (basic model) to 400(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 uses such a technique? [10 marks] [Total: 34 marks]
Q2 (a) Embedded/Micro-computer applications often use interrupts to signal events. Explain what an interrupt is and using the PIC as an example 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
Q4 (a) How can a Serial Data interface be achieved on the PIC micro-controller? Explain how, with reference to the data sheet, this can be configured to give an asynchronous serial interface at 2400 baud? Calculate the baud rate generator configuration value and show how it would be loaded. Naming the physical pins used, show how it can be used to: Transmit data serially, explaining how the data moves from the PIC. Receive data serially, explaining the configuration needed to receive. [16 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]
PIC Pin-outs 40 Pin DIP Package