SlideShare a Scribd company logo
1 of 10
Download to read offline
 The 8051 is a 40 pin device, but out
of these 40 pins, 32 are used for I/O
 Many pins of 8051 are used for
more than one function.
 32 I/O pins = 4 eight bit ports
= P0, P1, P2 and P3
 All ports are bidirectional
 Each ports consist of latch, an output
driver and an input buffer.
 40 pin DIP
 +5 volts DC.
 Among the 40 pins , 32 pins = four parallel ports P0, P1, P2
and P3 . Remaining pins are VCC, GND, XTAL1, XTAL2, RST, EA ,
PSEN, ALE.
 P0.0- P0.7(AD0-AD7) (32-39)
 The port 0 pins multiplexed with (low order byte) Address/data
pins .
 If the microcontroller is accessing external memory, these pins
will act as address/data pins otherwise, they are used for Port 0
pins.
 P1.0- P1.7 (1 – 8)
 These 8-pins are dedicated for Port 1 to perform input or
output port operations.
 P2.0- P2.7(A8-A15) (21-28)
 The port 2 pins are multiplexed with the higher order
address pins .
 When the microcontroller is accessing external memory
these pins provide the higher order address byte
otherwise they act as Port 2 pins.
 P3.0- P3.7 : (10-17)
 These 8-pins are meant for Port3 operations and also for some
control operations like Read, Write, Timer0, Timer1, INT0,
INT1, RXD and TXD.
SYMBOL POSITION ALTERNATE USE
𝑅𝐷 P 3.7 External memory read signal
𝑊𝑅 P 3.6 External memory write signal
T1 P 3.5 External timer 1 input
T0 P 3.4 External timer 0 output
𝐼𝑁𝑇1 P 3.3 External interrupt 1 input
𝐼𝑁𝑇0 P 3.2 External interrupt 0 input
TXD P 3.1 Serial data output
RXD P 3.0 Serial data input
 Pin 40 & pin 20
 Pin 40 = Vcc = +5v
 Pin 20 = Vss = GND
 XTAL1(Pin 19), XTAL2(Pin 18)
 These two pins are connected to Quartz crystal oscillator
which runs the on-chip oscillator.
 For generating an internal clock signal, the external
oscillator is connected at these two pins.
 If we use a source other than the crystal oscillator, it will be
connected to XTAL1 and XTAL2 is left unconnected.
 ALE – pin 30(Address Latch Enable)
 This is an output pin, which is active high.
 When connected to external memory , port 0 provides both
address and data i.e address and data are multiplexed
through port 0 .
 This ALE pin will demultiplex the address and data bus
.When the pin is High , the AD bus will act as address bus
otherwise the AD bus will act as Data bus.
 RST – pin 9(RESET)
 The RESET pin is an input pin and it is an active high pin.
 When a high pulse is applied to this pin the microcontroller will reset
and terminate all activities.
 It held high at least for two machine cycles, while oscillator is running
 PSEN– pin 29(Program Store Enable) :
 This is an output pin which is active low.
 When the microcontroller is accessing the program code stored in the
external ROM, this pin is connected to the OE (Output Enable) pin of the
ROM.
 It is activated every six oscillator periods while reading external memory
 𝑬𝑨 – pin 31 (External Access):
 This pin is an active low pin.
 This pin is connected to ground when microcontroller is
accessing the program code stored in the external memory
and connected to Vcc when it is accessing the program
code in the on chip memory.
 This pin should not be left Unconnected.
Intel 8051  - pin description

More Related Content

What's hot

Architecture of 8051 microcontroller))
Architecture of 8051 microcontroller))Architecture of 8051 microcontroller))
Architecture of 8051 microcontroller))Ganesh Ram
 
8051 Microcontroller
8051 Microcontroller8051 Microcontroller
8051 Microcontrollerthokalpv
 
MICROCONTROLLER 8051- Architecture & Pin Configuration
MICROCONTROLLER 8051- Architecture & Pin Configuration MICROCONTROLLER 8051- Architecture & Pin Configuration
MICROCONTROLLER 8051- Architecture & Pin Configuration AKHIL MADANKAR
 
Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor  Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor Mustapha Fatty
 
Addressing modes of 8086
Addressing modes of 8086Addressing modes of 8086
Addressing modes of 8086saurav kumar
 
Interfacing with peripherals: analog to digital converters and digital to ana...
Interfacing with peripherals: analog to digital converters and digital to ana...Interfacing with peripherals: analog to digital converters and digital to ana...
Interfacing with peripherals: analog to digital converters and digital to ana...NimeshSingh27
 
8051 Microcontroller ppt
8051 Microcontroller ppt8051 Microcontroller ppt
8051 Microcontroller pptRahul Kumar
 
Pic microcontroller architecture
Pic microcontroller architecturePic microcontroller architecture
Pic microcontroller architectureDominicHendry
 
4.programmable dma controller 8257
4.programmable dma controller 82574.programmable dma controller 8257
4.programmable dma controller 8257MdFazleRabbi18
 
Microprocessor 8085 complete
Microprocessor 8085 completeMicroprocessor 8085 complete
Microprocessor 8085 completeShubham Singh
 
8085 Paper Presentation slides,ppt,microprocessor 8085 ,guide, instruction set
8085 Paper Presentation slides,ppt,microprocessor 8085 ,guide, instruction set8085 Paper Presentation slides,ppt,microprocessor 8085 ,guide, instruction set
8085 Paper Presentation slides,ppt,microprocessor 8085 ,guide, instruction setSaumitra Rukmangad
 
I/O port programming in 8051
I/O port programming in 8051I/O port programming in 8051
I/O port programming in 8051ssuser3a47cb
 
8086 pin details
8086 pin details8086 pin details
8086 pin detailsAJAL A J
 
8051 MICROCONTROLLER ARCHITECTURE.pptx
 8051 MICROCONTROLLER ARCHITECTURE.pptx 8051 MICROCONTROLLER ARCHITECTURE.pptx
8051 MICROCONTROLLER ARCHITECTURE.pptxMemonaMemon1
 
8051 Assembly Language Programming
8051 Assembly Language Programming8051 Assembly Language Programming
8051 Assembly Language ProgrammingRavikumar Tiwari
 
Minimum mode and Maximum mode Configuration in 8086
Minimum mode and Maximum mode Configuration in 8086Minimum mode and Maximum mode Configuration in 8086
Minimum mode and Maximum mode Configuration in 8086Jismy .K.Jose
 
8051 Microcontroller I/O ports
8051 Microcontroller I/O ports8051 Microcontroller I/O ports
8051 Microcontroller I/O portsanishgoel
 

What's hot (20)

Architecture of 8051 microcontroller))
Architecture of 8051 microcontroller))Architecture of 8051 microcontroller))
Architecture of 8051 microcontroller))
 
8051 memory
8051 memory8051 memory
8051 memory
 
8051 Microcontroller
8051 Microcontroller8051 Microcontroller
8051 Microcontroller
 
MICROCONTROLLER 8051- Architecture & Pin Configuration
MICROCONTROLLER 8051- Architecture & Pin Configuration MICROCONTROLLER 8051- Architecture & Pin Configuration
MICROCONTROLLER 8051- Architecture & Pin Configuration
 
Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor  Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor
 
Serial Communication in 8051
Serial Communication in 8051Serial Communication in 8051
Serial Communication in 8051
 
Addressing modes of 8086
Addressing modes of 8086Addressing modes of 8086
Addressing modes of 8086
 
Interfacing with peripherals: analog to digital converters and digital to ana...
Interfacing with peripherals: analog to digital converters and digital to ana...Interfacing with peripherals: analog to digital converters and digital to ana...
Interfacing with peripherals: analog to digital converters and digital to ana...
 
8051 Microcontroller ppt
8051 Microcontroller ppt8051 Microcontroller ppt
8051 Microcontroller ppt
 
Microprocessor 8086
Microprocessor 8086Microprocessor 8086
Microprocessor 8086
 
Pic microcontroller architecture
Pic microcontroller architecturePic microcontroller architecture
Pic microcontroller architecture
 
4.programmable dma controller 8257
4.programmable dma controller 82574.programmable dma controller 8257
4.programmable dma controller 8257
 
Microprocessor 8085 complete
Microprocessor 8085 completeMicroprocessor 8085 complete
Microprocessor 8085 complete
 
8085 Paper Presentation slides,ppt,microprocessor 8085 ,guide, instruction set
8085 Paper Presentation slides,ppt,microprocessor 8085 ,guide, instruction set8085 Paper Presentation slides,ppt,microprocessor 8085 ,guide, instruction set
8085 Paper Presentation slides,ppt,microprocessor 8085 ,guide, instruction set
 
I/O port programming in 8051
I/O port programming in 8051I/O port programming in 8051
I/O port programming in 8051
 
8086 pin details
8086 pin details8086 pin details
8086 pin details
 
8051 MICROCONTROLLER ARCHITECTURE.pptx
 8051 MICROCONTROLLER ARCHITECTURE.pptx 8051 MICROCONTROLLER ARCHITECTURE.pptx
8051 MICROCONTROLLER ARCHITECTURE.pptx
 
8051 Assembly Language Programming
8051 Assembly Language Programming8051 Assembly Language Programming
8051 Assembly Language Programming
 
Minimum mode and Maximum mode Configuration in 8086
Minimum mode and Maximum mode Configuration in 8086Minimum mode and Maximum mode Configuration in 8086
Minimum mode and Maximum mode Configuration in 8086
 
8051 Microcontroller I/O ports
8051 Microcontroller I/O ports8051 Microcontroller I/O ports
8051 Microcontroller I/O ports
 

Similar to Intel 8051 - pin description

Pin diagram 8085 microprocessor(For College Seminars)
Pin diagram 8085 microprocessor(For College Seminars)Pin diagram 8085 microprocessor(For College Seminars)
Pin diagram 8085 microprocessor(For College Seminars)Naman Joshi
 
Microcontroller 8051
Microcontroller 8051Microcontroller 8051
Microcontroller 8051Rashmi
 
janakiraman egsp collage I msc 4 unit
janakiraman egsp collage  I msc 4 unitjanakiraman egsp collage  I msc 4 unit
janakiraman egsp collage I msc 4 unitjanakiramang6
 
janakiraman I msc 4 unit
janakiraman I msc 4 unitjanakiraman I msc 4 unit
janakiraman I msc 4 unitjanakiramang6
 
Microcontroller 8051
Microcontroller 8051Microcontroller 8051
Microcontroller 8051Moeez Shem
 
Microcontroller 8051 By Mitesh kumar
Microcontroller 8051 By Mitesh kumarMicrocontroller 8051 By Mitesh kumar
Microcontroller 8051 By Mitesh kumarMitesh Kumar
 
4th yr dmumicrocontroller1
4th yr dmumicrocontroller14th yr dmumicrocontroller1
4th yr dmumicrocontroller1haymanotyehuala
 
Microcontroller 8051
Microcontroller 8051Microcontroller 8051
Microcontroller 8051Sadiq Rahim
 
Micro lec note2
Micro lec note2Micro lec note2
Micro lec note2KHATANA360
 
itft-Microcontriller 8051
itft-Microcontriller 8051itft-Microcontriller 8051
itft-Microcontriller 8051Shifali Sharma
 
Presentation On: "Micro-controller 8051 & Embedded System"
Presentation On: "Micro-controller 8051 & Embedded System"Presentation On: "Micro-controller 8051 & Embedded System"
Presentation On: "Micro-controller 8051 & Embedded System"surabhii007
 
pin-diagram-details-of-8086-microprocessor
pin-diagram-details-of-8086-microprocessorpin-diagram-details-of-8086-microprocessor
pin-diagram-details-of-8086-microprocessorbarsharoy19
 
8051 architecture
8051 architecture8051 architecture
8051 architecturesb108ec
 

Similar to Intel 8051 - pin description (20)

Pin diagram 8085 microprocessor(For College Seminars)
Pin diagram 8085 microprocessor(For College Seminars)Pin diagram 8085 microprocessor(For College Seminars)
Pin diagram 8085 microprocessor(For College Seminars)
 
8051 microcontroller
8051 microcontroller8051 microcontroller
8051 microcontroller
 
8051 book
8051 book8051 book
8051 book
 
Microcontroller 8051
Microcontroller 8051Microcontroller 8051
Microcontroller 8051
 
janakiraman egsp collage I msc 4 unit
janakiraman egsp collage  I msc 4 unitjanakiraman egsp collage  I msc 4 unit
janakiraman egsp collage I msc 4 unit
 
8051 full ppt
8051 full ppt8051 full ppt
8051 full ppt
 
janakiraman I msc 4 unit
janakiraman I msc 4 unitjanakiraman I msc 4 unit
janakiraman I msc 4 unit
 
Microcontroller 8051
Microcontroller 8051Microcontroller 8051
Microcontroller 8051
 
Microcontroller 8051 By Mitesh kumar
Microcontroller 8051 By Mitesh kumarMicrocontroller 8051 By Mitesh kumar
Microcontroller 8051 By Mitesh kumar
 
4th yr dmumicrocontroller1
4th yr dmumicrocontroller14th yr dmumicrocontroller1
4th yr dmumicrocontroller1
 
Hardware View of Intel 8051
Hardware View of Intel 8051Hardware View of Intel 8051
Hardware View of Intel 8051
 
Microcontroller 8051
Microcontroller 8051Microcontroller 8051
Microcontroller 8051
 
Microcontroller 8051 gs
Microcontroller 8051 gsMicrocontroller 8051 gs
Microcontroller 8051 gs
 
Micro lec note2
Micro lec note2Micro lec note2
Micro lec note2
 
Ch3 ppt
Ch3 pptCh3 ppt
Ch3 ppt
 
itft-Microcontriller 8051
itft-Microcontriller 8051itft-Microcontriller 8051
itft-Microcontriller 8051
 
Presentation On: "Micro-controller 8051 & Embedded System"
Presentation On: "Micro-controller 8051 & Embedded System"Presentation On: "Micro-controller 8051 & Embedded System"
Presentation On: "Micro-controller 8051 & Embedded System"
 
pin-diagram-details-of-8086-microprocessor
pin-diagram-details-of-8086-microprocessorpin-diagram-details-of-8086-microprocessor
pin-diagram-details-of-8086-microprocessor
 
Microcontroller
MicrocontrollerMicrocontroller
Microcontroller
 
8051 architecture
8051 architecture8051 architecture
8051 architecture
 

More from DEPARTMENT OF PHYSICS (20)

Ruby laser
Ruby laserRuby laser
Ruby laser
 
Phototransistor
PhototransistorPhototransistor
Phototransistor
 
Photo diode
Photo diodePhoto diode
Photo diode
 
Opto electronic devices
Opto electronic devicesOpto electronic devices
Opto electronic devices
 
Basics of laser action
Basics of laser actionBasics of laser action
Basics of laser action
 
7 Segment Display
7 Segment Display7 Segment Display
7 Segment Display
 
MICROCONTROLLER - INTEL 8051
MICROCONTROLLER - INTEL 8051MICROCONTROLLER - INTEL 8051
MICROCONTROLLER - INTEL 8051
 
Intel 8085 - Smallest number in a data array
Intel 8085 -  Smallest number in a data arrayIntel 8085 -  Smallest number in a data array
Intel 8085 - Smallest number in a data array
 
Intel 8085 largest number in a data array
Intel   8085  largest number in a data arrayIntel   8085  largest number in a data array
Intel 8085 largest number in a data array
 
Intel 8085 - Arrange an array of data in ascending order
Intel 8085  - Arrange an array of data in ascending orderIntel 8085  - Arrange an array of data in ascending order
Intel 8085 - Arrange an array of data in ascending order
 
Haemodialysis
HaemodialysisHaemodialysis
Haemodialysis
 
Pacemaker
PacemakerPacemaker
Pacemaker
 
Cyclotron
CyclotronCyclotron
Cyclotron
 
Dia para
Dia paraDia para
Dia para
 
Microprocessor
MicroprocessorMicroprocessor
Microprocessor
 
Superconductor
SuperconductorSuperconductor
Superconductor
 
Nuclear physics ppt
Nuclear physics pptNuclear physics ppt
Nuclear physics ppt
 
Keplers law
Keplers lawKeplers law
Keplers law
 
types of satelite comunication
types of satelite comunicationtypes of satelite comunication
types of satelite comunication
 
Nuclear rections ppt
Nuclear rections pptNuclear rections ppt
Nuclear rections ppt
 

Recently uploaded

MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptxSherlyMaeNeri
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Planning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptxPlanning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptxLigayaBacuel1
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfSpandanaRallapalli
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
Romantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptxRomantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptxsqpmdrvczh
 
ROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint PresentationROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint PresentationAadityaSharma884161
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 

Recently uploaded (20)

MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptx
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Planning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptxPlanning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptx
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdf
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
Romantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptxRomantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptx
 
ROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint PresentationROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint Presentation
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Rapple "Scholarly Communications and the Sustainable Development Goals"
Rapple "Scholarly Communications and the Sustainable Development Goals"Rapple "Scholarly Communications and the Sustainable Development Goals"
Rapple "Scholarly Communications and the Sustainable Development Goals"
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 

Intel 8051 - pin description

  • 1.
  • 2.  The 8051 is a 40 pin device, but out of these 40 pins, 32 are used for I/O  Many pins of 8051 are used for more than one function.  32 I/O pins = 4 eight bit ports = P0, P1, P2 and P3  All ports are bidirectional  Each ports consist of latch, an output driver and an input buffer.
  • 3.  40 pin DIP  +5 volts DC.  Among the 40 pins , 32 pins = four parallel ports P0, P1, P2 and P3 . Remaining pins are VCC, GND, XTAL1, XTAL2, RST, EA , PSEN, ALE.  P0.0- P0.7(AD0-AD7) (32-39)  The port 0 pins multiplexed with (low order byte) Address/data pins .  If the microcontroller is accessing external memory, these pins will act as address/data pins otherwise, they are used for Port 0 pins.
  • 4.  P1.0- P1.7 (1 – 8)  These 8-pins are dedicated for Port 1 to perform input or output port operations.  P2.0- P2.7(A8-A15) (21-28)  The port 2 pins are multiplexed with the higher order address pins .  When the microcontroller is accessing external memory these pins provide the higher order address byte otherwise they act as Port 2 pins.
  • 5.  P3.0- P3.7 : (10-17)  These 8-pins are meant for Port3 operations and also for some control operations like Read, Write, Timer0, Timer1, INT0, INT1, RXD and TXD. SYMBOL POSITION ALTERNATE USE 𝑅𝐷 P 3.7 External memory read signal 𝑊𝑅 P 3.6 External memory write signal T1 P 3.5 External timer 1 input T0 P 3.4 External timer 0 output 𝐼𝑁𝑇1 P 3.3 External interrupt 1 input 𝐼𝑁𝑇0 P 3.2 External interrupt 0 input TXD P 3.1 Serial data output RXD P 3.0 Serial data input
  • 6.  Pin 40 & pin 20  Pin 40 = Vcc = +5v  Pin 20 = Vss = GND  XTAL1(Pin 19), XTAL2(Pin 18)  These two pins are connected to Quartz crystal oscillator which runs the on-chip oscillator.  For generating an internal clock signal, the external oscillator is connected at these two pins.  If we use a source other than the crystal oscillator, it will be connected to XTAL1 and XTAL2 is left unconnected.
  • 7.  ALE – pin 30(Address Latch Enable)  This is an output pin, which is active high.  When connected to external memory , port 0 provides both address and data i.e address and data are multiplexed through port 0 .  This ALE pin will demultiplex the address and data bus .When the pin is High , the AD bus will act as address bus otherwise the AD bus will act as Data bus.
  • 8.  RST – pin 9(RESET)  The RESET pin is an input pin and it is an active high pin.  When a high pulse is applied to this pin the microcontroller will reset and terminate all activities.  It held high at least for two machine cycles, while oscillator is running  PSEN– pin 29(Program Store Enable) :  This is an output pin which is active low.  When the microcontroller is accessing the program code stored in the external ROM, this pin is connected to the OE (Output Enable) pin of the ROM.  It is activated every six oscillator periods while reading external memory
  • 9.  𝑬𝑨 – pin 31 (External Access):  This pin is an active low pin.  This pin is connected to ground when microcontroller is accessing the program code stored in the external memory and connected to Vcc when it is accessing the program code in the on chip memory.  This pin should not be left Unconnected.