Embedded Systems and
Interfacing
EEE 315
Fahim Mahmud
Assistant Professor
Dept. of EEE
CUET
Course Outline
Embedded system
Microprocessor
Microcontroller
Embedded system
As the name implies, embedded system is embedded or implanted into a
system to perform a specific task.
It’s a microprocessor-based system consisting of memory and other
peripherals or I/O devices.
The complexity of an embedded system depends on the task it’s intended
to perform.
Embedded system examples
Microprocessor
Motor (for rotating the turntable)
Stirrer (for guiding the microwave)
Cooling fan
Display (for temperature, time)
Keypad (for setting the time,
temperature, modes etc.)
Memory (for storing predefined
recipes, temperature data,
cooking time data etc.)
Embedded system examples…
Microprocessor
Motor (for stirring the clothes)
Control panel (for setting the
washing mode, temperature,
time, agitation etc.)
Display (for displaying time etc.)
Memory (for storing predefined
program and temporary data like
mode, time, temperature etc.)
Embedded system examples…
Microprocessor
Compressor
Display (for showing temperature,
modes etc.)
Memory (for storing program and
data)
Embedded system examples…
Microprocessor
Control panel (to select the
destination floor)
Display (for showing the floor)
Motor (for carrying the lift)
Memory (for storing program and
data)
Embedded system examples…
Microprocessor
Microprocessor is needed whenever programming is involved.
Think of some examples in your surroundings, in your day to day life which
have microprocessor. Ask yourself why.
Main task of microprocessor is to execute programs or instructions.
Microprocessor requires memory and input/output devices to function
successfully.
However, all microprocessors, from the old ones to the cutting-edge AMD,
intel core-i7, have mainly three tasks: fetch, decode and execute
instructions.
Evolution of intel microprocessors
Where the world is now What we will study
What we will study
8086 microprocessor
8051 microcontroller
Basic organization of computer
What is the difference between
microprocessor and microcontroller?
Microprocessor is solely for executing programs, for intensive computation
that is required in computers.
Microcontroller is a chip that accommodates a processor, memory, i/o
ports and other features to function as a standalone system and serve a
specific need (oven, dishwasher and so on.)
So, we can say that microprocessor is used in computer and
microcontroller is used in appliances.
8086 microprocessor (μP)
Basics
Architecture and system bus
Memory (memory banking, memory segmentation, memory designing)
Modes (minimum and maximum)
Assembly programming
Interfacing
8051 microcontroller (μC)
Basics
Architecture and pin diagram
Memory organization
Instructions
Programming
Timer theory
Serial port theory
Interrupt theory
Memory designing
Interfacing (keyboard, 7-segment LED, LCD, ADC, DAC)
Textbooks and references
Microprocessors and interfacing (Douglas V. Hall)
The intel microprocessors (Barry B. Brey)
The 8051 microcontroller and embedded systems (Muhammad Ali Mazidi)
Other resources and notes