SlideShare a Scribd company logo
11/21/2015 Rahul(13ec029) 1
CONTENTS
• Introduction.
• Microcontroller vs Microprocessor.
• Architecture.
• Pin diagram.
• Pin configuration.
• Memory Organisation.
• Timers.
• Interrupts.
11/21/2015 Rahul(13ec029) 2
• Serial Communication.
• Interfacing.
a) +5 volt power supply.
b) switch interfacing.
c) LED interfacing.
d) 7-Segment display interfacing.
e) LCD interfacing.
f) ADC interfacing.
g) keypad interfacing.
h) relay interfacing.
• Applications.
11/21/2015 Rahul(13ec029) 3
INTRODUCTION
• A single chip computer or A CPU with all
the peripherals like RAM, ROM, I/O, Timers,
ADCs, etc on the same chip.
OR
• A microcontroller is meant to be more self-
- contained and independent, and functions
as a tiny, dedicated computer.
11/21/2015 Rahul(13ec029) 4
FEATURES OF 8051
• useful for small computing tasks.
• adequate for many control and monitoring
application.
• packaging(RAM,ROM,Timers on-chip).
• Less power consumption.
• Easily upgradable.
• Cost per unit is less.
• Availability of tools of microcontroller
such as proteus(simulator) and keil(compiler).
11/21/2015 Rahul(13ec029) 5
MICROPROCESSOR vs
• General purpose device.
• do not contain on-chip
I/O ports, Timers, ADC
Memory etc.
• used as CPU in computer.
• design is complex and
expensive.
• it has zero status flag.
MICROCONTROLLER
• single chip computer.
• it includes RAM ,ROM
,Timers, ADC, DAC,
interrupts etc.
• performs control oriented
applications.
• simple and less expensive
• it has no zero flag.
11/21/2015 Rahul(13ec029) 6
TYPES OF ARCHITECTURES
1) Von-Neumann Architecture
 only one bus.
 used for both data transfer and instruction fetches.
 cannot be performed at same time.
2) Harvard Architecture
 Separate data and instruction buses.
 Transfers to be performed simultaneously on both
buses.
11/21/2015 Rahul(13ec029) 7
ARCHITECTURE
11/21/2015 Rahul(13ec029) 8
PIN DIAGRAM
11/21/2015 Rahul(13ec029) 9
PIN CONFIGURATION
 ALE/PROG-: when this pin is high it latches the
low byte of the address during accesses to external
memory. This pin is low during EPROM
programming.
 PSEN-: Program Store Enable is the read strobe to
external program memory.
 EA/VPP-: This pin is an active low pin 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.
11/21/2015 Rahul(13ec029) 10
PIN CONFIGURATION
 RST -: applying a high pulse to this pin, the
microcontroller will reset and terminate all activities.
 PORT 0 to 3 -: These are 8-bit bidirectional I/O
port. Port 0 does not contain any internal pull-ups.
Alternate function of port 3are RxD, TxD, INT0,
INT1,T0,T1,WR,RD.
 XTAL1 & XTAL2 -: connected to oscillator
amplifier.
 VCC-: Supply voltage.
 VSS-: Circuit ground potential.
11/21/2015 Rahul(13ec029) 11
MEMORY ORGANISATION
• Code Memory.
• External RAM.
• On-Chip Memory.
• Internal RAM.
• Special Function Register.
• Machine Cycle.
11/21/2015 Rahul(13ec029) 12
Code Memory
 holds the actual 8051 program.
 limited to 64K.
 may be both internal or external.
External RAM
 slow accessing speed.
 it gains in quantity.
 limited to 64K.
11/21/2015 Rahul(13ec029) 13
On-Chip Memory
 It refers to that memory that physically exists
on the microcontroller itself.
 Two types-
a) Internal RAM.
b) SFR(Special Function Register.)
 Total 256 bytes.
 Equal memory for RAM and SFR i,e 128bytes.
11/21/2015 Rahul(13ec029) 14
11/21/2015 Rahul(13ec029) 15
SPECIAL FUNCTION REGISTER
 Accumulator.
 B Register.
 Program Status Word.
 Stack Pointer.
 Data Pointer.
 Ports 0 to 3.
 Timer Registers.
 Control Register.
11/21/2015 Rahul(13ec029) 16
+5 VOLT POWER SUPPLY
11/21/2015 Rahul(13ec029) 17
SWITCH INTERFACING
11/21/2015 Rahul(13ec029) 18
LED INTERFACING
11/21/2015 Rahul(13ec029) 19
7 SEGMENT INTERFACING
11/21/2015 Rahul(13ec029) 20
LCD INTERFACING
11/21/2015 Rahul(13ec029) 21
RELAY INTERFACING
11/21/2015 Rahul(13ec029) 22
ADC INTERFACING
11/21/2015 Rahul(13ec029) 23
MATRIX KEYPAD INTERFACING
11/21/2015 Rahul(13ec029) 24
APPLICATION OF 8051
 Automobile.
 Rail Transport.
 Industrial Processing.
 Remote sensing.
 Robotics.
 Consumer electronics.
 Security(e-commerce and smart cards).
 Medical.
 Defense application.
11/21/2015 Rahul(13ec029) 25
11/21/2015 Rahul(13ec029) 26

More Related Content

What's hot

8051 interfacing
8051 interfacing8051 interfacing
8051 interfacing
KanchanPatil34
 
8051 Microcontroller Notes
8051 Microcontroller Notes8051 Microcontroller Notes
8051 Microcontroller NotesDr.YNM
 
Intel 8051 - pin description
Intel 8051  - pin descriptionIntel 8051  - pin description
Intel 8051 - pin description
DEPARTMENT OF PHYSICS
 
Chapter 1 microprocessor introduction
Chapter 1 microprocessor introductionChapter 1 microprocessor introduction
Chapter 1 microprocessor introduction
Shubham Singh
 
8051 block diagram
8051 block diagram8051 block diagram
8051 block diagram
DominicHendry
 
Memory & I/O interfacing
Memory & I/O  interfacingMemory & I/O  interfacing
Memory & I/O interfacing
deval patel
 
Architecture of 8085 microprocessor
Architecture of 8085 microprocessorArchitecture of 8085 microprocessor
Architecture of 8085 microprocessor
AMAN SRIVASTAVA
 
Embedded System Basics
Embedded System BasicsEmbedded System Basics
Embedded System Basics
Dr M Muruganandam Masilamani
 
Interfacing LCD with 8051 Microcontroller
Interfacing LCD with 8051 MicrocontrollerInterfacing LCD with 8051 Microcontroller
Interfacing LCD with 8051 Microcontroller
Pantech ProLabs India Pvt Ltd
 
INTRODUCTION TO MICROCONTROLLER
INTRODUCTION TO MICROCONTROLLERINTRODUCTION TO MICROCONTROLLER
INTRODUCTION TO MICROCONTROLLER
Ankita Jaiswal
 
PIC Microcontrollers
PIC MicrocontrollersPIC Microcontrollers
PIC Microcontrollers
Abdullah Saghir Ahmad
 
Memory organization of 8051
Memory organization of 8051Memory organization of 8051
Memory organization of 8051Muthu Manickam
 
TMS320C5x
TMS320C5xTMS320C5x
8251 USART
8251 USART8251 USART
8251 USART
ShivamSood22
 
ARM Processor
ARM ProcessorARM Processor
ARM Processor
Aniket Thakur
 
Pin diagram 8085
Pin diagram 8085 Pin diagram 8085
Pin diagram 8085
Siddhesh Palkar
 
Interfacing of io device to 8085
Interfacing of io device to 8085Interfacing of io device to 8085
Interfacing of io device to 8085
Nitin Ahire
 
flip flops
flip flops flip flops
flip flops
Unsa Shakir
 
8051 Presentation
8051 Presentation8051 Presentation
8051 Presentation
Sayan Chakraborty
 
Interfacing adc
Interfacing adcInterfacing adc
Interfacing adcPRADEEP
 

What's hot (20)

8051 interfacing
8051 interfacing8051 interfacing
8051 interfacing
 
8051 Microcontroller Notes
8051 Microcontroller Notes8051 Microcontroller Notes
8051 Microcontroller Notes
 
Intel 8051 - pin description
Intel 8051  - pin descriptionIntel 8051  - pin description
Intel 8051 - pin description
 
Chapter 1 microprocessor introduction
Chapter 1 microprocessor introductionChapter 1 microprocessor introduction
Chapter 1 microprocessor introduction
 
8051 block diagram
8051 block diagram8051 block diagram
8051 block diagram
 
Memory & I/O interfacing
Memory & I/O  interfacingMemory & I/O  interfacing
Memory & I/O interfacing
 
Architecture of 8085 microprocessor
Architecture of 8085 microprocessorArchitecture of 8085 microprocessor
Architecture of 8085 microprocessor
 
Embedded System Basics
Embedded System BasicsEmbedded System Basics
Embedded System Basics
 
Interfacing LCD with 8051 Microcontroller
Interfacing LCD with 8051 MicrocontrollerInterfacing LCD with 8051 Microcontroller
Interfacing LCD with 8051 Microcontroller
 
INTRODUCTION TO MICROCONTROLLER
INTRODUCTION TO MICROCONTROLLERINTRODUCTION TO MICROCONTROLLER
INTRODUCTION TO MICROCONTROLLER
 
PIC Microcontrollers
PIC MicrocontrollersPIC Microcontrollers
PIC Microcontrollers
 
Memory organization of 8051
Memory organization of 8051Memory organization of 8051
Memory organization of 8051
 
TMS320C5x
TMS320C5xTMS320C5x
TMS320C5x
 
8251 USART
8251 USART8251 USART
8251 USART
 
ARM Processor
ARM ProcessorARM Processor
ARM Processor
 
Pin diagram 8085
Pin diagram 8085 Pin diagram 8085
Pin diagram 8085
 
Interfacing of io device to 8085
Interfacing of io device to 8085Interfacing of io device to 8085
Interfacing of io device to 8085
 
flip flops
flip flops flip flops
flip flops
 
8051 Presentation
8051 Presentation8051 Presentation
8051 Presentation
 
Interfacing adc
Interfacing adcInterfacing adc
Interfacing adc
 

Viewers also liked

8 interrupt 8051
8 interrupt 80518 interrupt 8051
8 interrupt 8051
daniemol
 
Architecture of 8051 microcontroller))
Architecture of 8051 microcontroller))Architecture of 8051 microcontroller))
Architecture of 8051 microcontroller))Ganesh Ram
 
Stack and subroutine
Stack and subroutineStack and subroutine
Stack and subroutineAshim Saha
 
Interrupt programming with 8051 microcontroller
Interrupt programming with 8051  microcontrollerInterrupt programming with 8051  microcontroller
Interrupt programming with 8051 microcontroller
Ankit Bhatnagar
 
Stacks & subroutines 1
Stacks & subroutines 1Stacks & subroutines 1
Stacks & subroutines 1
deval patel
 

Viewers also liked (7)

8051 interrupts
8051 interrupts8051 interrupts
8051 interrupts
 
8 interrupt 8051
8 interrupt 80518 interrupt 8051
8 interrupt 8051
 
Interrupt
InterruptInterrupt
Interrupt
 
Architecture of 8051 microcontroller))
Architecture of 8051 microcontroller))Architecture of 8051 microcontroller))
Architecture of 8051 microcontroller))
 
Stack and subroutine
Stack and subroutineStack and subroutine
Stack and subroutine
 
Interrupt programming with 8051 microcontroller
Interrupt programming with 8051  microcontrollerInterrupt programming with 8051  microcontroller
Interrupt programming with 8051 microcontroller
 
Stacks & subroutines 1
Stacks & subroutines 1Stacks & subroutines 1
Stacks & subroutines 1
 

Similar to 8051 Microcontroller ppt

embedded system
embedded systemembedded system
embedded system
Vivek Ranjan
 
Embedded training report(mcs 51)
Embedded training report(mcs 51)Embedded training report(mcs 51)
Embedded training report(mcs 51)Gurwinder Singh
 
Micro Controller 8051 of Speedo Meter using KEIL Code
Micro Controller 8051 of Speedo Meter using KEIL CodeMicro Controller 8051 of Speedo Meter using KEIL Code
Micro Controller 8051 of Speedo Meter using KEIL CodeSunil Kumar R
 
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptxINDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
MeghdeepSingh
 
8449972 embedded-systems-and-model-of-metro-train
8449972 embedded-systems-and-model-of-metro-train8449972 embedded-systems-and-model-of-metro-train
8449972 embedded-systems-and-model-of-metro-train
Jitendra Saroj
 
EMBEDDED SYSTEMS AND IOT lab manual for enginnering students
EMBEDDED SYSTEMS AND IOT lab manual for enginnering studentsEMBEDDED SYSTEMS AND IOT lab manual for enginnering students
EMBEDDED SYSTEMS AND IOT lab manual for enginnering students
eceprinter6
 
8051 slide
8051 slide8051 slide
8051 slide
VenugopalaRaoAS
 
8051 microcontroller Microcontroller _2024.pptx
8051 microcontroller Microcontroller _2024.pptx8051 microcontroller Microcontroller _2024.pptx
8051 microcontroller Microcontroller _2024.pptx
rohithansaliya2
 
Programming logic controllers (plc) seminar
Programming  logic controllers (plc) seminarProgramming  logic controllers (plc) seminar
Programming logic controllers (plc) seminar
manish gharte
 
Overview of Microcontroller and ATMega32 microcontroller
Overview of Microcontroller and ATMega32 microcontrollerOverview of Microcontroller and ATMega32 microcontroller
Overview of Microcontroller and ATMega32 microcontroller
Rup Chowdhury
 
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT I Core of Embedded Systems
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT I   Core of Embedded SystemsSYBSC IT SEM IV EMBEDDED SYSTEMS UNIT I   Core of Embedded Systems
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT I Core of Embedded Systems
Arti Parab Academics
 
Plc 131022133632-phpapp02
Plc 131022133632-phpapp02Plc 131022133632-phpapp02
Plc 131022133632-phpapp02
Dhanabal sundar .M
 
RFID based Access Control using 8051 Micro Controller
RFID based Access Control using 8051 Micro ControllerRFID based Access Control using 8051 Micro Controller
RFID based Access Control using 8051 Micro Controller
CircuitsToday
 
microcontroller 8051 17.07.2023.pdf
microcontroller 8051 17.07.2023.pdfmicrocontroller 8051 17.07.2023.pdf
microcontroller 8051 17.07.2023.pdf
818Farida
 
AT89 S52
AT89 S52AT89 S52
AT89 S52
estherkakani
 
PLC Introduction Details
PLC Introduction DetailsPLC Introduction Details
PLC Introduction Details
suhaskhadake
 
Use of plc in industrial automation
Use of plc in industrial automationUse of plc in industrial automation
Use of plc in industrial automation
Aloka Patro
 

Similar to 8051 Microcontroller ppt (20)

embedded system
embedded systemembedded system
embedded system
 
Embedded training report(mcs 51)
Embedded training report(mcs 51)Embedded training report(mcs 51)
Embedded training report(mcs 51)
 
Micro Controller 8051 of Speedo Meter using KEIL Code
Micro Controller 8051 of Speedo Meter using KEIL CodeMicro Controller 8051 of Speedo Meter using KEIL Code
Micro Controller 8051 of Speedo Meter using KEIL Code
 
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptxINDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
 
89s52 2
89s52 289s52 2
89s52 2
 
8449972 embedded-systems-and-model-of-metro-train
8449972 embedded-systems-and-model-of-metro-train8449972 embedded-systems-and-model-of-metro-train
8449972 embedded-systems-and-model-of-metro-train
 
EMBEDDED SYSTEMS AND IOT lab manual for enginnering students
EMBEDDED SYSTEMS AND IOT lab manual for enginnering studentsEMBEDDED SYSTEMS AND IOT lab manual for enginnering students
EMBEDDED SYSTEMS AND IOT lab manual for enginnering students
 
8051 slide
8051 slide8051 slide
8051 slide
 
8051 microcontroller Microcontroller _2024.pptx
8051 microcontroller Microcontroller _2024.pptx8051 microcontroller Microcontroller _2024.pptx
8051 microcontroller Microcontroller _2024.pptx
 
Programming logic controllers (plc) seminar
Programming  logic controllers (plc) seminarProgramming  logic controllers (plc) seminar
Programming logic controllers (plc) seminar
 
Overview of Microcontroller and ATMega32 microcontroller
Overview of Microcontroller and ATMega32 microcontrollerOverview of Microcontroller and ATMega32 microcontroller
Overview of Microcontroller and ATMega32 microcontroller
 
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT I Core of Embedded Systems
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT I   Core of Embedded SystemsSYBSC IT SEM IV EMBEDDED SYSTEMS UNIT I   Core of Embedded Systems
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT I Core of Embedded Systems
 
Plc 131022133632-phpapp02
Plc 131022133632-phpapp02Plc 131022133632-phpapp02
Plc 131022133632-phpapp02
 
Badal sharma
Badal sharmaBadal sharma
Badal sharma
 
12C5XX.PDF
12C5XX.PDF12C5XX.PDF
12C5XX.PDF
 
RFID based Access Control using 8051 Micro Controller
RFID based Access Control using 8051 Micro ControllerRFID based Access Control using 8051 Micro Controller
RFID based Access Control using 8051 Micro Controller
 
microcontroller 8051 17.07.2023.pdf
microcontroller 8051 17.07.2023.pdfmicrocontroller 8051 17.07.2023.pdf
microcontroller 8051 17.07.2023.pdf
 
AT89 S52
AT89 S52AT89 S52
AT89 S52
 
PLC Introduction Details
PLC Introduction DetailsPLC Introduction Details
PLC Introduction Details
 
Use of plc in industrial automation
Use of plc in industrial automationUse of plc in industrial automation
Use of plc in industrial automation
 

Recently uploaded

ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
Jayaprasanna4
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
Massimo Talia
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
zwunae
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
Divya Somashekar
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
WENKENLI1
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
AhmedHussein950959
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
Kamal Acharya
 
English lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdfEnglish lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdf
BrazilAccount1
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
Amil Baba Dawood bangali
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Dr.Costas Sachpazis
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
Kerry Sado
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
ViniHema
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
seandesed
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
VENKATESHvenky89705
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
manasideore6
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Teleport Manpower Consultant
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
Jayaprasanna4
 

Recently uploaded (20)

ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
 
English lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdfEnglish lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdf
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
 

8051 Microcontroller ppt

  • 2. CONTENTS • Introduction. • Microcontroller vs Microprocessor. • Architecture. • Pin diagram. • Pin configuration. • Memory Organisation. • Timers. • Interrupts. 11/21/2015 Rahul(13ec029) 2
  • 3. • Serial Communication. • Interfacing. a) +5 volt power supply. b) switch interfacing. c) LED interfacing. d) 7-Segment display interfacing. e) LCD interfacing. f) ADC interfacing. g) keypad interfacing. h) relay interfacing. • Applications. 11/21/2015 Rahul(13ec029) 3
  • 4. INTRODUCTION • A single chip computer or A CPU with all the peripherals like RAM, ROM, I/O, Timers, ADCs, etc on the same chip. OR • A microcontroller is meant to be more self- - contained and independent, and functions as a tiny, dedicated computer. 11/21/2015 Rahul(13ec029) 4
  • 5. FEATURES OF 8051 • useful for small computing tasks. • adequate for many control and monitoring application. • packaging(RAM,ROM,Timers on-chip). • Less power consumption. • Easily upgradable. • Cost per unit is less. • Availability of tools of microcontroller such as proteus(simulator) and keil(compiler). 11/21/2015 Rahul(13ec029) 5
  • 6. MICROPROCESSOR vs • General purpose device. • do not contain on-chip I/O ports, Timers, ADC Memory etc. • used as CPU in computer. • design is complex and expensive. • it has zero status flag. MICROCONTROLLER • single chip computer. • it includes RAM ,ROM ,Timers, ADC, DAC, interrupts etc. • performs control oriented applications. • simple and less expensive • it has no zero flag. 11/21/2015 Rahul(13ec029) 6
  • 7. TYPES OF ARCHITECTURES 1) Von-Neumann Architecture  only one bus.  used for both data transfer and instruction fetches.  cannot be performed at same time. 2) Harvard Architecture  Separate data and instruction buses.  Transfers to be performed simultaneously on both buses. 11/21/2015 Rahul(13ec029) 7
  • 10. PIN CONFIGURATION  ALE/PROG-: when this pin is high it latches the low byte of the address during accesses to external memory. This pin is low during EPROM programming.  PSEN-: Program Store Enable is the read strobe to external program memory.  EA/VPP-: This pin is an active low pin 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. 11/21/2015 Rahul(13ec029) 10
  • 11. PIN CONFIGURATION  RST -: applying a high pulse to this pin, the microcontroller will reset and terminate all activities.  PORT 0 to 3 -: These are 8-bit bidirectional I/O port. Port 0 does not contain any internal pull-ups. Alternate function of port 3are RxD, TxD, INT0, INT1,T0,T1,WR,RD.  XTAL1 & XTAL2 -: connected to oscillator amplifier.  VCC-: Supply voltage.  VSS-: Circuit ground potential. 11/21/2015 Rahul(13ec029) 11
  • 12. MEMORY ORGANISATION • Code Memory. • External RAM. • On-Chip Memory. • Internal RAM. • Special Function Register. • Machine Cycle. 11/21/2015 Rahul(13ec029) 12
  • 13. Code Memory  holds the actual 8051 program.  limited to 64K.  may be both internal or external. External RAM  slow accessing speed.  it gains in quantity.  limited to 64K. 11/21/2015 Rahul(13ec029) 13
  • 14. On-Chip Memory  It refers to that memory that physically exists on the microcontroller itself.  Two types- a) Internal RAM. b) SFR(Special Function Register.)  Total 256 bytes.  Equal memory for RAM and SFR i,e 128bytes. 11/21/2015 Rahul(13ec029) 14
  • 16. SPECIAL FUNCTION REGISTER  Accumulator.  B Register.  Program Status Word.  Stack Pointer.  Data Pointer.  Ports 0 to 3.  Timer Registers.  Control Register. 11/21/2015 Rahul(13ec029) 16
  • 17. +5 VOLT POWER SUPPLY 11/21/2015 Rahul(13ec029) 17
  • 20. 7 SEGMENT INTERFACING 11/21/2015 Rahul(13ec029) 20
  • 25. APPLICATION OF 8051  Automobile.  Rail Transport.  Industrial Processing.  Remote sensing.  Robotics.  Consumer electronics.  Security(e-commerce and smart cards).  Medical.  Defense application. 11/21/2015 Rahul(13ec029) 25