Module Details

Module Code: INTR6002
Title: Embedded Programming
Long Title: Embedded Programming
NFQ Level: Fundamental
Valid From: Semester 1 - 2020/21 ( September 2020 )
Duration: 1 Semester
Credits: 5
Field of Study: 5213 - Interdisciplinary Engineering
Module Delivered in: 3 programme(s)
Module Description: This module introduces programming with a particular emphasis on designing code for microcontrollers and embedded systems. A high-level language is used to introduce the essential elements of programming, and, throughout the module, microcontrollers, robots and IoT are used to demonstrate embedded systems programming in a practical manner.
 
Learning Outcomes
On successful completion of this module the learner will be able to:
# Learning Outcome Description
LO1 Describe common high-level language commands.
LO2 Show how to use conditional branching and program loops.
LO3 Use modular programming for a set of given tasks.
LO4 Design software solutions for embedded systems.
LO5 Apply digital interfacing between the embedded system and the outside world.
LO6 Demonstrate the ability to organise and participate productively in a team project.
Dependencies
Module Recommendations

This is prior learning (or a practical skill) that is strongly recommended before enrolment in this module. You may enrol in this module if you have not acquired the recommended learning but you will have considerable difficulty in passing (i.e. achieving the learning outcomes of) the module. While the prior learning is expressed as named MTU module(s) it also allows for learning (in another module or modules) which is equivalent to the learning specified in the named module(s).

Incompatible Modules
These are modules which have learning outcomes that are too similar to the learning outcomes of this module. You may not earn additional credit for the same learning and therefore you may not enrol in this module if you have successfully completed any modules in the incompatible list.
No incompatible modules listed
Co-requisite Modules
No Co-requisite modules listed
Requirements

This is prior learning (or a practical skill) that is mandatory before enrolment in this module is allowed. You may not enrol on this module if you have not acquired the learning specified in this section.

No requirements listed
 
Indicative Content
Introduction to embedded systems
Overview of embedded systems, Microcontrollers, Internet-of-Things (IoT), embedded systems interfacing, current sourcing and sinking, voltage thresholds.
Data types
Numeric data types, variables, constants, enumerated type, structures, arrays
Control Structures
if … else, switch ... case, logical operators.
Loops
Count controlled loops, condition-controlled loops, continue, break.
GPIO
Microcontroller general purpose input-output pins, pin read/write, pull-up/pull-down resistors, analog/digital & digital/analog converters, pulse width modulation (PWM).
Modular Programming
Writing functions, function input arguments and return, global/local variables.
Strings
Char and string data types, ASCII character codes, functions for dealing with strings.
Interrupts
Microcontroller external interrupts, pin change interrupts, timers and watchdogs, interrupt management, interrupt service routine principles, microcontroller sleep mode and waking up by interrupts.
Communication
UART serial port communication, I2C integrated circuit bus, master-slave communication concept, programming basics of wireless communication.
Embedded systems examples
Human/machine interface peripherals, IoT environment sensing, data logging to the cloud, robot movement control, system debugging.
Module Content & Assessment
Assessment Breakdown%
Coursework100.00%

Assessments

Coursework
Assessment Type Practical/Skills Evaluation % of Total Mark 45
Timing Every Week Learning Outcomes 1,2,3,4,5
Assessment Description
Continuous assessment of programming skills in the lab.
Assessment Type Practical/Skills Evaluation % of Total Mark 25
Timing Week 7 Learning Outcomes 1,2,3
Assessment Description
Using a practical programming exam in the lab.
Assessment Type Project % of Total Mark 30
Timing Week 13 Learning Outcomes 1,2,3,4,5,6
Assessment Description
Final project integrating previous work with documented program structure in a team
No End of Module Formal Examination
Reassessment Requirement
Coursework Only
This module is reassessed solely on the basis of re-submitted coursework. There is no repeat written examination.

The University reserves the right to alter the nature and timings of assessment

 

Module Workload

Workload: Full Time
Workload Type Contact Type Workload Description Frequency Average Weekly Learner Workload Hours
Lab Contact Programming while observing industry best practice and coding ethics. Every Week 4.00 4
Independent & Directed Learning (Non-contact) Non Contact Review of lecture notes, resources, preparation for assessment deliverables. Every Week 3.00 3
Total Hours 7.00
Total Weekly Learner Workload 7.00
Total Weekly Contact Hours 4.00
Workload: Part Time
Workload Type Contact Type Workload Description Frequency Average Weekly Learner Workload Hours
Lab Contact Programming while observing industry best practice and coding ethics. Every Week 3.00 3
Independent & Directed Learning (Non-contact) Non Contact Review of lecture notes, resources, preparation for assessment deliverables. Every Week 4.00 4
Total Hours 7.00
Total Weekly Learner Workload 7.00
Total Weekly Contact Hours 3.00
 
Module Resources
Recommended Book Resources
  • Massimo Banzi And Michael Shiloh. (2015), Getting Started With Arduino, 3rd. Maker Media, Inc., [ISBN: 9781449363338].
Supplementary Book Resources
  • Charles Platt. (2015), Make: Electronics: Learning Through Discovery (Make: Technology on Your Time), 2nd. Maker Media, Inc., [ISBN: 9781680450262].
  • Jack Purdum. (2015), Beginning C for Arduino, 2nd. Apress, [ISBN: 9781484209417].
  • Magesh Jayakumar. (2016), The inernet of things with esp8266 Hands on approach: Get started with Arduino IDE and ESP8266, 2nd. Bytestem, [ISBN: 1542970458].
This module does not have any article/paper resources
Other Resources
 
Module Delivered in
Programme Code Programme Semester Delivery
CR_EELES_8 Bachelor of Engineering (Honours) in Electronic Engineering 2 Mandatory
CR_ESMPR_8 Bachelor of Engineering (Honours) in Smart Product Engineering 2 Mandatory
CR_EELXE_7 Bachelor of Engineering in Electronic Engineering 2 Mandatory