SlideShare a Scribd company logo
1 of 48
Download to read offline
Presentation By,
Mrs. Pallavi Mahagaonkar
Prepared for MIT ACSC by Mrs. Pallavi Mahagaonkar
Prepared for MIT ACSC by Mrs. Pallavi Mahagaonkar
CPU RAM ROM
Prepared for MIT ACSC by Mrs. Pallavi Mahagaonkar
Input/output Timers
Serial Com
port
Have you used Microcontroller ?
Please write your Answers in comment box
Name any one application
Prepared for MIT ACSC by Mrs. Pallavi Mahagaonkar
Micro- Size is small
Controller- Which controls the
operations
operations
Microcontroller is small size device
which is used to perform and control
operations
Prepared for MIT ACSC by Mrs. Pallavi Mahagaonkar
Prepared for MIT ACSC by Mrs. Pallavi Mahagaonkar
Prepared for MIT ACSC by Mrs. Pallavi Mahagaonkar
Prepared for MIT ACSC by Mrs. Pallavi Mahagaonkar
Prepared for MIT ACSC by Mrs. Pallavi Mahagaonkar
Prepared for MIT ACSC by Mrs. Pallavi Mahagaonkar
Prepared for MIT ACSC by Mrs. Pallavi Mahagaonkar
Prepared for MIT ACSC by Mrs. Pallavi Mahagaonkar
Identify what are the features of this Smart
watch?
Prepared for MIT ACSC by Mrs. Pallavi Mahagaonkar
Prepared for MIT ACSC by Mrs. Pallavi Mahagaonkar
Prepared for MIT ACSC by Mrs. Pallavi Mahagaonkar
Prepared for MIT ACSC by Mrs. Pallavi Mahagaonkar
From next slide please identify
Microcontroller Applications
And
And
Write your answers in comment
section
Prepared for MIT ACSC by Mrs. Pallavi Mahagaonkar
Prepared for MIT ACSC by Mrs. Pallavi Mahagaonkar
Home Appliances
Intercom
Telephone
TVs
VCR
Cable TV tuner
Cable TV tuner
Remote Controls
Toys
Microwave
Lightening Controls
Video Games
Prepared for MIT ACSC by Mrs. Pallavi Mahagaonkar
Telephones
Copy Machine
Paging
Fax Machine
Fax Machine
Security Systems
Laser Printer
Prepared for MIT ACSC by Mrs. Pallavi Mahagaonkar
4 bit Microcontroller
8 bit Microcontroller
16 bit Microcontroller
16 bit Microcontroller
32 bit Microcontroller
Prepared for MIT ACSC by Mrs. Pallavi Mahagaonkar
Embedded memory microcontroller:
8051 microcontroller
8051 microcontroller
External memory microcontroller: 8031
microcontroller
Prepared for MIT ACSC by Mrs. Pallavi Mahagaonkar
CISC: CISC is a Complex Instruction
Set Computer
Set Computer
RISC: The RISC is stands for Reduced
Instruction set Computer
Prepared for MIT ACSC by Mrs. Pallavi Mahagaonkar
It is 8 bit microcontroller
4k on chip ROM
128 Bytes of on chip RAM
4 Ports with 32 Input/Output Lines
4 Ports with 32 Input/Output Lines
1 Serial Port
2 Timers/Counter
5 Interrupts
A and B Register
16 Bit Program Counter and DPTR
8 bit Stack Pointer
8 Bit Data bus
16 bit Address bus
5 Interrupts
Timer/Counter 0
Timer/Counter 1
4 K ROM
for Program
Code
128 bytes
RAM
CPU 8 Bit
4 Ports
P0 P1 P2 P3
1 Serial Port
Bus Control
Unit
Oscillator
TXD RXD
Name Function Internal Address
(Hex)
A ACCUMULATOR 0E0
B ARITHMETIC 0F0
DPH Addressing External Memory 83
DPL Addressing External Memory 82
IE Interrupt Enable Control 0A8
IP Interrupt Priority 0B8
P0 Input/Output Port 0 Latch 80
P1 Input/Output Port 1 Latch 90
P2 Input/Output Port 2 Latch 0A0
P3 Input/Output Port 3 Latch 0B0
Prepared By Mrs. Pallavi Mahagaonkarfor MIT ACSC
Name Function Internal Address
(Hex)
PCON Power Control 87
PSW Program Status Word 0D0
SCON Serial Port Control 98
SBUF Serial Port Data Buffer 99
SP Stack Pointer 81
TMOD Timer/ Counter Mode Control 89
TMOD Timer/ Counter Mode Control 89
TCON Timer/ Counter Control 88
TL0 Timer 0 Low Byte 8A
TH0 Timer 0 High Byte 8C
TL1 Timer 1 Low Byte 8B
TH1 Timer 1 High Byte 8D
Prepared By Mrs. Pallavi Mahagaonkarfor MIT ACSC
Number of Pins Function
2 Vcc and Ground (40 , 20)
2 XTAL1 and XTAL2 (19, 18)
1 Reset (9)
3 PSEN, ALE, EA (29, 30, 31)
32 Input/output Port (P0, P1, P2, P3)
40 Total
Prepared By Mrs. Pallavi Mahagaonkarfor MIT ACSC
The 8051 has four important ports P0, P1, P2 and P3
These ports allow the microcontroller to connect with the
outside world
Each port has 8 pins. Thus total 32 pins can be used as I/O
All ports are bidirectional
They are constructed with a D type output latch. They have
They are constructed with a D type output latch. They have
output drivers and input buffers
All the ports are configured as input ports on Reset
To configure ports as an input port 1 must be written to that
port
To configure it as an output port 0 must be written to it
Prepared By Mrs. Pallavi Mahagaonkar for MIT ACSC
Prepared By Mrs. Pallavi Mahagaonkar for MIT ACSC
https://exploreembedded.com/wiki/1.8051_Architecture
Prepared By Mrs. Pallavi Mahagaonkar for MIT ACSC
https://exploreembedded.com/wiki/1.8051_Architecture
Prepared By Mrs. Pallavi Mahagaonkar for MIT ACSC
To read 0 from the pin of the microcontroller:
Write one to pin.
M1 turns OFF
Read PIN latch is turned ON
External zero grounds the pin
https://exploreembedded.com/wiki/1.8051_Architecture
Prepared By Mrs. Pallavi Mahagaonkar for MIT ACSC
https://exploreembedded.com/wiki/1.8051_Architecture
Write one to pin.
M1 turns OFF
Read PIN latch is turned ON
External vcc appears at the pin
Prepared By Mrs. Pallavi Mahagaonkar for MIT ACSC
https://electronicsdesk.com/pin-diagram-and-description-of-8051-microcontroller.html
Port 0 have 8 pins which can be used as Input/ Output
Address: 80H
To configure ports as an input port 1 must be written to that
port
To configure it as an output port 0 must be written to it
An external pull-up resistor is needed when Port 0 is defined
An external pull-up resistor is needed when Port 0 is defined
as an output port
Port 0 is used to access external memory in conjunction with
Port 2
Prepared By Mrs. Pallavi Mahagaonkar for MIT ACSC
Port 1 have 8 pins which can be used as Input/ Output
Address: 90H
To configure ports as an input port 1 must be written to
that port
To configure it as an output port 1 must be written to it
An external pull-up resistor is not required when Port 1 is
defined as an output port
Prepared By Mrs. Pallavi Mahagaonkar for MIT ACSC
Port 2 have 8 pins which can be used as Input/ Output
Address: A0H
To configure ports as an input port 2 must be written to
that port
To configure it as an output port 2 must be written to it
An external pull-up resistor is not required when Port 2 is
defined as an output port
Port 2 is used to access external memory in conjunction
with Port 0
Prepared By Mrs. Pallavi Mahagaonkar for MIT ACSC
Port 3 have 8 pins which can be used as Input/ Output
Address: B0H
To configure ports as an input port 3 must be written to
that port
To configure it as an output port 3 must be written to it
An external pull-up resistor is not required when Port 3 is
defined as an output port
Port 3 have Alternate functions
Prepared By Mrs. Pallavi Mahagaonkar for MIT ACSC
RXD: used for a serial input port
TXD: used for serial output port
INT0: used for an external interrupt 0
INT1: used for external interrupt 1
T0: Timer 0 external input
T1: Timer 1 external input
WR: external data memory write strobe
RD: external data memory Read strobe
Prepared By Mrs. Pallavi Mahagaonkar for MIT ACSC
EA: External Access (Input Pin)
Ground – Program is Store in External Memory
Vcc - Program is stored on On-chip ROM
ALE: Address Latch Enable (output pin)
1 - Address
0 - Data
PSEN: Program Store Enable
It is used to read a signal from the external program
memory
It should be connected to OE/ CS pin of Memory
Prepared By Mrs. Pallavi Mahagaonkar for MIT ACSC
128x8
128 x 8
Address lines data lines
128=2^7 8
128=2^7 8
Address lines=7 that is from A0 to A6
Data lines=8 that is from D0 to D7
Prepared By Mrs. Pallavi Mahagaonkar for MIT ACSC
Calculate number of address lines and data lines for
1. 256 x 8
2. 1K x 8
3. 2K x 8
4. 4K x 8
5. 8K x 8
5. 8K x 8
6. 64 x 8
7. 512 x 8
8. 64 k x 8
9. 32K x 8
10. 16 K x 8
Prepared By Mrs. Pallavi Mahagaonkar for MIT ACSC
Read
Write Memory
Chip select
Address
Bus
Prepared By Mrs. Pallavi Mahagaonkar for MIT ACSC
Chip select
Data
Bus
Read
Write Memory
(128x8)
Chip select
Address
Bus
8051
Prepared By Mrs. Pallavi Mahagaonkar for MIT ACSC
Chip select
Da
ta
Bu
s
8051
Microcontroller
Prepared By Mrs. Pallavi Mahagaonkar for MIT ACSC
Prepared By Mrs. Pallavi Mahagaonkar for MIT ACSC

More Related Content

Similar to 8051Architecture_Basics.pdf

8051 Microcontroller
8051 Microcontroller8051 Microcontroller
8051 MicrocontrollerAvijeet Negel
 
8051 microcontroller
8051 microcontroller 8051 microcontroller
8051 microcontroller Gaurav Verma
 
8051 microcontroller
8051 microcontroller8051 microcontroller
8051 microcontrollerJhemi22
 
8051 microcontroller lecture ppt by Tarun Khaneja ( 9034406598 )
8051 microcontroller lecture ppt by Tarun Khaneja ( 9034406598 )8051 microcontroller lecture ppt by Tarun Khaneja ( 9034406598 )
8051 microcontroller lecture ppt by Tarun Khaneja ( 9034406598 )Tarun Khaneja
 
MPI UNIT 5 - (INTERRUPTS OF 8086, INTRODUCTION TO 8051).pptx
MPI UNIT 5 - (INTERRUPTS OF 8086, INTRODUCTION TO 8051).pptxMPI UNIT 5 - (INTERRUPTS OF 8086, INTRODUCTION TO 8051).pptx
MPI UNIT 5 - (INTERRUPTS OF 8086, INTRODUCTION TO 8051).pptxRaviKiranVarma4
 
Microcontroller
MicrocontrollerMicrocontroller
MicrocontrollerSpitiq
 
Microcontroller 8051
Microcontroller 8051Microcontroller 8051
Microcontroller 8051Rashmi
 
Microcontroller (8051) by K. Vijay Kumar
Microcontroller (8051) by K. Vijay KumarMicrocontroller (8051) by K. Vijay Kumar
Microcontroller (8051) by K. Vijay KumarVijay Kumar
 
8051 microcontroller by K. Vijay Kumar
8051 microcontroller by K. Vijay Kumar8051 microcontroller by K. Vijay Kumar
8051 microcontroller by K. Vijay KumarVijay Kumar
 
Microcontroller 8051
Microcontroller 8051Microcontroller 8051
Microcontroller 8051guest70d48b1
 
8051 Microcontroller
8051 Microcontroller8051 Microcontroller
8051 Microcontrollerthokalpv
 
Embedded systems, 8051 microcontroller
Embedded systems, 8051 microcontrollerEmbedded systems, 8051 microcontroller
Embedded systems, 8051 microcontrollerAmandeep Alag
 
Overview of Microcontroller and ATMega32 microcontroller
Overview of Microcontroller and ATMega32 microcontrollerOverview of Microcontroller and ATMega32 microcontroller
Overview of Microcontroller and ATMega32 microcontrollerRup Chowdhury
 
Atemega saya
Atemega sayaAtemega saya
Atemega sayasulej77
 

Similar to 8051Architecture_Basics.pdf (20)

8051 Microcontroller
8051 Microcontroller8051 Microcontroller
8051 Microcontroller
 
8051 microcontroller
8051 microcontroller 8051 microcontroller
8051 microcontroller
 
Micro lec note2
Micro lec note2Micro lec note2
Micro lec note2
 
8051 microcontroller
8051 microcontroller8051 microcontroller
8051 microcontroller
 
Micro lec note2 (1)
Micro lec note2 (1)Micro lec note2 (1)
Micro lec note2 (1)
 
8051 microcontroller lecture ppt by Tarun Khaneja ( 9034406598 )
8051 microcontroller lecture ppt by Tarun Khaneja ( 9034406598 )8051 microcontroller lecture ppt by Tarun Khaneja ( 9034406598 )
8051 microcontroller lecture ppt by Tarun Khaneja ( 9034406598 )
 
8051 Presentation
8051 Presentation8051 Presentation
8051 Presentation
 
MPI UNIT 5 - (INTERRUPTS OF 8086, INTRODUCTION TO 8051).pptx
MPI UNIT 5 - (INTERRUPTS OF 8086, INTRODUCTION TO 8051).pptxMPI UNIT 5 - (INTERRUPTS OF 8086, INTRODUCTION TO 8051).pptx
MPI UNIT 5 - (INTERRUPTS OF 8086, INTRODUCTION TO 8051).pptx
 
Microcontroller
MicrocontrollerMicrocontroller
Microcontroller
 
Microcontroller 8051
Microcontroller 8051Microcontroller 8051
Microcontroller 8051
 
Atmega 16 drdo report
Atmega 16 drdo reportAtmega 16 drdo report
Atmega 16 drdo report
 
Microcontroller (8051) by K. Vijay Kumar
Microcontroller (8051) by K. Vijay KumarMicrocontroller (8051) by K. Vijay Kumar
Microcontroller (8051) by K. Vijay Kumar
 
8051 microcontroller by K. Vijay Kumar
8051 microcontroller by K. Vijay Kumar8051 microcontroller by K. Vijay Kumar
8051 microcontroller by K. Vijay Kumar
 
Microcontroller 8051
Microcontroller 8051Microcontroller 8051
Microcontroller 8051
 
8051 Microcontroller
8051 Microcontroller8051 Microcontroller
8051 Microcontroller
 
8255_Ppi new
8255_Ppi new8255_Ppi new
8255_Ppi new
 
Embedded systems, 8051 microcontroller
Embedded systems, 8051 microcontrollerEmbedded systems, 8051 microcontroller
Embedded systems, 8051 microcontroller
 
Overview of Microcontroller and ATMega32 microcontroller
Overview of Microcontroller and ATMega32 microcontrollerOverview of Microcontroller and ATMega32 microcontroller
Overview of Microcontroller and ATMega32 microcontroller
 
Atemega saya
Atemega sayaAtemega saya
Atemega saya
 
Avr report
Avr reportAvr report
Avr report
 

Recently uploaded

BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...Nguyen Thanh Tu Collection
 
The Story of Village Palampur Class 9 Free Study Material PDF
The Story of Village Palampur Class 9 Free Study Material PDFThe Story of Village Palampur Class 9 Free Study Material PDF
The Story of Village Palampur Class 9 Free Study Material PDFVivekanand Anglo Vedic Academy
 
DEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUM
DEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUMDEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUM
DEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUMELOISARIVERA8
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsSandeep D Chaudhary
 
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading Room
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading RoomSternal Fractures & Dislocations - EMGuidewire Radiology Reading Room
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading RoomSean M. Fox
 
An Overview of the Odoo 17 Knowledge App
An Overview of the Odoo 17 Knowledge AppAn Overview of the Odoo 17 Knowledge App
An Overview of the Odoo 17 Knowledge AppCeline George
 
MOOD STABLIZERS DRUGS.pptx
MOOD     STABLIZERS           DRUGS.pptxMOOD     STABLIZERS           DRUGS.pptx
MOOD STABLIZERS DRUGS.pptxPoojaSen20
 
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽中 央社
 
UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024Borja Sotomayor
 
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...Nguyen Thanh Tu Collection
 
diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....Ritu480198
 
Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...EduSkills OECD
 
Scopus Indexed Journals 2024 - ISCOPUS Publications
Scopus Indexed Journals 2024 - ISCOPUS PublicationsScopus Indexed Journals 2024 - ISCOPUS Publications
Scopus Indexed Journals 2024 - ISCOPUS PublicationsISCOPE Publication
 
8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital Management8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital ManagementMBA Assignment Experts
 
How to Send Pro Forma Invoice to Your Customers in Odoo 17
How to Send Pro Forma Invoice to Your Customers in Odoo 17How to Send Pro Forma Invoice to Your Customers in Odoo 17
How to Send Pro Forma Invoice to Your Customers in Odoo 17Celine George
 
SURVEY I created for uni project research
SURVEY I created for uni project researchSURVEY I created for uni project research
SURVEY I created for uni project researchCaitlinCummins3
 

Recently uploaded (20)

BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
 
The Story of Village Palampur Class 9 Free Study Material PDF
The Story of Village Palampur Class 9 Free Study Material PDFThe Story of Village Palampur Class 9 Free Study Material PDF
The Story of Village Palampur Class 9 Free Study Material PDF
 
DEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUM
DEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUMDEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUM
DEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUM
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading Room
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading RoomSternal Fractures & Dislocations - EMGuidewire Radiology Reading Room
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading Room
 
Supporting Newcomer Multilingual Learners
Supporting Newcomer  Multilingual LearnersSupporting Newcomer  Multilingual Learners
Supporting Newcomer Multilingual Learners
 
An Overview of the Odoo 17 Knowledge App
An Overview of the Odoo 17 Knowledge AppAn Overview of the Odoo 17 Knowledge App
An Overview of the Odoo 17 Knowledge App
 
Mattingly "AI and Prompt Design: LLMs with NER"
Mattingly "AI and Prompt Design: LLMs with NER"Mattingly "AI and Prompt Design: LLMs with NER"
Mattingly "AI and Prompt Design: LLMs with NER"
 
MOOD STABLIZERS DRUGS.pptx
MOOD     STABLIZERS           DRUGS.pptxMOOD     STABLIZERS           DRUGS.pptx
MOOD STABLIZERS DRUGS.pptx
 
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
 
UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024
 
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
 
Mattingly "AI & Prompt Design: Named Entity Recognition"
Mattingly "AI & Prompt Design: Named Entity Recognition"Mattingly "AI & Prompt Design: Named Entity Recognition"
Mattingly "AI & Prompt Design: Named Entity Recognition"
 
diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....
 
VAMOS CUIDAR DO NOSSO PLANETA! .
VAMOS CUIDAR DO NOSSO PLANETA!                    .VAMOS CUIDAR DO NOSSO PLANETA!                    .
VAMOS CUIDAR DO NOSSO PLANETA! .
 
Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...
 
Scopus Indexed Journals 2024 - ISCOPUS Publications
Scopus Indexed Journals 2024 - ISCOPUS PublicationsScopus Indexed Journals 2024 - ISCOPUS Publications
Scopus Indexed Journals 2024 - ISCOPUS Publications
 
8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital Management8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital Management
 
How to Send Pro Forma Invoice to Your Customers in Odoo 17
How to Send Pro Forma Invoice to Your Customers in Odoo 17How to Send Pro Forma Invoice to Your Customers in Odoo 17
How to Send Pro Forma Invoice to Your Customers in Odoo 17
 
SURVEY I created for uni project research
SURVEY I created for uni project researchSURVEY I created for uni project research
SURVEY I created for uni project research
 

8051Architecture_Basics.pdf

  • 1. Presentation By, Mrs. Pallavi Mahagaonkar Prepared for MIT ACSC by Mrs. Pallavi Mahagaonkar
  • 2. Prepared for MIT ACSC by Mrs. Pallavi Mahagaonkar
  • 3. CPU RAM ROM Prepared for MIT ACSC by Mrs. Pallavi Mahagaonkar Input/output Timers Serial Com port
  • 4. Have you used Microcontroller ? Please write your Answers in comment box Name any one application Prepared for MIT ACSC by Mrs. Pallavi Mahagaonkar
  • 5. Micro- Size is small Controller- Which controls the operations operations Microcontroller is small size device which is used to perform and control operations Prepared for MIT ACSC by Mrs. Pallavi Mahagaonkar
  • 6. Prepared for MIT ACSC by Mrs. Pallavi Mahagaonkar
  • 7. Prepared for MIT ACSC by Mrs. Pallavi Mahagaonkar
  • 8. Prepared for MIT ACSC by Mrs. Pallavi Mahagaonkar
  • 9. Prepared for MIT ACSC by Mrs. Pallavi Mahagaonkar
  • 10. Prepared for MIT ACSC by Mrs. Pallavi Mahagaonkar
  • 11. Prepared for MIT ACSC by Mrs. Pallavi Mahagaonkar
  • 12. Prepared for MIT ACSC by Mrs. Pallavi Mahagaonkar
  • 13. Identify what are the features of this Smart watch? Prepared for MIT ACSC by Mrs. Pallavi Mahagaonkar
  • 14. Prepared for MIT ACSC by Mrs. Pallavi Mahagaonkar
  • 15. Prepared for MIT ACSC by Mrs. Pallavi Mahagaonkar
  • 16. Prepared for MIT ACSC by Mrs. Pallavi Mahagaonkar
  • 17. From next slide please identify Microcontroller Applications And And Write your answers in comment section Prepared for MIT ACSC by Mrs. Pallavi Mahagaonkar
  • 18. Prepared for MIT ACSC by Mrs. Pallavi Mahagaonkar
  • 19. Home Appliances Intercom Telephone TVs VCR Cable TV tuner Cable TV tuner Remote Controls Toys Microwave Lightening Controls Video Games Prepared for MIT ACSC by Mrs. Pallavi Mahagaonkar
  • 20. Telephones Copy Machine Paging Fax Machine Fax Machine Security Systems Laser Printer Prepared for MIT ACSC by Mrs. Pallavi Mahagaonkar
  • 21. 4 bit Microcontroller 8 bit Microcontroller 16 bit Microcontroller 16 bit Microcontroller 32 bit Microcontroller Prepared for MIT ACSC by Mrs. Pallavi Mahagaonkar
  • 22. Embedded memory microcontroller: 8051 microcontroller 8051 microcontroller External memory microcontroller: 8031 microcontroller Prepared for MIT ACSC by Mrs. Pallavi Mahagaonkar
  • 23. CISC: CISC is a Complex Instruction Set Computer Set Computer RISC: The RISC is stands for Reduced Instruction set Computer Prepared for MIT ACSC by Mrs. Pallavi Mahagaonkar
  • 24. It is 8 bit microcontroller 4k on chip ROM 128 Bytes of on chip RAM 4 Ports with 32 Input/Output Lines 4 Ports with 32 Input/Output Lines 1 Serial Port 2 Timers/Counter 5 Interrupts
  • 25. A and B Register 16 Bit Program Counter and DPTR 8 bit Stack Pointer 8 Bit Data bus 16 bit Address bus
  • 26. 5 Interrupts Timer/Counter 0 Timer/Counter 1 4 K ROM for Program Code 128 bytes RAM CPU 8 Bit 4 Ports P0 P1 P2 P3 1 Serial Port Bus Control Unit Oscillator TXD RXD
  • 27.
  • 28. Name Function Internal Address (Hex) A ACCUMULATOR 0E0 B ARITHMETIC 0F0 DPH Addressing External Memory 83 DPL Addressing External Memory 82 IE Interrupt Enable Control 0A8 IP Interrupt Priority 0B8 P0 Input/Output Port 0 Latch 80 P1 Input/Output Port 1 Latch 90 P2 Input/Output Port 2 Latch 0A0 P3 Input/Output Port 3 Latch 0B0 Prepared By Mrs. Pallavi Mahagaonkarfor MIT ACSC
  • 29. Name Function Internal Address (Hex) PCON Power Control 87 PSW Program Status Word 0D0 SCON Serial Port Control 98 SBUF Serial Port Data Buffer 99 SP Stack Pointer 81 TMOD Timer/ Counter Mode Control 89 TMOD Timer/ Counter Mode Control 89 TCON Timer/ Counter Control 88 TL0 Timer 0 Low Byte 8A TH0 Timer 0 High Byte 8C TL1 Timer 1 Low Byte 8B TH1 Timer 1 High Byte 8D Prepared By Mrs. Pallavi Mahagaonkarfor MIT ACSC
  • 30. Number of Pins Function 2 Vcc and Ground (40 , 20) 2 XTAL1 and XTAL2 (19, 18) 1 Reset (9) 3 PSEN, ALE, EA (29, 30, 31) 32 Input/output Port (P0, P1, P2, P3) 40 Total Prepared By Mrs. Pallavi Mahagaonkarfor MIT ACSC
  • 31. The 8051 has four important ports P0, P1, P2 and P3 These ports allow the microcontroller to connect with the outside world Each port has 8 pins. Thus total 32 pins can be used as I/O All ports are bidirectional They are constructed with a D type output latch. They have They are constructed with a D type output latch. They have output drivers and input buffers All the ports are configured as input ports on Reset To configure ports as an input port 1 must be written to that port To configure it as an output port 0 must be written to it Prepared By Mrs. Pallavi Mahagaonkar for MIT ACSC
  • 32. Prepared By Mrs. Pallavi Mahagaonkar for MIT ACSC https://exploreembedded.com/wiki/1.8051_Architecture
  • 33. Prepared By Mrs. Pallavi Mahagaonkar for MIT ACSC https://exploreembedded.com/wiki/1.8051_Architecture
  • 34. Prepared By Mrs. Pallavi Mahagaonkar for MIT ACSC To read 0 from the pin of the microcontroller: Write one to pin. M1 turns OFF Read PIN latch is turned ON External zero grounds the pin https://exploreembedded.com/wiki/1.8051_Architecture
  • 35. Prepared By Mrs. Pallavi Mahagaonkar for MIT ACSC https://exploreembedded.com/wiki/1.8051_Architecture Write one to pin. M1 turns OFF Read PIN latch is turned ON External vcc appears at the pin
  • 36. Prepared By Mrs. Pallavi Mahagaonkar for MIT ACSC https://electronicsdesk.com/pin-diagram-and-description-of-8051-microcontroller.html
  • 37. Port 0 have 8 pins which can be used as Input/ Output Address: 80H To configure ports as an input port 1 must be written to that port To configure it as an output port 0 must be written to it An external pull-up resistor is needed when Port 0 is defined An external pull-up resistor is needed when Port 0 is defined as an output port Port 0 is used to access external memory in conjunction with Port 2 Prepared By Mrs. Pallavi Mahagaonkar for MIT ACSC
  • 38. Port 1 have 8 pins which can be used as Input/ Output Address: 90H To configure ports as an input port 1 must be written to that port To configure it as an output port 1 must be written to it An external pull-up resistor is not required when Port 1 is defined as an output port Prepared By Mrs. Pallavi Mahagaonkar for MIT ACSC
  • 39. Port 2 have 8 pins which can be used as Input/ Output Address: A0H To configure ports as an input port 2 must be written to that port To configure it as an output port 2 must be written to it An external pull-up resistor is not required when Port 2 is defined as an output port Port 2 is used to access external memory in conjunction with Port 0 Prepared By Mrs. Pallavi Mahagaonkar for MIT ACSC
  • 40. Port 3 have 8 pins which can be used as Input/ Output Address: B0H To configure ports as an input port 3 must be written to that port To configure it as an output port 3 must be written to it An external pull-up resistor is not required when Port 3 is defined as an output port Port 3 have Alternate functions Prepared By Mrs. Pallavi Mahagaonkar for MIT ACSC
  • 41. RXD: used for a serial input port TXD: used for serial output port INT0: used for an external interrupt 0 INT1: used for external interrupt 1 T0: Timer 0 external input T1: Timer 1 external input WR: external data memory write strobe RD: external data memory Read strobe Prepared By Mrs. Pallavi Mahagaonkar for MIT ACSC
  • 42. EA: External Access (Input Pin) Ground – Program is Store in External Memory Vcc - Program is stored on On-chip ROM ALE: Address Latch Enable (output pin) 1 - Address 0 - Data PSEN: Program Store Enable It is used to read a signal from the external program memory It should be connected to OE/ CS pin of Memory Prepared By Mrs. Pallavi Mahagaonkar for MIT ACSC
  • 43. 128x8 128 x 8 Address lines data lines 128=2^7 8 128=2^7 8 Address lines=7 that is from A0 to A6 Data lines=8 that is from D0 to D7 Prepared By Mrs. Pallavi Mahagaonkar for MIT ACSC
  • 44. Calculate number of address lines and data lines for 1. 256 x 8 2. 1K x 8 3. 2K x 8 4. 4K x 8 5. 8K x 8 5. 8K x 8 6. 64 x 8 7. 512 x 8 8. 64 k x 8 9. 32K x 8 10. 16 K x 8 Prepared By Mrs. Pallavi Mahagaonkar for MIT ACSC
  • 45. Read Write Memory Chip select Address Bus Prepared By Mrs. Pallavi Mahagaonkar for MIT ACSC Chip select Data Bus
  • 46. Read Write Memory (128x8) Chip select Address Bus 8051 Prepared By Mrs. Pallavi Mahagaonkar for MIT ACSC Chip select Da ta Bu s 8051 Microcontroller
  • 47. Prepared By Mrs. Pallavi Mahagaonkar for MIT ACSC
  • 48. Prepared By Mrs. Pallavi Mahagaonkar for MIT ACSC