



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: Memory Configuration, Applications, Microprocessors, Specific Features, Selection, Number of Projects, Digital Camera
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 (Hons) in Electronic Systems Engineering
Programme Code: EELES_8_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) Microprocessors have been around since the 1970s, yet micro-controllers in their applications are relatively new, the last 10 or 15 years. Why have micro-controller evolved from microprocesors? What specific features do they have that makes them different from micro-processors? [9 marks]
(b) You have the following selection of micro-processors/micro-controllers available to you for a number of projects: (i) Atmel AVR 8 bit micro-controller, 4 MHz (ii) Intel Atom Processor, x86/PC compatible microprocessor, 1.5GHz (iii) Microchip PIC 18f452 micro-controller 10MHz (iv) ARM 7 based 32 bit micro-controller (50MHz)
Outline 4 categories/requirements you would examine each application under to
Then for each of the following application choose one and justify why it is appropriate to that application. Digital Camera with rapid image compression & multishot mode. Untrasonic measuring unit which displays on a small screen. Tablet/pocket computer which can run MS-Windows. [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]
(c) 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) You wish to connect a PIC microcontroller to a data logger over a 3 metre serial cable. The cable is 3 wire, (Tx, Rx and GND) and the data logger operates serial at TTL(5v) levels. What features of the PIC would you use to achieve this connectioon and show how it would be wired? [4 marks]
How would you configure the PIC to give an asynchronous serial interface at 4800 baud? Calculate the baud rate generator configuration value and show how it would be loaded. [4 marks]
Explain one of the following, naming the registers and pins used. How the PIC can transmits data serially. or How the PIC can receives data serially. [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]