Programming the Embedded Systems Microcontrollers

Major: Automation and Computer-Integrated Technologies
Code of subject: 7.151.00.M.23
Credits: 5.00
Department: Automation and Computer-Integrated Technologies
Lecturer: Assistant Ihor Demkiv, Sc.D., Professor Fedir Matiko
Semester: 2 семестр
Mode of study: денна
Learning outcomes: - know the principles of real-time software development for embedded microcontrollers; - know the data exchange protocols for chips with a high level of integration and functionality; - have specialized conceptual knowledge, including current trends in the integration of microcontrollers and the latest network technologies such as the Internet of Things; - be able to develop and optimize functional code for real-time work using timer and interrupt tools, ensure proper operation of the microcontroller in case of peripheral equipment failure, organize communication of the microcontroller with human-machine interface systems; - be able to design circuit and software solutions for measuring and actuating circuits based on functional chips and modules of a wide range - ADC, DAC, WiFi, Bluetooth; - be able to apply modern and popular integrated software packages for automated software design of embedded microcontrollers - Arduino IDE, AVR Studio.
Required prior and related subjects: Prerequisites: - Electronics and microcircuits - Programming for real-time systems - Supervisory Control and Data Acquisition Systems Co-requisites: - Automation and Optimization of Processes in the Chemical and Food Industries. - Automation and Optimization of Energy Processes - Design of Software for Computer-Integrated Control Systems.
Summary of the subject: The content of the discipline is the study and application of the principles of software development of microcontrollers. Device applications for working with I / O ports, UART protocol for communication with a computer are considered. Particular attention is paid to the study of communication interfaces with peripherals - I2C protocol and SPI protocol, which account for the vast majority of analog-to-digital and digital-to-analog conversion solutions from global brands such as Analog Devices, Texas Instruments, Microchip. The tools of timers and interrupts, which are the most important for effective work in real time, are considered. Attention is also paid to this type of control signal as pulse width modulation.
Assessment methods and criteria: Written reports on laboratory works, protection of reports on laboratory works, 50%, performance and protection of control work, 50%.
Recommended books: 1. Richard H. Barnett, Sarah Cox, Larry O'Cull. Embedded C Programming and the Atmel AVR. Spec. Publ. January 2007. - 556 pages. 2. Белов А.В. Микроконтроллеры AVR: от азов программирования до создания практических устройств. 2-е издание, Наука и техника, 2017-544с. 3. Роберт С. Мартін. Чистий код. Фабула, 2019-368с.