CPE345 Embedded Systems Workshop
CPE345 Embedded Systems Workshop
CPE345 Embedded Systems Workshop
Embedded Systems Workshop Spring 2022
COMSATS University Islamabad
COURSE DESCRIPTION FILE
CPE345 Embedded Systems Workshop
DEPARTMENT OF ELECTRICAL & COMPUTER ENGINEERING
COMSATS University Islamabad Page 1
CPE345 Embedded Systems Workshop Spring 2022
COMSATS University Islamabad
COURSE DESCRIPTION FILE
CPE345 Embedded Systems Workshop
DEPARTMENT OF ELECTRICAL & COMPUTER ENGINEERING
COMSATS University Islamabad Page 2
CPE345 Embedded Systems Workshop Spring 2022
Embedded Systems Workshop
Course code:
CPE345 (3+1)
Prerequisites:
CSC103, CPE343
Co requisites:
None
Course Catalog Description:
Embedded Systems Workshop is being introduced in order to polish the students’ skills for microcontroller
interfacing at higher level in contemporary systems, including common consumer products.
Microcontroller is part of Microprocessor Systems and Interfacing (MSI) course but core of this course is
focused on the processor and students are involved to interface microcontroller at very basic level in the
lab part of MSI course. Because, microcontroller is the instrumental part of almost every application,
therefore, it is the need of time that students get very well familiar to the microcontroller interfacing at
applied level. The workshop will help them out for their final year project as well as for their jobs
perspective.
Reference Books:
1. Atmel ATmega640/V‐1280/V‐1281/V‐2560/V‐2561/V Datasheet
2. Arduino Cookbook
2nd Edition, Oreilly Publishers, 2012.
Michael Margolis
Course Learning Objectives:
After successful completion of this module, a student will be able to:
1. Design, build and test the hardware components (microprocessor, bus, and peripheral interfacing)
of an embedded system.
2. Develop and test the low‐level software components of an embedded system.
3. Conduct a small embedded system design project.
Course Learning Outcomes:
After successfully completing this course, the students will be able to:
1. Analyze and modify existing code/design to solve new problems. (C5‐PLO2)
2. Any tasks that student can replicate correctly without issues under the guidance of instructor both
in hardware / software. (P3‐PLO2)
3. Independently design hardware/software for problems not covered previously with confidence.
(P4‐PLO3)
COMSATS University Islamabad Page 3
CPE345 Embedded Systems Workshop Spring 2022
4. Present and analyze data with effective report writing skills. (A2‐PLO10)
Course Schedule:
One laboratory session/week (3 hours /session)
Topics Covered:
1. Fundamental
a. Introduction to Arduino Mega 2560 Microcontroller Board
b. GPIO (Switches/LEDs) interfacing for Input/Output operations
c. Keypad, 16x2 LCD interfacing
d. ADC and DAC Interfacing
2. Advanced Motor Control
a. DC Motor interfacing
b. Servo Motor Interfacing
c. Stepper Motor Interfacing
3. Basic Serial Communication
a. Bluetooth Module interfacing using UART
b. SD-Card interfacing using SPI
c. RTC interfacing using I2C
4. More Topics in Communication:
a. USB interfacing
b. Ethernet Module interfacing
c. Wifi Module interfacing
5. Advanced Displays
a. CMOS camera Interfacing
b. Touch LCD Interfacing
Assessment Plan:
Lab work Lab reports (12) 25%
Lab Mid‐term exam 25%
Lab project and terminal exam 50%
Total (lab) 100%
Learning Outcomes Assessment Plan (Tentative):
Sr. # Course Learning Outcomes Assessment
1.
Lab Assignment 1‐7
2.
3. Mid‐term Exam
4.
Lab Assignment 8‐12
5.
6. Terminal
Table 1: Assessment Plan for Course Learning Outcomes
COMSATS University Islamabad Page 4
CPE345 Embedded Systems Workshop Spring 2022
Laboratory Experiences:
Lab work consists of a minimum of 12 experiments and related assignments, which constitute 25% of the
overall course‐grade. The laboratory experiments include hands‐on exercises as well as computer analysis
of the concepts taught. Embedded System workshop is a lab‐centric course intended for students building
embedded systems using microcontrollers. The purpose of this course is to present the design
methodology to train young engineers to understand the basic building blocks of microcontroller‐based
electronic systems. So, later they can use these basic building block to design small embedded system
design projects.
Laboratory Resources:
The relevant laboratory is equipped with workbenches and computers to facilitate the experiments
outlined in the lab handbook(s) that are periodically updated. A current list of the 12 lab experiments
performed in this course is provided as Annexure‐I. The list of software and equipment available is also
posted in all labs and is managed by staff dedicated for this purpose.
Computer Resources:
For the purposes of this course, Keil, Arduino IDE and Proteus will be used throughout the course
Mapping Course Learning Outcomes (CLOs) to Program Learning Outcomes (PLOs):
PLO 1 Engineering Knowledge: An ability to apply knowledge of mathematics, science, engineering
fundamentals and an engineering specialization to the solution of complex engineering
problems.
PLO 2 Problem Analysis: An ability to identify, formulate, research literature, and analyze complex
engineering problems reaching substantiated conclusions using first principles of mathematics,
natural sciences and engineering sciences.
PLO 3 Design/Development of Solutions: An ability to design solutions for complex engineering
problems and design systems, components or processes that meet specified needs with
appropriate consideration for public health and safety, cultural, societal, and environmental
considerations.
PLO 4 Investigation: An ability to investigate complex engineering problems in a methodical way
including literature survey, design and conduct of experiments, analysis and interpretation of
experimental data, and synthesis of information to derive valid conclusions.
PLO 5 Modern Tool Usage: An ability to create, select and apply appropriate techniques, resources,
and modern engineering and IT tools, including prediction and modeling, to complex
engineering activities, with an understanding of the limitations.
PLO 6 The Engineer and Society: An ability to apply reasoning informed by contextual knowledge to
assess societal, health, safety, legal and cultural issues and the consequent responsibilities
relevant to professional engineering practice and solution to complex engineering problems.
PLO 7 Environment and Sustainability: An ability to understand the impact of professional
engineering solutions in societal and environmental contexts and demonstrate knowledge of
and need for sustainable development.
COMSATS University Islamabad Page 5
CPE345 Embedded Systems Workshop Spring 2022
PLO 8 Ethics: Apply ethical principles and commit to professional ethics and responsibilities and
norms of engineering practice.
PLO 9 Individual and Team Work: An ability to work effectively, as an individual or in a team, on
multifaceted and /or multidisciplinary settings.
PLO 10 Communication: An ability to communicate effectively, orally as well as in writing, on complex
engineering activities with the engineering community and with society at large, such as being
able to comprehend and write effective reports and design documentation, make effective
presentations, and give and receive clear instructions.
PLO 11 Project Management: An ability to demonstrate management skills and apply engineering
principles to one’s own work, as a member and/or leader in a team, to manage projects in a
multidisciplinary environment.
PLO 12 Lifelong Learning: An ability to recognize importance of, and pursue lifelong learning in the
broader context of innovation and technological developments.
PLOs
PLO10
PLO11
PL012
PLO 9
PLO1
PLO2
PLO3
PLO4
PLO5
PLO6
PLO7
PLO8
CLOs
CLO1 C5
CLO2 P3
CLO3 P4
CLO4 A2
Table 2: Mapping CLOs to PLOs
PLO Coverage Explanation:
PLO 2 ‐ Problem Analysis:
Students are required to analyze various solutions/codes and investigate the best interfacing protocols.
PLO 3 ‐ Design/Development of Solutions:
Students will be designing and developing solutions for interfacing problems related to I/O modules,
communication, motor control and advance displays.
PLO10 ‐ Communication:
In the lab setup, the students are asked to perform the experiment and take the data. This collected dat
a is analyzed by the student and finally the conclusion comprehended by the student is required in
the report format. The students are also given chance to present some new finding in the presentation f
ormat also. (High relevance to course)
PLO 1, 4 – 9, 11‐12: These PLOs are not directly addressed in this course.
COMSATS University Islamabad Page 6
CPE345 Embedded Systems Workshop Spring 2022
ANNEXURE‐I
List of Experiments:
Lab # Details
02 Interfacing Keypad and LCD.
03 Introduction and implementation of ADC and DAC.
04 Interfacing and Controlling DC Motor and Stepper Motor with Arduino
05 Interfacing Servo Motor with Arduino
07 Implementation of USB Protocol and interfacing
08 Interfacing Ethernet Module with Micro‐controller
09 Interfacing WiFi Module with Micro‐controller
10 CMOS Camera interfacing with Micro‐controller
11 Touch LCD interfacing with Micro‐controller
12 Control of Home Appliances/AC Load over Internet or Cloud
13 Lab dedicated to implementation of lab project.
14 Lab terminal exam and viva.
Version Applicable From
Version 1 Fall 2021
COMSATS University Islamabad Page 7