SlideShare uma empresa Scribd logo
1 de 18
Baixar para ler offline
Presented by:IQBAL HUSSAIN
ELECTRONICS&COMMUNICATI0N
            Final year
   WHAT IS AN EMBEDDED SYSTEM?
   Block Diagram of an Embedded System.
   WHAT’S A MICROCONTROLLER?
   INTERRUPTS
   ADDRESSING MODES.
   INTRODUCTION 8051 ASSEMBLY PROGRAMMING
   INTERFACING OF STEPPER MOTOR BY USING 8051
   APPLICATI0N OF EMBEDDED SYSTEM
“ An embedded system can be defined as those
control systems which are designed either by
microprocessor or microcontroller for a specific tasks.
”
OR
“ An embedded system is some combination of
computer hardware & software, either fixed in
capability or programmable, that is specifically
designed for a particular kind of application device. ”
Iqbal embedded system
 A microcontroller is a computer-on-a-chip,
or, a single-chip computer. Micro suggests
That the device is small, and controller tells
that the device might be used to control
objects, processes, or events. Another term
to describe a microcontroller is embedded
controller, because the microcontroller and
its support circuits are often built into, or
embedded in, the devices they control.
Iqbal embedded system
• The 8051 is the first microcontroller of the MCS-51
  family introduced by Intel Corporation at the end of the
  1970‟s.

• The 8051 architecture contains the following:
   o   4K Bytes ROM
   o   128 Bytes RAM
   o   two timer/counters (16 bit)
   o   A serial port
   o   32 input/output port
   o   Interrupt controller
   o   16 bit program counter(PC) and data pointer(DPTR)
   o   2 external and 3 internal interrupt sources Oscillator and clock circuits
   o   8 bit program status word(PSW)
   o   8 bit CPU with registers A and B etc.
   Definition of „Interrupt:-“Event that disrupts the normal
    execution of a program and causes the execution of special
    instructions”.
                        types of interrupt


    hardware                                       software
(RST0,….RST7)                             (TRAP,RST7.5,6.5,5.5,INTR)



                               VECTORED              NONVECTORED
An "addressing mode" refers to how you are
addressing a given memory location. In
summary, the addressing modes are as
follows. . . .
 Immediate Addressing

 Register Addressing

 Direct Addressing

 Indirect Addressing
It was time that hardware-oriented to the core made compromise if they wanted to stay “in the
game”. Namely, unlike other circuits which only need to be connected to other components and
powered in order to be of any use, microcontrollers require to be programmed as well. Fortunately,
they still didn't progress so far in their evolution, so that all microcontroller families “understand”
only one language - machine language. That's a good thing. The bad one is that, even primitive, this
language of zeros and ones can only be understood by microcontrollers and some of the experts
working on its development. In order to bridge this gap between machine and humans, the first
high-level programming language called Assembly language was created.

The main problem of remembering codes recognized as instructions by electronics was solved
therefore, but another one, equally complicated to both us and “them”(microcontrollers) arose. This
problem was also easily solved by means of the program for a PC called assembler and a simple
device called programmer.

This program enables the PC to receive commands in the form of abbreviations and convert them
unerringly into so called “executable file”. The moment of compiling a program into machine
language is crucial as this file, called HEX file, represents a series of binary numbers understandable
to microcontrollers only. The program written in assembly language cannot be executed practically
unless this file is loaded into the microcontroller memory. This is the moment when the last link in
the chain - the programmer - appears on the scene. It is a small device connected to a PC via some of
the ports and has a socket for placing chip in.
EDITOR                MS-DOS,NOTEPAD
A
                              PROGRAM

                                        Myfile.asm
                              ASSEMBLER
                               PROGRAM

    Myfile.lst
                                             Other obj file
                 Myfile.obj

                               LINKER
                              PROGRAM


                                               ABSOLUTE FILE



                                 OH
                              PROGRAM


                                    Myfile.hex
{Label :} INSTRUCTION {; comments}




   MNEMONICS                                  OPERANDS




DESTINATION                                        SOURCE
   A stepper motor is a widely used device that translates electrical pulses
    into mechanical movement
   The stepper motor is used for position control in applications such as disk
    drivers, dot matrix printers, and robotics, etc.
   Every stepper motor has a permanent magnet rotor (also called the shaft)
    surrounded by a stator .
   The most common stepper motors have four stator windings that are
    paired with a center-tapped common.
   This type of stepper motor is commonly referred to as a four-phase
    stepper motor
   The center tap allows a change of current direction in each of two coils
    when a winding is grounded, thereby resulting in a polarity change of the
    stator.
   The stepper motor discussed here has a total of 6 leads, 4 leads
    representing the four stator windings ,2 commons for the center tapped
    leads.
   As the sequence of power is applied to each stator winding, the rotor will
    rotate.
Iqbal embedded system
Iqbal embedded system
PRODUCT: RIO 800                         1.AUTOMATIC CONTROLLING OF
MP3 PLAYER.                              CARS




 3.Product: NASA'sMars SojournerRover.    4.Product: Sony AiboERS-110 Robotic
                                          Dog.
.
.

Mais conteúdo relacionado

Mais procurados

Embedded systems, 8051 microcontroller
Embedded systems, 8051 microcontrollerEmbedded systems, 8051 microcontroller
Embedded systems, 8051 microcontrollerAmandeep Alag
 
Ashish microcontroller 8051
Ashish microcontroller 8051Ashish microcontroller 8051
Ashish microcontroller 8051ASHISH RAJ
 
8051 Microcontroller Notes
8051 Microcontroller Notes8051 Microcontroller Notes
8051 Microcontroller NotesDr.YNM
 
Study of 8051 microcontroller
Study of 8051 microcontrollerStudy of 8051 microcontroller
Study of 8051 microcontroller918007165995
 
8051microcontroller
8051microcontroller 8051microcontroller
8051microcontroller manish080
 
8051 Microcontroller ppt
8051 Microcontroller ppt8051 Microcontroller ppt
8051 Microcontroller pptRahul Kumar
 
37471656 interrupts
37471656 interrupts37471656 interrupts
37471656 interruptstt_aljobory
 
Microprocessor 8051
Microprocessor 8051Microprocessor 8051
Microprocessor 8051Anil Maurya
 
The 8051 microcontroler based embedded systems
The 8051 microcontroler based embedded systemsThe 8051 microcontroler based embedded systems
The 8051 microcontroler based embedded systemsmanishpatel_79
 
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
 
Architecture of the Intel 8051 Microcontroller
Architecture of the Intel 8051 MicrocontrollerArchitecture of the Intel 8051 Microcontroller
Architecture of the Intel 8051 MicrocontrollerSudhanshu Janwadkar
 
Embedded System Real Time Operating System (ERTS) I unit by vijay
Embedded System Real Time Operating System (ERTS) I unit by vijayEmbedded System Real Time Operating System (ERTS) I unit by vijay
Embedded System Real Time Operating System (ERTS) I unit by vijayVijay Kumar
 

Mais procurados (20)

Embedded systems, 8051 microcontroller
Embedded systems, 8051 microcontrollerEmbedded systems, 8051 microcontroller
Embedded systems, 8051 microcontroller
 
Ashish microcontroller 8051
Ashish microcontroller 8051Ashish microcontroller 8051
Ashish microcontroller 8051
 
DPA
DPADPA
DPA
 
Embedded systems, lesson 16
Embedded systems, lesson 16Embedded systems, lesson 16
Embedded systems, lesson 16
 
8051 Microcontroller Notes
8051 Microcontroller Notes8051 Microcontroller Notes
8051 Microcontroller Notes
 
Plc ppt filke
Plc ppt filkePlc ppt filke
Plc ppt filke
 
Study of 8051 microcontroller
Study of 8051 microcontrollerStudy of 8051 microcontroller
Study of 8051 microcontroller
 
8051 Microcontroller
8051 Microcontroller8051 Microcontroller
8051 Microcontroller
 
8051microcontroller
8051microcontroller 8051microcontroller
8051microcontroller
 
8051 Microcontroller ppt
8051 Microcontroller ppt8051 Microcontroller ppt
8051 Microcontroller ppt
 
37471656 interrupts
37471656 interrupts37471656 interrupts
37471656 interrupts
 
8051 Inturrpt
8051 Inturrpt8051 Inturrpt
8051 Inturrpt
 
Microprocessor 8051
Microprocessor 8051Microprocessor 8051
Microprocessor 8051
 
8051 io interface
8051 io interface8051 io interface
8051 io interface
 
The 8051 microcontroler based embedded systems
The 8051 microcontroler based embedded systemsThe 8051 microcontroler based embedded systems
The 8051 microcontroler based embedded systems
 
Microcontroller
MicrocontrollerMicrocontroller
Microcontroller
 
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"
 
Architecture of the Intel 8051 Microcontroller
Architecture of the Intel 8051 MicrocontrollerArchitecture of the Intel 8051 Microcontroller
Architecture of the Intel 8051 Microcontroller
 
viva q&a for mp lab
viva q&a for mp labviva q&a for mp lab
viva q&a for mp lab
 
Embedded System Real Time Operating System (ERTS) I unit by vijay
Embedded System Real Time Operating System (ERTS) I unit by vijayEmbedded System Real Time Operating System (ERTS) I unit by vijay
Embedded System Real Time Operating System (ERTS) I unit by vijay
 

Semelhante a Iqbal embedded system

INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptxINDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptxMeghdeepSingh
 
embedded system and microcontroller
 embedded system and microcontroller embedded system and microcontroller
embedded system and microcontrollerSHILPA Sillobhargav
 
Msp 430 architecture module 1
Msp 430 architecture module 1Msp 430 architecture module 1
Msp 430 architecture module 1SARALA T
 
An introduction to digital signal processors 1
An introduction to digital signal processors 1An introduction to digital signal processors 1
An introduction to digital signal processors 1Hossam Hassan
 
Microcontroller presentation
Microcontroller presentationMicrocontroller presentation
Microcontroller presentationxavierpaulino
 
Introduction to microprocessor
Introduction to microprocessorIntroduction to microprocessor
Introduction to microprocessorRamaPrabha24
 
System Software ( Os )
System Software ( Os )System Software ( Os )
System Software ( Os )Paula Smith
 
Computer engineering - overview of microprocessors
Computer engineering - overview of microprocessorsComputer engineering - overview of microprocessors
Computer engineering - overview of microprocessorsEkeedaPvtLtd
 
Embedded systems ppt i
Embedded systems ppt iEmbedded systems ppt i
Embedded systems ppt ianishgoel
 
3245731 tele-controlled-steper-motor-thesis
3245731 tele-controlled-steper-motor-thesis3245731 tele-controlled-steper-motor-thesis
3245731 tele-controlled-steper-motor-thesisThanh Nguyen
 
training report on embedded system and AVR
training report on embedded system and AVRtraining report on embedded system and AVR
training report on embedded system and AVRUrvashi Khandelwal
 
Introducttion to robotics and microcontrollers
Introducttion to robotics and microcontrollersIntroducttion to robotics and microcontrollers
Introducttion to robotics and microcontrollersSandeep Kamath
 
U proc ovw
U proc ovwU proc ovw
U proc ovwBrit4
 
Embedded System basic and classifications
Embedded System basic and classificationsEmbedded System basic and classifications
Embedded System basic and classificationsrajkciitr
 

Semelhante a Iqbal embedded system (20)

INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptxINDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
 
Introduction to Microcontrollers
Introduction to MicrocontrollersIntroduction to Microcontrollers
Introduction to Microcontrollers
 
embedded system and microcontroller
 embedded system and microcontroller embedded system and microcontroller
embedded system and microcontroller
 
Msp 430 architecture module 1
Msp 430 architecture module 1Msp 430 architecture module 1
Msp 430 architecture module 1
 
An introduction to digital signal processors 1
An introduction to digital signal processors 1An introduction to digital signal processors 1
An introduction to digital signal processors 1
 
Microcontroller presentation
Microcontroller presentationMicrocontroller presentation
Microcontroller presentation
 
Introduction to microprocessor
Introduction to microprocessorIntroduction to microprocessor
Introduction to microprocessor
 
Coa INTERUPT
Coa INTERUPTCoa INTERUPT
Coa INTERUPT
 
Ppt embedded
Ppt embeddedPpt embedded
Ppt embedded
 
Embedded System Basics
Embedded System BasicsEmbedded System Basics
Embedded System Basics
 
EEE226a.ppt
EEE226a.pptEEE226a.ppt
EEE226a.ppt
 
System Software ( Os )
System Software ( Os )System Software ( Os )
System Software ( Os )
 
Computer engineering - overview of microprocessors
Computer engineering - overview of microprocessorsComputer engineering - overview of microprocessors
Computer engineering - overview of microprocessors
 
Embedded systems ppt i
Embedded systems ppt iEmbedded systems ppt i
Embedded systems ppt i
 
3245731 tele-controlled-steper-motor-thesis
3245731 tele-controlled-steper-motor-thesis3245731 tele-controlled-steper-motor-thesis
3245731 tele-controlled-steper-motor-thesis
 
training report on embedded system and AVR
training report on embedded system and AVRtraining report on embedded system and AVR
training report on embedded system and AVR
 
Mp &mc programs
Mp &mc programsMp &mc programs
Mp &mc programs
 
Introducttion to robotics and microcontrollers
Introducttion to robotics and microcontrollersIntroducttion to robotics and microcontrollers
Introducttion to robotics and microcontrollers
 
U proc ovw
U proc ovwU proc ovw
U proc ovw
 
Embedded System basic and classifications
Embedded System basic and classificationsEmbedded System basic and classifications
Embedded System basic and classifications
 

Último

Clinical Pharmacy Introduction to Clinical Pharmacy, Concept of clinical pptx
Clinical Pharmacy  Introduction to Clinical Pharmacy, Concept of clinical pptxClinical Pharmacy  Introduction to Clinical Pharmacy, Concept of clinical pptx
Clinical Pharmacy Introduction to Clinical Pharmacy, Concept of clinical pptxraviapr7
 
How to Use api.constrains ( ) in Odoo 17
How to Use api.constrains ( ) in Odoo 17How to Use api.constrains ( ) in Odoo 17
How to Use api.constrains ( ) in Odoo 17Celine George
 
The Singapore Teaching Practice document
The Singapore Teaching Practice documentThe Singapore Teaching Practice document
The Singapore Teaching Practice documentXsasf Sfdfasd
 
Practical Research 1 Lesson 9 Scope and delimitation.pptx
Practical Research 1 Lesson 9 Scope and delimitation.pptxPractical Research 1 Lesson 9 Scope and delimitation.pptx
Practical Research 1 Lesson 9 Scope and delimitation.pptxKatherine Villaluna
 
Latin American Revolutions, c. 1789-1830
Latin American Revolutions, c. 1789-1830Latin American Revolutions, c. 1789-1830
Latin American Revolutions, c. 1789-1830Dave Phillips
 
How to Print Employee Resume in the Odoo 17
How to Print Employee Resume in the Odoo 17How to Print Employee Resume in the Odoo 17
How to Print Employee Resume in the Odoo 17Celine George
 
3.21.24 The Origins of Black Power.pptx
3.21.24  The Origins of Black Power.pptx3.21.24  The Origins of Black Power.pptx
3.21.24 The Origins of Black Power.pptxmary850239
 
CapTechU Doctoral Presentation -March 2024 slides.pptx
CapTechU Doctoral Presentation -March 2024 slides.pptxCapTechU Doctoral Presentation -March 2024 slides.pptx
CapTechU Doctoral Presentation -March 2024 slides.pptxCapitolTechU
 
Diploma in Nursing Admission Test Question Solution 2023.pdf
Diploma in Nursing Admission Test Question Solution 2023.pdfDiploma in Nursing Admission Test Question Solution 2023.pdf
Diploma in Nursing Admission Test Question Solution 2023.pdfMohonDas
 
How to Filter Blank Lines in Odoo 17 Accounting
How to Filter Blank Lines in Odoo 17 AccountingHow to Filter Blank Lines in Odoo 17 Accounting
How to Filter Blank Lines in Odoo 17 AccountingCeline George
 
What is the Future of QuickBooks DeskTop?
What is the Future of QuickBooks DeskTop?What is the Future of QuickBooks DeskTop?
What is the Future of QuickBooks DeskTop?TechSoup
 
Patterns of Written Texts Across Disciplines.pptx
Patterns of Written Texts Across Disciplines.pptxPatterns of Written Texts Across Disciplines.pptx
Patterns of Written Texts Across Disciplines.pptxMYDA ANGELICA SUAN
 
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRA
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRADUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRA
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRATanmoy Mishra
 
How to Show Error_Warning Messages in Odoo 17
How to Show Error_Warning Messages in Odoo 17How to Show Error_Warning Messages in Odoo 17
How to Show Error_Warning Messages in Odoo 17Celine George
 
Practical Research 1: Lesson 8 Writing the Thesis Statement.pptx
Practical Research 1: Lesson 8 Writing the Thesis Statement.pptxPractical Research 1: Lesson 8 Writing the Thesis Statement.pptx
Practical Research 1: Lesson 8 Writing the Thesis Statement.pptxKatherine Villaluna
 
Patient Counselling. Definition of patient counseling; steps involved in pati...
Patient Counselling. Definition of patient counseling; steps involved in pati...Patient Counselling. Definition of patient counseling; steps involved in pati...
Patient Counselling. Definition of patient counseling; steps involved in pati...raviapr7
 
Drug Information Services- DIC and Sources.
Drug Information Services- DIC and Sources.Drug Information Services- DIC and Sources.
Drug Information Services- DIC and Sources.raviapr7
 
Quality Assurance_GOOD LABORATORY PRACTICE
Quality Assurance_GOOD LABORATORY PRACTICEQuality Assurance_GOOD LABORATORY PRACTICE
Quality Assurance_GOOD LABORATORY PRACTICESayali Powar
 

Último (20)

Clinical Pharmacy Introduction to Clinical Pharmacy, Concept of clinical pptx
Clinical Pharmacy  Introduction to Clinical Pharmacy, Concept of clinical pptxClinical Pharmacy  Introduction to Clinical Pharmacy, Concept of clinical pptx
Clinical Pharmacy Introduction to Clinical Pharmacy, Concept of clinical pptx
 
How to Use api.constrains ( ) in Odoo 17
How to Use api.constrains ( ) in Odoo 17How to Use api.constrains ( ) in Odoo 17
How to Use api.constrains ( ) in Odoo 17
 
The Singapore Teaching Practice document
The Singapore Teaching Practice documentThe Singapore Teaching Practice document
The Singapore Teaching Practice document
 
Practical Research 1 Lesson 9 Scope and delimitation.pptx
Practical Research 1 Lesson 9 Scope and delimitation.pptxPractical Research 1 Lesson 9 Scope and delimitation.pptx
Practical Research 1 Lesson 9 Scope and delimitation.pptx
 
Latin American Revolutions, c. 1789-1830
Latin American Revolutions, c. 1789-1830Latin American Revolutions, c. 1789-1830
Latin American Revolutions, c. 1789-1830
 
Prelims of Kant get Marx 2.0: a general politics quiz
Prelims of Kant get Marx 2.0: a general politics quizPrelims of Kant get Marx 2.0: a general politics quiz
Prelims of Kant get Marx 2.0: a general politics quiz
 
How to Print Employee Resume in the Odoo 17
How to Print Employee Resume in the Odoo 17How to Print Employee Resume in the Odoo 17
How to Print Employee Resume in the Odoo 17
 
3.21.24 The Origins of Black Power.pptx
3.21.24  The Origins of Black Power.pptx3.21.24  The Origins of Black Power.pptx
3.21.24 The Origins of Black Power.pptx
 
CapTechU Doctoral Presentation -March 2024 slides.pptx
CapTechU Doctoral Presentation -March 2024 slides.pptxCapTechU Doctoral Presentation -March 2024 slides.pptx
CapTechU Doctoral Presentation -March 2024 slides.pptx
 
Diploma in Nursing Admission Test Question Solution 2023.pdf
Diploma in Nursing Admission Test Question Solution 2023.pdfDiploma in Nursing Admission Test Question Solution 2023.pdf
Diploma in Nursing Admission Test Question Solution 2023.pdf
 
How to Filter Blank Lines in Odoo 17 Accounting
How to Filter Blank Lines in Odoo 17 AccountingHow to Filter Blank Lines in Odoo 17 Accounting
How to Filter Blank Lines in Odoo 17 Accounting
 
What is the Future of QuickBooks DeskTop?
What is the Future of QuickBooks DeskTop?What is the Future of QuickBooks DeskTop?
What is the Future of QuickBooks DeskTop?
 
Patterns of Written Texts Across Disciplines.pptx
Patterns of Written Texts Across Disciplines.pptxPatterns of Written Texts Across Disciplines.pptx
Patterns of Written Texts Across Disciplines.pptx
 
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRA
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRADUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRA
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRA
 
How to Show Error_Warning Messages in Odoo 17
How to Show Error_Warning Messages in Odoo 17How to Show Error_Warning Messages in Odoo 17
How to Show Error_Warning Messages in Odoo 17
 
Practical Research 1: Lesson 8 Writing the Thesis Statement.pptx
Practical Research 1: Lesson 8 Writing the Thesis Statement.pptxPractical Research 1: Lesson 8 Writing the Thesis Statement.pptx
Practical Research 1: Lesson 8 Writing the Thesis Statement.pptx
 
Personal Resilience in Project Management 2 - TV Edit 1a.pdf
Personal Resilience in Project Management 2 - TV Edit 1a.pdfPersonal Resilience in Project Management 2 - TV Edit 1a.pdf
Personal Resilience in Project Management 2 - TV Edit 1a.pdf
 
Patient Counselling. Definition of patient counseling; steps involved in pati...
Patient Counselling. Definition of patient counseling; steps involved in pati...Patient Counselling. Definition of patient counseling; steps involved in pati...
Patient Counselling. Definition of patient counseling; steps involved in pati...
 
Drug Information Services- DIC and Sources.
Drug Information Services- DIC and Sources.Drug Information Services- DIC and Sources.
Drug Information Services- DIC and Sources.
 
Quality Assurance_GOOD LABORATORY PRACTICE
Quality Assurance_GOOD LABORATORY PRACTICEQuality Assurance_GOOD LABORATORY PRACTICE
Quality Assurance_GOOD LABORATORY PRACTICE
 

Iqbal embedded system

  • 2. WHAT IS AN EMBEDDED SYSTEM?  Block Diagram of an Embedded System.  WHAT’S A MICROCONTROLLER?  INTERRUPTS  ADDRESSING MODES.  INTRODUCTION 8051 ASSEMBLY PROGRAMMING  INTERFACING OF STEPPER MOTOR BY USING 8051  APPLICATI0N OF EMBEDDED SYSTEM
  • 3. “ An embedded system can be defined as those control systems which are designed either by microprocessor or microcontroller for a specific tasks. ” OR “ An embedded system is some combination of computer hardware & software, either fixed in capability or programmable, that is specifically designed for a particular kind of application device. ”
  • 5.  A microcontroller is a computer-on-a-chip, or, a single-chip computer. Micro suggests That the device is small, and controller tells that the device might be used to control objects, processes, or events. Another term to describe a microcontroller is embedded controller, because the microcontroller and its support circuits are often built into, or embedded in, the devices they control.
  • 7. • The 8051 is the first microcontroller of the MCS-51 family introduced by Intel Corporation at the end of the 1970‟s. • The 8051 architecture contains the following: o 4K Bytes ROM o 128 Bytes RAM o two timer/counters (16 bit) o A serial port o 32 input/output port o Interrupt controller o 16 bit program counter(PC) and data pointer(DPTR) o 2 external and 3 internal interrupt sources Oscillator and clock circuits o 8 bit program status word(PSW) o 8 bit CPU with registers A and B etc.
  • 8. Definition of „Interrupt:-“Event that disrupts the normal execution of a program and causes the execution of special instructions”. types of interrupt hardware software (RST0,….RST7) (TRAP,RST7.5,6.5,5.5,INTR) VECTORED NONVECTORED
  • 9. An "addressing mode" refers to how you are addressing a given memory location. In summary, the addressing modes are as follows. . . .  Immediate Addressing  Register Addressing  Direct Addressing  Indirect Addressing
  • 10. It was time that hardware-oriented to the core made compromise if they wanted to stay “in the game”. Namely, unlike other circuits which only need to be connected to other components and powered in order to be of any use, microcontrollers require to be programmed as well. Fortunately, they still didn't progress so far in their evolution, so that all microcontroller families “understand” only one language - machine language. That's a good thing. The bad one is that, even primitive, this language of zeros and ones can only be understood by microcontrollers and some of the experts working on its development. In order to bridge this gap between machine and humans, the first high-level programming language called Assembly language was created. The main problem of remembering codes recognized as instructions by electronics was solved therefore, but another one, equally complicated to both us and “them”(microcontrollers) arose. This problem was also easily solved by means of the program for a PC called assembler and a simple device called programmer. This program enables the PC to receive commands in the form of abbreviations and convert them unerringly into so called “executable file”. The moment of compiling a program into machine language is crucial as this file, called HEX file, represents a series of binary numbers understandable to microcontrollers only. The program written in assembly language cannot be executed practically unless this file is loaded into the microcontroller memory. This is the moment when the last link in the chain - the programmer - appears on the scene. It is a small device connected to a PC via some of the ports and has a socket for placing chip in.
  • 11. EDITOR MS-DOS,NOTEPAD A PROGRAM Myfile.asm ASSEMBLER PROGRAM Myfile.lst Other obj file Myfile.obj LINKER PROGRAM ABSOLUTE FILE OH PROGRAM Myfile.hex
  • 12. {Label :} INSTRUCTION {; comments} MNEMONICS OPERANDS DESTINATION SOURCE
  • 13. A stepper motor is a widely used device that translates electrical pulses into mechanical movement  The stepper motor is used for position control in applications such as disk drivers, dot matrix printers, and robotics, etc.  Every stepper motor has a permanent magnet rotor (also called the shaft) surrounded by a stator .  The most common stepper motors have four stator windings that are paired with a center-tapped common.  This type of stepper motor is commonly referred to as a four-phase stepper motor  The center tap allows a change of current direction in each of two coils when a winding is grounded, thereby resulting in a polarity change of the stator.  The stepper motor discussed here has a total of 6 leads, 4 leads representing the four stator windings ,2 commons for the center tapped leads.  As the sequence of power is applied to each stator winding, the rotor will rotate.
  • 16. PRODUCT: RIO 800 1.AUTOMATIC CONTROLLING OF MP3 PLAYER. CARS 3.Product: NASA'sMars SojournerRover. 4.Product: Sony AiboERS-110 Robotic Dog.
  • 17. .
  • 18. .