SlideShare une entreprise Scribd logo
1  sur  28
VS
Microprocessor
Microcontroller
MICROPROCESSOR
 CPU on a chip
 General purpose
 Memory and input /output
(I/O) devices should be
interfaced
 Suitable for both big and
small systems (mainframe
Computers to pocket
calculators)
MICROCONTROLLER
 Computer on a chip
 Specific Purpose(Mainly for
embedded applications)
 Contains on chip RAM,
ROM, I/O ports, Oscillator,
Serial port, etc
 Suitable for small systems
having less I/O devices,
memory, power and requiring
smaller space
MICROPROCESSOR
 Based on Von-Neumann
architecture
 Application Software is not
ROM based.
 Instruction set is designed
such that program and data can
be transferred between CPU
and RAM.
Programming is generally
done in Assembly Language.
MICROCONTROLLER
 Based on Harvard
architecture
Application Software is ROM
based.
 Instruction set is designed
such that program and data can
be transferred between CPU
and ROM.
 Programming can be done
either in Assembly or High
level language.
Household Items
Toys, Cameras, Video Recorders, CD players, TVs,
Microwave Ovens, Washing Machines, Vacuum Cleaners,
Home Security Systems, etc.
Office Equipments
Fax Machines, Printers, Plotters, modems, ATM machines,
smart cards, Photocopy machines, etc
Communication
Cell Phones, Telephones, Pagers, Answering Machines, etc
Others
Robotics, Automation , Automobile industries , etc
Intel introduced 8051, referred as MCS-51, in 1981.
 Due to the flexibility and versatility of 8051 family microcontrollers,
they are quite popular till now.
Feature/Chip 8051 8031 8052 AT89S52
ROM 4K 0K 8K Flash 4K
RAM 128 bytes 128 bytes 256 bytes 128 bytes
I/O Pins 32 32 32 32
Serial I/O 1 1 1 1
Timer 2 2 3 2
Interrupt
Source
6 6 8 6
Large block of data is erased and written in Flash EPROM while only byte by byte
erasing and writing is available in EEPROM
INTRODUCTION TO MICROCONTROLLER
 On-chip Oscillator
 On-chip RAM of limited size
 On-chip ROM of limited size
 On-chip I/O ports
 Built in full duplex serial port
On-chip timer/counter
Bus control to interface external RAM and ROM(64
kb each)
 Large Set of Special Purpose registers
Boolean Processing Capacity (Bit addressable)
 Multiple Functionality of Pins
Key Features of 8051 microcontrollers
Organization and Architecture
PIN DESCRIPTION OF 8051 MICROCONTROLLER
Port 1
Port 3
Port 0
Port 2
VCC (PIN 40) :
Supply voltage (+5V) is provided to chip
GND(PIN 20):
Ground or Common terminal of supply
XTAL1 (PIN 19) & XTAL2 (PIN 18):
As discussed earlier 8051 microcontroller possess on-chip
Oscillator. It can generate frequency of 1.24 MHz to 12 MHz
Generally a quartz crystal of 12 MHz frequency is connected
to the pins 18 and 19.
The actual frequency produced is 11.0592 MHz
PIN DESCRIPTION OF 8051 MICROCONTROLLER
Also two capacitors of around 30 pF are connected as shown in figure.
The quartz crystal and capacitors help to produce clock pulse of exact
frequency not some harmonic frequency.
If a frequency source other than a crystal
oscillator is used , such as a TTL Oscillator,
it will be connected to XTAL1 and XTAL2 is
left unconnected.
PIN DESCRIPTION OF 8051 MICROCONTROLLER
RST(PIN 9):
RST stands for system RESET and is active high signal.(Normally low)
The Microcontroller is reset by holding RST high for at least two
machine cycles and then returning it low.
The execution of the program stops and begins at the first location in
program memory (ROM) on reset.
Need of RST circuitry
oWhen the supply is just turned on.
(Transient Effect)
oAs backup power source.
__
EA (PIN 31):
EA stands for “External Access” and is an input signal which is
either connected to VCC or GND.
 If the program is stored in on-chip ROM then, EA is
connected to VCC.
 If the program is stored in external ROM then, EA is
connected to GND.
_____
PSEN (PIN 29):
It stands for “Program Store Enable”.
 It is an output pin and it is connected to the OE(Output
Enable) pin of the ROM.
 It distinguish between program memory and data Memory.
ALE (PIN 30):
 ALE stands for “Address Latch Enable” and is an active high
output pin.
 Port o has got three functionality viz. I/O port, Address
and Data.
 ALE indicates if P0 has address or data
• When ALE=0, it provides data D0-D7
•When ALE=1, it has address A0-A7
PORT P0 (PIN 39 TO 32)
Port P0 has got three functionalities.(I/O port, lower order
address(A0 to A7) and data (D0 to D7).
It can be used for input or output , each pin must be connected
externally to a 10K ohm pull-up resistor.
ALE indicates if P0 has address or data
When ALE=0, it provides data D0-D7
When ALE=1, it has address A0-A7
PORT P1 (PIN 1 TO 8)
Port P1 is simple I/O port .
Internal pull up resistor is provided.
PORT P2(PIN 21 TO 28)
Port P2 has dual functionality.( I/o port and higher order address(A8 to
A15).
Port 2 must be used along with P0 to provide the 16-bit address for the
external memory.
 Internal pull up resistor is provided.
PORT P3 (PIN 10 TO 17)
Port 3 can be used as input or output.
Port 3 does not need any pull-up resistors.
Port 3 has the additional function of providing some extremely
important signals.
There are 21 special function registers
Memory
I/O PORTS
Figure : Interfacing Microprocessor
ALU
CONTROL
UNIT
Microprocessor
Microcontroller
Microcontroller
Microcontroller

Contenu connexe

Tendances

Unit II arm 7 Instruction Set
Unit II arm 7 Instruction SetUnit II arm 7 Instruction Set
Unit II arm 7 Instruction SetDr. Pankaj Zope
 
Memory & I/O interfacing
Memory & I/O  interfacingMemory & I/O  interfacing
Memory & I/O interfacingdeval patel
 
8051 microcontroller and embedded system
8051 microcontroller and embedded system8051 microcontroller and embedded system
8051 microcontroller and embedded systemsb108ec
 
ATmega32-AVR microcontrollers-Part I
ATmega32-AVR microcontrollers-Part IATmega32-AVR microcontrollers-Part I
ATmega32-AVR microcontrollers-Part IVineethMP2
 
Microcontoller and Embedded System
Microcontoller and Embedded SystemMicrocontoller and Embedded System
Microcontoller and Embedded SystemKaran Thakkar
 
Interfacing adc
Interfacing adcInterfacing adc
Interfacing adcPRADEEP
 
introduction to microprocessors
introduction to microprocessorsintroduction to microprocessors
introduction to microprocessorsvishi1993
 
8051 microcontroller and it’s interface
8051 microcontroller and it’s interface8051 microcontroller and it’s interface
8051 microcontroller and it’s interfaceAbhishek Choksi
 
Microcontroller
MicrocontrollerMicrocontroller
MicrocontrollerSpitiq
 
8051 instruction set
8051 instruction set8051 instruction set
8051 instruction setprakash y
 

Tendances (20)

8051 MICROCONTROLLER
8051 MICROCONTROLLER 8051 MICROCONTROLLER
8051 MICROCONTROLLER
 
Unit II arm 7 Instruction Set
Unit II arm 7 Instruction SetUnit II arm 7 Instruction Set
Unit II arm 7 Instruction Set
 
Memory interfacing
Memory interfacingMemory interfacing
Memory interfacing
 
Memory & I/O interfacing
Memory & I/O  interfacingMemory & I/O  interfacing
Memory & I/O interfacing
 
Adc and dac
Adc and dacAdc and dac
Adc and dac
 
8051 microcontroller and embedded system
8051 microcontroller and embedded system8051 microcontroller and embedded system
8051 microcontroller and embedded system
 
ATmega32-AVR microcontrollers-Part I
ATmega32-AVR microcontrollers-Part IATmega32-AVR microcontrollers-Part I
ATmega32-AVR microcontrollers-Part I
 
8051 interfacing
8051 interfacing8051 interfacing
8051 interfacing
 
I/O Ports
I/O Ports I/O Ports
I/O Ports
 
ARM Architecture
ARM ArchitectureARM Architecture
ARM Architecture
 
Embedded c
Embedded cEmbedded c
Embedded c
 
Class 4 I/O Ports
Class 4 I/O PortsClass 4 I/O Ports
Class 4 I/O Ports
 
Microcontoller and Embedded System
Microcontoller and Embedded SystemMicrocontoller and Embedded System
Microcontoller and Embedded System
 
8086 memory segmentation
8086 memory segmentation8086 memory segmentation
8086 memory segmentation
 
Interfacing adc
Interfacing adcInterfacing adc
Interfacing adc
 
introduction to microprocessors
introduction to microprocessorsintroduction to microprocessors
introduction to microprocessors
 
8051 microcontroller and it’s interface
8051 microcontroller and it’s interface8051 microcontroller and it’s interface
8051 microcontroller and it’s interface
 
Microcontroller
MicrocontrollerMicrocontroller
Microcontroller
 
8051 instruction set
8051 instruction set8051 instruction set
8051 instruction set
 
Intel 8051 - pin description
Intel 8051  - pin descriptionIntel 8051  - pin description
Intel 8051 - pin description
 

Similaire à Microcontroller

Microcontroller 8051
Microcontroller 8051Microcontroller 8051
Microcontroller 8051Sadiq Rahim
 
4th yr dmumicrocontroller1
4th yr dmumicrocontroller14th yr dmumicrocontroller1
4th yr dmumicrocontroller1haymanotyehuala
 
Microcontroller 8051 By Mitesh kumar
Microcontroller 8051 By Mitesh kumarMicrocontroller 8051 By Mitesh kumar
Microcontroller 8051 By Mitesh kumarMitesh Kumar
 
Microcontroller 8051
Microcontroller 8051Microcontroller 8051
Microcontroller 8051Rashmi
 
Embedded systems, 8051 microcontroller
Embedded systems, 8051 microcontrollerEmbedded systems, 8051 microcontroller
Embedded systems, 8051 microcontrollerAmandeep Alag
 
Microcontroller 8051
Microcontroller 8051Microcontroller 8051
Microcontroller 8051guest70d48b1
 
Embedded systems, 8051 microcontroller
Embedded systems, 8051 microcontrollerEmbedded systems, 8051 microcontroller
Embedded systems, 8051 microcontrollerAmandeep Alag
 
Microcontroller (8051) by K. Vijay Kumar
Microcontroller (8051) by K. Vijay KumarMicrocontroller (8051) by K. Vijay Kumar
Microcontroller (8051) by K. Vijay KumarVijay Kumar
 
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
 
8051 microcontroller by K. Vijay Kumar
8051 microcontroller by K. Vijay Kumar8051 microcontroller by K. Vijay Kumar
8051 microcontroller by K. Vijay KumarVijay Kumar
 
8051 Microcontroller
8051 Microcontroller8051 Microcontroller
8051 Microcontrollerthokalpv
 
The hardware of the Mcs 51 microcontroller
 The hardware of the Mcs 51 microcontroller The hardware of the Mcs 51 microcontroller
The hardware of the Mcs 51 microcontrollerGarba Geidam
 
8051 microcontroller training (2) (sahil gupta 9068557926)
8051 microcontroller training  (2) (sahil gupta   9068557926)8051 microcontroller training  (2) (sahil gupta   9068557926)
8051 microcontroller training (2) (sahil gupta 9068557926)Sahil Gupta
 
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
 

Similaire à Microcontroller (20)

Microcontroller 8051 gs
Microcontroller 8051 gsMicrocontroller 8051 gs
Microcontroller 8051 gs
 
Microcontroller 8051
Microcontroller 8051Microcontroller 8051
Microcontroller 8051
 
4th yr dmumicrocontroller1
4th yr dmumicrocontroller14th yr dmumicrocontroller1
4th yr dmumicrocontroller1
 
Microcontroller 8051 By Mitesh kumar
Microcontroller 8051 By Mitesh kumarMicrocontroller 8051 By Mitesh kumar
Microcontroller 8051 By Mitesh kumar
 
8051 full ppt
8051 full ppt8051 full ppt
8051 full ppt
 
Microcontroller 8051
Microcontroller 8051Microcontroller 8051
Microcontroller 8051
 
Embedded systems, 8051 microcontroller
Embedded systems, 8051 microcontrollerEmbedded systems, 8051 microcontroller
Embedded systems, 8051 microcontroller
 
Microcontroller 8051
Microcontroller 8051Microcontroller 8051
Microcontroller 8051
 
Microcontroller 8051
Microcontroller 8051Microcontroller 8051
Microcontroller 8051
 
Embedded systems, 8051 microcontroller
Embedded systems, 8051 microcontrollerEmbedded systems, 8051 microcontroller
Embedded systems, 8051 microcontroller
 
Microcontroller (8051) by K. Vijay Kumar
Microcontroller (8051) by K. Vijay KumarMicrocontroller (8051) by K. Vijay Kumar
Microcontroller (8051) by K. Vijay Kumar
 
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"
 
8051 microcontroller by K. Vijay Kumar
8051 microcontroller by K. Vijay Kumar8051 microcontroller by K. Vijay Kumar
8051 microcontroller by K. Vijay Kumar
 
8051 Microcontroller
8051 Microcontroller8051 Microcontroller
8051 Microcontroller
 
Ppt embedded
Ppt embeddedPpt embedded
Ppt embedded
 
8051 Presentation
8051 Presentation8051 Presentation
8051 Presentation
 
The hardware of the Mcs 51 microcontroller
 The hardware of the Mcs 51 microcontroller The hardware of the Mcs 51 microcontroller
The hardware of the Mcs 51 microcontroller
 
8051 microcontroller training (2) (sahil gupta 9068557926)
8051 microcontroller training  (2) (sahil gupta   9068557926)8051 microcontroller training  (2) (sahil gupta   9068557926)
8051 microcontroller training (2) (sahil gupta 9068557926)
 
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.pptx
8051.pptx8051.pptx
8051.pptx
 

Plus de Kshitij Wagle

Seven Segment Display
Seven Segment DisplaySeven Segment Display
Seven Segment DisplayKshitij Wagle
 
Prerequriment of microcontroller
Prerequriment of microcontrollerPrerequriment of microcontroller
Prerequriment of microcontrollerKshitij Wagle
 
Basic electronic components used in robotics
Basic electronic components used in roboticsBasic electronic components used in robotics
Basic electronic components used in roboticsKshitij Wagle
 
Data Mining: Human and Wildlife conflict of CNP
Data Mining: Human and Wildlife conflict of CNPData Mining: Human and Wildlife conflict of CNP
Data Mining: Human and Wildlife conflict of CNPKshitij Wagle
 
Asp.net introduction
Asp.net introductionAsp.net introduction
Asp.net introductionKshitij Wagle
 
Wordpress vs Google Blogger/ Wampserver
Wordpress vs Google Blogger/ WampserverWordpress vs Google Blogger/ Wampserver
Wordpress vs Google Blogger/ WampserverKshitij Wagle
 

Plus de Kshitij Wagle (7)

Seven Segment Display
Seven Segment DisplaySeven Segment Display
Seven Segment Display
 
Prerequriment of microcontroller
Prerequriment of microcontrollerPrerequriment of microcontroller
Prerequriment of microcontroller
 
LCD interfacing
LCD interfacingLCD interfacing
LCD interfacing
 
Basic electronic components used in robotics
Basic electronic components used in roboticsBasic electronic components used in robotics
Basic electronic components used in robotics
 
Data Mining: Human and Wildlife conflict of CNP
Data Mining: Human and Wildlife conflict of CNPData Mining: Human and Wildlife conflict of CNP
Data Mining: Human and Wildlife conflict of CNP
 
Asp.net introduction
Asp.net introductionAsp.net introduction
Asp.net introduction
 
Wordpress vs Google Blogger/ Wampserver
Wordpress vs Google Blogger/ WampserverWordpress vs Google Blogger/ Wampserver
Wordpress vs Google Blogger/ Wampserver
 

Dernier

Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...roncy bisnoi
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Christo Ananth
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)simmis5
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduitsrknatarajan
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 

Dernier (20)

Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 

Microcontroller

  • 2. MICROPROCESSOR  CPU on a chip  General purpose  Memory and input /output (I/O) devices should be interfaced  Suitable for both big and small systems (mainframe Computers to pocket calculators) MICROCONTROLLER  Computer on a chip  Specific Purpose(Mainly for embedded applications)  Contains on chip RAM, ROM, I/O ports, Oscillator, Serial port, etc  Suitable for small systems having less I/O devices, memory, power and requiring smaller space
  • 3. MICROPROCESSOR  Based on Von-Neumann architecture  Application Software is not ROM based.  Instruction set is designed such that program and data can be transferred between CPU and RAM. Programming is generally done in Assembly Language. MICROCONTROLLER  Based on Harvard architecture Application Software is ROM based.  Instruction set is designed such that program and data can be transferred between CPU and ROM.  Programming can be done either in Assembly or High level language.
  • 4. Household Items Toys, Cameras, Video Recorders, CD players, TVs, Microwave Ovens, Washing Machines, Vacuum Cleaners, Home Security Systems, etc.
  • 5. Office Equipments Fax Machines, Printers, Plotters, modems, ATM machines, smart cards, Photocopy machines, etc
  • 6. Communication Cell Phones, Telephones, Pagers, Answering Machines, etc
  • 7. Others Robotics, Automation , Automobile industries , etc
  • 8. Intel introduced 8051, referred as MCS-51, in 1981.  Due to the flexibility and versatility of 8051 family microcontrollers, they are quite popular till now. Feature/Chip 8051 8031 8052 AT89S52 ROM 4K 0K 8K Flash 4K RAM 128 bytes 128 bytes 256 bytes 128 bytes I/O Pins 32 32 32 32 Serial I/O 1 1 1 1 Timer 2 2 3 2 Interrupt Source 6 6 8 6 Large block of data is erased and written in Flash EPROM while only byte by byte erasing and writing is available in EEPROM INTRODUCTION TO MICROCONTROLLER
  • 9.  On-chip Oscillator  On-chip RAM of limited size  On-chip ROM of limited size  On-chip I/O ports  Built in full duplex serial port On-chip timer/counter Bus control to interface external RAM and ROM(64 kb each)  Large Set of Special Purpose registers Boolean Processing Capacity (Bit addressable)  Multiple Functionality of Pins Key Features of 8051 microcontrollers
  • 11. PIN DESCRIPTION OF 8051 MICROCONTROLLER Port 1 Port 3 Port 0 Port 2
  • 12. VCC (PIN 40) : Supply voltage (+5V) is provided to chip GND(PIN 20): Ground or Common terminal of supply XTAL1 (PIN 19) & XTAL2 (PIN 18): As discussed earlier 8051 microcontroller possess on-chip Oscillator. It can generate frequency of 1.24 MHz to 12 MHz Generally a quartz crystal of 12 MHz frequency is connected to the pins 18 and 19. The actual frequency produced is 11.0592 MHz PIN DESCRIPTION OF 8051 MICROCONTROLLER
  • 13. Also two capacitors of around 30 pF are connected as shown in figure. The quartz crystal and capacitors help to produce clock pulse of exact frequency not some harmonic frequency. If a frequency source other than a crystal oscillator is used , such as a TTL Oscillator, it will be connected to XTAL1 and XTAL2 is left unconnected. PIN DESCRIPTION OF 8051 MICROCONTROLLER
  • 14. RST(PIN 9): RST stands for system RESET and is active high signal.(Normally low) The Microcontroller is reset by holding RST high for at least two machine cycles and then returning it low. The execution of the program stops and begins at the first location in program memory (ROM) on reset. Need of RST circuitry oWhen the supply is just turned on. (Transient Effect) oAs backup power source.
  • 15. __ EA (PIN 31): EA stands for “External Access” and is an input signal which is either connected to VCC or GND.  If the program is stored in on-chip ROM then, EA is connected to VCC.  If the program is stored in external ROM then, EA is connected to GND.
  • 16. _____ PSEN (PIN 29): It stands for “Program Store Enable”.  It is an output pin and it is connected to the OE(Output Enable) pin of the ROM.  It distinguish between program memory and data Memory.
  • 17. ALE (PIN 30):  ALE stands for “Address Latch Enable” and is an active high output pin.  Port o has got three functionality viz. I/O port, Address and Data.  ALE indicates if P0 has address or data • When ALE=0, it provides data D0-D7 •When ALE=1, it has address A0-A7
  • 18. PORT P0 (PIN 39 TO 32) Port P0 has got three functionalities.(I/O port, lower order address(A0 to A7) and data (D0 to D7). It can be used for input or output , each pin must be connected externally to a 10K ohm pull-up resistor. ALE indicates if P0 has address or data When ALE=0, it provides data D0-D7 When ALE=1, it has address A0-A7
  • 19. PORT P1 (PIN 1 TO 8) Port P1 is simple I/O port . Internal pull up resistor is provided. PORT P2(PIN 21 TO 28) Port P2 has dual functionality.( I/o port and higher order address(A8 to A15). Port 2 must be used along with P0 to provide the 16-bit address for the external memory.  Internal pull up resistor is provided.
  • 20. PORT P3 (PIN 10 TO 17) Port 3 can be used as input or output. Port 3 does not need any pull-up resistors. Port 3 has the additional function of providing some extremely important signals.
  • 21. There are 21 special function registers
  • 22.
  • 23.
  • 24.
  • 25. Memory I/O PORTS Figure : Interfacing Microprocessor ALU CONTROL UNIT Microprocessor