|
|
| AELT2011 | Microcontrollers | 3+1+0 | ECTS:5 | | Year / Semester | Fall Semester | | Level of Course | Short Cycle | | Status | Compulsory | | Department | DEPARTMENT of ELECTRONICS and AUTOMATION | | Prerequisites and co-requisites | None | | Mode of Delivery | | | Contact Hours | 14 weeks - 3 hours of lectures and 1 hour of practicals per week | | Lecturer | Öğr. Gör. Ahmet AKTOĞAN | | Co-Lecturer | Lecturer Ahmet AKTOGAN, Lecturer Murat Kucukali | | Language of instruction | Turkish | | 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 Outcomes | CTPO | TOA | | 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 - 5 | 1,4, | | LO - 2 : | Embed the compiled codes into microcontroller. | 2 - 3 - 4 - 5 | 1,4, | | LO - 3 : | Design algorithm. Design flow diagram. | 2 - 3 - 4 - 5 | 1, | | LO - 4 : | Make and use basic register settings. | 2 - 3 - 4 - 5 | 1, | | LO - 5 : | Decide the optimal program commands to perform any operation. | 2 - 3 - 4 - 5 | 1, | | LO - 6 : | Write codes for basic analog and digital I/O applications. | 5 - 7 | 1, | | LO - 7 : | Compile and debug the program that they write themselves. | 2 - 3 - 4 - 5 | 1, | | LO - 8 : | Carry out miscellaneous microcontroller projects. | 2 - 3 - 4 - 5 | 1, | | 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 - 5 | 1, | | LO - 10 : | Will be able to build and develop multidisciplinary microcontroller systems consisting of electronic, mechanical, and software components. | | | | 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 | | |
| 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 | | Week | Subject | Related Notes / Files | | Week 1 | Definition of microprocessors and microcontrollers
Historical development and application areas of microprocessors and microcontrollers. | | | Week 2 | Structures and architectures of microprocessors and microcontrollers. | | | Week 3 | Microcontroller selection criteria and choosing the right microcontroller for the job. | | | Week 4 | Introduction to microcontroller system development environments and development kits | | | Week 5 | Setting up the development environment.
Introduction and installation of Arduino IDE
Introduction and installation of Arduino development boards. | | | Week 6 | Learning and applying embedded software development, compilation, uploading to microcontrollers, and troubleshooting processes. | | | Week 7 | Examination 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 8 | Making button and LED applications with the microcontroller, building LED and 7-segment display circuits with the microcontroller,
Building keypad circuits with the microcontroller, | | | Week 9 | Mid-term exam | | | Week 10 | Teaching the concept of analog-to-digital conversion.
Examining ADCs and introducing ADC operations.
Examining the AtMega328's internal ADC and learning related commands. | | | Week 11 | Interrupt 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 12 | Technical Field Trip Application within the Scope of the Course | | | Week 13 | Building 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 14 | Industry representative's participation in the lesson | | | Week 15 | Deep 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 16 | End-of-Term Exam | | | |
| 1 | TAŞDEMİR, C., (2012),Arduino,Dikeyeksen, İstanbul. | | | 2 | SU, G. ,(2019), Herkes için Arduino, Kodlab, İstanbul. | | | |
| Method of Assessment | | Type of assessment | Week No | Date | Duration (hours) | Weight (%) | | Mid-term exam | 9 | 25/11/2023 | 1 | 50 | | End-of-term exam | 16 | 18/01/2024 | 1 | 50 | | |
| Student Work Load and its Distribution | | Type of work | Duration (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 load | | | 150 |
|