Automation of Microprocessor Devices Design and Programming

Major: Computerized Control Systems and Automatics
Code of subject: 7.151.06.E.019
Credits: 5.00
Department: Computerized Automatic Systems
Lecturer: Doctor of Science, Professor Buchma Ihor Mykhailovych
Semester: 2 семестр
Mode of study: денна
Мета вивчення дисципліни: The purpose of studying the discipline is to master the theory and practice of designing technical means of microprocessor devices, developing control algorithms and work programs.
Завдання: The study of an academic discipline involves the formation of the necessary competencies in students: general competences: knowledge of the design stages of technical means in general and technical means based on microprocessors in particular; professional competences: the level of professional competence should correspond to a high ability to use acquired knowledge in the design of tools using modern microprocessors, in particular, microcontrollers and embedded computers.
Learning outcomes: As a result of studying the academic discipline, the student should be able to demonstrate the following learning outcomes: know: - stages of design of DKR and in general types and stages implementation of the National Development and Reform Commission; - features and stages of the design of technical means microprocessor devices; - features of development of control algorithms and working programs; - the main software modules from which the program is built; - features of using microprocessors, microcontrollers and embedded computers; - influence of various technical and software factors on speed of operation of microprocessor devices; - software environments for software development software. be able to: select microprocessors or embedded computers for implementation of a microprocessor device, develop algorithms device management, create working programs for the device; design devices and calculate their final parameters.
Required prior and related subjects: Basics of circuit technology Computer electronics, part 2 Microcontrollers Internet of Things platforms
Summary of the subject: In the process of studying the discipline, knowledge and approaches related to the design of technical means in general and microprocessors in particular are acquired, that is, the main stages of designing a microprocessor device: development of the basic concept of the device; development of the control algorithm, development of technical means of the device, development of software means of the device. The knowledge necessary to assess the influence of various factors on the speed of the microprocessor device, knowledge related to the use of microcontrollers with CISC and RISC architecture is formed. Knowledge of the use of embedded computers for the construction of microprocessor devices and the use of the C language and the IDE software environment for writing and verifying programs is acquired.
Опис: Topic 1. General design procedure hardware and software tools The general order of hardware design means The main design stages. Method design of technical means. General Information about the digital control system. Topic 2. Device design methodology based on microprocessors The main stages of microprocessor design devices Development of the basic concept and algorithm operation of the device. Hardware design. Development of work program algorithms. Development working programs. Examples of some of the simplest programs Topic 3. Speed of task performance processors The influence of the programming language on speed performance of tasks. The influence of technical means on speed of execution of tasks. The influence of software algorithms for the speed of task performance. Topic 4. Microcontrollers. The main ones features Microcontrollers with CISC architecture: Structure; Conventional designation of MC type i8051; PZP or program resident memory (RPP); Bloc management; Input/output ports; Bloc timers/counters (T/C); Microcontrollers with RISC architecture AVR families: Core of AVR microcontrollers; The structure of the microcontroller AT90S8535. Memory programs and data. MK AVR peripherals. The main ones characteristics of the AVR command system and characteristics of the Classic family. Topic 5. Means of simplified design and programming of microprocessor devices Communication between physical objects. Classification of computers by physical interface. Single board computers. The composition of the Arduino UNO board and its notation. Analog inputs Arduino. Software environment. Development programs in the IDE environment. Algorithms computing processes. Planning and development of projects with Arduino. Repeating commands using a for loop. Topic 6. Examples of using ARDUINO when designing technical means Application of pulse width modulation (PWM-PWM). Use of digital outputs. Using an if-than-else statement. Logical variables. An example of designing a power battery tester. Topic 7. Arithmetic operations in the system ARDUINO Variable of type float. Number comparison operators. Increasing the accuracy of analog measurements signal using a reference voltage. Work with functions. Design and programming a quick thermometer using an LED.
Assessment methods and criteria: Current control is carried out by testing knowledge through an oral survey and performance of individual tasks. The final assessment of knowledge on the exam consists of an oral component and a written solution to individual tasks. Topic 3. Speed of task performance processors The influence of the programming language on speed performance of tasks. The influence of technical means on speed of execution of tasks. The influence of software algorithms for the speed of task performance. Topic 3. Speed of task performance processors The influence of the programming language on speed performance of tasks. The influence of technical means on speed of execution of tasks. The influence of software algorithms for the speed of task performance.
Критерії оцінювання результатів навчання: Current control - knowledge verification by means of an oral survey and performance of individual tasks: - 30 points in practical classes; Final evaluation of knowledge on the exam: - oral component 10 points; - written component 60 points.
Порядок та критерії виставляння балів та оцінок: 100–88 points – (“excellent”) is awarded for a high level of knowledge (some inaccuracies are allowed) of the educational material of the component contained in the main and additional recommended literary sources, the ability to analyze the phenomena being studied in their interrelationship and development, clearly, succinctly, logically, consistently answer the questions, the ability to apply theoretical provisions when solving practical problems; 87–71 points – (“good”) is awarded for a generally correct understanding of the educational material of the component, including calculations, reasoned answers to the questions posed, which, however, contain certain (insignificant) shortcomings, for the ability to apply theoretical provisions when solving practical tasks; 70 – 50 points – (“satisfactory”) awarded for weak knowledge of the component’s educational material, inaccurate or poorly reasoned answers, with a violation of the sequence of presentation, for weak application of theoretical provisions when solving practical problems; 49-26 points - ("not certified" with the possibility of retaking the semester control) is awarded for ignorance of a significant part of the educational material of the component, significant errors in answering questions, inability to apply theoretical provisions when solving practical problems; 25-00 points - ("unsatisfactory" with mandatory re-study) is awarded for ignorance of a significant part of the educational material of the component, significant errors in answering questions, inability to navigate when solving practical problems, ignorance of the main fundamental provisions.
Recommended books: 1. Boiko V.Y. Skhemotekhnyka эlektronnыkh system. Mykroprotsessorы y mykrokontrollerы.-SPb: BKhV-Peterburh, 2004.-464s. 2. John Boxall. ARDUINO 65 praktyczny7ch projektow. Gliwice, Helion, 2014.-422 s. 3. Buchma I.M. Mikroprotsesorni prystroi.-Lviv: „Lvivska politekhnika”, 2005.-235s. 4. Tom Igoe. Spraw by rzeczy przemowily. Programowanie urzadzen elektronicznych z wykorzystaniem Arduino. Gliwice, Helion, 2011.-462 s. 5. VNS.
Уніфікований додаток: Lviv Polytechnic National University ensures the realization of the right of persons with disabilities to obtain higher education. Inclusive educational services are provided by the Service of accessibility to learning opportunities "Without restrictions", the purpose of which is to provide permanent individual support for the educational process of students with disabilities and chronic diseases. An important tool for the implementation of the inclusive educational policy at the University is the Program for improving the qualifications of scientific and pedagogical workers and educational and support staff in the field of social inclusion and inclusive education. Contact at: St. Karpinsky, 2/4, 1st floor, room 112 E-mail: nolimits@lpnu.ua Websites: https://lpnu.ua/nolimits https://lpnu.ua/integration
Академічна доброчесність: The policy regarding the academic integrity of the participants of the educational process is formed on the basis of compliance with the principles of academic integrity, taking into account the norms "Regulations on academic integrity at the Lviv Polytechnic National University" (approved by the academic council of the university on June 20, 2017, protocol No. 35).

Automation of Microprocessor Devices Design and Programming (курсовий проект)

Major: Computerized Control Systems and Automatics
Code of subject: 7.151.06.E.022
Credits: 3.00
Department: Computerized Automatic Systems
Semester: 2 семестр
Mode of study: денна