SlideShare uma empresa Scribd logo
1 de 51
Compiled   By  : Richa   Arora Akshat   Rohtagi ECE HMRITM
[object Object],[object Object],[object Object]
Block Diagram of Embedded System
Microcontroller ,[object Object],[object Object],[object Object],A single chip Microcontroller  RAM ROM I/O Port Timer Serial COM Port CPU
IC 8051 MICROCONTROLLER
The 8051 Microcontroller   : ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
8051 Internal Architecture
IC 8051 Pin Description Ground Voltage Supply (+5V)
IC 8051 Pin Description Port 0 from Pin-39 to Pin-32 An 8-bit open drain  bidirectional port.  DUAL FUNCTION Used to access both data and address
IC 8051 Pin Description Port 1 from Pin-1 to pin-8 8-bit bidirectional I/O port with internal pull-ups
IC 8051 Pin Description Port 2 from Pin-21 to pin-28 Used to access address and I/O
IC 8051 Pin Description Port 3 from  Pin-10 to Pin-17 P3.0   :  RxD(serial input port) P3.1   :TxD (serial output port) P3.2   : INT0 (external interrupt 0) P3.3   : INT1 (external interrupt 1) P3.4   :T0 (timer 0 external input) P3.5   :T1 (timer 1 external input) P3.6   :WR (external data memory write strobe) P3.7   :RD (external data memory read strobe)
crystal reset External memory Add. Latch enable Program Store Enable IC 8051 Pin Description
IC 8051 Daily Applications Moving message display Digital clock Traffic Light 7 segment display
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],IC 8051 Addressing Modes
Interrupts in 8051 ,[object Object],[object Object],time Interrupt service Program Program
Interrupts in 8051 Internal Interrupts EX0  Enables or disables external interrupt  ET0 Enables or disables timer 0 overflow interrupt EX1  Enables or disables external interrupt 1 ET1  Enables or disables timer 1 overflow interrupt ES  Enables or disables the serial port interrupt ET2 Enables or disables timer 2 overflow or capture interrupt  -- Not implemented, reserved for future use EA  Disables all interrupts External Interrupts P3.2  :INT0 (external interrupt 0) P3.3  :INT1 (external interrupt 1) EA - ET2 ES ET1 EX1 ET0 EX0
CPU General-Purpose Micro-processor RAM ROM I/O Port Timer Serial COM Port Data Bus Address Bus General-Purpose Microprocessor System ,[object Object],[object Object],[object Object],Many chips on mother board General Purpose Microprocessor
IC 8085 MICROPROCESSOR
The 8085 Microprocessor : ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
IC 8085 Pin Description
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],IC 8085 Pin Description
[object Object],[object Object],[object Object],[object Object],[object Object],IC 8085 Pin Description
[object Object],[object Object],[object Object],[object Object],[object Object],IC 8085 Pin Description
8085 Internal Architecture
Accumulator:  It is 8 bit general purpose register. It is connected to ALU. So most of the operations are done in Acc. Temporary register:  All the arithmetic and logical operations are done in the temporary register but user can’t access it. Flag:  It is a group of 5 flip flops used to know status of various operations done. The Flag Register along with Accumulator is called PSW or Program Status Word. Arithmetic and  Logical  Group
S:  Sign flag is set when result of an operation is negative. Z : Zero flag is set when result of an operation is 0. Ac : Auxiliary carry flag is set when there is a carry out of lower nibble or lower four bits of the operation. CY:  Carry flag is set when there is carry generated by an operation. P:  Parity flag is set when result contains even number of 1’s. Rest are don’t care flip flops. Flag is given by : Arithmetic  and  Logical  Group S Z - AC - P - CY
Temporary registers (W,Z):  These are not available for user. These are loaded only when there is an operation being performed. General purpose:  There are six general purpose registers in 8085 namely  B,C,D,E,H,L  These are used for various data manipulations. Special purpose  : There are two special purpose registers in 8085: SP : ( Stack Pointer) This is a temporary storage memory 16 bit register. Since there are only 6 general purpose registers, there is a need to reuse them   PC: ( Program Counter) It is  16 bit register used to point the location from which the next instruction is to be fetched. Register  Group
Immediate addressing: Immediate data  is transferred to address or register. Example : MVI A,20H Register addressing: Data  is transferred  from one register to other. Example : MOV A, C  Indirect addressing: Data  is transferred from address pointed by the data in a register to other register or vice-versa. Example: MOV A, M Implied addressing: These doesn’t require any operand. The data is specified in Opcode itself. Example: RAL: Rotate left with carry. IC 8085 Addressing modes
Interrupts in 8085 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Interrupts in 8085 ,[object Object],Restart Instruction Equivalent to RST0 CALL 0000H RST1 CALL 0008H RST2 CALL 0010H RST3 CALL 0018H RST4 CALL 0020H RST5 CALL 0028H RST6 CALL 0030H RST7 CALL 0038H
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Timing and State Diagram
Timing and State Diagram Op-code fetch cycle :
Seven segments are electronic components that can be used to  displaying alphanumeric characters, 7 LED are used (as shown in figure) and is designed from a dot-point with the size.  pin configuration of seven segment  Seven Segment Display
Port Relations Microcontroller with pin 7 Segment   7 pins of the microcontroller  are used to shape the character of your LED display Seven Segment Display
Table 1. Configuring the Character 7 Segment Data  Seven Segment Display
8051 Microcontroller Design Softwares
Software’s   Used   Keil µVision Top View  Simulator Express PCB
Keil µVision IDE ,[object Object]
 
Top View Simulator ,[object Object],[object Object]
Top View Simulator A Top View  Simulator Program
Express PCB Express PCB allows you to design schematics and PCB's. It  is ideal for those that are looking to design anywhere from a two to four layer circuit board.  A drop and drag design allows users to pick the components of the circuit board and drop it onto the circuit board in the software program. The designer can then place various pins in the circuit board to show where things need to be connected.  It also has the ability of the program to show the designer where there are flaws in their design.
This  way we can include resistors This way we can include different kind of IC’s Express PCB
DC Motor interfacing with Microcontrollers DC motors are always preffered over stepper motors.  There  are many things which we can do with our DC motor when interfaced with microcontroller.  For example: we can control the speed of motor,  we can control the direction of rotation,  we can also do encoding of the rotation made by DC motor i.e. keeping track of how many turns are made by our motors etc.  Usually H-bridge is preffered way of interfacing a DC motor. L293D is most used H-Bridge driver IC.
Working of H-Bridge The name "H-Bridge" is derived from the actual shape of the switching circuit which control the motion of the motor. It is also known as "Full Bridge". Basically there are four switching elements in the H-Bridge as shown
[object Object],Truth Table High Left High Right Low Left Low Right Description On Off Off On Motor runs clockwise Off On On Off Motor runs anti-clockwise On On Off Off Motor stops or decelerates Off Off On On Motor stops or decelerates
Stepper Motor Of all motors, step motor is the easiest to control. It's handling simplicity is really hard to deny - all there is to do is to bring the sequence of rectangle impulses to one input of step controller and direction information to another input. Direction information is very simple and comes down to "left" for logical one on that pin and "right" for logical zero.  Motor control  is also very simple - every impulse makes the motor operating for one step and if there is no impulse the motor won't start. Pause between impulses can be shorter or longer and it defines revolution rate. This rate cannot be infinite because the motor won't be able to "catch up" with all the impulses (documentation on specific motor should contain such information)..
Interfacing of Stepper motor with 8051
Clock-wise Rotation of the Coils Truth table 1 2 3 4 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1
 

Mais conteúdo relacionado

Mais procurados

Embedded systems and their applications in our daily routine
Embedded systems and their applications in our daily routineEmbedded systems and their applications in our daily routine
Embedded systems and their applications in our daily routineAsad Qayyum Babar
 
Module3: opamp as a Schmitt trigger
Module3: opamp as a Schmitt triggerModule3: opamp as a Schmitt trigger
Module3: opamp as a Schmitt triggerchandrakant shinde
 
Successive approximation adc
Successive approximation adcSuccessive approximation adc
Successive approximation adcMaria Roshan
 
Digital storage ocilloscope
Digital storage ocilloscopeDigital storage ocilloscope
Digital storage ocilloscopekajal8899
 
Microcontroller
MicrocontrollerMicrocontroller
MicrocontrollerSpitiq
 
Watch-dog Timer in LPC1768
Watch-dog Timer in LPC1768Watch-dog Timer in LPC1768
Watch-dog Timer in LPC1768Srishti Kakade
 
Switch mode power supply
Switch mode power supplySwitch mode power supply
Switch mode power supplyAnish Das
 
Interrupts for PIC18
Interrupts for PIC18Interrupts for PIC18
Interrupts for PIC18raosandy11
 
Using 8051 microcontroller based washing machine control ppt
Using 8051 microcontroller based washing machine control pptUsing 8051 microcontroller based washing machine control ppt
Using 8051 microcontroller based washing machine control pptSangeeth Sb
 
Key board interfacing with 8051
Key board interfacing with 8051Key board interfacing with 8051
Key board interfacing with 8051DominicHendry
 
Interfacing with peripherals: analog to digital converters and digital to ana...
Interfacing with peripherals: analog to digital converters and digital to ana...Interfacing with peripherals: analog to digital converters and digital to ana...
Interfacing with peripherals: analog to digital converters and digital to ana...NimeshSingh27
 
Microcontroller 8051 and its interfacing
Microcontroller 8051 and its interfacingMicrocontroller 8051 and its interfacing
Microcontroller 8051 and its interfacingAnkur Mahajan
 

Mais procurados (20)

SCR
SCRSCR
SCR
 
Embedded systems and their applications in our daily routine
Embedded systems and their applications in our daily routineEmbedded systems and their applications in our daily routine
Embedded systems and their applications in our daily routine
 
Embedded System Basics
Embedded System BasicsEmbedded System Basics
Embedded System Basics
 
Serial Communication in 8051
Serial Communication in 8051Serial Communication in 8051
Serial Communication in 8051
 
Module3: opamp as a Schmitt trigger
Module3: opamp as a Schmitt triggerModule3: opamp as a Schmitt trigger
Module3: opamp as a Schmitt trigger
 
Successive approximation adc
Successive approximation adcSuccessive approximation adc
Successive approximation adc
 
Digital storage ocilloscope
Digital storage ocilloscopeDigital storage ocilloscope
Digital storage ocilloscope
 
Microcontroller
MicrocontrollerMicrocontroller
Microcontroller
 
Watch-dog Timer in LPC1768
Watch-dog Timer in LPC1768Watch-dog Timer in LPC1768
Watch-dog Timer in LPC1768
 
ATMEGA 328
ATMEGA 328ATMEGA 328
ATMEGA 328
 
Switch mode power supply
Switch mode power supplySwitch mode power supply
Switch mode power supply
 
Interrupts for PIC18
Interrupts for PIC18Interrupts for PIC18
Interrupts for PIC18
 
Using 8051 microcontroller based washing machine control ppt
Using 8051 microcontroller based washing machine control pptUsing 8051 microcontroller based washing machine control ppt
Using 8051 microcontroller based washing machine control ppt
 
Key board interfacing with 8051
Key board interfacing with 8051Key board interfacing with 8051
Key board interfacing with 8051
 
Interfacing with peripherals: analog to digital converters and digital to ana...
Interfacing with peripherals: analog to digital converters and digital to ana...Interfacing with peripherals: analog to digital converters and digital to ana...
Interfacing with peripherals: analog to digital converters and digital to ana...
 
IGBT
IGBTIGBT
IGBT
 
Microcontroller 8051 and its interfacing
Microcontroller 8051 and its interfacingMicrocontroller 8051 and its interfacing
Microcontroller 8051 and its interfacing
 
Embedded system
Embedded systemEmbedded system
Embedded system
 
Embedded system introduction
Embedded system introductionEmbedded system introduction
Embedded system introduction
 
TRIAC Working
TRIAC WorkingTRIAC Working
TRIAC Working
 

Destaque

Electrolytic capacitor online failure detection and life prediction methodology
Electrolytic capacitor online failure detection and life prediction methodologyElectrolytic capacitor online failure detection and life prediction methodology
Electrolytic capacitor online failure detection and life prediction methodologyeSAT Journals
 
Widex Programming Cable guide
Widex Programming Cable guideWidex Programming Cable guide
Widex Programming Cable guideGeoffrey Cooling
 
Ceramic Capacitor final
Ceramic Capacitor finalCeramic Capacitor final
Ceramic Capacitor finalNeelam Chopade
 
Implementation of Cascaded H-bridge MULTI-LEVEL INVERTER
Implementation of Cascaded H-bridge MULTI-LEVEL INVERTERImplementation of Cascaded H-bridge MULTI-LEVEL INVERTER
Implementation of Cascaded H-bridge MULTI-LEVEL INVERTEREditor IJMTER
 
L293d(nonanimated)
L293d(nonanimated)L293d(nonanimated)
L293d(nonanimated)Utsav Jain
 
Digital clock workshop
Digital clock workshopDigital clock workshop
Digital clock workshopKedarv
 
Microtarea naturales
Microtarea naturalesMicrotarea naturales
Microtarea naturalesanthoni_2001
 
Memoria Asociación Home Family Power 2014
Memoria Asociación Home Family Power 2014Memoria Asociación Home Family Power 2014
Memoria Asociación Home Family Power 2014Dialhogar
 
Deutsche Bank Research on eInvoicing
Deutsche Bank Research on eInvoicingDeutsche Bank Research on eInvoicing
Deutsche Bank Research on eInvoicingFriso de Jong
 
Historia del comercio electrónico
Historia del comercio electrónicoHistoria del comercio electrónico
Historia del comercio electrónicoavigabaena
 
POI 2014 ANCASH
POI 2014 ANCASHPOI 2014 ANCASH
POI 2014 ANCASHKOVR
 
Attirer les clients wallons
Attirer les clients wallonsAttirer les clients wallons
Attirer les clients wallonswepika
 
EL CONSEJO INDEPENDIENTE DE PROTECCIÓN DE LA INFANCIA (CIPI) EXPRESA SU PREOC...
EL CONSEJO INDEPENDIENTE DE PROTECCIÓN DE LA INFANCIA (CIPI) EXPRESA SU PREOC...EL CONSEJO INDEPENDIENTE DE PROTECCIÓN DE LA INFANCIA (CIPI) EXPRESA SU PREOC...
EL CONSEJO INDEPENDIENTE DE PROTECCIÓN DE LA INFANCIA (CIPI) EXPRESA SU PREOC...Plataforma La Tortura No Es Cultura
 
Ordesa "dos de dos"
Ordesa "dos de dos"Ordesa "dos de dos"
Ordesa "dos de dos"atxarte
 

Destaque (20)

Stepper motor
Stepper motorStepper motor
Stepper motor
 
Automated ppt
Automated pptAutomated ppt
Automated ppt
 
Electrolytic capacitor online failure detection and life prediction methodology
Electrolytic capacitor online failure detection and life prediction methodologyElectrolytic capacitor online failure detection and life prediction methodology
Electrolytic capacitor online failure detection and life prediction methodology
 
Widex Programming Cable guide
Widex Programming Cable guideWidex Programming Cable guide
Widex Programming Cable guide
 
Ceramic Capacitor final
Ceramic Capacitor finalCeramic Capacitor final
Ceramic Capacitor final
 
Implementation of Cascaded H-bridge MULTI-LEVEL INVERTER
Implementation of Cascaded H-bridge MULTI-LEVEL INVERTERImplementation of Cascaded H-bridge MULTI-LEVEL INVERTER
Implementation of Cascaded H-bridge MULTI-LEVEL INVERTER
 
L293d(nonanimated)
L293d(nonanimated)L293d(nonanimated)
L293d(nonanimated)
 
Digital clock workshop
Digital clock workshopDigital clock workshop
Digital clock workshop
 
Embedded system
Embedded systemEmbedded system
Embedded system
 
Microtarea naturales
Microtarea naturalesMicrotarea naturales
Microtarea naturales
 
Memoria Asociación Home Family Power 2014
Memoria Asociación Home Family Power 2014Memoria Asociación Home Family Power 2014
Memoria Asociación Home Family Power 2014
 
Book Review
Book ReviewBook Review
Book Review
 
Wbt Express
Wbt ExpressWbt Express
Wbt Express
 
Deutsche Bank Research on eInvoicing
Deutsche Bank Research on eInvoicingDeutsche Bank Research on eInvoicing
Deutsche Bank Research on eInvoicing
 
Historia del comercio electrónico
Historia del comercio electrónicoHistoria del comercio electrónico
Historia del comercio electrónico
 
POI 2014 ANCASH
POI 2014 ANCASHPOI 2014 ANCASH
POI 2014 ANCASH
 
Attirer les clients wallons
Attirer les clients wallonsAttirer les clients wallons
Attirer les clients wallons
 
EL CONSEJO INDEPENDIENTE DE PROTECCIÓN DE LA INFANCIA (CIPI) EXPRESA SU PREOC...
EL CONSEJO INDEPENDIENTE DE PROTECCIÓN DE LA INFANCIA (CIPI) EXPRESA SU PREOC...EL CONSEJO INDEPENDIENTE DE PROTECCIÓN DE LA INFANCIA (CIPI) EXPRESA SU PREOC...
EL CONSEJO INDEPENDIENTE DE PROTECCIÓN DE LA INFANCIA (CIPI) EXPRESA SU PREOC...
 
Ordesa "dos de dos"
Ordesa "dos de dos"Ordesa "dos de dos"
Ordesa "dos de dos"
 
Special Bulletin
Special BulletinSpecial Bulletin
Special Bulletin
 

Semelhante a Embedded System

Live B tech Projects & Industrial Training @Technogroovy
Live B tech Projects & Industrial Training @Technogroovy Live B tech Projects & Industrial Training @Technogroovy
Live B tech Projects & Industrial Training @Technogroovy Technogroovy India
 
8085 microprocessor Architecture and Pin description
8085 microprocessor Architecture and Pin description 8085 microprocessor Architecture and Pin description
8085 microprocessor Architecture and Pin description Vijay Kumar
 
An introduction to microprocessor architecture using INTEL 8085 as a classic...
An introduction to microprocessor  architecture using INTEL 8085 as a classic...An introduction to microprocessor  architecture using INTEL 8085 as a classic...
An introduction to microprocessor architecture using INTEL 8085 as a classic...Prasad Deshpande
 
Microcontroller 8051
Microcontroller 8051Microcontroller 8051
Microcontroller 8051guest70d48b1
 
8085-microprocessor
8085-microprocessor8085-microprocessor
8085-microprocessorjhcid
 
8449972 embedded-systems-and-model-of-metro-train
8449972 embedded-systems-and-model-of-metro-train8449972 embedded-systems-and-model-of-metro-train
8449972 embedded-systems-and-model-of-metro-trainJitendra Saroj
 
EMBEDDED SYSTEMS AND IOT lab manual for enginnering students
EMBEDDED SYSTEMS AND IOT lab manual for enginnering studentsEMBEDDED SYSTEMS AND IOT lab manual for enginnering students
EMBEDDED SYSTEMS AND IOT lab manual for enginnering studentseceprinter6
 
Mmai ppt
Mmai pptMmai ppt
Mmai pptGIT
 
8051 microcontroller
8051 microcontroller 8051 microcontroller
8051 microcontroller nitugatkal
 
janakiraman I msc 4 unit
janakiraman I msc 4 unitjanakiraman I msc 4 unit
janakiraman I msc 4 unitjanakiramang6
 
Microprocessor questions converted
Microprocessor questions convertedMicroprocessor questions converted
Microprocessor questions convertedArghodeepPaul
 
Study of 8051 microcontroller
Study of 8051 microcontrollerStudy of 8051 microcontroller
Study of 8051 microcontroller918007165995
 
8085-microprocessor
8085-microprocessor8085-microprocessor
8085-microprocessorATTO RATHORE
 

Semelhante a Embedded System (20)

8051
80518051
8051
 
Live B tech Projects & Industrial Training @Technogroovy
Live B tech Projects & Industrial Training @Technogroovy Live B tech Projects & Industrial Training @Technogroovy
Live B tech Projects & Industrial Training @Technogroovy
 
8085 microprocessor Architecture and Pin description
8085 microprocessor Architecture and Pin description 8085 microprocessor Architecture and Pin description
8085 microprocessor Architecture and Pin description
 
8085 (1)
8085 (1)8085 (1)
8085 (1)
 
8085.ppt
8085.ppt8085.ppt
8085.ppt
 
8085 intro
8085 intro8085 intro
8085 intro
 
An introduction to microprocessor architecture using INTEL 8085 as a classic...
An introduction to microprocessor  architecture using INTEL 8085 as a classic...An introduction to microprocessor  architecture using INTEL 8085 as a classic...
An introduction to microprocessor architecture using INTEL 8085 as a classic...
 
Microcontroller 8051
Microcontroller 8051Microcontroller 8051
Microcontroller 8051
 
8085-microprocessor
8085-microprocessor8085-microprocessor
8085-microprocessor
 
8449972 embedded-systems-and-model-of-metro-train
8449972 embedded-systems-and-model-of-metro-train8449972 embedded-systems-and-model-of-metro-train
8449972 embedded-systems-and-model-of-metro-train
 
8085 microprocessor Embedded system
8085 microprocessor  Embedded system8085 microprocessor  Embedded system
8085 microprocessor Embedded system
 
EMBEDDED SYSTEMS AND IOT lab manual for enginnering students
EMBEDDED SYSTEMS AND IOT lab manual for enginnering studentsEMBEDDED SYSTEMS AND IOT lab manual for enginnering students
EMBEDDED SYSTEMS AND IOT lab manual for enginnering students
 
Microcontroller-8051.ppt
Microcontroller-8051.pptMicrocontroller-8051.ppt
Microcontroller-8051.ppt
 
Mmai ppt
Mmai pptMmai ppt
Mmai ppt
 
8051 microcontroller
8051 microcontroller 8051 microcontroller
8051 microcontroller
 
janakiraman I msc 4 unit
janakiraman I msc 4 unitjanakiraman I msc 4 unit
janakiraman I msc 4 unit
 
EE6502 Microprocessor and Microcontroller
EE6502   Microprocessor and MicrocontrollerEE6502   Microprocessor and Microcontroller
EE6502 Microprocessor and Microcontroller
 
Microprocessor questions converted
Microprocessor questions convertedMicroprocessor questions converted
Microprocessor questions converted
 
Study of 8051 microcontroller
Study of 8051 microcontrollerStudy of 8051 microcontroller
Study of 8051 microcontroller
 
8085-microprocessor
8085-microprocessor8085-microprocessor
8085-microprocessor
 

Último

Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxUmeshTimilsina1
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxPooja Bhuva
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...Amil baba
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17Celine George
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxannathomasp01
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxCeline George
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 

Último (20)

Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptx
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 

Embedded System

  • 1. Compiled By : Richa Arora Akshat Rohtagi ECE HMRITM
  • 2.
  • 3. Block Diagram of Embedded System
  • 4.
  • 6.
  • 8. IC 8051 Pin Description Ground Voltage Supply (+5V)
  • 9. IC 8051 Pin Description Port 0 from Pin-39 to Pin-32 An 8-bit open drain bidirectional port. DUAL FUNCTION Used to access both data and address
  • 10. IC 8051 Pin Description Port 1 from Pin-1 to pin-8 8-bit bidirectional I/O port with internal pull-ups
  • 11. IC 8051 Pin Description Port 2 from Pin-21 to pin-28 Used to access address and I/O
  • 12. IC 8051 Pin Description Port 3 from Pin-10 to Pin-17 P3.0 : RxD(serial input port) P3.1 :TxD (serial output port) P3.2 : INT0 (external interrupt 0) P3.3 : INT1 (external interrupt 1) P3.4 :T0 (timer 0 external input) P3.5 :T1 (timer 1 external input) P3.6 :WR (external data memory write strobe) P3.7 :RD (external data memory read strobe)
  • 13. crystal reset External memory Add. Latch enable Program Store Enable IC 8051 Pin Description
  • 14. IC 8051 Daily Applications Moving message display Digital clock Traffic Light 7 segment display
  • 15.
  • 16.
  • 17. Interrupts in 8051 Internal Interrupts EX0 Enables or disables external interrupt ET0 Enables or disables timer 0 overflow interrupt EX1 Enables or disables external interrupt 1 ET1 Enables or disables timer 1 overflow interrupt ES Enables or disables the serial port interrupt ET2 Enables or disables timer 2 overflow or capture interrupt -- Not implemented, reserved for future use EA Disables all interrupts External Interrupts P3.2 :INT0 (external interrupt 0) P3.3 :INT1 (external interrupt 1) EA - ET2 ES ET1 EX1 ET0 EX0
  • 18.
  • 20.
  • 21. IC 8085 Pin Description
  • 22.
  • 23.
  • 24.
  • 26. Accumulator: It is 8 bit general purpose register. It is connected to ALU. So most of the operations are done in Acc. Temporary register: All the arithmetic and logical operations are done in the temporary register but user can’t access it. Flag: It is a group of 5 flip flops used to know status of various operations done. The Flag Register along with Accumulator is called PSW or Program Status Word. Arithmetic and Logical Group
  • 27. S: Sign flag is set when result of an operation is negative. Z : Zero flag is set when result of an operation is 0. Ac : Auxiliary carry flag is set when there is a carry out of lower nibble or lower four bits of the operation. CY: Carry flag is set when there is carry generated by an operation. P: Parity flag is set when result contains even number of 1’s. Rest are don’t care flip flops. Flag is given by : Arithmetic and Logical Group S Z - AC - P - CY
  • 28. Temporary registers (W,Z): These are not available for user. These are loaded only when there is an operation being performed. General purpose: There are six general purpose registers in 8085 namely B,C,D,E,H,L These are used for various data manipulations. Special purpose : There are two special purpose registers in 8085: SP : ( Stack Pointer) This is a temporary storage memory 16 bit register. Since there are only 6 general purpose registers, there is a need to reuse them PC: ( Program Counter) It is 16 bit register used to point the location from which the next instruction is to be fetched. Register Group
  • 29. Immediate addressing: Immediate data is transferred to address or register. Example : MVI A,20H Register addressing: Data is transferred from one register to other. Example : MOV A, C Indirect addressing: Data is transferred from address pointed by the data in a register to other register or vice-versa. Example: MOV A, M Implied addressing: These doesn’t require any operand. The data is specified in Opcode itself. Example: RAL: Rotate left with carry. IC 8085 Addressing modes
  • 30.
  • 31.
  • 32.
  • 33. Timing and State Diagram Op-code fetch cycle :
  • 34. Seven segments are electronic components that can be used to displaying alphanumeric characters, 7 LED are used (as shown in figure) and is designed from a dot-point with the size. pin configuration of seven segment Seven Segment Display
  • 35. Port Relations Microcontroller with pin 7 Segment 7 pins of the microcontroller are used to shape the character of your LED display Seven Segment Display
  • 36. Table 1. Configuring the Character 7 Segment Data Seven Segment Display
  • 38. Software’s Used Keil µVision Top View Simulator Express PCB
  • 39.
  • 40.  
  • 41.
  • 42. Top View Simulator A Top View Simulator Program
  • 43. Express PCB Express PCB allows you to design schematics and PCB's. It is ideal for those that are looking to design anywhere from a two to four layer circuit board. A drop and drag design allows users to pick the components of the circuit board and drop it onto the circuit board in the software program. The designer can then place various pins in the circuit board to show where things need to be connected. It also has the ability of the program to show the designer where there are flaws in their design.
  • 44. This way we can include resistors This way we can include different kind of IC’s Express PCB
  • 45. DC Motor interfacing with Microcontrollers DC motors are always preffered over stepper motors. There are many things which we can do with our DC motor when interfaced with microcontroller. For example: we can control the speed of motor, we can control the direction of rotation, we can also do encoding of the rotation made by DC motor i.e. keeping track of how many turns are made by our motors etc. Usually H-bridge is preffered way of interfacing a DC motor. L293D is most used H-Bridge driver IC.
  • 46. Working of H-Bridge The name "H-Bridge" is derived from the actual shape of the switching circuit which control the motion of the motor. It is also known as "Full Bridge". Basically there are four switching elements in the H-Bridge as shown
  • 47.
  • 48. Stepper Motor Of all motors, step motor is the easiest to control. It's handling simplicity is really hard to deny - all there is to do is to bring the sequence of rectangle impulses to one input of step controller and direction information to another input. Direction information is very simple and comes down to "left" for logical one on that pin and "right" for logical zero. Motor control  is also very simple - every impulse makes the motor operating for one step and if there is no impulse the motor won't start. Pause between impulses can be shorter or longer and it defines revolution rate. This rate cannot be infinite because the motor won't be able to "catch up" with all the impulses (documentation on specific motor should contain such information)..
  • 49. Interfacing of Stepper motor with 8051
  • 50. Clock-wise Rotation of the Coils Truth table 1 2 3 4 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1
  • 51.  

Notas do Editor

  1. Intel ’ s x86: 8086,8088,80386,80486, Pentium Motorola ’ s 680x0: 68000, 68010, 68020,68030,6040