Publication in the Diário da República: Despacho n.º 7795/2021 - 09/08/2021
6 ECTS; 2º Ano, 1º Semestre, 28,0 T + 42,0 PL , Cód. 911246.
- Gabriel Pereira Pires
On completion of the module, the students should be able to program 8 bit PIC microcontrollers of the 18F family, accomplishing projects that involve: digital and analog reading, digital and PWM actuation, rigid temporal constraints and asynchronous/synchronous serial communications.
1) Introduction to embedded systems;
2) Introduction to the PIC microcontroller and development environments
3) Programming/configuration PIC 18F family: (a) Digital input/output; (b) Timers and internal interrupt; (c) External interrupts; (d) LCD connection; (e) COMPARE, CAPTURE, PWM; (f) Counters;
4) Serial communication asynchronous (UART/RS232) and synchronous (I2C/SPI);
Written test in one of the Exam periods (60%) and Laboratory component (40%) which consists of: 1) Laboratory projects carried out in groups; and 2) Practical mini-tests (programming) carried out individually associated with the various topics of the course. In the laboratory component, the weight of laboratory Projects and Mini-tests is 50% for each component.
Passing the course requires a minimum grade of 40% in the Written Test and a minimum grade of 50% in the Laboratory component. The minimum passing grade is 10 out of 20.
- Peatman, J. (1997). Design with PIC microcontrollers. -: Prentice Hall
- Reese, R. (2005). Microprocessors: From Assembly To C with the PIC18FXX2. -: Charles River Media
Lectures, practical exercises and lab assignments/projects
Software used in class
Mplab XC8, Proteus