SlideShare a Scribd company logo
5
Most read
9
Most read
11
Most read
Microcontroller 8051
Architecture And Pin Configuration OF 8051
#Presented By AKHIL MADANKAR.#
A
General-purpose Microprocessors
 CPU
 No RAM
 No ROM
 No I/O ports
RAM
Address bus
Data bus
ROM Printer Disk Monitor Keyboard
Control bus
Microprocessor
CPU
Write
Read/
General-purpose Microcontroller
 CPU (microprocessor)
 RAM
 ROM
 I/O ports
 Timer
 ADC and other peripherals
Serial
COM
Port
TimerI/O
ROMRAMCPU
Microcontroller
Features Of 8051
128 bytes of RAM
4 K bytes of on-chip ROM
Two timers
One serial port
Four I/O ports, each 8 bits wide(i.e. 32 I/O pins.)
6 interrupt sources
Commercially available version of 8051 run on 12 MHz to 18 MHz
Architecture Of 8051
Interrupt
Control
Bus
Control
CPU
OSC I/O
Ports
Serial
Port
Etc.
Timer 0
Timer 1
On-chip
RAM
On-chip
ROM
for code
P3P0P1P2 TXD RXD
Interrupts
Arch8051
Functional Description Block
 Accumulator
- SFR
- It can be accessed through its SFR adder 0E0H.
 B Register
- Use as temporary register .
- store upper bit Result of MUL & DIV.
- access through SFR adder 0F0H.
 Stack Pointer
- Define anywhere on chip 128 byte RAM.
- It is Initialised to 07H address (after rest) .
 Data Pointer
- 16 bit register
-Access external memory up to 64KB.
Arch8051
Functional Description Block
 Program Status Word
- Reflect status ALU performing operation.
 Port 0 to 3
- Each latch and corresponding drivers of port 0 to 3 is allotted to the
corresponding on chip I/O port.
 Serial Data Buffer
- Two Independent Register : TX Buffer (8bit) & RX Buffer(8bit).
 Program Counter
- 16 bit wide
- Point to address of next instruction to be executed .
Arch8051
Functional Description Block
 Timing & Control Unit
- Deriver signal required for Internal operation of circuit .
- Control signal required for controlling External System Bus.
 Oscillator
- Generate basic timing control signal for operation of circuit using crystal oscillator.
 ALU
- Perform 8 bit operation.
- Through TMP1 and TMP2 (each 8 bit).
- Not access by User.
 SFR Register Bank
- lie in range of 80H to 0FFH .
- It can addressed using their respective address .
Arch8051
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
25
24
23
22
21
P1.0
P1.1
P1.2
P1.3
P1.4
P1.5
P1.6
P1.7
RST
(RXD)P3.0
(TXD)P3.1
(T0)P3.4
(T1)P3.5
XTAL2
XTAL1
VSS
(INT0)P3.2
(INT1)P3.3
(RD)P3.7
(WR)P3.6
VCC
P0.0(AD0)
P0.1(AD1)
P0.2(AD2)
P0.3(AD3)
P0.4(AD4)
P0.5(AD5)
P0.6(AD6)
P0.7(AD7)
EA/VPP
PSEN
P2.7(A15)
P2.6(A14)
P2.5(A13)
P2.4(A12)
P2.3(A11)
P2.2(A10)
P2.1(A9)
P2.0(A8)
8051 ALE/PROG
Pin Configuration
OF 8051
 VCC & VSS
 RESET
 ALE/PROG
- It is used for demultiplexing
address and data .
- It is valid only for External
memory accesses.
 EA/VPP
- EA/VPP =0 : Execute program on
external memory.
- EA/VPP =1 : Execute program on
internal memory.
- Receives 21 v for programming
of the on chip EPROM.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
25
24
23
22
21
P1.0
P1.1
P1.2
P1.3
P1.4
P1.5
P1.6
P1.7
RST
(RXD)P3.0
(TXD)P3.1
(T0)P3.4
(T1)P3.5
XTAL2
XTAL1
VSS
(INT0)P3.2
(INT1)P3.3
(RD)P3.7
(WR)P3.6
VCC
P0.0(AD0)
P0.1(AD1)
P0.2(AD2)
P0.3(AD3)
P0.4(AD4)
P0.5(AD5)
P0.6(AD6)
P0.7(AD7)
EA/VPP
PSEN
P2.7(A15)
P2.6(A14)
P2.5(A13)
P2.4(A12)
P2.3(A11)
P2.2(A10)
P2.1(A9)
P2.0(A8)
8051 ALE/PROG
Pin Configuration
OF 8051
 PSEN
- Acts as a strobe to read the
external program memory.
- It is low during external program
memory accesses.
 Port 0 (P0.0-P0.7)
- 8 bit bidirectional bit addressable
I/O port.
- Allotted an address in SFR
address range.
- Act as Multiplexed A/D lines
during external memory access.
PIN8051
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
25
24
23
22
21
P1.0
P1.1
P1.2
P1.3
P1.4
P1.5
P1.6
P1.7
RST
(RXD)P3.0
(TXD)P3.1
(T0)P3.4
(T1)P3.5
XTAL2
XTAL1
VSS
(INT0)P3.2
(INT1)P3.3
(RD)P3.7
(WR)P3.6
VCC
P0.0(AD0)
P0.1(AD1)
P0.2(AD2)
P0.3(AD3)
P0.4(AD4)
P0.5(AD5)
P0.6(AD6)
P0.7(AD7)
EA/VPP
PSEN
P2.7(A15)
P2.6(A14)
P2.5(A13)
P2.4(A12)
P2.3(A11)
P2.2(A10)
P2.1(A9)
P2.0(A8)
8051 ALE/PROG
Pin Configuration
OF 8051
 Port 1 (P1.0-P1.7)
- 8 bit bidirectional bit addressable
port.
- Allotted an address in SFR
address range.
 Port 2 (P2.0-P2.7)
- During external memory, It emits
higher 8 bits of address when
ALE =1 & EA=0 .
- Also receives higher order
address bit during programming of
on chip EPROM.
PIN8051
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
25
24
23
22
21
P1.0
P1.1
P1.2
P1.3
P1.4
P1.5
P1.6
P1.7
RST
(RXD)P3.0
(TXD)P3.1
(T0)P3.4
(T1)P3.5
XTAL2
XTAL1
VSS
(INT0)P3.2
(INT1)P3.3
(RD)P3.7
(WR)P3.6
VCC
P0.0(AD0)
P0.1(AD1)
P0.2(AD2)
P0.3(AD3)
P0.4(AD4)
P0.5(AD5)
P0.6(AD6)
P0.7(AD7)
EA/VPP
PSEN
P2.7(A15)
P2.6(A14)
P2.5(A13)
P2.4(A12)
P2.3(A11)
P2.2(A10)
P2.1(A9)
P2.0(A8)
8051 ALE/PROG
Pin Configuration
OF 8051
 Port 3 (P3.0-P3.7)
- 8 bit bidirectional bit addressable
port.
- Allotted an address in SFR
address range.
 XTAL1 & XTAL2
- A Crystal is to be connected
externally between these two pins
to complete the feedback path to
start oscillations.
- Controller can be operated on
external clock .
PIN8051
References
1.
The 8051 Microcontroller and Embedded Systems: Using Assembly and C.
By Mazidi, Mazidi and McKinlay.
2.
Advanced Microprocessor And Peripherals .3E
By K M Bhurchuandi and A K Ray .
3.
SlideShare.com
THANK YOU
A

More Related Content

PDF
Intel 8051 - pin description
PPSX
8051 architecture
PPTX
Interrupts in 8051
PPT
8051 instruction set
PPT
Memory organization of 8051
PPT
Interrupt programming with 8051 microcontroller
PPTX
Microcontroller 8051 and its interfacing
PPT
8051 MICROCONTROLLER
Intel 8051 - pin description
8051 architecture
Interrupts in 8051
8051 instruction set
Memory organization of 8051
Interrupt programming with 8051 microcontroller
Microcontroller 8051 and its interfacing
8051 MICROCONTROLLER

What's hot (20)

PPTX
8051 Microcontroller PPT's By Er. Swapnil Kaware
PPTX
Serial Communication in 8051
PPT
Microcontroller-8051.ppt
PPTX
Architecture of 8051
PPTX
8051 MICROCONTROLLER ARCHITECTURE.pptx
PPTX
8251 USART
PPTX
8255 PPI
PPT
8051 block diagram
PPTX
Interfacing Stepper motor with 8051
PPT
06. thumb instructions
PPTX
I/O port programming in 8051
PPTX
8051 Microcontroller ppt
PDF
Pic microcontroller architecture
PPTX
Serial Communication
PPT
8255 presentaion.ppt
PPT
Architecture of 8086 Microprocessor
PPT
Memory & I/O interfacing
PDF
8051 Microcontroller I/O ports
PPTX
LCD Interacing with 8051
PPTX
PIC Microcontrollers
8051 Microcontroller PPT's By Er. Swapnil Kaware
Serial Communication in 8051
Microcontroller-8051.ppt
Architecture of 8051
8051 MICROCONTROLLER ARCHITECTURE.pptx
8251 USART
8255 PPI
8051 block diagram
Interfacing Stepper motor with 8051
06. thumb instructions
I/O port programming in 8051
8051 Microcontroller ppt
Pic microcontroller architecture
Serial Communication
8255 presentaion.ppt
Architecture of 8086 Microprocessor
Memory & I/O interfacing
8051 Microcontroller I/O ports
LCD Interacing with 8051
PIC Microcontrollers
Ad

Viewers also liked (20)

PPT
Architecture of 8051 microcontroller))
DOC
8051 Microcontroller Notes
PPT
8051 archi
PPT
Microcontroller 8051
PPT
8051 microcontroller introduction
PPTX
INTRODUCTION TO MICROCONTROLLER
PDF
Introduction in microcontroller
PDF
Introduction to Microcontroller
PPTX
8051 microcontroller features
PPTX
microcontroller board ppt
PDF
Форум Живых Городов 2015
PDF
Microprocessors8085
PDF
Lecture SOHIL LUHAR
PPT
8051assembly language
PPTX
The 8051 microcontroller
PPTX
Signal descriptors of 8086
PPTX
PIN Specification of 8086 Microprocessor
PDF
Bidirectional data flow
PPT
Pin Description Of Intel 80386 DX Microprocessor
PPTX
Intel® 80386 microprocessor registers
Architecture of 8051 microcontroller))
8051 Microcontroller Notes
8051 archi
Microcontroller 8051
8051 microcontroller introduction
INTRODUCTION TO MICROCONTROLLER
Introduction in microcontroller
Introduction to Microcontroller
8051 microcontroller features
microcontroller board ppt
Форум Живых Городов 2015
Microprocessors8085
Lecture SOHIL LUHAR
8051assembly language
The 8051 microcontroller
Signal descriptors of 8086
PIN Specification of 8086 Microprocessor
Bidirectional data flow
Pin Description Of Intel 80386 DX Microprocessor
Intel® 80386 microprocessor registers
Ad

Similar to MICROCONTROLLER 8051- Architecture & Pin Configuration (20)

PPT
Micro controller
PPTX
8051 Microcontroller
PPTX
PPTX
MICROPROCESSOR AND MICROCONTROLLER ARCHITECTURE
PPTX
MICROCONTROLLER 8051- Architecture and registers
PPTX
8051 programes -ppt.pptx bnvmmmmmmmmmmmmmmmmmmmmmmmmmmhn
PPTX
MCUnit 4and 5_New.pptx
PPT
8051microcontrollerbyvijay-140520010732-phpapp01.ppt
PPTX
8051- Microcontrollers Architecture & Addressing modes
PPT
8051 Microcontroller architecture and operation
PDF
8051_microcontroller_unit4 Presentation.pdf
PPT
Microcontroller 8051
PPTX
Unit two and unit three pptx for btech ece
PPTX
8051 MCU Microcontroller for Embedded Technology.pptx
PPT
Microcontroller 8051 By Mitesh kumar
PPTX
8051 Microcontroller_module_4.1.pptx
PPTX
Architecture of the Intel 8051 Microcontroller
PDF
Basics and Working of 8051 Microprocontroller
PDF
Microprocessor Techniques and Computer Organisation
PDF
Working and Internals of 8051 Microcontroller
Micro controller
8051 Microcontroller
MICROPROCESSOR AND MICROCONTROLLER ARCHITECTURE
MICROCONTROLLER 8051- Architecture and registers
8051 programes -ppt.pptx bnvmmmmmmmmmmmmmmmmmmmmmmmmmmhn
MCUnit 4and 5_New.pptx
8051microcontrollerbyvijay-140520010732-phpapp01.ppt
8051- Microcontrollers Architecture & Addressing modes
8051 Microcontroller architecture and operation
8051_microcontroller_unit4 Presentation.pdf
Microcontroller 8051
Unit two and unit three pptx for btech ece
8051 MCU Microcontroller for Embedded Technology.pptx
Microcontroller 8051 By Mitesh kumar
8051 Microcontroller_module_4.1.pptx
Architecture of the Intel 8051 Microcontroller
Basics and Working of 8051 Microprocontroller
Microprocessor Techniques and Computer Organisation
Working and Internals of 8051 Microcontroller

Recently uploaded (20)

PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPTX
bas. eng. economics group 4 presentation 1.pptx
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PPTX
CH1 Production IntroductoryConcepts.pptx
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PPTX
UNIT 4 Total Quality Management .pptx
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PPTX
Sustainable Sites - Green Building Construction
PPTX
Current and future trends in Computer Vision.pptx
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PPT
Project quality management in manufacturing
PPT
Mechanical Engineering MATERIALS Selection
PPTX
Artificial Intelligence
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
bas. eng. economics group 4 presentation 1.pptx
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
CH1 Production IntroductoryConcepts.pptx
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
UNIT 4 Total Quality Management .pptx
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
Sustainable Sites - Green Building Construction
Current and future trends in Computer Vision.pptx
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
Project quality management in manufacturing
Mechanical Engineering MATERIALS Selection
Artificial Intelligence
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...

MICROCONTROLLER 8051- Architecture & Pin Configuration