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 Gains accumulated knowledge on mathematics, science and mechatronics engineering; develops an ability to apply the theoretical and applied knowledge of mathematics, science and mechatronics engineering to model and analyze mechatronics engineering problems. 4
PO2 Develops ability to differentiate, identify, formulate, and solve complex engineering problems; develops ability to select and implement proper analysis, modeling and implementation techniques for the identified engineering problems. 4
PO3 Develops ability to design a complex system, product, component or process to meet the requirements under realistic constraints and conditions; develops ability to apply contemporary design methodologies; an ability to implement effective engineering creativity techniques in mechatronics engineering. (Realistic constraints and conditions includes economics, environment, sustainability, producibility, ethics, human health, social and political problems.) 4
PO4 Gains ability to develop, select and use modern techniques, skills and tools for application of mechatronics engineering and robot technologies; develops ability to use information and communications technologies effectively. 4
PO5 Develops ability to design experiments, perform experiments, collect and analyze data and assess the results for investigated problems on mechatronics engineering and robot technologies. 0
PO6 Develops ability to work effectively on single disciplinary and multi-disciplinary teams; gains ability for individual work; develops ability to communicate and collaborate/cooperate effectively with other disciplines and scientific/engineering domains or working areas, ability to work with other disciplines. 0
PO7 Develops ability to express creative and original concepts and ideas orally or written effectively, in Turkish and English language. 0
PO8 Develops ability to reach information on different subjects required by the wide spectrum of applications of mechatronics engineering, criticize, assess and improve the knowledge-base; gains consciousness on the necessity of improvement and sustainability as a result of life-long learning; gains ability for monitoring the developments on science and technology; develops awareness on entrepreneurship, innovative and sustainable development and ability for continuous renovation. 0
PO9 Gains ability to be conscious on professional and ethical responsibility, competency on improving professional consciousness and contributing to the improvement of profession itself. 0
PO10 Gains knowledge on the applications at business life such as project management, risk management and change management and competency on planning, managing and leadership activities on the development of capabilities of workers who are under his/her responsibility working around a project. 0
PO11 Gains knowledge about the global, societal and individual effects of mechatronics engineering applications on the human health, environment and security and cultural values and problems of the era; develops consciousness on these issues and develops awareness of legal results of engineering solutions. 0
PO12 Gains the competence on defining, analyzing and surveying databases and other sources, proposing solutions based on research work and scientific results and communicate and publish numerical and conceptual solutions. 0
PO13 Gains conciousness on the environmental and social responsibility and develops conciousness to be an individual in society. Gains ability to develop and implement projects and asses them with a critical view for their social implications and gains ability to change the related norms if necessary. 0
PO14 Gains the competence on developing strategy, policy and application plans on the mechatronics engineering and evaluating the results in the context of quality standarts. 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)