SlideShare a Scribd company logo
5
Most read
7
Most read
8
Most read
1
Microcontrollers
2
Microcontroller:
• A smaller computer
• On-chip RAM, ROM, I/O ports...
• Example:Motorola’s 6811, Intel’s 8051, Zilog’s Z8X and PIC 16X
RAM ROM
I/O
Port
Timer
Serial
COM
Port
Microcontroller
CPU
A single chip
3
Microprocessor vs Microcontroller
Microprocessor
• CPU is stand-alone, RAM, ROM,
I/O, timer are separate
• designer can decide on the
amount of ROM, RAM and I/O
ports.
• expensive
• versatility
• general-purpose
Microcontroller
• CPU, RAM, ROM, I/O and timer
are all on a single chip
• fix amount of on-chip ROM, RAM,
I/O ports
• for applications in which cost,
power and space are critical
• single-purpose
4
Microcontroller’s internal Blocks
• CPU ( ALU, Registers, Oscillator/clock, Bus control)
• RAM /Data memory
• ROM / program memory
• I/O ports
• Timer/counters
• Serial ports
• Interrupts
Microcontroller Block Diagram
CPU
On-chip
RAM
On-chip
ROM for
program
code
4 I/O Ports
Timer 0
Serial
PortOSC
Interrupt
Control
External interrupts
Timer 1
Timer/Counter
Bus
Control
TxD RxDP0 P1 P2 P3
Address/Data
Counter
Inputs
6
Microcontroller Block Diagram
ALU
Internal ROM
I/O Ports
Internal RAM
Accumulator
Registers
Program Counter
Stack Pointer
Oscillator
Counter/Timer
Serial Port
Interrupt Logic
Bus Control
8051 block diagram
Program Counter and Data pointer
Program Counter (PC):
Program counter is a 16 bit Register. It holds the address of
the next instruction to be executed.
It does not have internal address (PC is the only register not
having the internal address)
Data Pointer (DPTR): DPH and DPL
DPTR is used to furnish memory address for internal and
external code access and external data access
A and B CPU Registers
• A and B registers are the two registers among the 34 general purpose registers
• Holds results of many instructions, particularly math and logical operations
• A register (Accumulator) is the most versatile and is used for many
operations including addition, subtraction, integer multiplication and division
and Boolean bit manipulations
• A register is also used for all data transfer between 8051 and any external
memory
• B register is used with A register for multiplication and division operations.
Flags and Program Status Word (PSW)
Special Function Registers
Special Function Registers-Continued
8051 µC Hardware

More Related Content

PPTX
8051 microcontroller features
PPTX
Interfacing external memory in 8051
PPSX
8051 architecture
PPT
8051 serial communication-UART
PPT
Interrupt programming with 8051 microcontroller
PPTX
INTRODUCTION TO MICROCONTROLLER
PDF
Unit 5
PPT
8 interrupt 8051
8051 microcontroller features
Interfacing external memory in 8051
8051 architecture
8051 serial communication-UART
Interrupt programming with 8051 microcontroller
INTRODUCTION TO MICROCONTROLLER
Unit 5
8 interrupt 8051

What's hot (20)

PPTX
Interrupts in 8051
PDF
Microcontroller pic 16f877 addressing modes instructions and programming
PPTX
PIC-18 Microcontroller
PPT
Architecture of 8086 Microprocessor
PPTX
Pic microcontroller architecture
PPTX
ATmega32-AVR microcontrollers-Part I
PPTX
8051 Microcontroller ppt
PPTX
8051 MICROCONTROLLER ARCHITECTURE.pptx
PPTX
PIC Microcontrollers
PPT
Programming with 8085
PDF
8051 microcontroller
DOC
PIC MICROCONTROLLERS -CLASS NOTES
PPTX
LCD Interacing with 8051
PPT
Interfacing stepper motor
PPTX
Microcontroller 8051 and its interfacing
PPT
8051 instruction set
PPTX
Addressing modes of 8086
PDF
Memory interfacing of microcontroller 8051
PPT
Memory organization of 8051
PPTX
Msp 430 module 3
Interrupts in 8051
Microcontroller pic 16f877 addressing modes instructions and programming
PIC-18 Microcontroller
Architecture of 8086 Microprocessor
Pic microcontroller architecture
ATmega32-AVR microcontrollers-Part I
8051 Microcontroller ppt
8051 MICROCONTROLLER ARCHITECTURE.pptx
PIC Microcontrollers
Programming with 8085
8051 microcontroller
PIC MICROCONTROLLERS -CLASS NOTES
LCD Interacing with 8051
Interfacing stepper motor
Microcontroller 8051 and its interfacing
8051 instruction set
Addressing modes of 8086
Memory interfacing of microcontroller 8051
Memory organization of 8051
Msp 430 module 3
Ad

Similar to 8051 block diagram (20)

PPTX
Microcontrollers and its applications unit 1
PPTX
8051 microcontroller
PPTX
MPMC UNIT II edited . ppt X and communication
PPTX
B sc e5.2 mp unit 4 mc-8051
PDF
Fundamentals of Microcontroller 8051 by Dr. Jogade S M, Assistant Professor, ...
PPT
Unit_4 8051_PPT_Architecture_pin_Addressing mode.ppt
PPT
8051 Microcontroller slides foe electronics
PPTX
8051.pptx
PPT
INTRODUCTION TO MICROCONTROLLERS(8051) ARCHITECTURE,INSTRUCTION SET ,ADDRESSI...
PPTX
8051 Microcontroller
PPT
8051.ppt microcontroller full detail explnation
PPTX
Microcontroller overview 1
PPTX
Microcontroller1
PPTX
CHAPTER1.pptx ON 8051 MICROCONTROLLER INTRODUCTION CHAPTER
PDF
Unit1 5-mpi-lecture-notes
PPT
Microprocessors and Microcontrollers.ppt
PDF
Introduction to 8085 Microprocessors
PDF
8051 Architecture and PIN Configuration.pdf
Microcontrollers and its applications unit 1
8051 microcontroller
MPMC UNIT II edited . ppt X and communication
B sc e5.2 mp unit 4 mc-8051
Fundamentals of Microcontroller 8051 by Dr. Jogade S M, Assistant Professor, ...
Unit_4 8051_PPT_Architecture_pin_Addressing mode.ppt
8051 Microcontroller slides foe electronics
8051.pptx
INTRODUCTION TO MICROCONTROLLERS(8051) ARCHITECTURE,INSTRUCTION SET ,ADDRESSI...
8051 Microcontroller
8051.ppt microcontroller full detail explnation
Microcontroller overview 1
Microcontroller1
CHAPTER1.pptx ON 8051 MICROCONTROLLER INTRODUCTION CHAPTER
Unit1 5-mpi-lecture-notes
Microprocessors and Microcontrollers.ppt
Introduction to 8085 Microprocessors
8051 Architecture and PIN Configuration.pdf
Ad

More from DominicHendry (18)

PPTX
Venturi meter
PPTX
Rotameter
PPTX
PPTX
Part family
PPTX
Key board interfacing with 8051
PPTX
PPT
8051 timer and counter 1
PPTX
Rotameter
PPTX
2 d dimensioning
PPTX
Pmmc instruments
PPTX
Pic microcontroller architecture
PPTX
Optical torsion meter
PPTX
op amp
PPTX
Ic 555 timer as astable
PPTX
Hydraulics circuits
PPTX
Friction
PPTX
Basic principles of pneumatics
Venturi meter
Rotameter
Part family
Key board interfacing with 8051
8051 timer and counter 1
Rotameter
2 d dimensioning
Pmmc instruments
Pic microcontroller architecture
Optical torsion meter
op amp
Ic 555 timer as astable
Hydraulics circuits
Friction
Basic principles of pneumatics

Recently uploaded (20)

PPTX
Introduction to Fisheries Biotechnology_Lesson 1.pptx
PPTX
EPIDURAL ANESTHESIA ANATOMY AND PHYSIOLOGY.pptx
PPTX
INTRODUCTION TO EVS | Concept of sustainability
PPTX
ognitive-behavioral therapy, mindfulness-based approaches, coping skills trai...
PDF
SEHH2274 Organic Chemistry Notes 1 Structure and Bonding.pdf
PDF
Cosmic Outliers: Low-spin Halos Explain the Abundance, Compactness, and Redsh...
PDF
Assessment of environmental effects of quarrying in Kitengela subcountyof Kaj...
PDF
HPLC-PPT.docx high performance liquid chromatography
PDF
An interstellar mission to test astrophysical black holes
PPTX
Pharmacology of Autonomic nervous system
PPTX
Introduction to Cardiovascular system_structure and functions-1
PDF
Placing the Near-Earth Object Impact Probability in Context
PPTX
2. Earth - The Living Planet Module 2ELS
PDF
Formation of Supersonic Turbulence in the Primordial Star-forming Cloud
PPTX
2. Earth - The Living Planet earth and life
PDF
. Radiology Case Scenariosssssssssssssss
PDF
ELS_Q1_Module-11_Formation-of-Rock-Layers_v2.pdf
PPTX
Classification Systems_TAXONOMY_SCIENCE8.pptx
PDF
Unveiling a 36 billion solar mass black hole at the centre of the Cosmic Hors...
PDF
Lymphatic System MCQs & Practice Quiz – Functions, Organs, Nodes, Ducts
Introduction to Fisheries Biotechnology_Lesson 1.pptx
EPIDURAL ANESTHESIA ANATOMY AND PHYSIOLOGY.pptx
INTRODUCTION TO EVS | Concept of sustainability
ognitive-behavioral therapy, mindfulness-based approaches, coping skills trai...
SEHH2274 Organic Chemistry Notes 1 Structure and Bonding.pdf
Cosmic Outliers: Low-spin Halos Explain the Abundance, Compactness, and Redsh...
Assessment of environmental effects of quarrying in Kitengela subcountyof Kaj...
HPLC-PPT.docx high performance liquid chromatography
An interstellar mission to test astrophysical black holes
Pharmacology of Autonomic nervous system
Introduction to Cardiovascular system_structure and functions-1
Placing the Near-Earth Object Impact Probability in Context
2. Earth - The Living Planet Module 2ELS
Formation of Supersonic Turbulence in the Primordial Star-forming Cloud
2. Earth - The Living Planet earth and life
. Radiology Case Scenariosssssssssssssss
ELS_Q1_Module-11_Formation-of-Rock-Layers_v2.pdf
Classification Systems_TAXONOMY_SCIENCE8.pptx
Unveiling a 36 billion solar mass black hole at the centre of the Cosmic Hors...
Lymphatic System MCQs & Practice Quiz – Functions, Organs, Nodes, Ducts

8051 block diagram

  • 2. 2 Microcontroller: • A smaller computer • On-chip RAM, ROM, I/O ports... • Example:Motorola’s 6811, Intel’s 8051, Zilog’s Z8X and PIC 16X RAM ROM I/O Port Timer Serial COM Port Microcontroller CPU A single chip
  • 3. 3 Microprocessor vs Microcontroller Microprocessor • CPU is stand-alone, RAM, ROM, I/O, timer are separate • designer can decide on the amount of ROM, RAM and I/O ports. • expensive • versatility • general-purpose Microcontroller • CPU, RAM, ROM, I/O and timer are all on a single chip • fix amount of on-chip ROM, RAM, I/O ports • for applications in which cost, power and space are critical • single-purpose
  • 4. 4 Microcontroller’s internal Blocks • CPU ( ALU, Registers, Oscillator/clock, Bus control) • RAM /Data memory • ROM / program memory • I/O ports • Timer/counters • Serial ports • Interrupts
  • 5. Microcontroller Block Diagram CPU On-chip RAM On-chip ROM for program code 4 I/O Ports Timer 0 Serial PortOSC Interrupt Control External interrupts Timer 1 Timer/Counter Bus Control TxD RxDP0 P1 P2 P3 Address/Data Counter Inputs
  • 6. 6 Microcontroller Block Diagram ALU Internal ROM I/O Ports Internal RAM Accumulator Registers Program Counter Stack Pointer Oscillator Counter/Timer Serial Port Interrupt Logic Bus Control
  • 8. Program Counter and Data pointer Program Counter (PC): Program counter is a 16 bit Register. It holds the address of the next instruction to be executed. It does not have internal address (PC is the only register not having the internal address) Data Pointer (DPTR): DPH and DPL DPTR is used to furnish memory address for internal and external code access and external data access
  • 9. A and B CPU Registers • A and B registers are the two registers among the 34 general purpose registers • Holds results of many instructions, particularly math and logical operations • A register (Accumulator) is the most versatile and is used for many operations including addition, subtraction, integer multiplication and division and Boolean bit manipulations • A register is also used for all data transfer between 8051 and any external memory • B register is used with A register for multiplication and division operations.
  • 10. Flags and Program Status Word (PSW)