microcontroller.pptx

Adarsh College, Hingoli
Adarsh College, HingoliAssistant Professor um Adarsh College, Hingoli
microcontroller.pptx
Contents
• Introduction
• Feature of 8051
• Microcontroller Vs Microprocessor
• Internal Architecture 8051
• Pin Diagram of 8051
• Memory Organization of 8051
Prof. R. S. Devhade (LKDKB Science College, Lonar)
Introduction
Prof. R. S. Devhade (LKDKB Science College, Lonar)
• The microcontroller is nothing but the small programmable controller and same as
that of single chip computer.
• A microcontroller is a computer present in a single integrated circuit which is
dedicated to perform one task and execute one specific application.
• It contains memory, programmable input/output peripherals as well a processor.
• Microcontrollers are mostly designed for embedded applications and are heavily
used in automatically controlled electronic devices such as cell phones, cameras,
microwave ovens, washing machines, etc.
• Microcontrollers are used to execute a single task within an application.
• It consists of CPU, RAM, ROM, I/O ports, serial port, Timers, ADC & DAC, Interrupt
control, Special function block etc.
• All of these above blocks are built in a single chip of 40-pin for 8051 µc.
• The Intel 8051is belonging to MCS51 family which is 8-bit µc family have the
different members as 8031, 8048,8051,8751 out of these 8-bits µc has inbuilt E-
PROM available in it.
•
• The 8051 Microcontroller is one of the basic types of microcontroller, designed by
Intel in 1980’s.
• This microcontroller was based on Harvard Architecture and developed primarily for
use in embedded systems technology.
• Normally, this microcontroller was developed using NMOS technology, which
requires more power to operate.
Prof. R. S. Devhade (LKDKB Science College, Lonar)
Feature of 8051
• Microcontroller having inbuilt 4KB of ROM and 128 byte RAM. The ROM is also
called program memory where as RAM is called as data memory.
• Microcontroller having four I/O ports each of 8-builts available as P0, P1, P2 & P3.
All these port are bit addressable.
• It is having Boolean processor inbuilt available which operates on various Boolean
instruction.
• The microcontroller has five inbuilt interrupt source, out of which two are hardware
and remaining three are software interrupt.
• It has inbuilt 8-bit of data bus and 16-address bus.
• It has 64KB attached external memory because of 16-bit address bus.
• It has four register banks as bank0, bank1, bank2, bank3; each bank is of 8-byte
containing 8 register each of single byte (8-bit).
• It has two 16-bit timer and counter. Prof. R. S. Devhade (LKDKB Science College, Lonar)
Microprocessor Vs Microcontroller
It is a single chip without I/O, memory,
timer/counter and serial interface
It is single chip with built inside ports,
timer/counter, memory and serial interface.
The instruction of microprocessor is lengthy. The instruction set of microcontroller is small.
Microprocessor have not bit addressable
instruction
Microcontroller has built bit addressable
instruction.
Program of microprocessor generally terminated
with HLT instruction.
Program of microcontroller generally terminated
with RET instruction.
Microprocessor is not operated with Boolean
instructions.
Microcontroller operated with Boolean
instruction.
Microprocessor have not inbuilt RAM or ROM Microcontroller have inbuilt internal RAM or
ROM.
Very few pins are programmable. Most of the pins are programmable.
Microprocessor have not inbuilt I/O port Microcontroller have inbuilt I/O four port.
Various microprocessor are 8085, 8086 Various microcontroller are 8031, 8051.
Prof. R. S. Devhade (LKDKB Science College, Lonar)
Internal Architecture of 8051
Prof. R. S. Devhade (LKDKB Science College, Lonar)
• Accumulator
• Register B
• 8-bit ALU
• PSW or flag register (8-bit)
• PC (16-bit)
• DPTR (16-bit)
• SP (8-bit)
• Four I/O port
• Various SFR
The above figure shows the block diagram of Intel 8051 µc. it contains
the following important block:
Prof. R. S. Devhade (LKDKB Science College, Lonar)
Pin Diagram of 8051
Prof. R. S. Devhade (LKDKB Science College, Lonar)
• One of the most useful features of the 8051 is that it contains four
I/O ports (P0 - P3)
• Port 0 (pins 32-39):P0(P0.0~P0.7)
– 8-bit R/W - General Purpose I/O
– Or acts as a multiplexed low byte address and data bus for external memory
design
– The default address of these pin is 80H
• Port 1 (pins 1-8) :P1(P1.0~P1.7)
– Only 8-bit R/W - General Purpose I/O
– The default address of these pin is 90H
• Port 2 (pins 21-28):P2(P2.0~P2.7)
– 8-bit R/W - General Purpose I/O
– Or high byte of the address bus for external memory design
– The default address of these pin is A0H
• Port 3 (pins 10-17):P3(P3.0~P3.7)
– General Purpose I/O
– if not using any of the internal peripherals (timers) or external interrupts.
– The default address of these pin is B0H
• Each port can be used as input or output (bi-direction)
IMPORTANT PINS (IO Ports)
Prof. R. S. Devhade (LKDKB Science College, Lonar)
Memory Organization of 8051
 An 8051 microcontroller is having two types of memory organized as
• Internal memory
• External memory
 The memory structure or organization for 8051 is follows
Prof. R. S. Devhade (LKDKB Science College, Lonar)
• The internal Memory of 8051 Microcontroller is separated in Program Memory (ROM)
and Data Memory (RAM).
• The Program Memory of the 8051 Microcontroller is used for storing the program to be
executed i.e. instructions.
• The Data Memory on the other hand, is used for storing temporary variable data and
intermediate results.
• The ROM of 8051 is also called as
program memory which is inbuilt in
microcontroller.
• The starting address of this memory
will be from 000H, ending up to
FFFH.
 4 KB ROM:
Prof. R. S. Devhade (LKDKB Science College, Lonar)
Program memory accessed through EA pin. In program memory two
categories takes place:
If EA is HIGH, internal program memory is
accessed from 0000H to 0FFFH memory
location and external program memory
accessed from 1000H to FFFFH memory
locations.
If EA is LOW, only external program
memory accessed from 0000H to FFFFH
memory locations.
Prof. R. S. Devhade (LKDKB Science College, Lonar)
 128 byte RAM:
 This memory is also called as data memory.
 The 128 byte RAM (data memory) which is further distributed as:
• 32-byte register bank
• 16-byte bit addressable
• 80-byte scratched pad
• Also an external memory of size maximum up to 64KB
can be integrated with 8051 microcontroller.
• The 8081 microcontroller has 16 address lines, hence
the total memory addressing capacity is
216 = 64KB.
• Intel 8051 can be interface with maximum 64KB of
memory.
• The starting address to this memory is from 0000H to
FFFFH.
Prof. R. S. Devhade (LKDKB Science College, Lonar)
THANK
YOU……
microcontroller.pptx
1 von 17

Recomendados

MPI-Unit-5-PPT (1).ppt von
MPI-Unit-5-PPT (1).pptMPI-Unit-5-PPT (1).ppt
MPI-Unit-5-PPT (1).pptkrishna859893
2 views208 Folien
Architecture of the Intel 8051 Microcontroller von
Architecture of the Intel 8051 MicrocontrollerArchitecture of the Intel 8051 Microcontroller
Architecture of the Intel 8051 MicrocontrollerSudhanshu Janwadkar
6.3K views41 Folien
Unit 4.pptx von
Unit 4.pptxUnit 4.pptx
Unit 4.pptxBLACKSPAROW
13 views30 Folien
8051.ppt von
8051.ppt8051.ppt
8051.pptSamarth Varshney
30 views33 Folien
PRESENTATION OF MICROCONTROLLER von
PRESENTATION OF MICROCONTROLLERPRESENTATION OF MICROCONTROLLER
PRESENTATION OF MICROCONTROLLERAviSharma63
65 views11 Folien

Más contenido relacionado

Similar a microcontroller.pptx

Unit 5 von
Unit 5Unit 5
Unit 5Saurabh Yadav
2.1K views5 Folien
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT IV Designing Embedded System with 8051... von
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT IV  Designing Embedded System with 8051...SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT IV  Designing Embedded System with 8051...
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT IV Designing Embedded System with 8051...Arti Parab Academics
489 views21 Folien
Unit 4 von
Unit 4Unit 4
Unit 4tamilnesaner
409 views56 Folien
8051 Architecture and PIN Configuration.pdf von
8051 Architecture and PIN Configuration.pdf8051 Architecture and PIN Configuration.pdf
8051 Architecture and PIN Configuration.pdfSrikrishna Thota
78 views11 Folien
Micro controller von
Micro controllerMicro controller
Micro controllerDr. Ashok Kumar K
37 views25 Folien
Ch3 ppt von
Ch3 pptCh3 ppt
Ch3 pptwasz123
916 views59 Folien

Similar a microcontroller.pptx(20)

SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT IV Designing Embedded System with 8051... von Arti Parab Academics
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT IV  Designing Embedded System with 8051...SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT IV  Designing Embedded System with 8051...
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT IV Designing Embedded System with 8051...
8051 Architecture and PIN Configuration.pdf von Srikrishna Thota
8051 Architecture and PIN Configuration.pdf8051 Architecture and PIN Configuration.pdf
8051 Architecture and PIN Configuration.pdf
Srikrishna Thota78 views
Ch3 ppt von wasz123
Ch3 pptCh3 ppt
Ch3 ppt
wasz123916 views
Unit 2 - Microprocessor & Microcontroller.pptx von Charunnath S V
Unit 2 -  Microprocessor & Microcontroller.pptxUnit 2 -  Microprocessor & Microcontroller.pptx
Unit 2 - Microprocessor & Microcontroller.pptx
Charunnath S V38 views
Embedded training report(mcs 51) von Gurwinder Singh
Embedded training report(mcs 51)Embedded training report(mcs 51)
Embedded training report(mcs 51)
Gurwinder Singh1.9K views
Study of 8051 microcontroller von 918007165995
Study of 8051 microcontrollerStudy of 8051 microcontroller
Study of 8051 microcontroller
9180071659955.4K views
8051 MICROCONTROLLER ARCHITECTURE.pptx von MemonaMemon1
 8051 MICROCONTROLLER ARCHITECTURE.pptx 8051 MICROCONTROLLER ARCHITECTURE.pptx
8051 MICROCONTROLLER ARCHITECTURE.pptx
MemonaMemon1367 views

Más de Adarsh College, Hingoli

Microsoft Excell.pptx von
Microsoft Excell.pptxMicrosoft Excell.pptx
Microsoft Excell.pptxAdarsh College, Hingoli
28 views32 Folien
class and object in c++.pptx von
class and object in c++.pptxclass and object in c++.pptx
class and object in c++.pptxAdarsh College, Hingoli
235 views8 Folien
The 8086 microprocessor von
The  8086 microprocessorThe  8086 microprocessor
The 8086 microprocessorAdarsh College, Hingoli
78 views27 Folien
8051 Microcontroller von
8051 Microcontroller8051 Microcontroller
8051 MicrocontrollerAdarsh College, Hingoli
228 views17 Folien
Ms excel von
Ms excelMs excel
Ms excelAdarsh College, Hingoli
111 views32 Folien
DATABASE MANAGEMENT SYSTEM von
DATABASE MANAGEMENT SYSTEMDATABASE MANAGEMENT SYSTEM
DATABASE MANAGEMENT SYSTEMAdarsh College, Hingoli
44 views17 Folien

Último

A training, certification and marketing scheme for informal dairy vendors in ... von
A training, certification and marketing scheme for informal dairy vendors in ...A training, certification and marketing scheme for informal dairy vendors in ...
A training, certification and marketing scheme for informal dairy vendors in ...ILRI
10 views13 Folien
journal of engineering and applied science.pdf von
journal of engineering and applied science.pdfjournal of engineering and applied science.pdf
journal of engineering and applied science.pdfKSAravindSrivastava
7 views7 Folien
CSF -SHEEBA.D presentation.pptx von
CSF -SHEEBA.D presentation.pptxCSF -SHEEBA.D presentation.pptx
CSF -SHEEBA.D presentation.pptxSheebaD7
10 views13 Folien
How to be(come) a successful PhD student von
How to be(come) a successful PhD studentHow to be(come) a successful PhD student
How to be(come) a successful PhD studentTom Mens
422 views62 Folien
ENTOMOLOGY PPT ON BOMBYCIDAE AND SATURNIIDAE.pptx von
ENTOMOLOGY PPT ON BOMBYCIDAE AND SATURNIIDAE.pptxENTOMOLOGY PPT ON BOMBYCIDAE AND SATURNIIDAE.pptx
ENTOMOLOGY PPT ON BOMBYCIDAE AND SATURNIIDAE.pptxMN
6 views13 Folien
Pollination By Nagapradheesh.M.pptx von
Pollination By Nagapradheesh.M.pptxPollination By Nagapradheesh.M.pptx
Pollination By Nagapradheesh.M.pptxMNAGAPRADHEESH
15 views9 Folien

Último(20)

A training, certification and marketing scheme for informal dairy vendors in ... von ILRI
A training, certification and marketing scheme for informal dairy vendors in ...A training, certification and marketing scheme for informal dairy vendors in ...
A training, certification and marketing scheme for informal dairy vendors in ...
ILRI10 views
CSF -SHEEBA.D presentation.pptx von SheebaD7
CSF -SHEEBA.D presentation.pptxCSF -SHEEBA.D presentation.pptx
CSF -SHEEBA.D presentation.pptx
SheebaD710 views
How to be(come) a successful PhD student von Tom Mens
How to be(come) a successful PhD studentHow to be(come) a successful PhD student
How to be(come) a successful PhD student
Tom Mens422 views
ENTOMOLOGY PPT ON BOMBYCIDAE AND SATURNIIDAE.pptx von MN
ENTOMOLOGY PPT ON BOMBYCIDAE AND SATURNIIDAE.pptxENTOMOLOGY PPT ON BOMBYCIDAE AND SATURNIIDAE.pptx
ENTOMOLOGY PPT ON BOMBYCIDAE AND SATURNIIDAE.pptx
MN6 views
Pollination By Nagapradheesh.M.pptx von MNAGAPRADHEESH
Pollination By Nagapradheesh.M.pptxPollination By Nagapradheesh.M.pptx
Pollination By Nagapradheesh.M.pptx
MNAGAPRADHEESH15 views
Conventional and non-conventional methods for improvement of cucurbits.pptx von gandhi976
Conventional and non-conventional methods for improvement of cucurbits.pptxConventional and non-conventional methods for improvement of cucurbits.pptx
Conventional and non-conventional methods for improvement of cucurbits.pptx
gandhi97616 views
Ethical issues associated with Genetically Modified Crops and Genetically Mod... von PunithKumars6
Ethical issues associated with Genetically Modified Crops and Genetically Mod...Ethical issues associated with Genetically Modified Crops and Genetically Mod...
Ethical issues associated with Genetically Modified Crops and Genetically Mod...
PunithKumars618 views
himalay baruah acid fast staining.pptx von HimalayBaruah
himalay baruah acid fast staining.pptxhimalay baruah acid fast staining.pptx
himalay baruah acid fast staining.pptx
HimalayBaruah5 views
Workshop Chemical Robotics ChemAI 231116.pptx von Marco Tibaldi
Workshop Chemical Robotics ChemAI 231116.pptxWorkshop Chemical Robotics ChemAI 231116.pptx
Workshop Chemical Robotics ChemAI 231116.pptx
Marco Tibaldi95 views
Connecting communities to promote FAIR resources: perspectives from an RDA / ... von Allyson Lister
Connecting communities to promote FAIR resources: perspectives from an RDA / ...Connecting communities to promote FAIR resources: perspectives from an RDA / ...
Connecting communities to promote FAIR resources: perspectives from an RDA / ...
Allyson Lister33 views
PRINCIPLES-OF ASSESSMENT von rbalmagro
PRINCIPLES-OF ASSESSMENTPRINCIPLES-OF ASSESSMENT
PRINCIPLES-OF ASSESSMENT
rbalmagro11 views
Light Pollution for LVIS students von CWBarthlmew
Light Pollution for LVIS studentsLight Pollution for LVIS students
Light Pollution for LVIS students
CWBarthlmew5 views
"How can I develop my learning path in bioinformatics? von Bioinformy
"How can I develop my learning path in bioinformatics?"How can I develop my learning path in bioinformatics?
"How can I develop my learning path in bioinformatics?
Bioinformy18 views
Open Access Publishing in Astrophysics von Peter Coles
Open Access Publishing in AstrophysicsOpen Access Publishing in Astrophysics
Open Access Publishing in Astrophysics
Peter Coles543 views
Guinea Pig as a Model for Translation Research von PervaizDar1
Guinea Pig as a Model for Translation ResearchGuinea Pig as a Model for Translation Research
Guinea Pig as a Model for Translation Research
PervaizDar111 views

microcontroller.pptx

  • 2. Contents • Introduction • Feature of 8051 • Microcontroller Vs Microprocessor • Internal Architecture 8051 • Pin Diagram of 8051 • Memory Organization of 8051 Prof. R. S. Devhade (LKDKB Science College, Lonar)
  • 3. Introduction Prof. R. S. Devhade (LKDKB Science College, Lonar) • The microcontroller is nothing but the small programmable controller and same as that of single chip computer. • A microcontroller is a computer present in a single integrated circuit which is dedicated to perform one task and execute one specific application. • It contains memory, programmable input/output peripherals as well a processor. • Microcontrollers are mostly designed for embedded applications and are heavily used in automatically controlled electronic devices such as cell phones, cameras, microwave ovens, washing machines, etc. • Microcontrollers are used to execute a single task within an application. • It consists of CPU, RAM, ROM, I/O ports, serial port, Timers, ADC & DAC, Interrupt control, Special function block etc. • All of these above blocks are built in a single chip of 40-pin for 8051 µc.
  • 4. • The Intel 8051is belonging to MCS51 family which is 8-bit µc family have the different members as 8031, 8048,8051,8751 out of these 8-bits µc has inbuilt E- PROM available in it. • • The 8051 Microcontroller is one of the basic types of microcontroller, designed by Intel in 1980’s. • This microcontroller was based on Harvard Architecture and developed primarily for use in embedded systems technology. • Normally, this microcontroller was developed using NMOS technology, which requires more power to operate. Prof. R. S. Devhade (LKDKB Science College, Lonar)
  • 5. Feature of 8051 • Microcontroller having inbuilt 4KB of ROM and 128 byte RAM. The ROM is also called program memory where as RAM is called as data memory. • Microcontroller having four I/O ports each of 8-builts available as P0, P1, P2 & P3. All these port are bit addressable. • It is having Boolean processor inbuilt available which operates on various Boolean instruction. • The microcontroller has five inbuilt interrupt source, out of which two are hardware and remaining three are software interrupt. • It has inbuilt 8-bit of data bus and 16-address bus. • It has 64KB attached external memory because of 16-bit address bus. • It has four register banks as bank0, bank1, bank2, bank3; each bank is of 8-byte containing 8 register each of single byte (8-bit). • It has two 16-bit timer and counter. Prof. R. S. Devhade (LKDKB Science College, Lonar)
  • 6. Microprocessor Vs Microcontroller It is a single chip without I/O, memory, timer/counter and serial interface It is single chip with built inside ports, timer/counter, memory and serial interface. The instruction of microprocessor is lengthy. The instruction set of microcontroller is small. Microprocessor have not bit addressable instruction Microcontroller has built bit addressable instruction. Program of microprocessor generally terminated with HLT instruction. Program of microcontroller generally terminated with RET instruction. Microprocessor is not operated with Boolean instructions. Microcontroller operated with Boolean instruction. Microprocessor have not inbuilt RAM or ROM Microcontroller have inbuilt internal RAM or ROM. Very few pins are programmable. Most of the pins are programmable. Microprocessor have not inbuilt I/O port Microcontroller have inbuilt I/O four port. Various microprocessor are 8085, 8086 Various microcontroller are 8031, 8051. Prof. R. S. Devhade (LKDKB Science College, Lonar)
  • 7. Internal Architecture of 8051 Prof. R. S. Devhade (LKDKB Science College, Lonar)
  • 8. • Accumulator • Register B • 8-bit ALU • PSW or flag register (8-bit) • PC (16-bit) • DPTR (16-bit) • SP (8-bit) • Four I/O port • Various SFR The above figure shows the block diagram of Intel 8051 µc. it contains the following important block: Prof. R. S. Devhade (LKDKB Science College, Lonar)
  • 9. Pin Diagram of 8051 Prof. R. S. Devhade (LKDKB Science College, Lonar)
  • 10. • One of the most useful features of the 8051 is that it contains four I/O ports (P0 - P3) • Port 0 (pins 32-39):P0(P0.0~P0.7) – 8-bit R/W - General Purpose I/O – Or acts as a multiplexed low byte address and data bus for external memory design – The default address of these pin is 80H • Port 1 (pins 1-8) :P1(P1.0~P1.7) – Only 8-bit R/W - General Purpose I/O – The default address of these pin is 90H • Port 2 (pins 21-28):P2(P2.0~P2.7) – 8-bit R/W - General Purpose I/O – Or high byte of the address bus for external memory design – The default address of these pin is A0H • Port 3 (pins 10-17):P3(P3.0~P3.7) – General Purpose I/O – if not using any of the internal peripherals (timers) or external interrupts. – The default address of these pin is B0H • Each port can be used as input or output (bi-direction) IMPORTANT PINS (IO Ports) Prof. R. S. Devhade (LKDKB Science College, Lonar)
  • 11. Memory Organization of 8051  An 8051 microcontroller is having two types of memory organized as • Internal memory • External memory  The memory structure or organization for 8051 is follows Prof. R. S. Devhade (LKDKB Science College, Lonar)
  • 12. • The internal Memory of 8051 Microcontroller is separated in Program Memory (ROM) and Data Memory (RAM). • The Program Memory of the 8051 Microcontroller is used for storing the program to be executed i.e. instructions. • The Data Memory on the other hand, is used for storing temporary variable data and intermediate results. • The ROM of 8051 is also called as program memory which is inbuilt in microcontroller. • The starting address of this memory will be from 000H, ending up to FFFH.  4 KB ROM: Prof. R. S. Devhade (LKDKB Science College, Lonar)
  • 13. Program memory accessed through EA pin. In program memory two categories takes place: If EA is HIGH, internal program memory is accessed from 0000H to 0FFFH memory location and external program memory accessed from 1000H to FFFFH memory locations. If EA is LOW, only external program memory accessed from 0000H to FFFFH memory locations. Prof. R. S. Devhade (LKDKB Science College, Lonar)
  • 14.  128 byte RAM:  This memory is also called as data memory.  The 128 byte RAM (data memory) which is further distributed as: • 32-byte register bank • 16-byte bit addressable • 80-byte scratched pad
  • 15. • Also an external memory of size maximum up to 64KB can be integrated with 8051 microcontroller. • The 8081 microcontroller has 16 address lines, hence the total memory addressing capacity is 216 = 64KB. • Intel 8051 can be interface with maximum 64KB of memory. • The starting address to this memory is from 0000H to FFFFH. Prof. R. S. Devhade (LKDKB Science College, Lonar)