|
YZM2002 | Microprocessors | 2+0+2 | ECTS:5 | Year / Semester | Spring Semester | Level of Course | First Cycle | Status | Compulsory | Department | DEPARTMENT of SOFTWARE ENGINEERING | Prerequisites and co-requisites | None | Mode of Delivery | | Contact Hours | 14 weeks - 2 hours of lectures and 2 hours of laboratory per week | Lecturer | Dr. Öğr. Üyesi Erhan SESLİ | Co-Lecturer | | Language of instruction | Turkish | Professional practise ( internship ) | None | | The aim of the course: | This course trains students with the necessary skills to select an appropriate microcontroller to solve a problem. By the end of the course, students will be able to develop a robust algorithm for their chosen microcontroller, draw an efficient flowchart, and implement and compile the algorithm using microcontroller commands. Additionally, they can upload the compiled program to the microcontroller after identifying and troubleshooting any errors. The course is comprehensive, covering all essential aspects of microcontroller programming, and aims to equip students with the skills and knowledge to excel in this field. |
Learning Outcomes | CTPO | TOA | Upon successful completion of the course, the students will be able to : | | | LO - 1 : | Decide on the selection of the relevant microcontroller and necessary hardware for a project. | 1,3 | 1, | LO - 2 : | Design the necessary algorithm for the microprocessor/microcontroller solution using flowchart symbols
| 1,3 | 1, | LO - 3 : | Compile the algorithm it created for the microprocessor/microcontroller by converting it into code, debugging it, and loading the compiled hex code into the microprocessor/microcontroller. | 1,3 | 4, | LO - 4 : | Write programs for microprocessor/microcontroller basic I/O applications | 1,3 | 1,4, | LO - 5 : | Develop microprocessors/microcontroller based 7 segment display, Matrix LED applications | 1,3 | 1,4, | LO - 6 : | Develop microprocessor/microcontroller-based DC, stepper, and servo motor applications | 1,3 | 1,4, | LO - 7 : | Develop microprocessors/microcontroller-based keypad and LCD applications | 1,3 | 1,4, | LO - 8 : | Develop microprocessor/microcontroller-based ADC applications | 1,3 | 1,4, | LO - 9 : | Develop microprocessors/microcontroller-based comparison, capture, and pulse width modulation applications | 1,3 | 1,4, | LO - 10 : | Develop microprocessor/microcontroller-based sensor applications | 1,3 | 1,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 | |
Definition of microprocessors/microcontrollers,
Selection of suitable microprocessors/microcontrollers for the task,
Expressing the algorithm with flowchart symbols and converting it to code by applying program development steps,
Compilation of the program and the process of troubleshooting errors,
Testing and verifying the written code in a simulation environment,
Loading the program onto the microprocessor/microcontroller,
Developing programs using basic I/O functions with microprocessors/microcontrollers,
Creating applications for microprocessor/microcontroller-based 7-segment displays and matrix LED displays,
Developing applications for DC and stepper motors based on microprocessors/microcontrollers,
Creating applications for keypads based on microprocessors/microcontrollers,
Developing applications for LCDs based on microprocessors/microcontrollers and integrating them with other learned applications,
Interrupts, their necessity, and applications,
Developing ADC applications based on microprocessors/microcontrollers,
Developing applications for comparison, capture, and pulse-width modulation based on microprocessors/microcontrollers,
Developing applications for servo motors based on microprocessors/microcontrollers,
Developing applications for ultrasonic distance sensors based on microprocessors/microcontrollers,
Developing applications for various sensors based on microprocessors/microcontrollers. |
|
Course Syllabus | Week | Subject | Related Notes / Files | Week 1 | Overview of microprocessors/microcontrollers | | Week 2 | Hardware of microprocessors/microcontrollers | | Week 3 | Software of microprocessors/microcontrollers, definition of IDE | | Week 4 | Hardware and software implementation of a design by applying program development steps. | | Week 5 | Basic I/O implementations of microprocessors/microcontrollers | | Week 6 | Microprocessor/microcontroller-based 7-segment display and matrix LED applications | | Week 7 | Microprocessor/microcontroller-based DC and stepper motor applications. | | Week 8 | Interrupts and applications | | Week 9 | Mid-term exam | | Week 10 | Microprocessor/microcontroller-based ADC applications | | Week 11 | Microprocessor/microcontroller-based keypad and LCD applications. | | Week 12 | Microprocessor/microcontroller-based comparison, capture, and pulse width modulation applications. | | Week 13 | Microprocessor/microcontroller-based servo motor applications. | | Week 14 | Microprocessor/microcontroller-based sensor applications (temperature, light intensity detection) | | Week 15 | Microprocessor/microcontroller-based ultrasonic distance sensor application | | Week 16 | End-of-term exam | | |
1 | ÇİÇEK S., (2007), CCS C ile PIC Programlama, Altaş Yayıncılık, İstanbul. | | 2 | Valdes-Perez F.E, Pallas-Areny R., (2007), Microcontrollers Fundamentals and Applications with PIC, US. | | |
1 | Şahin, H. ve Dedeoğlu, K.S.,MikroC ile PIC Programlama, Altaş Yayıncılık. | | |
Method of Assessment | Type of assessment | Week No | Date | Duration (hours) | Weight (%) | Mid-term exam | 9 | | 2 | 30 | Laboratory exam | 14 | | 2 | 20 | End-of-term exam | 16 | | 2 | 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 | 4 | 14 | 56 | Sınıf dışı çalışma | 3 | 14 | 42 | Laboratuar çalışması | 2 | 6 | 12 | Arasınav için hazırlık | 3 | 4 | 12 | Arasınav | 2 | 1 | 2 | Uygulama | 0 | 0 | 0 | Klinik Uygulama | 0 | 0 | 0 | Ödev | 0 | 0 | 0 | Proje | 0 | 0 | 0 | Kısa sınav | 0 | 0 | 0 | Dönem sonu sınavı için hazırlık | 3 | 4 | 12 | Dönem sonu sınavı | 2 | 1 | 2 | Diğer 1 | 0 | 0 | 0 | Diğer 2 | 0 | 0 | 0 | Total work load | | | 138 |
|