Microcontrollers Programming
Áreas Científicas |
Classificação |
Área Científica |
CNAEF |
Electronics and automation |
Ocorrência: 2022/2023 - 3T
Ciclos de Estudo/Cursos
Sigla |
Nº de Estudantes |
Plano de Estudos |
Anos Curriculares |
Créditos UCN |
Créditos ECTS |
Horas de Contacto |
Horas Totais |
TSPCDA |
14 |
Plano de Estudos_2017_18 |
1 |
- |
3 |
- |
|
Docência - Responsabilidades
Língua de trabalho
Portuguese
Objetivos
The UC aims to: 1 - develop skills in design, realization and implementation of hardware and software systems based on microcontrollers, in order to obtain a specific functionality within the course area. Given the scope of the course, the UC has a greater focus on the software development component; 2 - develop programming capabilities that allow the microcontroller to communicate with satellite components, known as I/O, in analogue and digital forms; 3 - develop programming capabilities that allow the implementation of polling and interrupt techniques with a view to controlling satellite hardware, in terms of communication, I/O and timing; 4 - develop specific skills on how to put the microcontroller-based system to communicate (serial port, Wi-Fi) with other equivalent systems; 5 - develop string processing capabilities that allow two machines to exchange state and command information. The UC is based on the use of the Arduino platform (and/or equivalents).Resultados de aprendizagem e competências
Carrying out small practical projects and an interdisciplinary project allows students to use virtually all of the microcontroller's resources, as well as providing the needs for the various language structures (particularly libraries) to be used. As part of PBL (Project Based Learning) the teaching methodology has a strong practical orientation. Practically, all learning objectives are carried out in practice, through projects (laboratory work and interdisciplinary project) of a wide scope.Modo de trabalho
Presencial
Pré-requisitos (conhecimentos prévios) e co-requisitos (conhecimentos simultâneos)
Introductory knowledge of circuit/electricity theory.
Digital systems at introductory level.
Programming in C/C++.Programa
Architecture of a generic microcontroller-based system.
Digital and analog I/O (analog-to-digital, and digital-to-analog conversion).
Timers.
Communication between machines (Serial/RS232, Wi-Fi).
Interrupts (internal and external, masking) and callbacks.
Strings (operations, parsing, numeric to/from conversions)
Program organization: polled super loop and Interrupt-based.
Bibliografia Obrigatória
António Abreu; Arduino - course notes
Métodos de ensino e atividades de aprendizagem
Few classes are used to present the theory.
Which means that most of the time is used for the development of the interdisciplinary project.
Tipo de avaliação
Distributed evaluation with final exam
Componentes de Avaliação
Designation |
Peso (%) |
Teste |
50,00 |
Trabalho laboratorial |
50,00 |
Total: |
100,00 |
Componentes de Ocupação
Designation |
Tempo (Horas) |
Elaboração de projeto |
42,00 |
Estudo autónomo |
10,00 |
Frequência das aulas |
32,00 |
Total: |
84,00 |
Obtenção de frequência
Continuous assessment is done through two tests (T) and the development of an interdisciplinary project (L).
Each of these components (T and L) has a weight of 50% in the calculation of the final grade.
In order for the student to obtain approval, he must meet the following criteria.
The final grade of each component (T and L) cannot be less than 9.5 values.
The minimum score for each test cannot be less than 8.0.
Those who fail the continuous assessment are entitled to the appeal exam, maintaining the requirements of the laboratory component.
Alternatively, the student can obtain approval through an exam (E), two dates available, to obtain the minimum grade (9.5 values).
As for the laboratory component, it is identical to the one presented above.
Each of these components (E and L) has a weight of 50% in the calculation of the final grade.Fórmula de cálculo da classificação final
See last section.