CMP3006 Embedded Systems ProgrammingBahçeşehir UniversityDegree Programs ELECTRICAL AND ELECTRONICS ENGINEERINGGeneral Information For StudentsDiploma SupplementErasmus Policy StatementNational QualificationsBologna Commission
ELECTRICAL AND ELECTRONICS ENGINEERING
Bachelor TR-NQF-HE: Level 6 QF-EHEA: First Cycle EQF-LLL: Level 6

Course Introduction and Application Information

Course Code Course Name Semester Theoretical Practical Credit ECTS
CMP3006 Embedded Systems Programming Fall 2 2 3 8
This catalog is for information purposes. Course status is determined by the relevant department at the beginning of semester.

Basic information

Language of instruction: English
Type of course: Departmental Elective
Course Level: Bachelor’s Degree (First Cycle)
Mode of Delivery: Face to face
Course Coordinator : Dr. Öğr. Üyesi TARKAN AYDIN
Course Lecturer(s): Dr. UTKU GÜLEN
Dr. Öğr. Üyesi SELÇUK BAKTIR
Dr. Öğr. Üyesi ERKUT ARICAN
Recommended Optional Program Components: None
Course Objectives: This course is a hands-on course that requires writing software as well as board-level work. It sits at the intersection of fields such as microprocessors, digital design, operating systems, software design, and industrial automation. The students are exposed to topics such as meeting real-time constraints in embedded systems, generating delays and interrupts, using the serial interface, etc. They get theoretical as well as hands-on experience on embedded system design by using embedded software development environments and hardware emulators, as well as by working on actual hardware where they physically connect multiple building blocks.

Learning Outcomes

The students who have succeeded in this course;
A student completing this course will be able to
I. Develop embedded applications for consumer equipments,
II. Implement embedded solutions to solve automation systems,
III. Develop efficient code with C programming language for embedded target systems,
IV. Design and implement embedded systems with real time I/O requirements,
V. Implement embedded applications programming the RISC-based embedded microcontrollers,
VI. Determine the requirements of an embedded application and design/implement it on a selected target platform.

Course Content

Introduction to Course: Embedded Systems. Introducing embedded software development environment (Keil C Compiler and hardware simulator). ATmega Embedded microcontroller.
Hardware Fundamentals & Computer Architecture Review. (Embedded terminology, Gates, Clocks, Timing Diagrams, Buses, Registers, Memory, RISC, CISC, MIPS, CPU clock cycle etc.). Object Oriented Programming with C. Meeting real-time constraints, hardware delays and Interrupts.
GPIO: Digital Input, Output and Displays, ADC & DAC. Creating an embedded operating system. Implementing Multi-state Systems. Communication: Serial RS232, SPI, I2C, CAN, Wireless etc.

Weekly Detailed Course Contents

Week Subject Related Preparation
1) Introduction to Course: Embedded Systems. Introducing embedded software development environment (Compiler and hardware simulator).
2) 8051 Embedded microcontroller. Lab: Exercises for 8051 microcontroller.
3) Hardware Fundamentals & Computer Architecture Review. (Embedded terminology, Gates, Clocks, Timing Diagrams, Buses, Registers, Memory, RISC, CISC, MIPS, CPU clock cycle etc.) Lab: Linux utilities, Shell Programming.
4) Object Oriented Programming with C. Lab: Reading and writing input/output pins on 8051 microcontroller.
5) Embedded Linux: Software Development, C++ Review, System Programming Review. Lab: Mini2440 C/C++ programming exercises.
6) Meeting real-time constraints, hardware delays and Interrupts. Lab: Exercises for 8051 microcontroller.
7) Introduction on the embedded microcontroller MSP430, MSP430 Launch pad, GPIO: Digital Input, Output and Displays, ADC & DAC. Lab: Introducing Code Composer Studio for embedded software development . GPIO applications using MSP430 Launch pad.
8) Interrupts and Times. Lab: ADC&DAC applications using MSP430 Launchpad, Timer exercises on MSP430 Launchpad.
9) Midterm Exam
10) Creating an embedded operating system. Lab: Exercise for 8051.
11) Implementing a Multi-state System. Lab: Exercises for 8051 microcontroller.
12) Serial RS232. Lab: LCD display application using 8051.
13) Communication: Serial RS232, SPI, I2C, CAN, Wireless etc. Lab: LCD display applications using MSP430.
14) Project Presentations.

Sources

Course Notes / Textbooks: Embedded C, Michael J. Pont, Addison Wesley 2005.
References:

Evaluation System

Semester Requirements Number of Activities Level of Contribution
Attendance 14 % 0
Laboratory 12 % 15
Quizzes 7 % 15
Project 1 % 15
Midterms 1 % 20
Final 1 % 35
Total % 100
PERCENTAGE OF SEMESTER WORK % 50
PERCENTAGE OF FINAL WORK % 50
Total % 100

ECTS / Workload Table

Activities Number of Activities Duration (Hours) Workload
Course Hours 14 2 28
Laboratory 13 2 26
Study Hours Out of Class 15 8 120
Project 1 34 34
Midterms 1 2 2
Final 1 2 2
Total Workload 212

Contribution of Learning Outcomes to Programme Outcomes

No Effect 1 Lowest 2 Low 3 Average 4 High 5 Highest
           
Program Outcomes Level of Contribution
1) Adequate knowledge in mathematics, science and electric-electronic engineering subjects; ability to use theoretical and applied information in these areas to model and solve engineering problems. 2
2) Ability to identify, formulate, and solve complex engineering problems; ability to select and apply proper analysis and modeling methods for this purpose. 4
3) Ability to design a complex system, process, device or product under realistic constraints and conditions, in such a way as to meet the desired result; ability to apply modern design methods for this purpose. (Realistic constraints and conditions may include factors such as economic and environmental issues, sustainability, manufacturability, ethics, health, safety issues, and social and political issues, according to the nature of the design.) 4
4) Ability to devise, select, and use modern techniques and tools needed for electrical-electronic engineering practice; ability to employ information technologies effectively. 4
5) Ability to design and conduct experiments, gather data, analyze and interpret results for investigating engineering problems. 3
6) Ability to work efficiently in intra-disciplinary and multi-disciplinary teams; ability to work individually. 4
7) Ability to communicate effectively in English and Turkish (if he/she is a Turkish citizen), both orally and in writing. 4
8) Recognition of the need for lifelong learning; ability to access information, to follow developments in science and technology, and to continue to educate him/herself. 4
9) Awareness of professional and ethical responsibility.
10) Information about business life practices such as project management, risk management, and change management; awareness of entrepreneurship, innovation, and sustainable development.
11) Knowledge about contemporary issues and the global and societal effects of engineering practices on health, environment, and safety; awareness of the legal consequences of engineering solutions.