Skip to content
Atılım University, 30th year
Semester
Area Elective
Type
Elective
Credit
4
ECTS
7
Language
İngilizce
Contact hours
Lecture 3 · Practice 2 · Lab 0
Back to programme
On this page
  1. Course Objective
  2. Course Content
  3. Prerequisites
  4. Methods
  5. Learning outcomes
  6. Weekly Topics
  7. Assessment
  8. ECTS Workload
  9. Resources
  10. Instructors

Course Objective

Basic microcontroller structure. Memory organization and addressing, addressing modes. Assembly language programming, C programming. Interrupts, interrupt programming. Interfacing with input and display devices. Timers, capture, compare and PWM operations. Serial communication. I2C Interface. A/D Conversion

Course Content

Basic microcontroller structure, memory organisation and addressing, addressing modes, assembly language programming, C programming, interrupts, interrupt programming, interfacing with input and display devices, timers, capture, compare and PWM operations, serial communication, I2C interface, A/D conversion.

Prerequisites

(CMPE102 veya CMPE113)

Delivery and Teaching Methods

  • Face to face
  • Lecture
  • Experiment

Learning Outcomes and Contribution to Programme Outcomes

  1. 1Ability to write simple programs in assembly language (1,3,11)
  2. 2Ability to write C programs for utilizing microcontroller resources such as I/O ports, timers, capture-compare-pwm modules, analog to digital converters, interrupts (1,3,11)
  3. 3Be able to use microcontrollers as building blocks in electronic systems. (5)
  4. 4Ability to run, and experimentally validate and debug code written in assembly language for a microcontroller system (1,2,11)
  5. 5Ability to run, and experimentally validate and debug code written in C language for a microcontroller system (1,2,11)
  6. 6Ability to describe recent microcontroller types and brands and their application fields (9,10)

Contribution level ranges from 0 (none) to 5 (highest).

PO Programme outcome Contribution level
PO1 Develops the ability to apply advanced knowledge of mathematics, science, and engineering to the analysis, design, and optimization of complex systems. 5
PO2 Implements long-term research and development studies in the major fields of Electrical and Electronics Engineering. 5
PO3 Use modern engineering tools, techniques and facilities in design and other engineering applications. 5
PO4 Does research actively on innovation and entrepreneurship. 0
PO5 Develops the ability to effectively communicate and present research outcomes. 0
PO6 Keeps up with recent advancements in science and technology and effectively accesses relevant information. 0
PO7 Will have professional and ethical responsibility. 0
PO8 Develops ability to effectively communications in both Turkish and English. 0
PO9 Develops ability on project management. 0
PO10 Develops the ability to work successfully at project teams in interdisciplinary fields. 0

Weekly Topics

WeekTopic
1Memory systems, Read-write, Read-only Memories, Arithmetic logic unit
2Simplified PIC18 microcontroller block diagram, introduction to microcontroller operation, Banked memory addressing Lab Experiment: Using MPLAB and ICD2 programmer/debugger
3Introduction to assembly language Lab Experiment: Interfacing LEDs and seven segment displays
4Introduction to assembly language Lab Experiment: Interfacing LEDs and seven segment displays
5Discrete I/O ports Lab Experiment: Building a 2-digit adder-subtractor.
6Conditional Branching and loops Lab Experiment: Timers and interrupts
7Indirect memory adressing Lab Experiment: Capture operation, building a tocometer
8Subroutine calling instructions and the program memory stack Lab Experiment: PWM operation, fan motor speed control
9Timers, Programming timers in assembly language Laboratory hands-on examination
10Timer interrupts, Programming timers in C language Lab Experiment: ADC, interfacing a sensor
11Compare operation, Programming the compare module in C language Lab Experiment: Builing a fan speed controller with temperature feedback and display
12Capture operation, Programming the Capture module in C language Lab Experiment: Builing a model elevator
13PWM operation, Programming the PWM module in C language Lab Experiment: Builing a model elevator (cont’d)
14Analog to digital and digital to analog conversion, programming ADC module in C language Overview of other microcontroller types and brands Laboratory hands-on examination
15Fİnal examination week
16Fİnal examination week

Assessment

MethodNumberWeight
Midtermexam2%30
Lab13%40
Finalexam1%30
Total%100

ECTS Workload

ActivityNumberDuration (hours)Total
Lecture Hours (Including exam week: 16 x lecture hours)16348
Laboratory6212
Assignments71177
Midterm Exam Preparation21020
Final Exam Preparation12020
Total workload (hours)177
ECTS equivalent (workload / 30)5.9

Resources

  • Textbook PIC Microcontroller and Embedded Systems Using Assembly and C for PIC18, Mazidi M. A., McKinlay R. D., Causey D.

Instructors

  • Asst. Prof. Dr. Ali HOSSEINGHOLIPOORASL (Lecturer)