SlideShare a Scribd company logo
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

More Related Content

What's hot

USART
USARTUSART
Ec8791 lpc2148 pwm
Ec8791 lpc2148 pwmEc8791 lpc2148 pwm
Ec8791 lpc2148 pwm
RajalakshmiSermadurai
 
Interfacing LCD with 8051 Microcontroller
Interfacing LCD with 8051 MicrocontrollerInterfacing LCD with 8051 Microcontroller
Interfacing LCD with 8051 Microcontroller
Pantech ProLabs India Pvt Ltd
 
LPC 2148 ARM MICROCONTROLLER
LPC 2148 ARM MICROCONTROLLERLPC 2148 ARM MICROCONTROLLER
LPC 2148 ARM MICROCONTROLLER
sravannunna24
 
PIC 16F877A by PARTHIBAN. S.
PIC 16F877A   by PARTHIBAN. S.PIC 16F877A   by PARTHIBAN. S.
PIC 16F877A by PARTHIBAN. S.
parthi_arjun
 
8 Bit ALU
8 Bit ALU8 Bit ALU
Microcontroller
MicrocontrollerMicrocontroller
Microcontroller
Spitiq
 
Serial Communication in 8051
Serial Communication in 8051Serial Communication in 8051
Serial Communication in 8051
Sudhanshu Janwadkar
 
microcontroller basics
microcontroller basicsmicrocontroller basics
microcontroller basics
sagar Ramdev
 
Introduction to pic microcontroller
Introduction to pic microcontrollerIntroduction to pic microcontroller
Introduction to pic microcontroller
Siva Kumar
 
Lpc1768
Lpc1768Lpc1768
8 bit alu design
8 bit alu design8 bit alu design
8 bit alu design
shobhan pujari
 
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
 
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
 
DRAM
DRAMDRAM
8051 MICROCONTROLLER
8051 MICROCONTROLLER 8051 MICROCONTROLLER
8051 MICROCONTROLLER
THANDAIAH PRABU
 
INTRODUCTION TO MICROCONTROLLER
INTRODUCTION TO MICROCONTROLLERINTRODUCTION TO MICROCONTROLLER
INTRODUCTION TO MICROCONTROLLER
Ankita Jaiswal
 
8051 microcontroller and it’s interface
8051 microcontroller and it’s interface8051 microcontroller and it’s interface
8051 microcontroller and it’s interface
Abhishek Choksi
 
PIC Microcontroller | ADC Interfacing
PIC Microcontroller | ADC InterfacingPIC Microcontroller | ADC Interfacing
PIC Microcontroller | ADC Interfacing
International Institute of Information Technology (I²IT)
 
Ec8791 arm 9 processor
Ec8791 arm 9 processorEc8791 arm 9 processor
Ec8791 arm 9 processor
RajalakshmiSermadurai
 

What's hot (20)

USART
USARTUSART
USART
 
Ec8791 lpc2148 pwm
Ec8791 lpc2148 pwmEc8791 lpc2148 pwm
Ec8791 lpc2148 pwm
 
Interfacing LCD with 8051 Microcontroller
Interfacing LCD with 8051 MicrocontrollerInterfacing LCD with 8051 Microcontroller
Interfacing LCD with 8051 Microcontroller
 
LPC 2148 ARM MICROCONTROLLER
LPC 2148 ARM MICROCONTROLLERLPC 2148 ARM MICROCONTROLLER
LPC 2148 ARM MICROCONTROLLER
 
PIC 16F877A by PARTHIBAN. S.
PIC 16F877A   by PARTHIBAN. S.PIC 16F877A   by PARTHIBAN. S.
PIC 16F877A by PARTHIBAN. S.
 
8 Bit ALU
8 Bit ALU8 Bit ALU
8 Bit ALU
 
Microcontroller
MicrocontrollerMicrocontroller
Microcontroller
 
Serial Communication in 8051
Serial Communication in 8051Serial Communication in 8051
Serial Communication in 8051
 
microcontroller basics
microcontroller basicsmicrocontroller basics
microcontroller basics
 
Introduction to pic microcontroller
Introduction to pic microcontrollerIntroduction to pic microcontroller
Introduction to pic microcontroller
 
Lpc1768
Lpc1768Lpc1768
Lpc1768
 
8 bit alu design
8 bit alu design8 bit alu design
8 bit alu design
 
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 )
 
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
 
DRAM
DRAMDRAM
DRAM
 
8051 MICROCONTROLLER
8051 MICROCONTROLLER 8051 MICROCONTROLLER
8051 MICROCONTROLLER
 
INTRODUCTION TO MICROCONTROLLER
INTRODUCTION TO MICROCONTROLLERINTRODUCTION TO MICROCONTROLLER
INTRODUCTION TO MICROCONTROLLER
 
8051 microcontroller and it’s interface
8051 microcontroller and it’s interface8051 microcontroller and it’s interface
8051 microcontroller and it’s interface
 
PIC Microcontroller | ADC Interfacing
PIC Microcontroller | ADC InterfacingPIC Microcontroller | ADC Interfacing
PIC Microcontroller | ADC Interfacing
 
Ec8791 arm 9 processor
Ec8791 arm 9 processorEc8791 arm 9 processor
Ec8791 arm 9 processor
 

Similar to Microcontroller

Microcontroller 8051 gs
Microcontroller 8051 gsMicrocontroller 8051 gs
Microcontroller 8051 gs
Moorthy Peesapati
 
Microcontroller 8051
Microcontroller 8051Microcontroller 8051
Microcontroller 8051
Sadiq Rahim
 
4th yr dmumicrocontroller1
4th yr dmumicrocontroller14th yr dmumicrocontroller1
4th yr dmumicrocontroller1
haymanotyehuala
 
Microcontroller 8051 By Mitesh kumar
Microcontroller 8051 By Mitesh kumarMicrocontroller 8051 By Mitesh kumar
Microcontroller 8051 By Mitesh kumar
Mitesh Kumar
 
8051 full ppt
8051 full ppt8051 full ppt
Microcontroller 8051
Microcontroller 8051Microcontroller 8051
Microcontroller 8051
Rashmi
 
Embedded systems, 8051 microcontroller
Embedded systems, 8051 microcontrollerEmbedded systems, 8051 microcontroller
Embedded systems, 8051 microcontroller
Amandeep Alag
 
Microcontroller 8051
Microcontroller 8051Microcontroller 8051
Microcontroller 8051
guest70d48b1
 
Microcontroller 8051
Microcontroller 8051Microcontroller 8051
Microcontroller 8051
Mukesh Kashyap
 
Embedded systems, 8051 microcontroller
Embedded systems, 8051 microcontrollerEmbedded systems, 8051 microcontroller
Embedded systems, 8051 microcontroller
Amandeep Alag
 
Microcontroller (8051) by K. Vijay Kumar
Microcontroller (8051) by K. Vijay KumarMicrocontroller (8051) by K. Vijay Kumar
Microcontroller (8051) by K. Vijay Kumar
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"
surabhii007
 
8051 microcontroller by K. Vijay Kumar
8051 microcontroller by K. Vijay Kumar8051 microcontroller by K. Vijay Kumar
8051 microcontroller by K. Vijay Kumar
Vijay Kumar
 
8051 Microcontroller
8051 Microcontroller8051 Microcontroller
8051 Microcontroller
thokalpv
 
Ppt embedded
Ppt embeddedPpt embedded
Ppt embedded
karan bansal
 
8051 Presentation
8051 Presentation8051 Presentation
8051 Presentation
Sayan Chakraborty
 
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
Garba 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 unit
janakiramang6
 
8051.pptx
8051.pptx8051.pptx

Similar to 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
 

More from Kshitij Wagle

Seven Segment Display
Seven Segment DisplaySeven Segment Display
Seven Segment Display
Kshitij Wagle
 
Prerequriment of microcontroller
Prerequriment of microcontrollerPrerequriment of microcontroller
Prerequriment of microcontroller
Kshitij Wagle
 
LCD interfacing
LCD interfacingLCD interfacing
LCD interfacing
Kshitij Wagle
 
Basic electronic components used in robotics
Basic electronic components used in roboticsBasic electronic components used in robotics
Basic electronic components used in robotics
Kshitij 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 CNP
Kshitij Wagle
 
Asp.net introduction
Asp.net introductionAsp.net introduction
Asp.net introduction
Kshitij Wagle
 
Wordpress vs Google Blogger/ Wampserver
Wordpress vs Google Blogger/ WampserverWordpress vs Google Blogger/ Wampserver
Wordpress vs Google Blogger/ Wampserver
Kshitij Wagle
 

More from 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
 

Recently uploaded

一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
nedcocy
 
Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...
Prakhyath Rai
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
KrishnaveniKrishnara1
 
SCALING OF MOS CIRCUITS m .pptx
SCALING OF MOS CIRCUITS m                 .pptxSCALING OF MOS CIRCUITS m                 .pptx
SCALING OF MOS CIRCUITS m .pptx
harshapolam10
 
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
Gino153088
 
Engineering Standards Wiring methods.pdf
Engineering Standards Wiring methods.pdfEngineering Standards Wiring methods.pdf
Engineering Standards Wiring methods.pdf
edwin408357
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
IJECEIAES
 
morris_worm_intro_and_source_code_analysis_.pdf
morris_worm_intro_and_source_code_analysis_.pdfmorris_worm_intro_and_source_code_analysis_.pdf
morris_worm_intro_and_source_code_analysis_.pdf
ycwu0509
 
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 08 Doors and Windows.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 08 Doors and Windows.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 08 Doors and Windows.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 08 Doors and Windows.pdf
Yasser Mahgoub
 
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
Paris Salesforce Developer Group
 
Computational Engineering IITH Presentation
Computational Engineering IITH PresentationComputational Engineering IITH Presentation
Computational Engineering IITH Presentation
co23btech11018
 
Curve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods RegressionCurve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods Regression
Nada Hikmah
 
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
ijaia
 
Null Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAMNull Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAM
Divyanshu
 
ITSM Integration with MuleSoft.pptx
ITSM  Integration with MuleSoft.pptxITSM  Integration with MuleSoft.pptx
ITSM Integration with MuleSoft.pptx
VANDANAMOHANGOUDA
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
kandramariana6
 
Design and optimization of ion propulsion drone
Design and optimization of ion propulsion droneDesign and optimization of ion propulsion drone
Design and optimization of ion propulsion drone
bjmsejournal
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
MDSABBIROJJAMANPAYEL
 
TIME TABLE MANAGEMENT SYSTEM testing.pptx
TIME TABLE MANAGEMENT SYSTEM testing.pptxTIME TABLE MANAGEMENT SYSTEM testing.pptx
TIME TABLE MANAGEMENT SYSTEM testing.pptx
CVCSOfficial
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
IJECEIAES
 

Recently uploaded (20)

一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
 
Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
 
SCALING OF MOS CIRCUITS m .pptx
SCALING OF MOS CIRCUITS m                 .pptxSCALING OF MOS CIRCUITS m                 .pptx
SCALING OF MOS CIRCUITS m .pptx
 
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
 
Engineering Standards Wiring methods.pdf
Engineering Standards Wiring methods.pdfEngineering Standards Wiring methods.pdf
Engineering Standards Wiring methods.pdf
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
 
morris_worm_intro_and_source_code_analysis_.pdf
morris_worm_intro_and_source_code_analysis_.pdfmorris_worm_intro_and_source_code_analysis_.pdf
morris_worm_intro_and_source_code_analysis_.pdf
 
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 08 Doors and Windows.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 08 Doors and Windows.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 08 Doors and Windows.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 08 Doors and Windows.pdf
 
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
 
Computational Engineering IITH Presentation
Computational Engineering IITH PresentationComputational Engineering IITH Presentation
Computational Engineering IITH Presentation
 
Curve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods RegressionCurve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods Regression
 
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
 
Null Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAMNull Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAM
 
ITSM Integration with MuleSoft.pptx
ITSM  Integration with MuleSoft.pptxITSM  Integration with MuleSoft.pptx
ITSM Integration with MuleSoft.pptx
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
 
Design and optimization of ion propulsion drone
Design and optimization of ion propulsion droneDesign and optimization of ion propulsion drone
Design and optimization of ion propulsion drone
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
 
TIME TABLE MANAGEMENT SYSTEM testing.pptx
TIME TABLE MANAGEMENT SYSTEM testing.pptxTIME TABLE MANAGEMENT SYSTEM testing.pptx
TIME TABLE MANAGEMENT SYSTEM testing.pptx
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
 

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