SlideShare a Scribd company logo
Introduction to
Microprocessor and
Microcontroller
Objectives:
• To gain understanding about the basic concepts of Microprocessor and
Microcontroller.
• To know the difference between the functions and principles of
Microprocessor and Microcontroller.
What is a Microprocessor?
A microprocessor is a controlling unit of a microcomputer wrapped
inside a small chip. It performs Arithmetic Logical Unit (ALU) operations
and communicates with the other devices connected with it. It is a
single Integrated Circuit in which several functions are combined.
A microprocessor is a computer processor which incorporates the
functions of a computer's central processing unit (CPU) on a single
integrated circuit (IC).
Microcomputer, an electronic device with a microprocessor as its central
processing unit (CPU). Microcomputer was formerly a commonly used term for
personal computers, particularly any of a class of small digital computers
whose CPU is contained on a single integrated semiconductor chip. Thus, a
microcomputer uses a single microprocessor for its CPU, which performs all
logic and arithmetic operations.
What is Microcontroller?
A microcontroller is a chip optimized to control electronic
devices. It is stored in a single integrated circuit which is
dedicated to performing a particular task and execute one
specific application.
It is specially designed circuits for embedded applications and
is widely used in automatically controlled electronic devices. It
contains memory, processor, and programmable I/O.
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. For example, a fire alarm is an embedded system; it
will sense only smoke.
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.
Structure of Microprocessor and Microcontroller
The microprocessor is used in the very intensive processes. It
only contains a CPU (central processing unit) but there are many
other parts needed to work with the CPU to complete a process.
These all other parts are connected externally. The
microprocessor chip is not containing all these parts internally. The
number of external parts and the size of the external parts
depends on the application.
Generally, it connected with
memory elements like RAM and ROM,
I/O ports, timers, serial interface, etc.
The advantage of the microprocessor is
that it has a flexible structure. It means
you can decide the size of RAM, ROM,
number of I/O ports and can modify all
the things which are connected
externally according to the application.
Microcontrollers are used to do the same assigned task
repeatedly. Hence, the number of I/O ports and the amount of
memory required is less compared to the microprocessor. As
told earlier, in microcontroller external parts are integrated with
CPU in a single chip and because of this integrated structure
the overall size of the microcontroller is smaller compared to the
microprocessor.
In microcontroller you cannot modify the size of RAM, ROM
and other components. Once a controller is designed the
structure is fixed. So, the structure of the microcontroller is not
flexible.
Internal Parameter of Microprocessor and Microcontroller
Both ICs are different in internal parameters like; clock speed, memory
(RAM and ROM), peripheral interface, etc. So let's check the important
difference between microprocessor and microcontroller ICs in terms of internal
parameters.
Clock speed:
The microprocessors are run at higher clock speeds. The clock speed of a
microprocessor is in the range of 1 GHz to 4 GHz. While in the case of
microcontroller, high clock speed is not required. The clock speed for the
microcontroller is in the range of the 1 MHz to 300 MHz.
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.
Applications of Microprocessor and Microcontroller
The microprocessor is used in an application where the task is
not predefined and it is assigned by the user. It is used in
computers, mobiles, video games, TVs, etc where the task is not
fixed and it depends on the user. Generally, the microprocessor is
used where intensive processing is required. A laptop is the best
example where a microprocessor is used. The laptop is used for
media streaming, simulation, editing image, web browsing,
gaming, creating a document and many more.
The microcontroller is designed for a specific task and once
the program is embed on MCU chip, it can’t be altered easily
and you may be needed special tools to reburn it. The process of
the microcontroller is fixed according to its application. Hence, it
does some processing, based on the input given to the
microcontroller and gives the predefined results as an output. The
input could be given by the user or it could be given by the
sensors.
It is used in many electronic appliances like washing
machine, microwave oven, timer, etc. In these equipment,
the process is predefined, it may need some inputs from user
to give predefine output. Let say washing machine, once
the user sets the input parameters, it wash the clothes
according to input parameter. So, the basic task (washing
the clothes) for the washing machine is fixed. You cannot do
anything else from the washing machine.
Summary:
References:
• Difference between Microprocessor and Microcontroller (no date). Available at:
https://components101.com/articles/difference-between-microprocessor-and-
microcontroller.
• [No title] (no date). Available at:
http://www.pvpsiddhartha.ac.in/dep_it/lecture%20notes/MP/unit1.pdf
• Embedded Systems - Overview (no date). Available at:
https://www.tutorialspoint.com/embedded_systems/es_overview.htm
• microcomputer (no date). Available at:
https://www.britannica.com/technology/microcomputer
• Brit (no date) Very simple microprocessor. Available at: https://www.slideshare.net/Brit4/very-
simple-microprocessor
• (Microprocessors and Microcontrollers, no date)
“The only impossible journey is the one you never begin.”
- Anthony Robbins
- end -

More Related Content

Similar to Microcontroller

Micro controller and dsp processor
Micro controller and dsp processorMicro controller and dsp processor
Micro controller and dsp processor
ShubhamMishra485
 
Difference Between Microprocessors and Microcontrollers
Difference Between Microprocessors and MicrocontrollersDifference Between Microprocessors and Microcontrollers
Difference Between Microprocessors and Microcontrollers
elprocus
 
A Guide to the Microcontroller, Its Functioning, Types, and Applications .pdf
A Guide to the Microcontroller, Its Functioning, Types, and Applications .pdfA Guide to the Microcontroller, Its Functioning, Types, and Applications .pdf
A Guide to the Microcontroller, Its Functioning, Types, and Applications .pdf
expess-technology
 
8051 microcontroller
8051 microcontroller8051 microcontroller
8051 microcontroller
snehapvs
 
Microprocessor and microcontrollers
Microprocessor and microcontrollersMicroprocessor and microcontrollers
Microprocessor and microcontrollers
Hiran Gabriel
 
microprocessor-and-microcontroller
microprocessor-and-microcontrollermicroprocessor-and-microcontroller
microprocessor-and-microcontroller
jhcid
 
Project report on embedded system using 8051 microcontroller
Project  report on embedded system using 8051 microcontrollerProject  report on embedded system using 8051 microcontroller
Project report on embedded system using 8051 microcontroller
Vandna Sambyal
 
152-15-5588
152-15-5588152-15-5588
152-15-5588
Self-employed
 
MD JAHID HASAN
MD JAHID HASANMD JAHID HASAN
MD JAHID HASAN
Self-employed
 
MergeResult_2023_04_02_05_26_56.pptx
MergeResult_2023_04_02_05_26_56.pptxMergeResult_2023_04_02_05_26_56.pptx
MergeResult_2023_04_02_05_26_56.pptx
bhaveshagrawal35
 
What are the characteristics of a Microcontroller.pdf
What are the characteristics of a Microcontroller.pdfWhat are the characteristics of a Microcontroller.pdf
What are the characteristics of a Microcontroller.pdf
expess-technology
 
Motorola 68hc11
Motorola 68hc11Motorola 68hc11
Motorola 68hc11
gajani121
 
4CS3-MPI-Unit-1.pptx
4CS3-MPI-Unit-1.pptx4CS3-MPI-Unit-1.pptx
4CS3-MPI-Unit-1.pptx
Lofi19
 
Introduction to Microprocessor .ppt
Introduction to Microprocessor .pptIntroduction to Microprocessor .ppt
Introduction to Microprocessor .ppt
TALHARIAZ46
 
Project Report on Embedded Systems
Project Report on Embedded Systems Project Report on Embedded Systems
Project Report on Embedded Systems
Suhani Singh
 
Microprocessors evolution introduction to microprocessor
Microprocessors  evolution introduction to microprocessorMicroprocessors  evolution introduction to microprocessor
Microprocessors evolution introduction to microprocessor
Vijay Kumar
 
I. Introduction to Microprocessor System.ppt
I. Introduction to Microprocessor System.pptI. Introduction to Microprocessor System.ppt
I. Introduction to Microprocessor System.ppt
HAriesOa1
 
AN OVERVIEW OF MICROPROCESSORS AND ASSEMBLY LANGUAGE PROGRAMMING
AN OVERVIEW OF MICROPROCESSORS AND ASSEMBLY LANGUAGE PROGRAMMINGAN OVERVIEW OF MICROPROCESSORS AND ASSEMBLY LANGUAGE PROGRAMMING
AN OVERVIEW OF MICROPROCESSORS AND ASSEMBLY LANGUAGE PROGRAMMING
Darian Pruitt
 
Origin of Microprocessor and Classification of Microprocessor
Origin of Microprocessor and  Classification of Microprocessor Origin of Microprocessor and  Classification of Microprocessor
Origin of Microprocessor and Classification of Microprocessor
Vijay Kumar
 
Microprocessor lecture
Microprocessor lectureMicroprocessor lecture
Microprocessor lecture
Lyn Villamil
 

Similar to Microcontroller (20)

Micro controller and dsp processor
Micro controller and dsp processorMicro controller and dsp processor
Micro controller and dsp processor
 
Difference Between Microprocessors and Microcontrollers
Difference Between Microprocessors and MicrocontrollersDifference Between Microprocessors and Microcontrollers
Difference Between Microprocessors and Microcontrollers
 
A Guide to the Microcontroller, Its Functioning, Types, and Applications .pdf
A Guide to the Microcontroller, Its Functioning, Types, and Applications .pdfA Guide to the Microcontroller, Its Functioning, Types, and Applications .pdf
A Guide to the Microcontroller, Its Functioning, Types, and Applications .pdf
 
8051 microcontroller
8051 microcontroller8051 microcontroller
8051 microcontroller
 
Microprocessor and microcontrollers
Microprocessor and microcontrollersMicroprocessor and microcontrollers
Microprocessor and microcontrollers
 
microprocessor-and-microcontroller
microprocessor-and-microcontrollermicroprocessor-and-microcontroller
microprocessor-and-microcontroller
 
Project report on embedded system using 8051 microcontroller
Project  report on embedded system using 8051 microcontrollerProject  report on embedded system using 8051 microcontroller
Project report on embedded system using 8051 microcontroller
 
152-15-5588
152-15-5588152-15-5588
152-15-5588
 
MD JAHID HASAN
MD JAHID HASANMD JAHID HASAN
MD JAHID HASAN
 
MergeResult_2023_04_02_05_26_56.pptx
MergeResult_2023_04_02_05_26_56.pptxMergeResult_2023_04_02_05_26_56.pptx
MergeResult_2023_04_02_05_26_56.pptx
 
What are the characteristics of a Microcontroller.pdf
What are the characteristics of a Microcontroller.pdfWhat are the characteristics of a Microcontroller.pdf
What are the characteristics of a Microcontroller.pdf
 
Motorola 68hc11
Motorola 68hc11Motorola 68hc11
Motorola 68hc11
 
4CS3-MPI-Unit-1.pptx
4CS3-MPI-Unit-1.pptx4CS3-MPI-Unit-1.pptx
4CS3-MPI-Unit-1.pptx
 
Introduction to Microprocessor .ppt
Introduction to Microprocessor .pptIntroduction to Microprocessor .ppt
Introduction to Microprocessor .ppt
 
Project Report on Embedded Systems
Project Report on Embedded Systems Project Report on Embedded Systems
Project Report on Embedded Systems
 
Microprocessors evolution introduction to microprocessor
Microprocessors  evolution introduction to microprocessorMicroprocessors  evolution introduction to microprocessor
Microprocessors evolution introduction to microprocessor
 
I. Introduction to Microprocessor System.ppt
I. Introduction to Microprocessor System.pptI. Introduction to Microprocessor System.ppt
I. Introduction to Microprocessor System.ppt
 
AN OVERVIEW OF MICROPROCESSORS AND ASSEMBLY LANGUAGE PROGRAMMING
AN OVERVIEW OF MICROPROCESSORS AND ASSEMBLY LANGUAGE PROGRAMMINGAN OVERVIEW OF MICROPROCESSORS AND ASSEMBLY LANGUAGE PROGRAMMING
AN OVERVIEW OF MICROPROCESSORS AND ASSEMBLY LANGUAGE PROGRAMMING
 
Origin of Microprocessor and Classification of Microprocessor
Origin of Microprocessor and  Classification of Microprocessor Origin of Microprocessor and  Classification of Microprocessor
Origin of Microprocessor and Classification of Microprocessor
 
Microprocessor lecture
Microprocessor lectureMicroprocessor lecture
Microprocessor lecture
 

Recently uploaded

Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
IJECEIAES
 
1FIDIC-CONSTRUCTION-CONTRACT-2ND-ED-2017-RED-BOOK.pdf
1FIDIC-CONSTRUCTION-CONTRACT-2ND-ED-2017-RED-BOOK.pdf1FIDIC-CONSTRUCTION-CONTRACT-2ND-ED-2017-RED-BOOK.pdf
1FIDIC-CONSTRUCTION-CONTRACT-2ND-ED-2017-RED-BOOK.pdf
MadhavJungKarki
 
Welding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdfWelding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdf
AjmalKhan50578
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
IJECEIAES
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
MDSABBIROJJAMANPAYEL
 
Applications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdfApplications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdf
Atif Razi
 
CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1
PKavitha10
 
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
Yasser Mahgoub
 
morris_worm_intro_and_source_code_analysis_.pdf
morris_worm_intro_and_source_code_analysis_.pdfmorris_worm_intro_and_source_code_analysis_.pdf
morris_worm_intro_and_source_code_analysis_.pdf
ycwu0509
 
VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...
VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...
VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...
PIMR BHOPAL
 
Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...
bijceesjournal
 
An Introduction to the Compiler Designss
An Introduction to the Compiler DesignssAn Introduction to the Compiler Designss
An Introduction to the Compiler Designss
ElakkiaU
 
Digital Twins Computer Networking Paper Presentation.pptx
Digital Twins Computer Networking Paper Presentation.pptxDigital Twins Computer Networking Paper Presentation.pptx
Digital Twins Computer Networking Paper Presentation.pptx
aryanpankaj78
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
VICTOR MAESTRE RAMIREZ
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
IJECEIAES
 
Object Oriented Analysis and Design - OOAD
Object Oriented Analysis and Design - OOADObject Oriented Analysis and Design - OOAD
Object Oriented Analysis and Design - OOAD
PreethaV16
 
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
171ticu
 
ITSM Integration with MuleSoft.pptx
ITSM  Integration with MuleSoft.pptxITSM  Integration with MuleSoft.pptx
ITSM Integration with MuleSoft.pptx
VANDANAMOHANGOUDA
 
Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...
Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...
Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...
PriyankaKilaniya
 
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 08 Doors and Windows.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 08 Doors and Windows.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 08 Doors and Windows.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 08 Doors and Windows.pdf
Yasser Mahgoub
 

Recently uploaded (20)

Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
 
1FIDIC-CONSTRUCTION-CONTRACT-2ND-ED-2017-RED-BOOK.pdf
1FIDIC-CONSTRUCTION-CONTRACT-2ND-ED-2017-RED-BOOK.pdf1FIDIC-CONSTRUCTION-CONTRACT-2ND-ED-2017-RED-BOOK.pdf
1FIDIC-CONSTRUCTION-CONTRACT-2ND-ED-2017-RED-BOOK.pdf
 
Welding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdfWelding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdf
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
 
Applications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdfApplications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdf
 
CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1
 
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
 
morris_worm_intro_and_source_code_analysis_.pdf
morris_worm_intro_and_source_code_analysis_.pdfmorris_worm_intro_and_source_code_analysis_.pdf
morris_worm_intro_and_source_code_analysis_.pdf
 
VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...
VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...
VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...
 
Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...
 
An Introduction to the Compiler Designss
An Introduction to the Compiler DesignssAn Introduction to the Compiler Designss
An Introduction to the Compiler Designss
 
Digital Twins Computer Networking Paper Presentation.pptx
Digital Twins Computer Networking Paper Presentation.pptxDigital Twins Computer Networking Paper Presentation.pptx
Digital Twins Computer Networking Paper Presentation.pptx
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
 
Object Oriented Analysis and Design - OOAD
Object Oriented Analysis and Design - OOADObject Oriented Analysis and Design - OOAD
Object Oriented Analysis and Design - OOAD
 
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
 
ITSM Integration with MuleSoft.pptx
ITSM  Integration with MuleSoft.pptxITSM  Integration with MuleSoft.pptx
ITSM Integration with MuleSoft.pptx
 
Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...
Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...
Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...
 
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 08 Doors and Windows.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 08 Doors and Windows.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 08 Doors and Windows.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 08 Doors and Windows.pdf
 

Microcontroller

  • 2. Objectives: • To gain understanding about the basic concepts of Microprocessor and Microcontroller. • To know the difference between the functions and principles of Microprocessor and Microcontroller.
  • 3. What is a Microprocessor? A microprocessor is a controlling unit of a microcomputer wrapped inside a small chip. It performs Arithmetic Logical Unit (ALU) operations and communicates with the other devices connected with it. It is a single Integrated Circuit in which several functions are combined. A microprocessor is a computer processor which incorporates the functions of a computer's central processing unit (CPU) on a single integrated circuit (IC).
  • 4. Microcomputer, an electronic device with a microprocessor as its central processing unit (CPU). Microcomputer was formerly a commonly used term for personal computers, particularly any of a class of small digital computers whose CPU is contained on a single integrated semiconductor chip. Thus, a microcomputer uses a single microprocessor for its CPU, which performs all logic and arithmetic operations.
  • 5. What is Microcontroller? A microcontroller is a chip optimized to control electronic devices. It is stored in a single integrated circuit which is dedicated to performing a particular task and execute one specific application. It is specially designed circuits for embedded applications and is widely used in automatically controlled electronic devices. It contains memory, processor, and programmable I/O.
  • 6. 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. For example, a fire alarm is an embedded system; it will sense only smoke.
  • 7.
  • 8. 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.
  • 9. Structure of Microprocessor and Microcontroller The microprocessor is used in the very intensive processes. It only contains a CPU (central processing unit) but there are many other parts needed to work with the CPU to complete a process. These all other parts are connected externally. The microprocessor chip is not containing all these parts internally. The number of external parts and the size of the external parts depends on the application.
  • 10. Generally, it connected with memory elements like RAM and ROM, I/O ports, timers, serial interface, etc. The advantage of the microprocessor is that it has a flexible structure. It means you can decide the size of RAM, ROM, number of I/O ports and can modify all the things which are connected externally according to the application.
  • 11. Microcontrollers are used to do the same assigned task repeatedly. Hence, the number of I/O ports and the amount of memory required is less compared to the microprocessor. As told earlier, in microcontroller external parts are integrated with CPU in a single chip and because of this integrated structure the overall size of the microcontroller is smaller compared to the microprocessor.
  • 12. In microcontroller you cannot modify the size of RAM, ROM and other components. Once a controller is designed the structure is fixed. So, the structure of the microcontroller is not flexible.
  • 13. Internal Parameter of Microprocessor and Microcontroller Both ICs are different in internal parameters like; clock speed, memory (RAM and ROM), peripheral interface, etc. So let's check the important difference between microprocessor and microcontroller ICs in terms of internal parameters. Clock speed: The microprocessors are run at higher clock speeds. The clock speed of a microprocessor is in the range of 1 GHz to 4 GHz. While in the case of microcontroller, high clock speed is not required. The clock speed for the microcontroller is in the range of the 1 MHz to 300 MHz.
  • 14. 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.
  • 15. 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.
  • 16. 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.
  • 17. Applications of Microprocessor and Microcontroller The microprocessor is used in an application where the task is not predefined and it is assigned by the user. It is used in computers, mobiles, video games, TVs, etc where the task is not fixed and it depends on the user. Generally, the microprocessor is used where intensive processing is required. A laptop is the best example where a microprocessor is used. The laptop is used for media streaming, simulation, editing image, web browsing, gaming, creating a document and many more.
  • 18. The microcontroller is designed for a specific task and once the program is embed on MCU chip, it can’t be altered easily and you may be needed special tools to reburn it. The process of the microcontroller is fixed according to its application. Hence, it does some processing, based on the input given to the microcontroller and gives the predefined results as an output. The input could be given by the user or it could be given by the sensors.
  • 19. It is used in many electronic appliances like washing machine, microwave oven, timer, etc. In these equipment, the process is predefined, it may need some inputs from user to give predefine output. Let say washing machine, once the user sets the input parameters, it wash the clothes according to input parameter. So, the basic task (washing the clothes) for the washing machine is fixed. You cannot do anything else from the washing machine.
  • 21.
  • 22.
  • 23. References: • Difference between Microprocessor and Microcontroller (no date). Available at: https://components101.com/articles/difference-between-microprocessor-and- microcontroller. • [No title] (no date). Available at: http://www.pvpsiddhartha.ac.in/dep_it/lecture%20notes/MP/unit1.pdf • Embedded Systems - Overview (no date). Available at: https://www.tutorialspoint.com/embedded_systems/es_overview.htm • microcomputer (no date). Available at: https://www.britannica.com/technology/microcomputer • Brit (no date) Very simple microprocessor. Available at: https://www.slideshare.net/Brit4/very- simple-microprocessor • (Microprocessors and Microcontrollers, no date)
  • 24. “The only impossible journey is the one you never begin.” - Anthony Robbins - end -