CMP3006 Embedded Systems ProgrammingBahçeşehir UniversityDegree Programs MECHATRONICS ENGINEERING (ENGLISH, NONTHESIS)General Information For StudentsDiploma SupplementErasmus Policy StatementNational QualificationsBologna Commission
MECHATRONICS ENGINEERING (ENGLISH, NONTHESIS)
Master TR-NQF-HE: Level 7 QF-EHEA: Second Cycle EQF-LLL: Level 7

Course Introduction and Application Information

Course Code Course Name Semester Theoretical Practical Credit ECTS
CMP3006 Embedded Systems Programming Spring 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:
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