TRON06050 2019 Microcontroller Interfacing
This module introduces students to C programming for the purpose of interfacing an 8-bit microcontroller to various peripherals in an embedded system.
Learning Outcomes
On completion of this module the learner will/should be able to;
Explain the disassembly of a C program.
Design schematics to perform hardware interfacing of a microcontroller to various peripheral devices.
Write C programs to perform software interfacing of a microcontroller to various peripheral devices.
Use an Integrated Development Environment, a C Compiler and Debugger to program a target device.
Employ timers and interrupts appropriately in typical engineering applications.
Teaching and Learning Strategies
It is proposed that a workplace engagement component will be introduced to this module via a guest lecturer from industry, an industrial site visit or a work-based assignment where possible.
Indicative Syllabus
Introduction to an Integrated Development Environment, a C Compiler and a Debugger System for an 8-bit microcontroller.
Fundamentals of C Programming for an 8-bit microcontroller.
Comparison of an Assembly Program and a corresponding C Program for a microcontroller application.
C routines for Rotating LEDs and Controlling Seven Segment Displays.
Flashing LEDs with in-built time delay functions.
Echoing a Push Button to an LED in C.
An Algorithm for Scanning a Keypad.
Timer Module: Multiplexing Seven Segment Displays.
Event Counting: Internal Pull-Up Resistors, Switch Bounce, Hardware Switch Debounce.
Interrupts: External Interrupt in C, Software Switch Debounce.
Hardware and Software LCD Interfacing.
Coursework & Assessment Breakdown
Coursework Assessment
Title | Type | Form | Percent | Week | Learning Outcomes Assessed | |
---|---|---|---|---|---|---|
1 | Practical Evaluation Lab Assignments | Coursework Assessment | Assignment | 15 % | OnGoing | 1,2,3,4,5 |
2 | Continuous Assessment Written Exam | Coursework Assessment | Closed Book Exam | 15 % | Week 6 | 1,2,3,5 |
3 | Moodle Quizzes | Coursework Assessment | Open Book Exam | 10 % | Any | 1,2,3,4,5 |
End of Semester / Year Assessment
Title | Type | Form | Percent | Week | Learning Outcomes Assessed | |
---|---|---|---|---|---|---|
1 | Final Exam Written Exam | Final Exam | Closed Book Exam | 60 % | End of Term | 1,2,3,5 |
Full Time Mode Workload
Type | Location | Description | Hours | Frequency | Avg Workload |
---|---|---|---|---|---|
Lecture | Flat Classroom | Theory Lecture | 2 | Weekly | 2.00 |
Practical / Laboratory | Engineering Laboratory | Practical | 2 | Weekly | 2.00 |
Independent Learning | Not Specified | Independent Learning | 3 | Weekly | 3.00 |
Online Learning Mode Workload
Type | Location | Description | Hours | Frequency | Avg Workload |
---|---|---|---|---|---|
Lecture | Not Specified | Theory Lecture | 1 | Weekly | 1.00 |
Practical / Laboratory | Not Specified | Practical | 0.5 | Weekly | 0.50 |
Independent Learning | Not Specified | Independent Learning | 5.5 | Weekly | 5.50 |
Required & Recommended Book List
2009-11-09 Designing Embedded Systems with PIC Microcontrollers: Principles and Applications Newnes
ISBN 1856177505 ISBN-13 9781856177504
New, ship fast, delivered in 5-7 days in UK, No PO BOX.
2014-04-16 PIC Microcontroller Projects in C: Basic to Advanced Newnes
ISBN 0080999247 ISBN-13 9780080999241
[ PIC Microcontroller Projects in C: Basic to Advanced (Revised) By ( Author ) May-2014 Paperback
Module Resources
The 8051 Microcontroller, I.Scott MacKenzie, Prentice Hall.
EdSim51's Guide to the 8051 Microcontroller, J.Rogers, CreateSpace Independent Publishing Platform.
Patterns for Time-Triggered Embedded Systems, M.J.Pont, Addison Wesley.
Microcontroller Projects in C, D.Ibrahim, Newnes.
Not Applicable
MPLAB-X IDE and XC8 compiler installed in Electronics labs.
Microcontroller Debuggers and Target boards in Electronics labs.
Proteus Schematic Capture and Microcontroller Simulator Software.
None