ECE 3301 Introduction to Microcontrollers

Prerequisites: Introduction to C programming, Digital Logic Design (Both Combinational and Sequential)
Concurrent: Lab

Grading

Midterm 1 25%
Midterm 2 25%
Final 35%
Quizzes*/Assignments 15%
Total 100%
Week# Topic
1 Microcontroller Basics (Pages 1, 2, definitions of selected terms on pages 3-7, Table 1.1 on page 13, selected topics from sections 2.1-2.3 on pages 17-35
2,3 

Section 5.2 (PIC18F registers) on pages 96-100 Section 5.3 (PIC18F memory organization) on pages 100-103

BBasics of assembly language programming on Pages 59-65, PIC18F addressing modes on pages 104-112, 115-119

4,5,6,7

Section 6.2 on pages 120-121, Section 6.3 on pages 121-126, Examples 6.1-6.4 on pages 126-
129, Sections 6.3.2-6.3.5 on pages130-150 Examples 6.10, 6.12, 6.13, 6.14, 6.16, 6.18, 6.20, 6.21
Sections 7.1-7.6, Examples 7.1-7.3

Midterm I on PIC18F assembly language programming

8,9

PIC18F4321 Hardware
- Section 8.1 (PIC18F4321 pins and signals (Pages 195-199), Clock and Reset
-PIC18F programmed I/O using assembly and C
PIC18F4321 programmed I/O (selected topics from Section 8.2 (pages 208-224), Examples 8.1 through 8.6)
-PIC18F interrupt I/O using assembly and C
-Section 9.1 (Basics of Polled vs. interrupt I/O on pages 231-234), PIC18F4321 interrupt I/O (Section 9.2 on pages 236252), Examples 9.1-9.3

10,11

PIC18F interface to LCD using assembly and C
-Section 9.3 on pages 252-259
PIC18F Timers
-Section 10.1 on pages 273-301, Examples 10.1-10.11
-Midterm II on PIC18F I/O, LCD, and Timers using assembly and C

12 PIC18F4321 on-chip ADC using assembly and C
-Section 10.2 on pages 301-315, Example 10.12 (Digital Voltmeter design –polled I/O and interrupt I/O using assembly and C)
13, 14 PIC18F4321 CCP
-Section 11.1 (pages 321-332), Examples 11.1-11.4
-DC motor control using PWM
Section 11.2 (pages 332-336), Example 11.5
15 PIC18F4321 Serial I/O (SPI and I2C modes using
assembly and C
-Section 11.3 (pages 336-358), Examples 11.6, 11.7
FINAL EXAM (Comprehensive)
   
Text: Rafiquzzaman, M. "Microcontroller Theory and Applications with the PIC18F", Wiley, 2011, ISBN: 978-0-470-94769-2