Professional Documents
Culture Documents
Week 1 - Introduction
M. Usman Rafique
Course Introduction
4 Credit Hours
Theory 2
Lab 2
Instructor
M. Usman Rafique
Lab
M. Usman Rafique
Course Introduction
Course Website
sites.google.com/site/mtsengg/courses/micro
Microcontroller Based Design
M. Usman Rafique
Course Outline
Week
1
Introduction
8051Microcontroller
Architecture and Hardware
Assembly Language
Serial Port
Interrupt
8, 9
10
Midterm Exam
11
PIC 18 F Microcontroller
Introduction, Architecture, I/O Pins
12
Programming in C
13
Timers / Counters
14
15, 16
17
Topic
Revision
M. Usman Rafique
Grading Criteria
Module
Percentage
Quizzes
Assignments
Midterm Exam
15
Projects
30
Final Exam
45
M. Usman Rafique
Books
8051 Microcontroller
I. Scott Mackenzie and R.C. Phan, The 8051 Microcontroller,
Fourth Edition, Pearson Education 2007
Muhammad Ali Mazidi and J. G. Mazidi, The 8051
Microcontroller and Embedded Systems, Pearson Education
2006
M. Usman Rafique
Projects
Projects
Final project
Assignments
Individual
M. Usman Rafique
Projects
8051
PIC
Final Project
9
No.
Description
Deadline
Percentage
Generic Board
Week 02
05
LEDs
Week 04
05
Serial Communication
Week 07
07
Interface Project
Week 09
08
T1
Lab Test
Week 11
15
Generic Board
Week 12
05
Interface Project 2
Week 15
10
T2
Lab Test
Week 16
15
[Submit Proposals]
Week 17
30
M. Usman Rafique
Labs
10
M. Usman Rafique
Prerequisites
Number Systems
Electronics
Basic concepts
DLD
Binary
Decimal
Hexadecimal
Logic Gates
Multiplexer, De-multiplexer
Encoder, Decoder
Basic Concepts
Computer Programming
C
Basic Concepts
M. Usman Rafique
Introduction
What is a Computer?
12
M. Usman Rafique
Introduction
What is a Computer?
Computer
Device capable of
13
Performing computations
Making Logical Decisions
M. Usman Rafique
Introduction
What is a Computer?
Programs
Computer System
14
Keyboard
Screen
Disks
Memory
Processing Units
M. Usman Rafique
Introduction
Computer
RAM
Inputs
ALU
Central Processing
Unit
Outputs
ROM
15
M. Usman Rafique
Introduction
Every computer consists of
Input Unit
1.
Output Unit
2.
16
Monitors
Printouts
Speakers
M. Usman Rafique
Introduction
Every computer consists of
Central Processing Unit (CPU)
3.
4.
17
M. Usman Rafique
Introduction
Every computer consists of
Memory Unit
5.
6.
18
Introduction
Computer Architecture
RISC Vs CISC
19
Instruction Set = Set of Instructions (low level) that CPU can process
M. Usman Rafique
20
M. Usman Rafique
21
M. Usman Rafique
Harvard
22
M. Usman Rafique
RISC Vs CISC
CISC
Complex Instruction Set Computer
M. Usman Rafique
RISC Vs CISC
RISC
Reduced Instruction Set Computer
M. Usman Rafique
RISC Vs CISC
CISC
RISC
Variable length of
instructions
Uniform length of
instructions
Complex architecture
Simple architecture
25
M. Usman Rafique
Programming Languages
Machine Language
26
Programming Languages
27
M. Usman Rafique
Programming Languages
English-like abbreviations
28
Programming Languages
Machine Language
29
Machine-dependent
Programming Languages
Assembly is a Low Level Language
High Level
FORTRAN
Pascal
COBOL
BASIC
Middle Level
C++
C
Low Level
Assembly
30
M. Usman Rafique
31
Address Space
Registers
Instruction Set
M. Usman Rafique
Address Space
32
M. Usman Rafique
Registers
33
General Purpose
Special Function
M. Usman Rafique
Instruction Set
34
M. Usman Rafique
Buses
Types of Buses
1. Data Bus
2. Address Bus
3. Control Bus
35
M. Usman Rafique
Data Bus
36
M. Usman Rafique
Address Bus
37
M. Usman Rafique
Control Bus
38
M. Usman Rafique
Next Lecture
What is a microprocessor?
What is a microcontroller?
39
M. Usman Rafique
Acknowledgement
Material used with permission of
40
M. Usman Rafique