0% found this document useful (0 votes)
19 views

02 Introduction To Microcontrollers

The document discusses why microcontrollers are used and their key characteristics and components. Microcontrollers are smaller computers with CPU, memory, I/O and timers integrated on a single chip, making them useful for applications where cost, power and space are critical constraints.

Uploaded by

harinkhedet
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views

02 Introduction To Microcontrollers

The document discusses why microcontrollers are used and their key characteristics and components. Microcontrollers are smaller computers with CPU, memory, I/O and timers integrated on a single chip, making them useful for applications where cost, power and space are critical constraints.

Uploaded by

harinkhedet
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

Why Microcontrollers ?

Prof. T.R.Harinkhede, RKNEC Nagpur 1


Why Microprocessors/controllers?
• The microprocessor is the core of computer systems.
• Nowadays many communication, digital
entertainment, portable devices, are controlled by
them.
• A designer should know what types of components he
needs, ways to reduce production costs and product
reliable.

Different aspects of a
microprocessor/controller
• Hardware :Interface to the real world
• Software :order how to deal with inputs
Prof. T.R.Harinkhede, RKNEC Nagpur 2
The necessary tools for 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

Prof. T.R.Harinkhede, RKNEC Nagpur 3


Microprocessors:
General-purpose microprocessor
• CPU for Computers
• No RAM, ROM, I/O on CPU chip itself
• Example:Intel’s x86, Motorola’s 680x0

Many chips on mother’s board


Data Bus
CPU
General-
Purpose Serial
RAM ROM I/O Timer
Micro- COM
Port Port
processor
Address Bus

General-Purpose Microprocessor System

Prof. T.R.Harinkhede, RKNEC Nagpur 4


Microcontroller :

• A smaller computer
• On-chip RAM, ROM, I/O ports...
• Example:Motorola’s 6811, Intel’s 8051, Zilog’s Z8 and PIC 16X

CPU RAM ROM


A single chip
Serial
I/O Timer COM
Port
Port
Microcontroller

Prof. T.R.Harinkhede, RKNEC Nagpur 5


Microprocessor vs. Microcontroller

Microprocessor Microcontroller
• CPU is stand-alone, RAM, • CPU, RAM, ROM, I/O and
ROM, I/O, timer are timer are all on a single chip
separate • fix amount of on-chip ROM,
• designer can decide on the RAM, I/O ports
amount of ROM, RAM and
I/O ports. • for applications in which cost,
power and space are critical
• expansive
• versatility • single-purpose
• general-purpose

Prof. T.R.Harinkhede, RKNEC Nagpur 6


Microcontroller
• A microcontroller is a small and low-cost
microcomputer, which is designed to perform
the specific tasks of embedded systems like
displaying microwave’s information, receiving
remote signals, etc.
• The general microcontroller consists of the
processor, the memory (RAM, ROM, EPROM),
Serial ports, peripherals (timers, counters),
etc.

Prof. T.R.Harinkhede, RKNEC Nagpur 7


Types of Microcontrollers
• Microcontrollers are divided into various categories based on
memory, architecture, bits and instruction sets. Following is the list
of their types −
• Bit - Based on bit configuration, the microcontroller is further
divided into three categories.
• 8-bit microcontroller − This type of microcontroller is used to
execute arithmetic and logical operations like addition, subtraction,
multiplication division, etc. For example, Intel 8031 and 8051 are 8
bits microcontroller.
• 16-bit microcontroller − This type of microcontroller is used to
perform arithmetic and logical operations where higher accuracy
and performance is required. For example, Intel 8096 is a 16-bit
microcontroller.
• 32-bit microcontroller − This type of microcontroller is generally
used in automatically controlled appliances like automatic
operational machines, medical appliances, etc.
Prof. T.R.Harinkhede, RKNEC Nagpur 8
Types of Microcontrollers (2)
• Memory - Based on the memory configuration, the
microcontroller is further divided into two categories.
• External memory microcontroller − This type of
microcontroller is designed in such a way that they do not
have a program memory on the chip. Hence, it is named as
external memory microcontroller. For example: Intel 8031
microcontroller.
• Embedded memory microcontroller − This type of
microcontroller is designed in such a way that the
microcontroller has all programs and data memory,
counters and timers, interrupts, I/O ports are embedded on
the chip. For example: Intel 8051 microcontroller.

Prof. T.R.Harinkhede, RKNEC Nagpur 9


Types of Microcontrollers (3)
• Instruction Set - Based on the instruction set
configuration, the microcontroller is further
divided into two categories.
• CISC − CISC stands for complex instruction set
computer. It allows the user to insert a single
instruction as an alternative to many simple
instructions.
• RISC − RISC stands for Reduced Instruction Set
Computers. It reduces the operational time by
shortening the clock cycle per instruction.

Prof. T.R.Harinkhede, RKNEC Nagpur 10


Applications of Microcontrollers
• Microcontrollers are widely used in various
different devices such as −
• Light sensing and controlling devices like LED.
• Temperature sensing and controlling devices
like microwave oven, chimneys.
• Fire detection and safety devices like Fire
alarm.
• Measuring devices like Volt Meter.
Prof. T.R.Harinkhede, RKNEC Nagpur 11

You might also like