TRON06050 2019 Microcontroller Interfacing

General Details

Full Title
Microcontroller Interfacing
Transcript Title
Microcontroller Interfacing
Code
TRON06050
Attendance
N/A %
Subject Area
TRON - Electronics
Department
COEL - Computing & Electronic Eng
Level
06 - Level 6
Credit
05 - 05 Credits
Duration
Semester
Fee
Start Term
2019 - Full Academic Year 2019-20
End Term
9999 - The End of Time
Author(s)
Fergal Henry
Programme Membership
SG_EELCO_B07 201900 Bachelor of Engineering in Engineering in Electronic and Computing SG_EAUTM_N06 201900 Certificate in Automation and Electronics SG_EELCO_C06 201900 Higher Certificate in Engineering in Electronic and Computing SG_EELCO_B07 202200 Bachelor of Engineering in Electronic and Computing
Description

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;

1.

Explain the disassembly of a C program.

2.

Design schematics to perform hardware interfacing of a microcontroller to various peripheral devices.

3.

Write C programs to perform software interfacing of a microcontroller to various peripheral devices.

4.

Use an Integrated Development Environment, a C Compiler and Debugger to program a target device.

5.

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 & Continuous Assessment
40 %
End of Semester / Year Formal Exam
60 %

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
Total Full Time Average Weekly Learner Contact Time 4.00 Hours

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
Total Online Learning Average Weekly Learner Contact Time 1.50 Hours

Required & Recommended Book List

Required Reading
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.

Required Reading
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

Non ISBN Literary 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.

Journal Resources

Not Applicable

Other Resources

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.

Additional Information

None