Türkçe | English
SÜRMENE ABDULLAH KANCA VOCATIONAL SCHOOL / DEPARTMENT of ELECTRONICS and AUTOMATION
Mechatronics
Course Catalog
https://www.ktu.edu.tr/akelektronik
Phone: +90 0462 0462 752 2603
SAKMYO
SÜRMENE ABDULLAH KANCA VOCATIONAL SCHOOL / DEPARTMENT of ELECTRONICS and AUTOMATION / Mechatronics
Katalog Ana Sayfa
  Katalog Ana Sayfa  KTÜ Ana Sayfa   Katalog Ana Sayfa
 
 

AMEK2005Microcontrollers4+1+0ECTS:7
Year / SemesterFall Semester
Level of CourseShort Cycle
Status Compulsory
DepartmentDEPARTMENT of ELECTRONICS and AUTOMATION
Prerequisites and co-requisitesNone
Mode of Delivery
Contact Hours14 weeks - 4 hours of lectures and 1 hour of practicals per week
LecturerÖğr. Gör. Ahmet AKTOĞAN
Co-LecturerLecturer Ahmet AKTOGAN, Lecturer Murat Kucukali
Language of instructionTurkish
Professional practise ( internship ) None
 
The aim of the course:
The goal is to train students who can select a microcontroller for the solution of a problem, establish the algorithm and draw the flow chart for that solution, implement and compile the algorithm using microcontroller instructions, upload the compiled program to the microcontroller after debugging, and establish communication between microcontrollers and the external world.
 
Learning OutcomesCTPOTOA
Upon successful completion of the course, the students will be able to :
LO - 1 : Decide the relevant microcontroller and the necessary equipment for a project.2 - 3 - 4 - 51,
LO - 2 : Embed the compiled codes into microcontroller.2 - 3 - 4 - 51,4,
LO - 3 : Design algorithm. Design flow diagram.2 - 3 - 4 - 51,4,
LO - 4 : Make and use basic register settings.2 - 3 - 4 - 51,4,
LO - 5 : Decide the optimal program commands to perform any operation. 2 - 3 - 4 - 51,4,
LO - 6 : Write codes for basic analog and digital I/O applications.5 - 71,4,
LO - 7 : Compile and debug the program that they write themselves.2 - 3 - 4 - 51,5,
LO - 8 : Carry out miscellaneous microcontroller projects.2 - 3 - 4 - 51,4,
LO - 9 : Will be able to write programs for DC motor, step motor, ADC applications as well as 7 segment display and LCD applications with microcontroller.2 - 3 - 4 - 51,4,
LO - 10 : Will be able to build and develop multidisciplinary microcontroller systems consisting of electronic, mechanical, and software components. 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 111,4,
CTPO : Contribution to programme outcomes, TOA :Type of assessment (1: written exam, 2: Oral exam, 3: Homework assignment, 4: Laboratory exercise/exam, 5: Seminar / presentation, 6: Term paper), LO : Learning Outcome

 
Contents of the Course
Definition of microprocessors and microcontrollers Historical development of microprocessors and microcontrollers, application areas. Structures and architectures of microprocessors and microcontrollers Microcontroller selection criteria and selecting the appropriate microcontroller for the job. Introduction of microcontroller system development environments and development kits Setting up the development environment. Introduction and installation of Arduino IDE Introduction and installation of Arduino development boards. Learning and applying embedded software development, compilation, uploading to the microcontroller, and debugging processes Examination of the block diagram and datasheet of the AtMega328 Microcontroller Examination of Input/Output port structure and performing basic digital input-output operations Examination of microcontroller internal memory units and registers and use of related instructions Building button and LED applications with a microcontroller; setting up LED and 7-segment display circuits with a microcontroller. Building keypad circuits with a microcontroller. Teaching the concept of Analog-to-Digital conversion Examination of ADCs and introduction to ADC processes Examination of AtMega328 internal ADC and learning related instructions ADC experiments with a potentiometer. Building ADC circuits with a microcontroller and reading analog values from various sensors (NTC, LDR, Phototransistor...) PWM technique and PWM generation with a microcontroller The concept of Interrupt, AtMega328 interrupt system architecture, and interrupt-driven operation applications The concept of Timer/Counter, AtMega328 Timer/Counter architecture, and Timer/Counter applications Building LCD circuits with a microcontroller. Building switching element circuits with a microcontroller. Building serial communication circuits with a microcontroller. Building DC motor circuits with a microcontroller. Building stepper motor circuits with a microcontroller. Building Servo Motor circuits with microcontrollers. Building EEPROM circuits with a microcontroller, learning Deep Learning with Gamification: Autonomous System Design and Prototyping through Problem-Based and Inquiry-Based Learning via the Chrome Dino Example. Laboratory Application of System Design and Optimization with the 5E Cycle. Design and optimization of the Chrome Dino Robot with LDR + Servo Motor + Mechanical Arm + Microcontroller + Computer + Software (Electronic+Mechanical+Software) integration application. 5E Learning Model (Constructivist Approach): Engage: Having students play the Chrome Dino game. Explore: Mentally designing a robot that can play Chrome Dino. Explain: Discussing their ideas and predicted problems. Elaborate: Examining the ready-made prototype and generating ideas to transform the mechanical system into a fully electronic/software system. Evaluate: Evaluating the entire process and proposed solutions together. Problem-Based and Inquiry-Based Learning: Instead of providing direct information, ensuring the student finds the information through questions such as "How would you do it if you were making it?", "How would you solve this sensing or delay issue?"
 
Course Syllabus
 WeekSubjectRelated Notes / Files
 Week 1Definition of microprocessors and microcontrollers Historical development and application areas of microprocessors and microcontrollers.
 Week 2Structures and architectures of microprocessors and microcontrollers.
 Week 3Microcontroller selection criteria and choosing the right microcontroller for the job.
 Week 4Introduction to microcontroller system development environments and development kits
 Week 5Setting up the development environment. Introduction and installation of Arduino IDE Introduction and installation of Arduino development boards.
 Week 6Learning and applying embedded software development, compilation, uploading to microcontrollers, and troubleshooting processes.
 Week 7Examination of the block diagram and datasheet of the AtMega328 microcontroller Examination of the input/output port structure and performing basic digital input/output operations Examination of microcontroller internal memory units and registers and using related commands
 Week 8Making button and LED applications with the microcontroller, building LED and 7-segment display circuits with the microcontroller, Building keypad circuits with the microcontroller,
 Week 9Mid-term exam
 Week 10Teaching the concept of analog-to-digital conversion. Examining ADCs and introducing ADC operations. Examining the AtMega328's internal ADC and learning related commands. ADC experiments with potentiometers. Building ADC circuits with the microcontroller and reading analog values ??from various sensors (NTC, LDR, Phototransistor...). PWM technique and PWM generation with the microcontroller.
 Week 11Interrupt concept, AtMega328 interrupt system architecture and interrupt-based operation applications Timer/Counter concept, AtMega328 Timer/Counter architecture and Timer/Counter applications Building LCD circuits with microcontrollers, Building switching element circuits with microcontrollers,
 Week 12Technical Field Trip Application within the Scope of the Course
 Week 13Building serial communication circuits with microcontrollers, Building DC motor circuits with microcontrollers, Building stepper motor circuits with microcontrollers, Building servo motor circuits with microcontrollers. Building EEPROM circuits with microcontrollers, learning
 Week 14Industry representative's participation in the lesson
 Week 15Deep Learning with Gamification: Autonomous System Design and Prototyping with Problem and Inquiry-Based Learning through the Chrome Dino Example. System Design and Optimization Laboratory Application with the 5E Cycle. Design and optimization of an LDR + Servo Motor + Mechanical Arm + Microcontroller + Computer + Software (Electronics + Mechanics + Software) integration application with a Chrome Dino Robot. 5E Learning Model (Constructivist Approach):
 Week 16Mid-term exam
 
Textbook / Material
1Ders Notları
 
Recommended Reading
1TAŞDEMİR, C., (2012),Arduino,Dikeyeksen, İstanbul.
 
Method of Assessment
Type of assessmentWeek NoDate

Duration (hours)Weight (%)
Mid-term exam 9 25/11/2024 1 50
End-of-term exam 16 18/01/2024 1 50
 
Student Work Load and its Distribution
Type of workDuration (hours pw)

No of weeks / Number of activity

Hours in total per term
Yüz yüze eğitim 3 13 39
Sınıf dışı çalışma 3 11 33
Laboratuar çalışması 1 5 5
Arasınav için hazırlık 1 14 14
Arasınav 1 1 1
Uygulama 1 13 13
Ödev 4 10 40
Dönem sonu sınavı için hazırlık 1 4 4
Dönem sonu sınavı 1 1 1
Total work load150