MC Class 1 Microcontroller Basics
MC Class 1 Microcontroller Basics
(ICE 2222)
Microcontroller Basics
Bipin Krishna
Assistant Professor (Sr.)
ICE Department
Manipal Institute of Technology
MAHE, Karnataka, India
What is a microprocessor??
• A microprocessor is a programmable electronics chip that has computing
and decision making capabilities similar to central processing unit of a
computer.
• Any microprocessor based systems having limited number of resources are
called microcomputers.
• Multipurpose
• Programmable
• Clock driven
• Register-based
• Which reads binary instructions from storage
• Accept binary data and process
• Provide result as o/p
General-purpose microprocessor
• CPU for Computers
• No RAM, ROM, I/O on CPU chip itself
• Example:Intel’s x86, Motorola’s 680x0
General-purpose microprocessor
Arithmetic and Logic Unit
Accumulator
Working Register
1. Meeting the computing needs of the task efficiently and cost effectively. We must first see
whether an 8-bit, 16-bit or 32-bit microcontroller can best handle the computing needs of the task
most effectively
• Speed
• Packaging (Dual-In-line Package (DIP) or Quad Flat Package (QFP))
• Power consumption
• The amount of RAM and ROM on chip
• The number of I/O pins and timer on the chip
• How easy it is to upgrade to the higher performance or lower power consumption versions
• Cost per unit
3. The third criterion in selecting a microcontroller is its ready availability in needed quantities both
now and in the future
Von Neumann (Princeton) and Harvard Architecture
In a microprocessor, input /output (I/O) devices are externally interfaced and are mapped either to
memory address (memory mapped I/O) or a separate I/O address space (I/O mapped I/O) Ex:8085
The Princeton or Vonneumann architecture one bus is used to carry the address and data with an
appropriate multiplexing technique ,which in turn reduces the cost
But Harvard architecture which 8051 employs has separate Data memory and
separate Code