Microprocessor and Interfacing EE-321: Salman Ahmad Email: Office: Cabin #19, Male Faculty Room
Microprocessor and Interfacing EE-321: Salman Ahmad Email: Office: Cabin #19, Male Faculty Room
Microprocessor and Interfacing EE-321: Salman Ahmad Email: Office: Cabin #19, Male Faculty Room
EE-321
Salman Ahmad
Email: Salmanahmad@wecuw.edu.pk
Office: Cabin #19, Male Faculty Room
Contents in brief….
• Introduction to
• Microprocessor 8085.
• Microcontroller 8051.
• 8085 Architecture.
• 8051 Architecture.
• Assembly language programming.
• Interfacing, memory and I/O synchronization.
• Introduction to Arduino.
• Introduction to Raspberry Pi.
Text Book
• Barry B. Brey, “The Intel Microprocessors: 8086/8088, 80186/80188,
80286, 80386, 80486, Pentium, Pentium Pro Processor, Pentium II,
Pentium III, Pentium 4”, Prentice Hall, ISBN: 0131195069, Latest
edition
• Muhammad Ali Mazidi, Janice Mazidi and RolinMcKinlay, “8051
Microcontroller and Embedded Systems”, Prentice Hall, ISBN:
013119402X, Latest edition.
Evolution of Microprocessor
Embedded Systems
Embedded means something that is attached to another thing.
An embedded system can be thought of as a computer hardware
system having software embedded in it.
An embedded system can be an independent system or it can be a part
of a large system.
An embedded system is a microcontroller or microprocessor based
system which is designed to perform a specific task.
Microprocessor
• A microprocessor is a programmable electronics chip that has computing
and decision making capabilities similar to central processing unit of a
computer.
Microprocessor
• The world’s first microprocessor, the Intel 4004, was a 4-bit
microprocessor.
• The 8085 Microprocessor. In 1977, Intel Corporation introduced an
updated version of the 8080—the 8085.
• The 8085 was the last 8-bit, general-purpose microprocessor
developed by Intel.
Components of a microprocessor/controller
• CPU: Central Processing Unit
• I/O: Input /Output
• Bus: Address bus & Data bus
• Memory: RAM & ROM
• Timer
• Interrupt
• Serial Port
• Parallel Port
9
General-purpose microprocessor
• CPU for Computers
• Commonly no RAM, ROM, I/O on CPU chip itself
Address Bus
10
Microcontroller
A microcontroller is a computer with most of the necessary support
chips onboard. All computers have several things in common, namely:
A central processing unit (CPU) that ‘executes’ programs.
Some random-access memory (RAM) where it can store data that is
variable.
Some read only memory (ROM) where programs to be executed can
be stored.
Input and output (I/O) devices that enable communication to be
established with the outside world i.e. connection to devices such as
keyboard, mouse, monitors and other peripherals.
Microcontrollers May be
Embedded’ inside some other device (often a consumer product) so that
they can control the features or actions of the product. Hence some times
called as an ‘embedded controller’.
Dedicated to one task and run one specific program. The program is
stored in ROM and generally does not change.
A low-power device. A battery-operated microcontroller might consume
as little as 50 milliwatts.
Microcontroller
• A single-chip computer
• On-chip RAM, ROM, I/O ports...
• Example : Motorola’s 6811, Intel’s 8051, Zilog’s Z8 and PIC 16X
Serial
I/O Timer COM
Port
Port