MICROCONTROLLER LAB (CCE)

SHE Level 3
SCQF Credit Points 10.00
ECTS Credit Points 5.00
Module Code M3H624911
Module Leader Martin MacDonald
School School of Computing, Engineering and Built Environment
Subject SCEBE - School Office
Trimesters
  • A (September start)
  • B (January start)

Summary of Content

This course develops the student's knowledge and understanding of typical microcontroller systems, building on CPU architecture and fundamentals of high-level language programming by using appropriate development tools for programming. On completion, the student will have an expanded grasp of microcontroller architecture, instruction set architecture, and peripheral interfaces in the context of program development and system performance for the embedded environment. The student will also gain additional skills and knowledge to design, implement and debug system solutions using a high-level language and an appropriate integrated development environment.

Syllabus

The teaching syllabus will cover the following experiments: Lab 1: Bit Masking Lab 2: Sum of series of numbers Lab 3: Sorting of an array Lab 4: Simple IO simulation Lab 5: LCD Interfacing Lab 6: 7-Segment display Interfacing Lab 7: Stepper Motor Interfacing Lab 8: Serial Communication Lab 9: Data Acquisition System Lab 10: PWM Waveform Generation Lab 11: Real-Time Interrupt

Learning Outcomes

On completion of this module the student should be able to:1. Demonstrate the use of Integrated Development Environment tools to develop, test, analyse and debug programs for use on the target microprocessor system (AM1, AM4)2. Use the instruction set architecture of the CPU and the support offered to high-level language programming. (AM1,AM4)3. Implement common interface applications using the basic functions of peripherals available in a typical Microcontroller system. (AM1,AM4)4. Develop the code to configure and use the ports available in a typical microcontroller for simple I/O interface applications. (AM1,AM4)

Teaching / Learning Strategy

The main teaching method will be based on laboratory exercises used to relate theoretical concepts to practical experience. The students will be expected to perform directed reading exercises and self-learning exercises on emerging technologies.

Indicative Reading

Text Book: 1. Steven Frank Barrett and Daniel J. Pack. (2005).Embedded systems design and applications with the 68HC12 and HCS12, 1st ed. Pearson/Prentice Hall. Reference Books: 1. Pack, D & Barrett, S. (2002). 68HC12 Microcontroller: theory and applications, Upper Saddle River, New Jersey: Prentice-Hall Inc. 2. G. Jack Lipovski. (2004).Introduction to Microcontrollers: architecture, programming, and interfacing for the Freescale 68HC12. 2nd ed. Elsevier Academic Press.

Transferrable Skills

Use of IT and Interpersonal/team skills Communication/Literacy/Linguistic/Critical Evaluation

Module Structure

Activity Total Hours
Assessment (FT) 8.00
Independent Learning (FT) 64.00
Practicals (FT) 28.00

Assessment Methods

Component Duration Weighting Threshold Description
Exam (School) 1.50 25.00 35% Mid Term Lab test: 25%
Exam (School) 1.50 25.00 35% End Term Lab test:25%
Coursework 1 n/a 50.00 35% Skill card+ Viva voice+ Lab Report: 50%