Controler Programming in C + +
Description: Learning the basics of building programs for different types of controllers. Using the C++ programming language to control controllers. The basic syntax of C++ language: variable Declaration, arrays. The study of functions and classes
Amount of credits: 5
Course Workload:
| Types of classes | hours |
|---|---|
| Lectures | 15 |
| Practical works | 30 |
| Laboratory works | |
| SAWTG (Student Autonomous Work under Teacher Guidance) | 30 |
| SAW (Student autonomous work) | 75 |
| Form of final control | Exam |
| Final assessment method | written exam |
Component: Component by selection
Cycle: Base disciplines
Goal
- The goal is to teach programming technology in C ++
Objective
- Course objectives. -Types of microcontrollers ?. - Microcontrollers PIC and AVR. -Programming of AVR and PIC microcontrollers. -Firmware microcontroller. - Microcontroller programming languages. - Languages of microcontrollers C / C ++ and assembler. -Advantages and disadvantages of languages
Learning outcome: knowledge and understanding
- understand the organization of the effective use of materials, components, equipment, algorithms and programs for calculating the parameters of medical equipment;
Learning outcome: applying knowledge and understanding
- research and calculate the parameters of medical equipment, draw up research methods and algorithms for processing research results;
Learning outcome: formation of judgments
- research and calculate the parameters of medical equipment, draw up research methods and algorithms for processing research results;
Learning outcome: communicative abilities
- research and calculate the parameters of medical equipment, draw up research methods and algorithms for processing research results;
Learning outcome: learning skills or learning abilities
- speak English professional language, be able to work in an international environment, organize linguistic support for international conferences, symposia, forums;
Teaching methods
When conducting training sessions, it is planned to use the following educational technologies: - communication technologies (discussion, press conference, brainstorming, educational debates and other active forms and methods); - information and communication (including distance education) technologies.
Assessment of the student's knowledge
Teacher oversees various tasks related to ongoing assessment and determines students' current performance twice during each academic period. Ratings 1 and 2 are formulated based on the outcomes of this ongoing assessment. The student's learning achievements are assessed using a 100-point scale, and the final grades P1 and P2 are calculated as the average of their ongoing performance evaluations. The teacher evaluates the student's work throughout the academic period in alignment with the assignment submission schedule for the discipline. The assessment system may incorporate a mix of written and oral, group and individual formats.
| Period | Type of task | Total |
|---|---|---|
| 1 rating | Practical work 1 | 0-100 |
| Practical work 2 | ||
| Rating test 1 | ||
| Practical work 3 | ||
| 2 rating | Practical work 4 | 0-100 |
| Rating test 2 | ||
| Practical work 5 | ||
| Practical work 6 | ||
| Total control | Exam | 0-100 |
The evaluating policy of learning outcomes by work type
| Type of task | 90-100 | 70-89 | 50-69 | 0-49 |
|---|---|---|---|---|
| Excellent | Good | Satisfactory | Unsatisfactory |
Evaluation form
The student's final grade in the course is calculated on a 100 point grading scale, it includes:
- 40% of the examination result;
- 60% of current control result.
The final grade is calculated by the formula:
| FG = 0,6 | MT1+MT2 | +0,4E |
| 2 |
Where Midterm 1, Midterm 2are digital equivalents of the grades of Midterm 1 and 2;
E is a digital equivalent of the exam grade.
Final alphabetical grade and its equivalent in points:
The letter grading system for students' academic achievements, corresponding to the numerical equivalent on a four-point scale:
| Alphabetical grade | Numerical value | Points (%) | Traditional grade |
|---|---|---|---|
| A | 4.0 | 95-100 | Excellent |
| A- | 3.67 | 90-94 | |
| B+ | 3.33 | 85-89 | Good |
| B | 3.0 | 80-84 | |
| B- | 2.67 | 75-79 | |
| C+ | 2.33 | 70-74 | |
| C | 2.0 | 65-69 | Satisfactory |
| C- | 1.67 | 60-64 | |
| D+ | 1.33 | 55-59 | |
| D | 1.0 | 50-54 | |
| FX | 0.5 | 25-49 | Unsatisfactory |
| F | 0 | 0-24 |
Topics of lectures
- Embedded Systems
- Hardware: Electronic components, microcontrollers, microcontroller programming
- Arduinо Platform, Development Environment, Online Emulator
- C++ Programming, Sketch Structure
- Digital I/O
- Working with analog signals
- Indication
- Drive control
- I2C and the Wire library
Key reading
- Dejtel H. M., Dejtel P.Dzh. Kak programmirovat' na C++.: per. s angl. – M.: Binom-Press, 2010 –1454s.
- Pavlovskaya T. A. C/C++. Programmirovanie na yazyke vysokogo urovnya : dlya magistrov i bakalavrov. - Sankt-Peterburg, 2017 - 460 s.
- SHishov O.V. Elementy sistem avtomatizacii. Kontrollery, operatornye paneli, moduli udalennogo dostupa: Lab. praktikum. Saransk: Izd-vo Mordov. un-ta, 2015.
- Programmirovanie na S i S++. Rezhim dostupa: http://www.c-cpp.ru/