SlideShare ist ein Scribd-Unternehmen logo
1 von 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
 

Weitere ähnliche Inhalte

Was ist angesagt?

HAND GESTURE CONTROLLED WHEEL CHAIR
HAND GESTURE CONTROLLED WHEEL CHAIRHAND GESTURE CONTROLLED WHEEL CHAIR
HAND GESTURE CONTROLLED WHEEL CHAIRNoufal Nechiyan
 
Bluetooth Controlled Robot/Car
Bluetooth Controlled Robot/CarBluetooth Controlled Robot/Car
Bluetooth Controlled Robot/CarVarun A M
 
Arduino for beginners- Introduction to Arduino (presentation) - codewithgauri
Arduino for beginners- Introduction to Arduino (presentation) - codewithgauriArduino for beginners- Introduction to Arduino (presentation) - codewithgauri
Arduino for beginners- Introduction to Arduino (presentation) - codewithgauriGaurav Pandey
 
PIC 16F877 micro controller by Gaurav raikar
PIC 16F877 micro controller by Gaurav raikarPIC 16F877 micro controller by Gaurav raikar
PIC 16F877 micro controller by Gaurav raikarGauravRaikar3
 
Pwm(Pulse Width Modulation) presentation
Pwm(Pulse Width Modulation) presentationPwm(Pulse Width Modulation) presentation
Pwm(Pulse Width Modulation) presentationHabitamuAsimare
 
Report of Advance car security system major project
Report of Advance car security system major projectReport of Advance car security system major project
Report of Advance car security system major projectAmi Goswami
 
Microprocessor & Micro-controller
Microprocessor & Micro-controllerMicroprocessor & Micro-controller
Microprocessor & Micro-controllerOm Bheda
 
Temperature Controlled Fan Project
Temperature Controlled Fan ProjectTemperature Controlled Fan Project
Temperature Controlled Fan ProjectAditya Ratnaparkhi
 
Introduction to arduino ppt main
Introduction to  arduino ppt mainIntroduction to  arduino ppt main
Introduction to arduino ppt maineddy royappa
 
Introduction to Embedded System I : Chapter 2 (3rd portion)
Introduction to Embedded System I : Chapter 2 (3rd portion)Introduction to Embedded System I : Chapter 2 (3rd portion)
Introduction to Embedded System I : Chapter 2 (3rd portion)Moe Moe Myint
 
Differential amplifier
Differential amplifierDifferential amplifier
Differential amplifiersarunkutti
 
BLDC motor control reference design press presentation
BLDC motor control reference design press presentationBLDC motor control reference design press presentation
BLDC motor control reference design press presentationSilicon Labs
 
Embedded Systems - Training ppt
Embedded Systems - Training pptEmbedded Systems - Training ppt
Embedded Systems - Training pptNishant Kayal
 
Arduino Lecture 1 - Introducing the Arduino
Arduino Lecture 1 - Introducing the ArduinoArduino Lecture 1 - Introducing the Arduino
Arduino Lecture 1 - Introducing the ArduinoEoin Brazil
 
8051 microcontroller features
8051 microcontroller features8051 microcontroller features
8051 microcontroller featuresTech_MX
 
Voltage Regulators IC
Voltage Regulators ICVoltage Regulators IC
Voltage Regulators ICKundan Parmar
 
Pic 18 microcontroller
Pic 18 microcontrollerPic 18 microcontroller
Pic 18 microcontrollerAshish Ranjan
 

Was ist angesagt? (20)

HAND GESTURE CONTROLLED WHEEL CHAIR
HAND GESTURE CONTROLLED WHEEL CHAIRHAND GESTURE CONTROLLED WHEEL CHAIR
HAND GESTURE CONTROLLED WHEEL CHAIR
 
8051 MICROCONTROLLER
8051 MICROCONTROLLER 8051 MICROCONTROLLER
8051 MICROCONTROLLER
 
Bluetooth Controlled Robot/Car
Bluetooth Controlled Robot/CarBluetooth Controlled Robot/Car
Bluetooth Controlled Robot/Car
 
Arduino for beginners- Introduction to Arduino (presentation) - codewithgauri
Arduino for beginners- Introduction to Arduino (presentation) - codewithgauriArduino for beginners- Introduction to Arduino (presentation) - codewithgauri
Arduino for beginners- Introduction to Arduino (presentation) - codewithgauri
 
Intel 8051 Programming in C
Intel 8051 Programming in CIntel 8051 Programming in C
Intel 8051 Programming in C
 
PIC 16F877 micro controller by Gaurav raikar
PIC 16F877 micro controller by Gaurav raikarPIC 16F877 micro controller by Gaurav raikar
PIC 16F877 micro controller by Gaurav raikar
 
Pwm(Pulse Width Modulation) presentation
Pwm(Pulse Width Modulation) presentationPwm(Pulse Width Modulation) presentation
Pwm(Pulse Width Modulation) presentation
 
Report of Advance car security system major project
Report of Advance car security system major projectReport of Advance car security system major project
Report of Advance car security system major project
 
Microprocessor & Micro-controller
Microprocessor & Micro-controllerMicroprocessor & Micro-controller
Microprocessor & Micro-controller
 
Temperature Controlled Fan Project
Temperature Controlled Fan ProjectTemperature Controlled Fan Project
Temperature Controlled Fan Project
 
Introduction to arduino ppt main
Introduction to  arduino ppt mainIntroduction to  arduino ppt main
Introduction to arduino ppt main
 
Introduction to Embedded System I : Chapter 2 (3rd portion)
Introduction to Embedded System I : Chapter 2 (3rd portion)Introduction to Embedded System I : Chapter 2 (3rd portion)
Introduction to Embedded System I : Chapter 2 (3rd portion)
 
Differential amplifier
Differential amplifierDifferential amplifier
Differential amplifier
 
BLDC motor control reference design press presentation
BLDC motor control reference design press presentationBLDC motor control reference design press presentation
BLDC motor control reference design press presentation
 
Embedded Systems - Training ppt
Embedded Systems - Training pptEmbedded Systems - Training ppt
Embedded Systems - Training ppt
 
Arduino Lecture 1 - Introducing the Arduino
Arduino Lecture 1 - Introducing the ArduinoArduino Lecture 1 - Introducing the Arduino
Arduino Lecture 1 - Introducing the Arduino
 
8051 microcontroller features
8051 microcontroller features8051 microcontroller features
8051 microcontroller features
 
Pic18f458
Pic18f458Pic18f458
Pic18f458
 
Voltage Regulators IC
Voltage Regulators ICVoltage Regulators IC
Voltage Regulators IC
 
Pic 18 microcontroller
Pic 18 microcontrollerPic 18 microcontroller
Pic 18 microcontroller
 

Andere mochten auch

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
 

Andere mochten auch (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...
 

Ähnlich wie 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
 

Ähnlich wie 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
 

Kürzlich hochgeladen

Exploring Gemini AI and Integration with MuleSoft | MuleSoft Mysore Meetup #45
Exploring Gemini AI and Integration with MuleSoft | MuleSoft Mysore Meetup #45Exploring Gemini AI and Integration with MuleSoft | MuleSoft Mysore Meetup #45
Exploring Gemini AI and Integration with MuleSoft | MuleSoft Mysore Meetup #45MysoreMuleSoftMeetup
 
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...Nguyen Thanh Tu Collection
 
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjjStl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjjMohammed Sikander
 
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽中 央社
 
Championnat de France de Tennis de table/
Championnat de France de Tennis de table/Championnat de France de Tennis de table/
Championnat de France de Tennis de table/siemaillard
 
Spring gala 2024 photo slideshow - Celebrating School-Community Partnerships
Spring gala 2024 photo slideshow - Celebrating School-Community PartnershipsSpring gala 2024 photo slideshow - Celebrating School-Community Partnerships
Spring gala 2024 photo slideshow - Celebrating School-Community Partnershipsexpandedwebsite
 
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
 
Benefits and Challenges of OER by Shweta Babel.pptx
Benefits and Challenges of OER by Shweta Babel.pptxBenefits and Challenges of OER by Shweta Babel.pptx
Benefits and Challenges of OER by Shweta Babel.pptxsbabel
 
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...Nguyen Thanh Tu Collection
 
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...Nguyen Thanh Tu Collection
 
An overview of the various scriptures in Hinduism
An overview of the various scriptures in HinduismAn overview of the various scriptures in Hinduism
An overview of the various scriptures in HinduismDabee Kamal
 
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading Room
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading RoomSternal Fractures & Dislocations - EMGuidewire Radiology Reading Room
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading RoomSean M. Fox
 
Dementia (Alzheimer & vasular dementia).
Dementia (Alzheimer & vasular dementia).Dementia (Alzheimer & vasular dementia).
Dementia (Alzheimer & vasular dementia).Mohamed Rizk Khodair
 
Implanted Devices - VP Shunts: EMGuidewire's Radiology Reading Room
Implanted Devices - VP Shunts: EMGuidewire's Radiology Reading RoomImplanted Devices - VP Shunts: EMGuidewire's Radiology Reading Room
Implanted Devices - VP Shunts: EMGuidewire's Radiology Reading RoomSean M. Fox
 
The Ball Poem- John Berryman_20240518_001617_0000.pptx
The Ball Poem- John Berryman_20240518_001617_0000.pptxThe Ball Poem- John Berryman_20240518_001617_0000.pptx
The Ball Poem- John Berryman_20240518_001617_0000.pptxNehaChandwani11
 
How to Analyse Profit of a Sales Order in Odoo 17
How to Analyse Profit of a Sales Order in Odoo 17How to Analyse Profit of a Sales Order in Odoo 17
How to Analyse Profit of a Sales Order in Odoo 17Celine George
 
The Liver & Gallbladder (Anatomy & Physiology).pptx
The Liver &  Gallbladder (Anatomy & Physiology).pptxThe Liver &  Gallbladder (Anatomy & Physiology).pptx
The Liver & Gallbladder (Anatomy & Physiology).pptxVishal Singh
 

Kürzlich hochgeladen (20)

Mattingly "AI and Prompt Design: LLMs with Text Classification and Open Source"
Mattingly "AI and Prompt Design: LLMs with Text Classification and Open Source"Mattingly "AI and Prompt Design: LLMs with Text Classification and Open Source"
Mattingly "AI and Prompt Design: LLMs with Text Classification and Open Source"
 
Exploring Gemini AI and Integration with MuleSoft | MuleSoft Mysore Meetup #45
Exploring Gemini AI and Integration with MuleSoft | MuleSoft Mysore Meetup #45Exploring Gemini AI and Integration with MuleSoft | MuleSoft Mysore Meetup #45
Exploring Gemini AI and Integration with MuleSoft | MuleSoft Mysore Meetup #45
 
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
 
Including Mental Health Support in Project Delivery, 14 May.pdf
Including Mental Health Support in Project Delivery, 14 May.pdfIncluding Mental Health Support in Project Delivery, 14 May.pdf
Including Mental Health Support in Project Delivery, 14 May.pdf
 
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjjStl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjj
 
“O BEIJO” EM ARTE .
“O BEIJO” EM ARTE                       .“O BEIJO” EM ARTE                       .
“O BEIJO” EM ARTE .
 
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
 
Championnat de France de Tennis de table/
Championnat de France de Tennis de table/Championnat de France de Tennis de table/
Championnat de France de Tennis de table/
 
Spring gala 2024 photo slideshow - Celebrating School-Community Partnerships
Spring gala 2024 photo slideshow - Celebrating School-Community PartnershipsSpring gala 2024 photo slideshow - Celebrating School-Community Partnerships
Spring gala 2024 photo slideshow - Celebrating School-Community Partnerships
 
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
 
Benefits and Challenges of OER by Shweta Babel.pptx
Benefits and Challenges of OER by Shweta Babel.pptxBenefits and Challenges of OER by Shweta Babel.pptx
Benefits and Challenges of OER by Shweta Babel.pptx
 
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
 
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
 
An overview of the various scriptures in Hinduism
An overview of the various scriptures in HinduismAn overview of the various scriptures in Hinduism
An overview of the various scriptures in Hinduism
 
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading Room
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading RoomSternal Fractures & Dislocations - EMGuidewire Radiology Reading Room
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading Room
 
Dementia (Alzheimer & vasular dementia).
Dementia (Alzheimer & vasular dementia).Dementia (Alzheimer & vasular dementia).
Dementia (Alzheimer & vasular dementia).
 
Implanted Devices - VP Shunts: EMGuidewire's Radiology Reading Room
Implanted Devices - VP Shunts: EMGuidewire's Radiology Reading RoomImplanted Devices - VP Shunts: EMGuidewire's Radiology Reading Room
Implanted Devices - VP Shunts: EMGuidewire's Radiology Reading Room
 
The Ball Poem- John Berryman_20240518_001617_0000.pptx
The Ball Poem- John Berryman_20240518_001617_0000.pptxThe Ball Poem- John Berryman_20240518_001617_0000.pptx
The Ball Poem- John Berryman_20240518_001617_0000.pptx
 
How to Analyse Profit of a Sales Order in Odoo 17
How to Analyse Profit of a Sales Order in Odoo 17How to Analyse Profit of a Sales Order in Odoo 17
How to Analyse Profit of a Sales Order in Odoo 17
 
The Liver & Gallbladder (Anatomy & Physiology).pptx
The Liver &  Gallbladder (Anatomy & Physiology).pptxThe Liver &  Gallbladder (Anatomy & Physiology).pptx
The Liver & Gallbladder (Anatomy & Physiology).pptx
 

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.  

Hinweis der Redaktion

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