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

Pin diagram-of-8085
Pin diagram-of-8085Pin diagram-of-8085
Pin diagram-of-8085sharan Kumar
 
Memories in digital electronics
Memories in digital electronicsMemories in digital electronics
Memories in digital electronicsSijuGeorge10
 
Intel 8259 - Programmable Interrupt Controller
Intel 8259 - Programmable Interrupt Controller  Intel 8259 - Programmable Interrupt Controller
Intel 8259 - Programmable Interrupt Controller Nikhil Baby
 
8051 Microcontroller ppt
8051 Microcontroller ppt8051 Microcontroller ppt
8051 Microcontroller pptRahul Kumar
 
Assembly Language Programming Of 8085
Assembly Language Programming Of 8085Assembly Language Programming Of 8085
Assembly Language Programming Of 8085techbed
 
Detailed Explanation of Pin Description of 8085 microprocessor
Detailed Explanation of Pin Description of  8085 microprocessorDetailed Explanation of Pin Description of  8085 microprocessor
Detailed Explanation of Pin Description of 8085 microprocessorRamesh Dabhole
 
INTRODUCTION TO MICROCONTROLLER
INTRODUCTION TO MICROCONTROLLERINTRODUCTION TO MICROCONTROLLER
INTRODUCTION TO MICROCONTROLLERAnkita Jaiswal
 
Memory & I/O interfacing
Memory & I/O  interfacingMemory & I/O  interfacing
Memory & I/O interfacingdeval patel
 
Pic microcontroller architecture
Pic microcontroller architecturePic microcontroller architecture
Pic microcontroller architectureDominicHendry
 
8051 microcontroller features
8051 microcontroller features8051 microcontroller features
8051 microcontroller featuresTech_MX
 
microcontroller vs microprocessor
microcontroller vs microprocessormicrocontroller vs microprocessor
microcontroller vs microprocessorsobhadevi
 
8051 Microcontroller Notes
8051 Microcontroller Notes8051 Microcontroller Notes
8051 Microcontroller NotesDr.YNM
 

Mais procurados (20)

Pin diagram-of-8085
Pin diagram-of-8085Pin diagram-of-8085
Pin diagram-of-8085
 
Memories in digital electronics
Memories in digital electronicsMemories in digital electronics
Memories in digital electronics
 
8255 PPI
8255 PPI8255 PPI
8255 PPI
 
Intel 8259 - Programmable Interrupt Controller
Intel 8259 - Programmable Interrupt Controller  Intel 8259 - Programmable Interrupt Controller
Intel 8259 - Programmable Interrupt Controller
 
8051 Microcontroller ppt
8051 Microcontroller ppt8051 Microcontroller ppt
8051 Microcontroller ppt
 
Assembly Language Programming Of 8085
Assembly Language Programming Of 8085Assembly Language Programming Of 8085
Assembly Language Programming Of 8085
 
Avr microcontroller
Avr microcontrollerAvr microcontroller
Avr microcontroller
 
8259 a
8259 a8259 a
8259 a
 
Detailed Explanation of Pin Description of 8085 microprocessor
Detailed Explanation of Pin Description of  8085 microprocessorDetailed Explanation of Pin Description of  8085 microprocessor
Detailed Explanation of Pin Description of 8085 microprocessor
 
INTRODUCTION TO MICROCONTROLLER
INTRODUCTION TO MICROCONTROLLERINTRODUCTION TO MICROCONTROLLER
INTRODUCTION TO MICROCONTROLLER
 
Memory & I/O interfacing
Memory & I/O  interfacingMemory & I/O  interfacing
Memory & I/O interfacing
 
Pic microcontroller architecture
Pic microcontroller architecturePic microcontroller architecture
Pic microcontroller architecture
 
8051 microcontroller features
8051 microcontroller features8051 microcontroller features
8051 microcontroller features
 
Serial Communication in 8051
Serial Communication in 8051Serial Communication in 8051
Serial Communication in 8051
 
8051 Microcontroller
8051 Microcontroller8051 Microcontroller
8051 Microcontroller
 
microcontroller vs microprocessor
microcontroller vs microprocessormicrocontroller vs microprocessor
microcontroller vs microprocessor
 
8051 interfacing
8051 interfacing8051 interfacing
8051 interfacing
 
Programming with 8085
Programming with 8085Programming with 8085
Programming with 8085
 
8051 Microcontroller Notes
8051 Microcontroller Notes8051 Microcontroller Notes
8051 Microcontroller Notes
 
Interfacing 8255
Interfacing 8255Interfacing 8255
Interfacing 8255
 

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
 

Destaque (20)

Interfacing Stepper motor with 8051
Interfacing Stepper motor with 8051Interfacing Stepper motor with 8051
Interfacing Stepper motor with 8051
 
Embedded System Basics
Embedded System BasicsEmbedded System Basics
Embedded System Basics
 
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...
 

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
 
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
 
Introduction to 8085 Microprocessors
Introduction to 8085 MicroprocessorsIntroduction to 8085 Microprocessors
Introduction to 8085 MicroprocessorsVeerakumar S
 

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...
 
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
 
Introduction to 8085 Microprocessors
Introduction to 8085 MicroprocessorsIntroduction to 8085 Microprocessors
Introduction to 8085 Microprocessors
 

Último

How to Manage Notification Preferences in the Odoo 17
How to Manage Notification Preferences in the Odoo 17How to Manage Notification Preferences in the Odoo 17
How to Manage Notification Preferences in the Odoo 17Celine George
 
REPRODUCTIVE TOXICITY STUDIE OF MALE AND FEMALEpptx
REPRODUCTIVE TOXICITY  STUDIE OF MALE AND FEMALEpptxREPRODUCTIVE TOXICITY  STUDIE OF MALE AND FEMALEpptx
REPRODUCTIVE TOXICITY STUDIE OF MALE AND FEMALEpptxmanishaJyala2
 
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文中 央社
 
Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...
Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...
Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...Denish Jangid
 
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽中 央社
 
Essential Safety precautions during monsoon season
Essential Safety precautions during monsoon seasonEssential Safety precautions during monsoon season
Essential Safety precautions during monsoon seasonMayur Khatri
 
Morse OER Some Benefits and Challenges.pptx
Morse OER Some Benefits and Challenges.pptxMorse OER Some Benefits and Challenges.pptx
Morse OER Some Benefits and Challenges.pptxjmorse8
 
Features of Video Calls in the Discuss Module in Odoo 17
Features of Video Calls in the Discuss Module in Odoo 17Features of Video Calls in the Discuss Module in Odoo 17
Features of Video Calls in the Discuss Module in Odoo 17Celine George
 
How to the fix Attribute Error in odoo 17
How to the fix Attribute Error in odoo 17How to the fix Attribute Error in odoo 17
How to the fix Attribute Error in odoo 17Celine George
 
2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptx2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptxmansk2
 
The basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptxThe basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptxheathfieldcps1
 
philosophy and it's principles based on the life
philosophy and it's principles based on the lifephilosophy and it's principles based on the life
philosophy and it's principles based on the lifeNitinDeodare
 
factors influencing drug absorption-final-2.pptx
factors influencing drug absorption-final-2.pptxfactors influencing drug absorption-final-2.pptx
factors influencing drug absorption-final-2.pptxSanjay Shekar
 
An Overview of the Odoo 17 Discuss App.pptx
An Overview of the Odoo 17 Discuss App.pptxAn Overview of the Odoo 17 Discuss App.pptx
An Overview of the Odoo 17 Discuss App.pptxCeline George
 
The Benefits and Challenges of Open Educational Resources
The Benefits and Challenges of Open Educational ResourcesThe Benefits and Challenges of Open Educational Resources
The Benefits and Challenges of Open Educational Resourcesaileywriter
 
ppt your views.ppt your views of your college in your eyes
ppt your views.ppt your views of your college in your eyesppt your views.ppt your views of your college in your eyes
ppt your views.ppt your views of your college in your eyesashishpaul799
 
....................Muslim-Law notes.pdf
....................Muslim-Law notes.pdf....................Muslim-Law notes.pdf
....................Muslim-Law notes.pdfVikramadityaRaj
 
Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17
Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17
Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17Celine George
 
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdfDanh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdfQucHHunhnh
 

Último (20)

How to Manage Notification Preferences in the Odoo 17
How to Manage Notification Preferences in the Odoo 17How to Manage Notification Preferences in the Odoo 17
How to Manage Notification Preferences in the Odoo 17
 
REPRODUCTIVE TOXICITY STUDIE OF MALE AND FEMALEpptx
REPRODUCTIVE TOXICITY  STUDIE OF MALE AND FEMALEpptxREPRODUCTIVE TOXICITY  STUDIE OF MALE AND FEMALEpptx
REPRODUCTIVE TOXICITY STUDIE OF MALE AND FEMALEpptx
 
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
 
Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...
Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...
Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...
 
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
 
Essential Safety precautions during monsoon season
Essential Safety precautions during monsoon seasonEssential Safety precautions during monsoon season
Essential Safety precautions during monsoon season
 
Morse OER Some Benefits and Challenges.pptx
Morse OER Some Benefits and Challenges.pptxMorse OER Some Benefits and Challenges.pptx
Morse OER Some Benefits and Challenges.pptx
 
Features of Video Calls in the Discuss Module in Odoo 17
Features of Video Calls in the Discuss Module in Odoo 17Features of Video Calls in the Discuss Module in Odoo 17
Features of Video Calls in the Discuss Module in Odoo 17
 
How to the fix Attribute Error in odoo 17
How to the fix Attribute Error in odoo 17How to the fix Attribute Error in odoo 17
How to the fix Attribute Error in odoo 17
 
Post Exam Fun(da) Intra UEM General Quiz - Finals.pdf
Post Exam Fun(da) Intra UEM General Quiz - Finals.pdfPost Exam Fun(da) Intra UEM General Quiz - Finals.pdf
Post Exam Fun(da) Intra UEM General Quiz - Finals.pdf
 
2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptx2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptx
 
The basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptxThe basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptx
 
philosophy and it's principles based on the life
philosophy and it's principles based on the lifephilosophy and it's principles based on the life
philosophy and it's principles based on the life
 
factors influencing drug absorption-final-2.pptx
factors influencing drug absorption-final-2.pptxfactors influencing drug absorption-final-2.pptx
factors influencing drug absorption-final-2.pptx
 
An Overview of the Odoo 17 Discuss App.pptx
An Overview of the Odoo 17 Discuss App.pptxAn Overview of the Odoo 17 Discuss App.pptx
An Overview of the Odoo 17 Discuss App.pptx
 
The Benefits and Challenges of Open Educational Resources
The Benefits and Challenges of Open Educational ResourcesThe Benefits and Challenges of Open Educational Resources
The Benefits and Challenges of Open Educational Resources
 
ppt your views.ppt your views of your college in your eyes
ppt your views.ppt your views of your college in your eyesppt your views.ppt your views of your college in your eyes
ppt your views.ppt your views of your college in your eyes
 
....................Muslim-Law notes.pdf
....................Muslim-Law notes.pdf....................Muslim-Law notes.pdf
....................Muslim-Law notes.pdf
 
Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17
Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17
Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17
 
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdfDanh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
 

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