NG1S904 - C Programming for Electronic Hardware Applications 01 Jul 2017 - 31 Aug 2022 | Version 2

Associated Module Information

Module Code: NG1S904
Module Title: C Programming for Electronic Hardware Applications
Faculty: Faculty of Computing, Engineering and Science
Faculty Group: Information and Electronics
Faculty Sub Group: Electronics
Module Leader: David Scammell
Module Team: Jurgen Richter, Eurfyl Davies, Ali Roula
First Intended Intake: SEP 2015 Final Year of Intake:
Date Closed:
Credit Value: 20 Credit Level: 4
Language: English
Percentage of Module Taught in Welsh: 0
Equivalent Module:
HECOS codes: 100163 - electrical and electronic engineering
HECOS Code Weighting: 100

Document Version Information

Version 2
Valid From 01 Jul 2017
Valid To 31 Aug 2022

Module Aims

To understand the need for integrated programmable embedded systems in Electronic Product Development.  To use the technical literature to design the essential interfaces such as the oscillator and reset circuits along with the configuration of the special function registers for simple basic input and output, interrupts and timers as well as Analogue to Digital conversion. To use the 'C' programming language in the development of embedded solutions.

Content Summary

This will require students to understand the mechanics of programming with high level languages along with the constructs and syntax of the programming language. The focus will be on the development of embedded solutions using the Microchip PIC16F877a microcontroller and the Proteus VSM schematic entry and simulation environment. The course content will include:-

Basics of software development and coding style.

Introduction to Proteus IDE, and the HiTech 'C' compiler

Introduction to Embedded Computer Architectures and essential circuits

Linking Hardware and Software

Data Representation

Basic Declarations and Expressions

Elements of a Program

Superloop software architectures for Embedded Applications

Multistate input/timed systems

Software control of interfaced components to the microcontroller to demonstrate I/O capabilities

Introduction to interrupts and the available interrupt sources for the PIC16F877a

 

 

 

Learning and Teaching Methods

Activity Type Hours
Practical classes and workshops 52
Independent Study 98
Directed Study 50
Total Hours Selected 200

Learning Outcomes

# Learning Outcome
LO1 Students will be able to understand the constructs and concepts of the 'C' programming language and the organisation of a microcontroller's architecture, peripheral sets and special function register used in the development of embedded applications
LO2 Understanding the VSM simulation tools and the circuit design of interfacing components to a microcontroller

Module Requisites

N/A

Assessment Criteria

Assessment Category Assessment Type Description Duration Word Count Weight (%) Best of? Pass Mark
Practical _Practical Assessment 2 Designing Application using Mullt-State Input Timed Software Systems 600 N/A 50 No 40
Practical _Practical Assessment 1 Designing Embedded Applications using Multi-State software Systems 600 N/A 50 No 40

Assessment Matrix

Assessment Type Learning Outcomes
LO1 LO2
_Practical Assessment 2
_Practical Assessment 1

Reading List

Martin P. Bates(2013), Interfacing PIC Microcontrollers: Embedded Design by Interactive Simulation, Newnes, ISBN-13: 978-0080993638, 2013

Muhammad Ali Mazidi(2008), PIC Microcontroller and Embedded Systems, Pearson, ISBN-13:978-0-13-119404-5

Chuck Hellebuyck(2008), Beginner's Guide To Embedded C Programming: Using The Pic Microcontroller And The Hitech Picc-Lite C Compiler, CreateSpace Independent Publishing Platform, ISBN-13: 978-1438231594

Michael J. Pont(2003), 'Embedded C', Addison Wesley, ISBN: 0-201-79523-X

Ed Sutter(2002), 'Embedded Systems: Firmware Demystified', Ed Sutter, CMP Books, ISBN: 1-57820-099-7