Archived curriculum
This course information is shown from a curriculum applied in previous years. It is kept available for equivalence and graduation procedures.
- Unit
- Mechatronics Engineering
- Current program
- Mechatronics Engineering
- Semester
- 2. Year - Spring Semester
- Type
- Compulsory
- Credit
- 4
- ECTS
- 5
- Language
- İngilizce
- Contact hours
- Lecture 3 · Practice 2 · Lab 0
Course Objective
This course aims to introduce the basics of embedded control. Students will have a sound knowledge on: microcontrollers, microcontroller architecture, assembly programming, microcontroller peripherals, high-level embedded programming and real-time operating systems. Students will have the chance to experience hands-on exercises to practice microcontroller programming and interfacing. Students will work on several projects to understand the important role of microcontrollers in real world applications.
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
None
Delivery and Teaching Methods
- Face to face
Learning Outcomes and Contribution to Programme Outcomes
- 11. to learn fundamental principles of embedded control and microcontrollers,
- 22. to understand and practice on design and implementation of mechatronic products based on microcontrollers, sensors, actuators and embedded software programming,
- 33. to learn how to process real time data with a microcontroller to meet the design specifications.
Weekly Topics
| Week | Topic |
|---|---|
| 1 | Bellek sistemleri, Oku-yaz bellekler, salt oku bellekler, Aritmetik |
| 2 | Sadeleştirilmiş PIC18 mikrodenetleyici blok çizeneği, mikrodenetleyici işleyişine giriş, kümeli bellek adresleme Laboratuvar deneyi: MPLAB ve ICD2’nun kullanılışı |
| 3 | Çevirme (assembly) diline giriş Laboratuvar deneyi: LED ve 7-bölütlü göstergelerin bağlanması |
| 4 | Introduction to assembly language Lab Experiment: Interfacing LEDs and seven segment displays |
| 5 | Discrete I/O ports Lab Experiment: Building a 2-digit adder-subtractor. |
| 6 | Koşullu dallanma ve ve döngüler Laboratuvar deneyi: Zaman ölçerler ve kesmeler |
| 7 | Indirect memory adressing Lab Experiment: Capture operation, building a tocometer |
| 8 | Subroutine calling instructions and the program memory stack Lab Experiment: PWM operation, fan motor speed control |
| 9 | Timers, Programming timers in assembly language Laboratory hands-on examination |
| 10 | Zamanölçer kesmeleri, zamanölçerlerin C dilinde programlanması Laboratuvar deneyi: Analog sayısal dönüşüm, duyucu bağlanması |
| 11 | Compare operation, Programming the compare module in C language Lab Experiment: Builing a fan speed controller with temperature feedback and display |
| 12 | Capture operation, Programming the Capture module in C language Lab Experiment: Builing a model elevator |
| 13 | PWM operation, Programming the PWM module in C language Lab Experiment: Builing a model elevator (cont’d) |
| 14 | Analog to digital and digital to analog conversion, programming ADC module in C language Overview of other microcontroller types and brands Laboratory hands-on examination |
| 15 | Exam Week |
| 16 | Exam Week |