SlideShare a Scribd company logo
1 of 15
Introduction to Microcontroller
© 2018 - ToppersPedia
What is microcontroller?
• A microcontroller is a systematic microprocessor set, it consists of
microprocessor, limited amount of ROM or EPROM, RAM and I/O ports, built on
a single integrated chip.
• A microcontroller can be regarded as a microcomputer but since it performs some
specific controller functions it is called as a microcontroller.
• A microprocessor must include: full implementation of a standard
microprocessor, ROM or EPROM, RAM, parallel I/O ports, timer, a clock, serial
ports.
• A microcontroller is complicated than a microprocessor due to the presence of
several I/O components.
• For eg: Intel’s 8048, 8051.
© 2018 - ToppersPedia - www.topperspedia.com
Advantages of microcontroller over microprocessor
based system:
• A microcontroller has more I/O components than a micro-processor based
system.
• Microprocessor-based systems are expensive while microcontroller is cheap.
• Microcontrollers have varied uses in essential products such as in PC keyboards.
Microprocessor based systems can’t be used in such products.
• Other low cost products such as electronic toys, electric drills use
microcontrollers over microprocessor-based systems.
• Daily need products such as microwave ovens, DVDs are based on
microcontrollers.
© 2018 - ToppersPedia - www.topperspedia.com
Intel’s 8051
• It has 8-bit ALU.
• It has 4K byte ROM or EPROM.
• It has 128 byte RAM.
• It has 32 I/O lines for four 8-bit I/O
ports.
• It can address 64 kB of program
memory and data memory.
• It has two external interrupts.
• It has a full featured serial port.
© 2018 - ToppersPedia - www.topperspedia.com
Intel’s 8051
• It has dual 16-bit timer event counter.
• It has powerful instruction set,
consisting of 111 instructions.
• It has a clock upto 12-MHz
frequency.
• It also has 8-bit registers (one 16-bit
register with special move
instructions), 8-bit data bus and 2×16-
bit address bus, program counter,
data pointer, and related 8/11/16-bit
operations; hence it is mainly an 8-bit
microcontroller.
© 2018 - ToppersPedia - www.topperspedia.com
Architectural Block
Diagram of 8051
• It has 32 pins for four 8-bit
bidirectional ports.
• 8 pins are provided to connect
clock crystal, timing, control
signals and power supply.
• The standard functions which
make up microcontroller are in
the mid of the diagram, it
includes ALU, accumulator,
registers, etc.
• All of the blocks are connected
to 8051 internal 8-bit data bus.
Registers hold data for I/O
transfer and control the I/O
ports.
• The diagram also includes
ROM and RAM
© 2018 - ToppersPedia - www.topperspedia.com
Memory Mapping for 8051 Microcontroller:
• It can be also regarded as addressing of
microcontroller over two separate memory
spaces.
• The 8051 addresses has two separate
memory spaces:
– Program Memory Space
– Data Memory Space
• The program memory space is read-only
memory (ROM) space.
• All instruction fetches are taken from
program memory space.
© 2018 - ToppersPedia - www.topperspedia.com
Memory Mapping for 8051 Microcontroller:
• The memory space is used for storing
programs and variable data.
• The data memory space is a read/write
memory space.
• The processor can read data from this
memory space and can write data to this
memory space.
• The 128-bytes RAM provide general
read/write data storage. Some part of this is
often regarded as registers.
© 2018 - ToppersPedia - www.topperspedia.com
Memory Mapping for 8051 Microcontroller:
© 2018 - ToppersPedia - www.topperspedia.com
• The 8051 has 22 special function registers
which are not part of the 128 bytes of
RAM. They occupy memory space from
80H to F8H.
• The 4k byte program memory can be
expanded to 64k byes. The data memory
can also be expanded.
• The 8051 can also be operated with
common memory. 8051, here, can input
data through its serial port load in memory
and execute the program.
8048 Microcontroller:
• 8048 has clock having frequency
2MHz to 4MHz.
• It has 27 I/O lines.
• It has 64 bytes RAM.
• It has one 8-bit time event counter.
• It has 1kbyte ROM or EPROM.
• It has a address capacity of 4KB.
© 2018 - ToppersPedia - www.topperspedia.com
8051 Family
8048, 8049, 8050, 8052, 8031, 8032
© 2018 - ToppersPedia - www.topperspedia.com
8048, 8049, 8050 Microcontrollers:
• 8048 was Intel’s first microcontroller.
8048-8049-8050 have almost same
architectures (differ in memory).
• 8048 supports 1K byte, 8049 supports
2K bytes of internal memory and
8050 supports 4K bytes of internal
memory.
• 8048 has 64 bytes internal RAM (w/
32 bytes of register/memory
location), 8049 has 128 bytes and 8050
has 256 bytes of RAM.
• They are very low cost, thus popular.
© 2018 - ToppersPedia - www.topperspedia.com
8052 Microcontroller
• An expansion of 8051.
• The 8052 has all the standard features
of the 8051 as well as an extra 128
bytes of RAM
• An extra timer.
• 8052 has 256 bytes of RAM and 3
timers.
• It has 8K bytes of on-chip program
ROM instead of 4K bytes.
© 2018 - ToppersPedia - www.topperspedia.com
Comparison between 8051 and 8052.
Microcontroller 8051
• It has 4k bytes of ROM.
• It has 128 bytes of RAM.
• It has a dual 16-bit timer event counter.
• Low cost.
• Point of similarity: Used in high volume
Applications and both allow us to write
large programs.
Microcontroller 8052
© 2018 - ToppersPedia - www.topperspedia.com
• It has 8k bytes of ROM.
• It has 256 bytes of RAM.
• It has an extra 16-bit timer event
counter.
• Comparatively more cost.
Applications of microcontroller:
• They are independent controllers in
machines or as slaves in distributed
processing.
• They are used as machine tools,
chemical processors, medical
instrumentation and sophisticated
guidance control.
• Keyboards use microcontrollers.
Even electronic toys and home
security system.
• It replaces scanning, debounce,
matrix decoding and serial
transmission circuits.
© 2018 - ToppersPedia - www.topperspedia.com

More Related Content

What's hot

Comparison of pentium processor with 80386 and 80486
Comparison of pentium processor with  80386 and 80486Comparison of pentium processor with  80386 and 80486
Comparison of pentium processor with 80386 and 80486
Tech_MX
 
Chapter 4 The Processor
Chapter 4 The ProcessorChapter 4 The Processor
Chapter 4 The Processor
guest4f73554
 

What's hot (20)

UART
UART UART
UART
 
Intel Pentium Pro
Intel Pentium ProIntel Pentium Pro
Intel Pentium Pro
 
Addressing modes
Addressing modesAddressing modes
Addressing modes
 
8086 alp
8086 alp8086 alp
8086 alp
 
m.e.vlsi design
m.e.vlsi designm.e.vlsi design
m.e.vlsi design
 
Memory segmentation-of-8086
Memory segmentation-of-8086Memory segmentation-of-8086
Memory segmentation-of-8086
 
06 floating point
06 floating point06 floating point
06 floating point
 
Ch 1 introduction to Embedded Systems (AY:2018-2019--> First Semester)
Ch 1 introduction to Embedded Systems (AY:2018-2019--> First Semester)Ch 1 introduction to Embedded Systems (AY:2018-2019--> First Semester)
Ch 1 introduction to Embedded Systems (AY:2018-2019--> First Semester)
 
LPC 2148 ARM MICROCONTROLLER
LPC 2148 ARM MICROCONTROLLERLPC 2148 ARM MICROCONTROLLER
LPC 2148 ARM MICROCONTROLLER
 
Memory Segmentation of 8086
Memory Segmentation of 8086Memory Segmentation of 8086
Memory Segmentation of 8086
 
Fixed point and floating-point numbers
Fixed point and  floating-point numbersFixed point and  floating-point numbers
Fixed point and floating-point numbers
 
Embedded c
Embedded cEmbedded c
Embedded c
 
Modified booth's algorithm Part 2
Modified booth's algorithm Part 2Modified booth's algorithm Part 2
Modified booth's algorithm Part 2
 
8086 architecture and pin description
8086 architecture and pin description 8086 architecture and pin description
8086 architecture and pin description
 
Digital system design lab manual
Digital system design lab manualDigital system design lab manual
Digital system design lab manual
 
Comparison of pentium processor with 80386 and 80486
Comparison of pentium processor with  80386 and 80486Comparison of pentium processor with  80386 and 80486
Comparison of pentium processor with 80386 and 80486
 
Chapter 4 The Processor
Chapter 4 The ProcessorChapter 4 The Processor
Chapter 4 The Processor
 
8051 programming skills using EMBEDDED C
8051 programming skills using EMBEDDED C8051 programming skills using EMBEDDED C
8051 programming skills using EMBEDDED C
 
Digital Signal Processor
Digital Signal ProcessorDigital Signal Processor
Digital Signal Processor
 
Chapter 8 Embedded Hardware Design and Development (third portion)
Chapter 8 Embedded Hardware Design and Development (third portion)Chapter 8 Embedded Hardware Design and Development (third portion)
Chapter 8 Embedded Hardware Design and Development (third portion)
 

Similar to Introduction to Micro-Controller.

btech 8051 Microcontroller Programing.pptx
btech 8051 Microcontroller Programing.pptxbtech 8051 Microcontroller Programing.pptx
btech 8051 Microcontroller Programing.pptx
SKWriters
 
Embedded training report(mcs 51)
Embedded training report(mcs 51)Embedded training report(mcs 51)
Embedded training report(mcs 51)
Gurwinder Singh
 

Similar to Introduction to Micro-Controller. (20)

Project report
Project reportProject report
Project report
 
microprocessor 8085 and its interfacing
microprocessor 8085  and its interfacingmicroprocessor 8085  and its interfacing
microprocessor 8085 and its interfacing
 
MPI-Unit-5-PPT (1).ppt
MPI-Unit-5-PPT (1).pptMPI-Unit-5-PPT (1).ppt
MPI-Unit-5-PPT (1).ppt
 
MPI-uses and their applications in day to day life
MPI-uses and their applications in day to day lifeMPI-uses and their applications in day to day life
MPI-uses and their applications in day to day life
 
AT89 S52
AT89 S52AT89 S52
AT89 S52
 
Module 1.pdf
Module 1.pdfModule 1.pdf
Module 1.pdf
 
002079
002079002079
002079
 
INTRODUCTION TO MICROCONTROLLER
INTRODUCTION TO MICROCONTROLLERINTRODUCTION TO MICROCONTROLLER
INTRODUCTION TO MICROCONTROLLER
 
Uc1(vii sem)
Uc1(vii sem)Uc1(vii sem)
Uc1(vii sem)
 
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT IV Designing Embedded System with 8051...
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT IV  Designing Embedded System with 8051...SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT IV  Designing Embedded System with 8051...
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT IV Designing Embedded System with 8051...
 
Solution manual the 8051 microcontroller based embedded systems
Solution manual the 8051 microcontroller based embedded systemsSolution manual the 8051 microcontroller based embedded systems
Solution manual the 8051 microcontroller based embedded systems
 
PRESENTATION OF MICROCONTROLLER
PRESENTATION OF MICROCONTROLLERPRESENTATION OF MICROCONTROLLER
PRESENTATION OF MICROCONTROLLER
 
btech 8051 Microcontroller Programing.pptx
btech 8051 Microcontroller Programing.pptxbtech 8051 Microcontroller Programing.pptx
btech 8051 Microcontroller Programing.pptx
 
Embedded training report(mcs 51)
Embedded training report(mcs 51)Embedded training report(mcs 51)
Embedded training report(mcs 51)
 
Embedded system - Introduction to micro-controller 8051
Embedded system - Introduction to  micro-controller 8051Embedded system - Introduction to  micro-controller 8051
Embedded system - Introduction to micro-controller 8051
 
8051 slide
8051 slide8051 slide
8051 slide
 
Unit 4
Unit 4Unit 4
Unit 4
 
Unit 4.pptx
Unit 4.pptxUnit 4.pptx
Unit 4.pptx
 
8051 Architecture
8051 Architecture8051 Architecture
8051 Architecture
 
MICROCONTROLLER 8051
MICROCONTROLLER 8051MICROCONTROLLER 8051
MICROCONTROLLER 8051
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 

Introduction to Micro-Controller.

  • 2. What is microcontroller? • A microcontroller is a systematic microprocessor set, it consists of microprocessor, limited amount of ROM or EPROM, RAM and I/O ports, built on a single integrated chip. • A microcontroller can be regarded as a microcomputer but since it performs some specific controller functions it is called as a microcontroller. • A microprocessor must include: full implementation of a standard microprocessor, ROM or EPROM, RAM, parallel I/O ports, timer, a clock, serial ports. • A microcontroller is complicated than a microprocessor due to the presence of several I/O components. • For eg: Intel’s 8048, 8051. © 2018 - ToppersPedia - www.topperspedia.com
  • 3. Advantages of microcontroller over microprocessor based system: • A microcontroller has more I/O components than a micro-processor based system. • Microprocessor-based systems are expensive while microcontroller is cheap. • Microcontrollers have varied uses in essential products such as in PC keyboards. Microprocessor based systems can’t be used in such products. • Other low cost products such as electronic toys, electric drills use microcontrollers over microprocessor-based systems. • Daily need products such as microwave ovens, DVDs are based on microcontrollers. © 2018 - ToppersPedia - www.topperspedia.com
  • 4. Intel’s 8051 • It has 8-bit ALU. • It has 4K byte ROM or EPROM. • It has 128 byte RAM. • It has 32 I/O lines for four 8-bit I/O ports. • It can address 64 kB of program memory and data memory. • It has two external interrupts. • It has a full featured serial port. © 2018 - ToppersPedia - www.topperspedia.com
  • 5. Intel’s 8051 • It has dual 16-bit timer event counter. • It has powerful instruction set, consisting of 111 instructions. • It has a clock upto 12-MHz frequency. • It also has 8-bit registers (one 16-bit register with special move instructions), 8-bit data bus and 2×16- bit address bus, program counter, data pointer, and related 8/11/16-bit operations; hence it is mainly an 8-bit microcontroller. © 2018 - ToppersPedia - www.topperspedia.com
  • 6. Architectural Block Diagram of 8051 • It has 32 pins for four 8-bit bidirectional ports. • 8 pins are provided to connect clock crystal, timing, control signals and power supply. • The standard functions which make up microcontroller are in the mid of the diagram, it includes ALU, accumulator, registers, etc. • All of the blocks are connected to 8051 internal 8-bit data bus. Registers hold data for I/O transfer and control the I/O ports. • The diagram also includes ROM and RAM © 2018 - ToppersPedia - www.topperspedia.com
  • 7. Memory Mapping for 8051 Microcontroller: • It can be also regarded as addressing of microcontroller over two separate memory spaces. • The 8051 addresses has two separate memory spaces: – Program Memory Space – Data Memory Space • The program memory space is read-only memory (ROM) space. • All instruction fetches are taken from program memory space. © 2018 - ToppersPedia - www.topperspedia.com
  • 8. Memory Mapping for 8051 Microcontroller: • The memory space is used for storing programs and variable data. • The data memory space is a read/write memory space. • The processor can read data from this memory space and can write data to this memory space. • The 128-bytes RAM provide general read/write data storage. Some part of this is often regarded as registers. © 2018 - ToppersPedia - www.topperspedia.com
  • 9. Memory Mapping for 8051 Microcontroller: © 2018 - ToppersPedia - www.topperspedia.com • The 8051 has 22 special function registers which are not part of the 128 bytes of RAM. They occupy memory space from 80H to F8H. • The 4k byte program memory can be expanded to 64k byes. The data memory can also be expanded. • The 8051 can also be operated with common memory. 8051, here, can input data through its serial port load in memory and execute the program.
  • 10. 8048 Microcontroller: • 8048 has clock having frequency 2MHz to 4MHz. • It has 27 I/O lines. • It has 64 bytes RAM. • It has one 8-bit time event counter. • It has 1kbyte ROM or EPROM. • It has a address capacity of 4KB. © 2018 - ToppersPedia - www.topperspedia.com
  • 11. 8051 Family 8048, 8049, 8050, 8052, 8031, 8032 © 2018 - ToppersPedia - www.topperspedia.com
  • 12. 8048, 8049, 8050 Microcontrollers: • 8048 was Intel’s first microcontroller. 8048-8049-8050 have almost same architectures (differ in memory). • 8048 supports 1K byte, 8049 supports 2K bytes of internal memory and 8050 supports 4K bytes of internal memory. • 8048 has 64 bytes internal RAM (w/ 32 bytes of register/memory location), 8049 has 128 bytes and 8050 has 256 bytes of RAM. • They are very low cost, thus popular. © 2018 - ToppersPedia - www.topperspedia.com
  • 13. 8052 Microcontroller • An expansion of 8051. • The 8052 has all the standard features of the 8051 as well as an extra 128 bytes of RAM • An extra timer. • 8052 has 256 bytes of RAM and 3 timers. • It has 8K bytes of on-chip program ROM instead of 4K bytes. © 2018 - ToppersPedia - www.topperspedia.com
  • 14. Comparison between 8051 and 8052. Microcontroller 8051 • It has 4k bytes of ROM. • It has 128 bytes of RAM. • It has a dual 16-bit timer event counter. • Low cost. • Point of similarity: Used in high volume Applications and both allow us to write large programs. Microcontroller 8052 © 2018 - ToppersPedia - www.topperspedia.com • It has 8k bytes of ROM. • It has 256 bytes of RAM. • It has an extra 16-bit timer event counter. • Comparatively more cost.
  • 15. Applications of microcontroller: • They are independent controllers in machines or as slaves in distributed processing. • They are used as machine tools, chemical processors, medical instrumentation and sophisticated guidance control. • Keyboards use microcontrollers. Even electronic toys and home security system. • It replaces scanning, debounce, matrix decoding and serial transmission circuits. © 2018 - ToppersPedia - www.topperspedia.com