Professional Documents
Culture Documents
Submitted By:
Name :
Zeeshan Ahmed Warraich
I.d.:
BCS07193076
Section:
B.SC.S-4-B
Q:
Difference Between
Microprocessor and
Microcontroller?? with internal
diagram.
ANSWER:
Difference between Microprocessor
and Microcontroller:
Microprocessor vs Microcontroller
Microcontroller and Microprocessor both terms seem similar but there
is a huge difference between these two ICs. Microprocessor only have
CPU in the chip like most of the Intel Processors
but Microcontroller also have RAM, ROM and other peripherals along
with the CPU or processor. Both ICs have different applications and
have their own advantages and disadvantages. They can be
differentiated in terms of Applications, structure, internal parameters,
power consumption, and cost. Let’s see the difference between the
microprocessor and microcontroller in detail.
Memory:
The microprocessors have to run an operating system or it is used for
very complicated tasks. Hence, the amount of memory required for the
microprocessor is very large. The volatile memory (RAM) for the
microprocessor is in the range of the 512 MB to 32 GB. The hard disk
(ROM) for the microprocessor is in the range of the 128 GB to 2 TB.
The microcontrollers are designed for a specific task. The amount of
memory required for the microcontroller is quite less compared to the
microprocessor. The volatile memory (RAM) for the microcontroller is in
the range of 2 KB to 256 KB. The hard drive or flash memory (ROM) is in
the range of the 32 KB to 2 MB.
Peripheral interface:
The common peripheral interface for the microprocessor is USB, UART,
and high-speed Ethernet and the microcontroller peripheral interface is
I2C, SPI, and UART.
Programming:
The program for the microprocessor can be changed for different
applications. While in the case of the microcontroller once it is
designed, the program is common for that application. There is no
option for the modification of the program. So, the programming of the
microprocessor is difficult compared to the microcontroller.
Bit size:
Modern-day microcontrollers are 32 bit and 64 bit. The 32-bit
microprocessor can handle 32-bit binary data at the same time. Hence
the address and data bus are 32 bit. Similarly, the 64-bit microprocessor
can handle 64-bit binary data at the same time. The microcontrollers
are 8 bit, 16 bit or 32 bit. Therefore, the amount of data that can be
handled by a microcontroller in a single cycle is lesser compared to the
microprocessor.
Power Consumption:
The power consumption for the microprocessor is higher compared to
the microcontroller.
Summary
Microprocessor Microcontroller
Application It used where intensive processing is It used where the task is
required. It is used in personal fixed and predefined. It is
computers, laptops, mobiles, video used in the washing machine
games, etc. alarm, etc.
Structure It has only the CPU in the chip. Other CPU, Memory, I/O port and al
devices like I/O port, memory, timer is other devices are connected
connected externally. on the single chip.
The structure of the microprocessor is The structure is fixed. Once
flexible. Users can decide the amount it is designed the user canno
of memory, the number of I/O port and change the peripheral
other peripheral devices. devices.
Clock speed The clock speed of the The clock speed of the
microprocessor is high. It is in terms microcontroller is less. It is
of the GHz. It ranges between 1 GHz in terms of the MHz. it ranges
to 4 GHz. between 1 MHz to 300 MHz.
RAM The volatile memory (RAM) for the The volatile memory (RAM)
microprocessor is in the range of the for the microcontroller is in
512 MB to 32 GB. the range of 2 KB to 256 KB.
ROM The hard disk (ROM) for the The hard drive or flash
microprocessor is in the range of the memory (ROM) is in the range
128 GB to 2 TB. of the 32 KB to 2 MB.
Peripheral The common peripheral interface for The common peripheral
interface the microprocessor is USB, UART, and interface for the
high-speed Ethernet. microcontroller is I2C, SPI,
and UART.
Programming The program for the microprocessor The program for the
can be changed for different microcontroller is fixed once
applications. The programming of the it is designed.
microprocessor is difficult compared
to the microcontroller.
Bit size It is available in 32-Bit and 64-bit. It is available in 8-bit, 16-bit,
and 36-bit.
Cost The cost of the microprocessor is high It is cheaper.
compared to the microcontroller.
Power The power consumption for the The power consumption for
consumption microprocessor is high. the microcontroller is less.
Size The overall size of the system is large. The overall size of the
system is small.