SlideShare a Scribd company logo
Unit 1:
Session-2/36
Intel 8051 Functional block diagram
Session Plan
Outline:
A. Attendance
B. Review of the previous session
C. Learning Outcomes of the session
D. Content
E. Student’s evaluation
F. Preparation for next session
G. Wrap up
B. Review of previous session:
• Basics features of 8051
• Registers of 8051
• Block Diagram with the function of each
block
• Few Data Transfer Instructions and related
programs
C. Learning Outcomes of the session:
• To make pin diagram of 8051 microcontroller
• To identify which pins are output or input pins based in their working
• To write a program to transfer the data in keil software
D. Content:
Content Learning /
Methodology
Faculty
Approach
Typical Student
Activity
Skill/
Competency
Developed
Pin Diagram of 8051
microcontroller
PPT
Explain
Understand,Remem
ber
Critical Thinking -
Observation
Functions of each pin Chalk Board, PPT Explain
Understand,Remem
ber
Critical Thinking –
Observation
Identification of input/output pins
Chalk Board, PPT Discuss Discussion
Critical Thinking –
Observation
Assembly Language Program Chalk Board, keil
software
Guide programming
Critical Thinking –
Coding Skill
4*8= 32
2 pins Vcc and
supply = 32+2=34,
1 pin for reset =
34+1 =35
2 pins for XTAL ,
35+2=37
ALE =1, address bus
enable
ALE =0, Data bus
enable
External ROM
0 voltage
Pins description
• Pins 1 to 8 − These pins are known as Port 1. This port doesn’t serve any
other functions. It is internally pulled up, bi-directional I/O port.
• Pin 9 − It is a RESET pin, which is used to reset the microcontroller to its
initial values.
• Pins 10 to 17 − These pins are known as Port 3. This port serves some
functions like interrupts, timer input, control signals, serial
communication signals RxD and TxD, etc.
• Two pins in Port3 are used for the RD (read) and WR (write) signals to
communicate with the external data memory. The T0and T1 pins are used
for counter inputs. The RXD and TXD pins are used for the UART for
serial communication. The INT0 and INT1 pins are used for two interrupt
input pins. So when the external memory is used, there is only one port
(Port1) for I/O operations which does not have any other function.
• Pins 18 & 19 − These pins are used for interfacing an external crystal to
get the system clock.
• Pin 20 − This pin provides the power supply to the circuit.
• Pins 21 to 28 − These pins are known as Port 2. It serves as I/O port.
Higher order address bus and data bus are also multiplexed using this
port.
• Pin 29 − This is PSEN pin which stands for Program Store Enable. It is an
output signal and used to enable external program memory , so that it
can read the data from the external program memory.
• Pin 30 − This is EA pin which stands for External Access input. It is used
to enable/disable the external memory interfacing.
If EA = 0 , microcontroller access external memory and If EA = 1 ,
microcontroller access internal memory.
• Pin 31 − This is ALE pin which stands for Address Latch Enable. It is used
to demultiplex the address-data signal of port 0. When it is high, it
indicates that the Port 0 holds the lower order address bits. And when
ALE is low, it indicates Port 0 is holding the data bits.
• Pins 32 to 39 − These pins are known as Port 0. It serves as I/O port.
Lower order address and data bus signals are multiplexed using this port.
• Pin 40 − This pin is used to provide power supply to the circuit.
• 8051 microcontrollers have 4 I/O ports each of 8-bit, which can be
configured as input or output. Hence, out of 40 pins, total 32
input/output pins allow the microcontroller to be connected with the
peripheral devices.
• The pins can be configured as 1 for input and 0 for output as per the
logic state.
8051 Data Transfer Instructions
• MOV Instruction: It copies data from one location to another.
MOV destination, source.
e.g. : MOV A, Ro ( copies the contents of register Ro to register A )
MOV A, B
MOV A, # 55 H, ( A= 55 H )
MOV Ro, A ( Ro = ? )
MOV R2, A ( R2= ?)
MOV R5, # 0F9 H ( R5 = ?)
MOV 55 H , # 12H ( 12 h data will be saved at the address 55 h)
MOV R0, # 55 H ( R0 = 55 H)
MOV A, @R0 (@ indicates that an address is saved inside R0)(it will consider 55
H as an address, it will go to 55 h address and transfer data at that address
i.e.12h in the A)
MOV A, 55 H (A =12 h)
E. Student’s evaluation
Q1. How many pins are there in 8051 microcontroller?
Q2. State the number of input pins and output pins.
Q3. How many ports are there in 8051?
Q4. How many pins are multifunctional pins?
Q5. Which pins are used for serial communication?
Q6. What are buses, how many types of buses are there?
• Functions of all the pins of 8051
• Atithmatic instructions and programs based
on it
F. Preparation for Next Session:-
G. Wrap Up
In this lecture we have learned
∙ Pin Diagram of 8051
∙ Function of different pins of 8051
∙ Data Transfer instructions and their programming

More Related Content

PPT
Ch3 ppt
PPTX
3-8051 Microcontroller-28-01-2024 (1).pptx
PPT
8051 Microcontroller slides foe electronics
PPTX
Microcontroller (1).pptx
PPTX
MICROPROCESSOR AND MICROCONTROLLER ARCHITECTURE
PPTX
8051 microcontroller
PPTX
Embedded system and Internet of things-1.pptx
PPTX
8051 microcontroller
Ch3 ppt
3-8051 Microcontroller-28-01-2024 (1).pptx
8051 Microcontroller slides foe electronics
Microcontroller (1).pptx
MICROPROCESSOR AND MICROCONTROLLER ARCHITECTURE
8051 microcontroller
Embedded system and Internet of things-1.pptx
8051 microcontroller

Similar to Unit 01.Lec2 Introduction to 8051 microcontroller (2).pptx (20)

PPTX
UNIT 4.pptx
PPT
Unit_4 8051_PPT_Architecture_pin_Addressing mode.ppt
PPT
8051 Microcontroller
PPT
UNIT 3 mp (1).ppt
PPTX
8051 microcontroller
PPTX
Advanced Microprocessor 6.pptx
PPTX
8051 MCU Microcontroller for Embedded Technology.pptx
PPTX
Unit 4.pptx
PPTX
UNIT 4 8051Microcontroller.pptx
PPT
Microcontroller 8051
PPT
8051 microcontroller and it’s interface
PPTX
computer architecture and micro controllers
PPTX
MCUnit 4and 5_New.pptx
PPT
8051
PPT
janakiraman egsp collage I msc 4 unit
PDF
8051 Architecture, System Bus, Advantages
PPT
Live B tech Projects & Industrial Training @Technogroovy
PPT
janakiraman I msc 4 unit
PPT
8085-microprocessor
UNIT 4.pptx
Unit_4 8051_PPT_Architecture_pin_Addressing mode.ppt
8051 Microcontroller
UNIT 3 mp (1).ppt
8051 microcontroller
Advanced Microprocessor 6.pptx
8051 MCU Microcontroller for Embedded Technology.pptx
Unit 4.pptx
UNIT 4 8051Microcontroller.pptx
Microcontroller 8051
8051 microcontroller and it’s interface
computer architecture and micro controllers
MCUnit 4and 5_New.pptx
8051
janakiraman egsp collage I msc 4 unit
8051 Architecture, System Bus, Advantages
Live B tech Projects & Industrial Training @Technogroovy
janakiraman I msc 4 unit
8085-microprocessor
Ad

Recently uploaded (20)

PPTX
Construction Project Organization Group 2.pptx
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PPTX
Internet of Things (IOT) - A guide to understanding
PPTX
UNIT 4 Total Quality Management .pptx
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PPTX
bas. eng. economics group 4 presentation 1.pptx
PDF
Well-logging-methods_new................
PDF
composite construction of structures.pdf
PPTX
Sustainable Sites - Green Building Construction
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
Construction Project Organization Group 2.pptx
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
CYBER-CRIMES AND SECURITY A guide to understanding
Internet of Things (IOT) - A guide to understanding
UNIT 4 Total Quality Management .pptx
Automation-in-Manufacturing-Chapter-Introduction.pdf
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
bas. eng. economics group 4 presentation 1.pptx
Well-logging-methods_new................
composite construction of structures.pdf
Sustainable Sites - Green Building Construction
Model Code of Practice - Construction Work - 21102022 .pdf
UNIT-1 - COAL BASED THERMAL POWER PLANTS
Foundation to blockchain - A guide to Blockchain Tech
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
Ad

Unit 01.Lec2 Introduction to 8051 microcontroller (2).pptx

  • 1. Unit 1: Session-2/36 Intel 8051 Functional block diagram Session Plan
  • 2. Outline: A. Attendance B. Review of the previous session C. Learning Outcomes of the session D. Content E. Student’s evaluation F. Preparation for next session G. Wrap up
  • 3. B. Review of previous session: • Basics features of 8051 • Registers of 8051 • Block Diagram with the function of each block • Few Data Transfer Instructions and related programs
  • 4. C. Learning Outcomes of the session: • To make pin diagram of 8051 microcontroller • To identify which pins are output or input pins based in their working • To write a program to transfer the data in keil software
  • 5. D. Content: Content Learning / Methodology Faculty Approach Typical Student Activity Skill/ Competency Developed Pin Diagram of 8051 microcontroller PPT Explain Understand,Remem ber Critical Thinking - Observation Functions of each pin Chalk Board, PPT Explain Understand,Remem ber Critical Thinking – Observation Identification of input/output pins Chalk Board, PPT Discuss Discussion Critical Thinking – Observation Assembly Language Program Chalk Board, keil software Guide programming Critical Thinking – Coding Skill
  • 6. 4*8= 32 2 pins Vcc and supply = 32+2=34, 1 pin for reset = 34+1 =35 2 pins for XTAL , 35+2=37 ALE =1, address bus enable ALE =0, Data bus enable External ROM 0 voltage
  • 7. Pins description • Pins 1 to 8 − These pins are known as Port 1. This port doesn’t serve any other functions. It is internally pulled up, bi-directional I/O port. • Pin 9 − It is a RESET pin, which is used to reset the microcontroller to its initial values. • Pins 10 to 17 − These pins are known as Port 3. This port serves some functions like interrupts, timer input, control signals, serial communication signals RxD and TxD, etc. • Two pins in Port3 are used for the RD (read) and WR (write) signals to communicate with the external data memory. The T0and T1 pins are used for counter inputs. The RXD and TXD pins are used for the UART for serial communication. The INT0 and INT1 pins are used for two interrupt input pins. So when the external memory is used, there is only one port (Port1) for I/O operations which does not have any other function.
  • 8. • Pins 18 & 19 − These pins are used for interfacing an external crystal to get the system clock. • Pin 20 − This pin provides the power supply to the circuit. • Pins 21 to 28 − These pins are known as Port 2. It serves as I/O port. Higher order address bus and data bus are also multiplexed using this port. • Pin 29 − This is PSEN pin which stands for Program Store Enable. It is an output signal and used to enable external program memory , so that it can read the data from the external program memory. • Pin 30 − This is EA pin which stands for External Access input. It is used to enable/disable the external memory interfacing. If EA = 0 , microcontroller access external memory and If EA = 1 , microcontroller access internal memory.
  • 9. • Pin 31 − This is ALE pin which stands for Address Latch Enable. It is used to demultiplex the address-data signal of port 0. When it is high, it indicates that the Port 0 holds the lower order address bits. And when ALE is low, it indicates Port 0 is holding the data bits. • Pins 32 to 39 − These pins are known as Port 0. It serves as I/O port. Lower order address and data bus signals are multiplexed using this port. • Pin 40 − This pin is used to provide power supply to the circuit. • 8051 microcontrollers have 4 I/O ports each of 8-bit, which can be configured as input or output. Hence, out of 40 pins, total 32 input/output pins allow the microcontroller to be connected with the peripheral devices. • The pins can be configured as 1 for input and 0 for output as per the logic state.
  • 10. 8051 Data Transfer Instructions • MOV Instruction: It copies data from one location to another. MOV destination, source. e.g. : MOV A, Ro ( copies the contents of register Ro to register A ) MOV A, B MOV A, # 55 H, ( A= 55 H ) MOV Ro, A ( Ro = ? ) MOV R2, A ( R2= ?) MOV R5, # 0F9 H ( R5 = ?) MOV 55 H , # 12H ( 12 h data will be saved at the address 55 h) MOV R0, # 55 H ( R0 = 55 H) MOV A, @R0 (@ indicates that an address is saved inside R0)(it will consider 55 H as an address, it will go to 55 h address and transfer data at that address i.e.12h in the A) MOV A, 55 H (A =12 h)
  • 11. E. Student’s evaluation Q1. How many pins are there in 8051 microcontroller? Q2. State the number of input pins and output pins. Q3. How many ports are there in 8051? Q4. How many pins are multifunctional pins? Q5. Which pins are used for serial communication? Q6. What are buses, how many types of buses are there?
  • 12. • Functions of all the pins of 8051 • Atithmatic instructions and programs based on it F. Preparation for Next Session:-
  • 13. G. Wrap Up In this lecture we have learned ∙ Pin Diagram of 8051 ∙ Function of different pins of 8051 ∙ Data Transfer instructions and their programming