SlideShare una empresa de Scribd logo
1 de 51
Techogroovy Systems India Pvt Ltd ,
www.technogroovy.com, Cell- +917500347448 , +91-7533940322
Mail : technogroovy@gmail.com
• The embedded system is a combination of computer hardware,
software additional electrical & mechanical parts
• A computer is used in such devices primarily as a means to simplify
the system design and to provide flexibility.
• Embedded systems employ the use of a RTOS (Real-Time
Operating System).

www.technogroovy.com, Cell- +91-7500347448 , +917533940322
Block Diagram of Embedded System

www.technogroovy.com, Cell- +91-7500347448 , +917533940322
Microcontroller
• A smaller computer.
• On-chip RAM, ROM, I/O ports...
• Example:- Motorola’s 6811, Intel’s 8051 and PIC 16X

CPU

RAM

ROM

I/O
Port

Serial
Timer COM
Port

Microcontroller

A single chip

www.technogroovy.com, Cell- +91-7500347448 , +917533940322
www.technogroovy.com, Cell- +91-7500347448 , +917533940322
The 8051 Microcontroller :
•

The 8051 is the first microcontroller of
the MCS-51 family introduced by
Intel Corporation at the end of the
1970’s.

• The 8051 family characteristics:
○ The 8051 family characteristics:
○ 4K Bytes ROM
○ 128 Bytes RAM
○ two timer/counters (16 bit)
○ A serial port
○ 32 input/output port
○ Interrupt controller
www.technogroovy.com, Cell- +91-7500347448 , +917533940322
8051 Internal Architecture

www.technogroovy.com, Cell- +91-7500347448 , +917533940322
IC 8051 Pin Description
Voltage Supply
(+5V)

Ground
www.technogroovy.com, Cell- +91-7500347448 , +917533940322
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

www.technogroovy.com, Cell- +91-7500347448 , +917533940322
IC 8051 Pin Description
Port 1 from
Pin-1 to pin-8
8-bit bidirectional
I/O port with
internal pull-ups

www.technogroovy.com, Cell- +91-7500347448 , +917533940322
IC 8051 Pin Description

Port 2 from
Pin-21 to pin-28
Used to access
address and I/O

www.technogroovy.com, Cell- +91-7500347448 , +917533940322
IC 8051 Pin Description
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)

Port 3 from
Pin-10 to Pin-17

www.technogroovy.com, Cell- +91-7500347448 , +917533940322
IC 8051 Pin Description

External memory
reset
Add. Latch
enable

Program Store
Enable
crystal
www.technogroovy.com, Cell- +91-7500347448 , +917533940322
IC 8051 Daily Applications

Moving message display

7

Digital clock

www.technogroovy.com, Cell- +91-7500347448 , +917533940322
segment display
Traffic

Light
IC 8051 Addressing Modes
•Immediate addressing modes
ADD A, #23h (Add immediate data to Acc)

•Register addressing modes
ADD A, R2 (Add register to Accumulator)

•Direct addressing modes
ADD A, 40h (Add data at location 40h to Accumulator)

•Register Indirect addressing modes
ADD A,@R2 (Add indirect RAM to Acc)

www.technogroovy.com, Cell- +91-7500347448 , +917533940322
Interrupts in 8051


An interrupt is an external or internal event that interrupts the microcontroller to
inform it that a device needs its service



The advantage of interrupts is that the microcontroller can serve many devices
(not all at the same time)

Program

Program

Interrupt service
time

www.technogroovy.com, Cell- +91-7500347448 , +917533940322
Interrupts in 8051
EA

-

ET2

ES

ET1

EX1

Internal Interrupts
EX0
ET0
EX1
ET1
ES
ET2
-EA

Enables or disables external interrupt
Enables or disables timer 0 overflow interrupt
Enables or disables external interrupt 1
Enables or disables timer 1 overflow interrupt
Enables or disables the serial port interrupt
Enables or disables timer 2 overflow or capture interrupt
Not implemented, reserved for future use
Disables all interrupts

External Interrupts
P3.2 :INT0 (external interrupt 0)
P3.3 :INT1www.technogroovy.com,1)
(external interrupt Cell-

+91-7500347448 , +917533940322

ET0

EX0
General Purpose
Microprocessor
• CPU for Computers
• No RAM, ROM, I/O on CPU chip itself
• Example--Intel’s x86: 8086,8088,80386,80486, Pentium
CPU
GeneralPurpose
Microprocessor

Data Bus

RAM

Many chips on mother
board
ROM

I/O
Port

Timer

Address Bus
General-Purpose Microprocessor System
www.technogroovy.com, Cell- +91-7500347448 , +917533940322

Serial
COM
Port
www.technogroovy.com, Cell- +91-7500347448 , +917533940322
The 8085 Microprocessor :
•
•
•
•
•
•

•

The features of INTEL 8085 are :
It is an 8 bit processor.
It is a single chip N-MOS device with
40 pins.
It has multiplexed address and data
bus.(AD0-AD7).
It works on 5 Volt dc power supply.
The maximum clock frequency is 3
MHz while minimum frequency is
500kHz.
It provides 74 instructions with 5
different addressing modes.

www.technogroovy.com, Cell- +91-7500347448 , +917533940322
IC 8085 Pin Description

www.technogroovy.com, Cell- +91-7500347448 , +917533940322
IC 8085 Pin Description
•AD0-AD7: Multiplexed Address and data lines.
•A8-A15: Tri-stated higher order address lines.
•ALE: Address latch enable is an output signal.It goes high when operation is
started by processor .

•S0,S1: These are the status signals used to indicate type of operation.
•RD¯: Read is active low input signal used to read data from I/O device or
memory.

•WR¯: Write is an active low output signal used write data on memory or an
I/O device.

www.technogroovy.com, Cell- +91-7500347448 , +917533940322
IC 8085 Pin Description
• READY: This an output signal used to check the status of output device.If
it is low, µP will WAIT until it is high.
• TRAP: It is an Edge triggered highest priority , non mask able interrupt.
After TRAP, restart occurs and execution starts from address 0024H.
• RST 5.5,6.5,7.5: These are maskable interrupts and have low priority than
TRAP.
• INTR¯&INTA: INTR is a interrupt request signal after which µP generates
INTA or interrupt acknowledge signal.

•IO/M¯: This is output pin or signal used to indicate whether 8085 is working
in I/O mode(IO/M¯=1) or Memory mode(IO/M¯=0 ).
www.technogroovy.com, Cell- +91-7500347448 , +917533940322
IC 8085 Pin Description
•HOLD&HLDA: HOLD is an input signal .When µP receives HOLD signal it
completes current machine cycle and stops executing next instruction. In
response to HOLD µP generates HLDA that is HOLD Acknowledge signal.

•RESET IN¯: This is input signal. When RESET IN¯ is low µp restarts and starts
executing from location 0000H.

•SID: Serial input data is input pin used to accept serial 1 bit data .
•X1 & X2 : These are clock input signals and are connected to external LC,or
RC circuit.These are divide by two so if 6 MHz is connected to X1X2, the
operating frequency becomes 3 MHz.

•VCC & VSS: Power supply VCC=+ -5Volt& VSS=-GND reference.

www.technogroovy.com, Cell- +91-7500347448 , +917533940322
8085 Internal Architecture

www.technogroovy.com, Cell- +91-7500347448 , +917533940322
Arithmetic and Logical Group
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.

www.technogroovy.com, Cell- +91-7500347448 , +917533940322
Arithmetic and Logical Group
Flag is given by :

S

Z

-

AC

-

P

-

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 www.technogroovy.com, Celldon’t care flip flops.

+91-7500347448 , +917533940322

CY
Register Group
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.
www.technogroovy.com, Cell- +91-7500347448 , +917533940322
IC 8085 Addressing modes
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.
www.technogroovy.com, Cell- +91-7500347448 , +917533940322
Interrupts in 8085


An interrupt is considered to be an emergency signal that may be serviced. The
Microprocessor may respond to it as soon as possible.

Interrupts can also be classified into:



Maskable Interrupts (Can be delayed or Rejected)
Non-Maskable Interrupts (Can not be delayed or Rejected)

The 8085 has 5 interrupt inputs.

The INTR input : INTR is mask-able using the EI/DI instruction pair.
RST 5.5, RST 6.5, RST 7.5 : They are all mask-able.
TRAP : is the only non-mask-able interrupt in the 8085
www.technogroovy.com, Cell- +91-7500347448 , +917533940322
Interrupts in 8085
The 8085 recognizes 8 RESTART instructions: RST0 - RST7 . Each of these would send
the execution to a predetermined hard-wired memory location:
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
www.technogroovy.com, Cell- +91-7500347448 , +917533940322
Timing and State Diagram
•

•

The µP operates with reference to clock signal. The rise and fall of the pulse of the
clock gives one clock cycle.
Each clock cycle is called a T state and a collection of several T states gives a
machine cycle.
Important machine cycles are :

1.
2.
3.
4.
5.

Op-code fetch.
Memory read.
Memory write.
I/Op-read.
I/O write.

•

www.technogroovy.com, Cell- +91-7500347448 , +917533940322
Timing and State Diagram
Op-code fetch cycle :

www.technogroovy.com, Cell- +91-7500347448 , +917533940322
Seven Segment Display
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

www.technogroovy.com, Cell- +91-7500347448 , +917533940322
Seven Segment Display
7 pins of the microcontroller are used to shape the
character of your LED display

Port Relations Microcontroller with pin
7 Segment

www.technogroovy.com, Cell- +91-7500347448 , +917533940322
Seven Segment Display

Table 1. Configuring the Character 7 Segment Data
www.technogroovy.com, Cell- +91-7500347448 , +917533940322
8051
Microcontroller
Design Softwares

www.technogroovy.com, Cell- +91-7500347448 , +917533940322
Software’s
Used

Keil µVision

Top View
Simulator

www.technogroovy.com, Cell- +91-7500347448 , +917533940322

Express
PCB
Keil µVision IDE
 The µVision IDE from Keil
combines project management,
make facilities, source code
editing, program debugging, and
complete simulation in one
powerful environment. The
µVision development platform is
easy-to-use and helping you
quickly create embedded
programs that work. The µVision
editor and debugger are
integrated in a single application
that provides a seamless
embedded project development
environment.
www.technogroovy.com, Cell- +91-7500347448 , +917533940322
www.technogroovy.com, Cell- +91-7500347448 , +917533940322
Top View Simulator
• Topview Simulator gives an
excellent simulation environment
for MCS 51 Microcontroller. 

A beginner can learn about 8051
based embedded solutions
without any hardware. An
experienced designer, you may
find most of the required facilities
built in the simulator that
enabling  you to complete your
next project without waiting for
the target hardware. 

www.technogroovy.com, Cell- +91-7500347448 , +917533940322
Top View Simulator
A Top View
Simulator
Program

www.technogroovy.com, Cell- +91-7500347448 , +917533940322
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.

www.technogroovy.com, Cell- +91-7500347448 , +917533940322
Express PCB
This way we can include resistors

This way we can include different
kind of IC’s

www.technogroovy.com, Cell- +91-7500347448 , +917533940322
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.
www.technogroovy.com, Cell- +91-7500347448 , +917533940322
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

www.technogroovy.com, Cell- +91-7500347448 , +917533940322
Truth Table For H-Bridge
Truth Table
High Left

High Right

Low Left

Low Right

Description

On

Off

Off

On

Motor runs
clockwise

Off

Motor runs
anticlockwise

Off

Motor stops
or
decelerates

On

Motor stops
or
decelerates

Off

On

Off

On

On

Off

On

Off

On

www.technogroovy.com, Cell- +91-7500347448 , +917533940322
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)..
www.technogroovy.com, Cell- +91-7500347448 , +917533940322
Interfacing of Stepper motor with
8051

www.technogroovy.com, Cell- +91-7500347448 , +917533940322
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

www.technogroovy.com, Cell- +91-7500347448 , +917533940322
Techogroov
y Systems
India Pvt Ltd
, www.technogroovy.com,
Cell- +91-7500347448 , +917533940322
Mail :
technogroovy@gmail.com

Más contenido relacionado

La actualidad más candente

La actualidad más candente (20)

Eceg 3201-dld-lec 11-registers_and_asynchoronous_counters
Eceg 3201-dld-lec 11-registers_and_asynchoronous_countersEceg 3201-dld-lec 11-registers_and_asynchoronous_counters
Eceg 3201-dld-lec 11-registers_and_asynchoronous_counters
 
Atmega 16 drdo report
Atmega 16 drdo reportAtmega 16 drdo report
Atmega 16 drdo report
 
Class7
Class7Class7
Class7
 
Digital i o
Digital i oDigital i o
Digital i o
 
8085 ppi 8255 and 8155
8085 ppi 8255 and 81558085 ppi 8255 and 8155
8085 ppi 8255 and 8155
 
Intrerfacing i
Intrerfacing iIntrerfacing i
Intrerfacing i
 
Interfacing ics for microprocessor
Interfacing ics for microprocessorInterfacing ics for microprocessor
Interfacing ics for microprocessor
 
8051 Microcontroller
8051 Microcontroller8051 Microcontroller
8051 Microcontroller
 
IC 8253 - Microprocessor
IC 8253 - Microprocessor IC 8253 - Microprocessor
IC 8253 - Microprocessor
 
Abc2
Abc2Abc2
Abc2
 
8051
80518051
8051
 
8085 microprocessor Embedded system
8085 microprocessor  Embedded system8085 microprocessor  Embedded system
8085 microprocessor Embedded system
 
8255 PPI
8255 PPI8255 PPI
8255 PPI
 
8155 GPPI
8155 GPPI8155 GPPI
8155 GPPI
 
8051
80518051
8051
 
8051 Presentation
8051 Presentation8051 Presentation
8051 Presentation
 
Lec13
Lec13Lec13
Lec13
 
Microprocessor Interfacing and 8155 Features
Microprocessor Interfacing and 8155 FeaturesMicroprocessor Interfacing and 8155 Features
Microprocessor Interfacing and 8155 Features
 
Microprocessor 8085 Chapter 4
Microprocessor 8085 Chapter 4Microprocessor 8085 Chapter 4
Microprocessor 8085 Chapter 4
 
8254 Programmable Interval Timer by vijay
8254 Programmable Interval Timer by vijay8254 Programmable Interval Timer by vijay
8254 Programmable Interval Timer by vijay
 

Similar a Embedded Systems,Embedded Systems Project,Winter training,

microcontroller 8051 17.07.2023.pdf
microcontroller 8051 17.07.2023.pdfmicrocontroller 8051 17.07.2023.pdf
microcontroller 8051 17.07.2023.pdf818Farida
 
UNIT 1 Microprocessors.pptx
UNIT 1 Microprocessors.pptxUNIT 1 Microprocessors.pptx
UNIT 1 Microprocessors.pptxGowrishankar C
 
8085 microprocessor(1)
8085 microprocessor(1)8085 microprocessor(1)
8085 microprocessor(1)Reevu Pal
 
Introduction to 8085 Microprocessors
Introduction to 8085 MicroprocessorsIntroduction to 8085 Microprocessors
Introduction to 8085 MicroprocessorsVeerakumar S
 
Microprocessor lab manual
Microprocessor lab manualMicroprocessor lab manual
Microprocessor lab manualDhaval Shukla
 
Embedded systems, 8051 microcontroller
Embedded systems, 8051 microcontrollerEmbedded systems, 8051 microcontroller
Embedded systems, 8051 microcontrollerAmandeep Alag
 
Microprocessor and Application (8085)
Microprocessor and Application (8085)Microprocessor and Application (8085)
Microprocessor and Application (8085)ufaq kk
 
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptxINDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptxMeghdeepSingh
 
MICROCONTROLLER.pptx
MICROCONTROLLER.pptxMICROCONTROLLER.pptx
MICROCONTROLLER.pptxfiqrie mohd
 
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
 
Architecture and pin diagram of 8085
Architecture and pin diagram of 8085Architecture and pin diagram of 8085
Architecture and pin diagram of 8085Suchismita Paul
 

Similar a Embedded Systems,Embedded Systems Project,Winter training, (20)

Embedded System
Embedded SystemEmbedded System
Embedded System
 
microcontroller 8051 17.07.2023.pdf
microcontroller 8051 17.07.2023.pdfmicrocontroller 8051 17.07.2023.pdf
microcontroller 8051 17.07.2023.pdf
 
Badal sharma
Badal sharmaBadal sharma
Badal sharma
 
UNIT 1 Microprocessors.pptx
UNIT 1 Microprocessors.pptxUNIT 1 Microprocessors.pptx
UNIT 1 Microprocessors.pptx
 
8085 microprocessor(1)
8085 microprocessor(1)8085 microprocessor(1)
8085 microprocessor(1)
 
digital clock atmega16
digital clock atmega16digital clock atmega16
digital clock atmega16
 
Introduction to 8085 Microprocessors
Introduction to 8085 MicroprocessorsIntroduction to 8085 Microprocessors
Introduction to 8085 Microprocessors
 
Microprocessor lab manual
Microprocessor lab manualMicroprocessor lab manual
Microprocessor lab manual
 
Embedded systems, 8051 microcontroller
Embedded systems, 8051 microcontrollerEmbedded systems, 8051 microcontroller
Embedded systems, 8051 microcontroller
 
embedded system
embedded systemembedded system
embedded system
 
Introduction to 8085 by Adi PPT.pdf
Introduction to 8085 by Adi PPT.pdfIntroduction to 8085 by Adi PPT.pdf
Introduction to 8085 by Adi PPT.pdf
 
Microprocessor and Application (8085)
Microprocessor and Application (8085)Microprocessor and Application (8085)
Microprocessor and Application (8085)
 
Ppt embedded
Ppt embeddedPpt embedded
Ppt embedded
 
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptxINDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
 
MICROCONTROLLER.pptx
MICROCONTROLLER.pptxMICROCONTROLLER.pptx
MICROCONTROLLER.pptx
 
8085_LAB_PROGRAMS.pdf
8085_LAB_PROGRAMS.pdf8085_LAB_PROGRAMS.pdf
8085_LAB_PROGRAMS.pdf
 
8085 (1)
8085 (1)8085 (1)
8085 (1)
 
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
 
8085 alp programs
8085 alp programs8085 alp programs
8085 alp programs
 
Architecture and pin diagram of 8085
Architecture and pin diagram of 8085Architecture and pin diagram of 8085
Architecture and pin diagram of 8085
 

Más de Technogroovy

Buy Embedded Systems Projects,B tech Final Year Projects Online
Buy Embedded Systems Projects,B tech Final Year Projects OnlineBuy Embedded Systems Projects,B tech Final Year Projects Online
Buy Embedded Systems Projects,B tech Final Year Projects OnlineTechnogroovy
 
Mechanical projects List 2014 By Technogroovy
Mechanical projects List 2014 By TechnogroovyMechanical projects List 2014 By Technogroovy
Mechanical projects List 2014 By TechnogroovyTechnogroovy
 
Embedded Systems Projects List,Ece/Electronics Projects List
Embedded Systems Projects List,Ece/Electronics Projects ListEmbedded Systems Projects List,Ece/Electronics Projects List
Embedded Systems Projects List,Ece/Electronics Projects ListTechnogroovy
 
Buy Embedded Systems Projects Online,Buy B tech Projects Online
Buy Embedded Systems Projects Online,Buy B tech Projects OnlineBuy Embedded Systems Projects Online,Buy B tech Projects Online
Buy Embedded Systems Projects Online,Buy B tech Projects OnlineTechnogroovy
 
Computer Science Training,IT Training,CS Training,Computer Training Institute,
Computer Science Training,IT Training,CS Training,Computer Training Institute,Computer Science Training,IT Training,CS Training,Computer Training Institute,
Computer Science Training,IT Training,CS Training,Computer Training Institute,Technogroovy
 
B tech Projects,Final Year Projects,Engineering Projects
B tech Projects,Final Year Projects,Engineering ProjectsB tech Projects,Final Year Projects,Engineering Projects
B tech Projects,Final Year Projects,Engineering ProjectsTechnogroovy
 
Readymade Projects,Buy Projects,Corporate Training,Projects Assistance
Readymade Projects,Buy Projects,Corporate Training,Projects AssistanceReadymade Projects,Buy Projects,Corporate Training,Projects Assistance
Readymade Projects,Buy Projects,Corporate Training,Projects AssistanceTechnogroovy
 
Winter training,Readymade Projects,Buy Projects,Corporate Training
Winter training,Readymade Projects,Buy Projects,Corporate TrainingWinter training,Readymade Projects,Buy Projects,Corporate Training
Winter training,Readymade Projects,Buy Projects,Corporate TrainingTechnogroovy
 
Embedded Systems Project Based Training|Engineering Projects,Summer Training
Embedded Systems Project Based Training|Engineering Projects,Summer TrainingEmbedded Systems Project Based Training|Engineering Projects,Summer Training
Embedded Systems Project Based Training|Engineering Projects,Summer TrainingTechnogroovy
 
Industrial Training|Summer Training|Embedded Systems|Final Year Project|B tec...
Industrial Training|Summer Training|Embedded Systems|Final Year Project|B tec...Industrial Training|Summer Training|Embedded Systems|Final Year Project|B tec...
Industrial Training|Summer Training|Embedded Systems|Final Year Project|B tec...Technogroovy
 

Más de Technogroovy (15)

Add7
Add7Add7
Add7
 
Add6
Add6Add6
Add6
 
Add5
Add5Add5
Add5
 
Buy Embedded Systems Projects,B tech Final Year Projects Online
Buy Embedded Systems Projects,B tech Final Year Projects OnlineBuy Embedded Systems Projects,B tech Final Year Projects Online
Buy Embedded Systems Projects,B tech Final Year Projects Online
 
Mechanical projects List 2014 By Technogroovy
Mechanical projects List 2014 By TechnogroovyMechanical projects List 2014 By Technogroovy
Mechanical projects List 2014 By Technogroovy
 
Embedded Systems Projects List,Ece/Electronics Projects List
Embedded Systems Projects List,Ece/Electronics Projects ListEmbedded Systems Projects List,Ece/Electronics Projects List
Embedded Systems Projects List,Ece/Electronics Projects List
 
Add13
Add13Add13
Add13
 
Add13
Add13Add13
Add13
 
Buy Embedded Systems Projects Online,Buy B tech Projects Online
Buy Embedded Systems Projects Online,Buy B tech Projects OnlineBuy Embedded Systems Projects Online,Buy B tech Projects Online
Buy Embedded Systems Projects Online,Buy B tech Projects Online
 
Computer Science Training,IT Training,CS Training,Computer Training Institute,
Computer Science Training,IT Training,CS Training,Computer Training Institute,Computer Science Training,IT Training,CS Training,Computer Training Institute,
Computer Science Training,IT Training,CS Training,Computer Training Institute,
 
B tech Projects,Final Year Projects,Engineering Projects
B tech Projects,Final Year Projects,Engineering ProjectsB tech Projects,Final Year Projects,Engineering Projects
B tech Projects,Final Year Projects,Engineering Projects
 
Readymade Projects,Buy Projects,Corporate Training,Projects Assistance
Readymade Projects,Buy Projects,Corporate Training,Projects AssistanceReadymade Projects,Buy Projects,Corporate Training,Projects Assistance
Readymade Projects,Buy Projects,Corporate Training,Projects Assistance
 
Winter training,Readymade Projects,Buy Projects,Corporate Training
Winter training,Readymade Projects,Buy Projects,Corporate TrainingWinter training,Readymade Projects,Buy Projects,Corporate Training
Winter training,Readymade Projects,Buy Projects,Corporate Training
 
Embedded Systems Project Based Training|Engineering Projects,Summer Training
Embedded Systems Project Based Training|Engineering Projects,Summer TrainingEmbedded Systems Project Based Training|Engineering Projects,Summer Training
Embedded Systems Project Based Training|Engineering Projects,Summer Training
 
Industrial Training|Summer Training|Embedded Systems|Final Year Project|B tec...
Industrial Training|Summer Training|Embedded Systems|Final Year Project|B tec...Industrial Training|Summer Training|Embedded Systems|Final Year Project|B tec...
Industrial Training|Summer Training|Embedded Systems|Final Year Project|B tec...
 

Último

Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQ-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQuiz Club NITW
 
Mental Health Awareness - a toolkit for supporting young minds
Mental Health Awareness - a toolkit for supporting young mindsMental Health Awareness - a toolkit for supporting young minds
Mental Health Awareness - a toolkit for supporting young mindsPooky Knightsmith
 
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptxDIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptxMichelleTuguinay1
 
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
Unraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptxUnraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptx
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptxDhatriParmar
 
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxBIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxSayali Powar
 
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnvESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnvRicaMaeCastro1
 
week 1 cookery 8 fourth - quarter .pptx
week 1 cookery 8  fourth  -  quarter .pptxweek 1 cookery 8  fourth  -  quarter .pptx
week 1 cookery 8 fourth - quarter .pptxJonalynLegaspi2
 
Mythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWMythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWQuiz Club NITW
 
4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptxmary850239
 
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...DhatriParmar
 
Measures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataMeasures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataBabyAnnMotar
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Projectjordimapav
 
Oppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmOppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmStan Meyer
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxkarenfajardo43
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
Multi Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP ModuleMulti Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP ModuleCeline George
 
Expanded definition: technical and operational
Expanded definition: technical and operationalExpanded definition: technical and operational
Expanded definition: technical and operationalssuser3e220a
 

Último (20)

Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQ-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
 
Mental Health Awareness - a toolkit for supporting young minds
Mental Health Awareness - a toolkit for supporting young mindsMental Health Awareness - a toolkit for supporting young minds
Mental Health Awareness - a toolkit for supporting young minds
 
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptxDIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
 
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
Unraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptxUnraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptx
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
 
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxBIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
 
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnvESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
 
week 1 cookery 8 fourth - quarter .pptx
week 1 cookery 8  fourth  -  quarter .pptxweek 1 cookery 8  fourth  -  quarter .pptx
week 1 cookery 8 fourth - quarter .pptx
 
Mythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWMythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITW
 
4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx
 
Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"
 
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
 
Measures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataMeasures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped data
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Project
 
Oppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmOppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and Film
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of EngineeringFaculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
 
Multi Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP ModuleMulti Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP Module
 
Expanded definition: technical and operational
Expanded definition: technical and operationalExpanded definition: technical and operational
Expanded definition: technical and operational
 

Embedded Systems,Embedded Systems Project,Winter training,

  • 1. Techogroovy Systems India Pvt Ltd , www.technogroovy.com, Cell- +917500347448 , +91-7533940322 Mail : technogroovy@gmail.com
  • 2. • The embedded system is a combination of computer hardware, software additional electrical & mechanical parts • A computer is used in such devices primarily as a means to simplify the system design and to provide flexibility. • Embedded systems employ the use of a RTOS (Real-Time Operating System). www.technogroovy.com, Cell- +91-7500347448 , +917533940322
  • 3. Block Diagram of Embedded System www.technogroovy.com, Cell- +91-7500347448 , +917533940322
  • 4. Microcontroller • A smaller computer. • On-chip RAM, ROM, I/O ports... • Example:- Motorola’s 6811, Intel’s 8051 and PIC 16X CPU RAM ROM I/O Port Serial Timer COM Port Microcontroller A single chip www.technogroovy.com, Cell- +91-7500347448 , +917533940322
  • 6. The 8051 Microcontroller : • The 8051 is the first microcontroller of the MCS-51 family introduced by Intel Corporation at the end of the 1970’s. • The 8051 family characteristics: ○ The 8051 family characteristics: ○ 4K Bytes ROM ○ 128 Bytes RAM ○ two timer/counters (16 bit) ○ A serial port ○ 32 input/output port ○ Interrupt controller www.technogroovy.com, Cell- +91-7500347448 , +917533940322
  • 7. 8051 Internal Architecture www.technogroovy.com, Cell- +91-7500347448 , +917533940322
  • 8. IC 8051 Pin Description Voltage Supply (+5V) Ground www.technogroovy.com, Cell- +91-7500347448 , +917533940322
  • 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 www.technogroovy.com, Cell- +91-7500347448 , +917533940322
  • 10. IC 8051 Pin Description Port 1 from Pin-1 to pin-8 8-bit bidirectional I/O port with internal pull-ups www.technogroovy.com, Cell- +91-7500347448 , +917533940322
  • 11. IC 8051 Pin Description Port 2 from Pin-21 to pin-28 Used to access address and I/O www.technogroovy.com, Cell- +91-7500347448 , +917533940322
  • 12. IC 8051 Pin Description 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) Port 3 from Pin-10 to Pin-17 www.technogroovy.com, Cell- +91-7500347448 , +917533940322
  • 13. IC 8051 Pin Description External memory reset Add. Latch enable Program Store Enable crystal www.technogroovy.com, Cell- +91-7500347448 , +917533940322
  • 14. IC 8051 Daily Applications Moving message display 7 Digital clock www.technogroovy.com, Cell- +91-7500347448 , +917533940322 segment display Traffic Light
  • 15. IC 8051 Addressing Modes •Immediate addressing modes ADD A, #23h (Add immediate data to Acc) •Register addressing modes ADD A, R2 (Add register to Accumulator) •Direct addressing modes ADD A, 40h (Add data at location 40h to Accumulator) •Register Indirect addressing modes ADD A,@R2 (Add indirect RAM to Acc) www.technogroovy.com, Cell- +91-7500347448 , +917533940322
  • 16. Interrupts in 8051  An interrupt is an external or internal event that interrupts the microcontroller to inform it that a device needs its service  The advantage of interrupts is that the microcontroller can serve many devices (not all at the same time) Program Program Interrupt service time www.technogroovy.com, Cell- +91-7500347448 , +917533940322
  • 17. Interrupts in 8051 EA - ET2 ES ET1 EX1 Internal Interrupts EX0 ET0 EX1 ET1 ES ET2 -EA Enables or disables external interrupt Enables or disables timer 0 overflow interrupt Enables or disables external interrupt 1 Enables or disables timer 1 overflow interrupt Enables or disables the serial port interrupt Enables or disables timer 2 overflow or capture interrupt Not implemented, reserved for future use Disables all interrupts External Interrupts P3.2 :INT0 (external interrupt 0) P3.3 :INT1www.technogroovy.com,1) (external interrupt Cell- +91-7500347448 , +917533940322 ET0 EX0
  • 18. General Purpose Microprocessor • CPU for Computers • No RAM, ROM, I/O on CPU chip itself • Example--Intel’s x86: 8086,8088,80386,80486, Pentium CPU GeneralPurpose Microprocessor Data Bus RAM Many chips on mother board ROM I/O Port Timer Address Bus General-Purpose Microprocessor System www.technogroovy.com, Cell- +91-7500347448 , +917533940322 Serial COM Port
  • 20. The 8085 Microprocessor : • • • • • • • The features of INTEL 8085 are : It is an 8 bit processor. It is a single chip N-MOS device with 40 pins. It has multiplexed address and data bus.(AD0-AD7). It works on 5 Volt dc power supply. The maximum clock frequency is 3 MHz while minimum frequency is 500kHz. It provides 74 instructions with 5 different addressing modes. www.technogroovy.com, Cell- +91-7500347448 , +917533940322
  • 21. IC 8085 Pin Description www.technogroovy.com, Cell- +91-7500347448 , +917533940322
  • 22. IC 8085 Pin Description •AD0-AD7: Multiplexed Address and data lines. •A8-A15: Tri-stated higher order address lines. •ALE: Address latch enable is an output signal.It goes high when operation is started by processor . •S0,S1: These are the status signals used to indicate type of operation. •RD¯: Read is active low input signal used to read data from I/O device or memory. •WR¯: Write is an active low output signal used write data on memory or an I/O device. www.technogroovy.com, Cell- +91-7500347448 , +917533940322
  • 23. IC 8085 Pin Description • READY: This an output signal used to check the status of output device.If it is low, µP will WAIT until it is high. • TRAP: It is an Edge triggered highest priority , non mask able interrupt. After TRAP, restart occurs and execution starts from address 0024H. • RST 5.5,6.5,7.5: These are maskable interrupts and have low priority than TRAP. • INTR¯&INTA: INTR is a interrupt request signal after which µP generates INTA or interrupt acknowledge signal. •IO/M¯: This is output pin or signal used to indicate whether 8085 is working in I/O mode(IO/M¯=1) or Memory mode(IO/M¯=0 ). www.technogroovy.com, Cell- +91-7500347448 , +917533940322
  • 24. IC 8085 Pin Description •HOLD&HLDA: HOLD is an input signal .When µP receives HOLD signal it completes current machine cycle and stops executing next instruction. In response to HOLD µP generates HLDA that is HOLD Acknowledge signal. •RESET IN¯: This is input signal. When RESET IN¯ is low µp restarts and starts executing from location 0000H. •SID: Serial input data is input pin used to accept serial 1 bit data . •X1 & X2 : These are clock input signals and are connected to external LC,or RC circuit.These are divide by two so if 6 MHz is connected to X1X2, the operating frequency becomes 3 MHz. •VCC & VSS: Power supply VCC=+ -5Volt& VSS=-GND reference. www.technogroovy.com, Cell- +91-7500347448 , +917533940322
  • 25. 8085 Internal Architecture www.technogroovy.com, Cell- +91-7500347448 , +917533940322
  • 26. Arithmetic and Logical Group 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. www.technogroovy.com, Cell- +91-7500347448 , +917533940322
  • 27. Arithmetic and Logical Group Flag is given by : S Z - AC - P - 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 www.technogroovy.com, Celldon’t care flip flops. +91-7500347448 , +917533940322 CY
  • 28. Register Group 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. www.technogroovy.com, Cell- +91-7500347448 , +917533940322
  • 29. IC 8085 Addressing modes 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. www.technogroovy.com, Cell- +91-7500347448 , +917533940322
  • 30. Interrupts in 8085  An interrupt is considered to be an emergency signal that may be serviced. The Microprocessor may respond to it as soon as possible. Interrupts can also be classified into:   Maskable Interrupts (Can be delayed or Rejected) Non-Maskable Interrupts (Can not be delayed or Rejected) The 8085 has 5 interrupt inputs. The INTR input : INTR is mask-able using the EI/DI instruction pair. RST 5.5, RST 6.5, RST 7.5 : They are all mask-able. TRAP : is the only non-mask-able interrupt in the 8085 www.technogroovy.com, Cell- +91-7500347448 , +917533940322
  • 31. Interrupts in 8085 The 8085 recognizes 8 RESTART instructions: RST0 - RST7 . Each of these would send the execution to a predetermined hard-wired memory location: 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 www.technogroovy.com, Cell- +91-7500347448 , +917533940322
  • 32. Timing and State Diagram • • The µP operates with reference to clock signal. The rise and fall of the pulse of the clock gives one clock cycle. Each clock cycle is called a T state and a collection of several T states gives a machine cycle. Important machine cycles are : 1. 2. 3. 4. 5. Op-code fetch. Memory read. Memory write. I/Op-read. I/O write. • www.technogroovy.com, Cell- +91-7500347448 , +917533940322
  • 33. Timing and State Diagram Op-code fetch cycle : www.technogroovy.com, Cell- +91-7500347448 , +917533940322
  • 34. Seven Segment Display 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 www.technogroovy.com, Cell- +91-7500347448 , +917533940322
  • 35. Seven Segment Display 7 pins of the microcontroller are used to shape the character of your LED display Port Relations Microcontroller with pin 7 Segment www.technogroovy.com, Cell- +91-7500347448 , +917533940322
  • 36. Seven Segment Display Table 1. Configuring the Character 7 Segment Data www.technogroovy.com, Cell- +91-7500347448 , +917533940322
  • 38. Software’s Used Keil µVision Top View Simulator www.technogroovy.com, Cell- +91-7500347448 , +917533940322 Express PCB
  • 39. Keil µVision IDE  The µVision IDE from Keil combines project management, make facilities, source code editing, program debugging, and complete simulation in one powerful environment. The µVision development platform is easy-to-use and helping you quickly create embedded programs that work. The µVision editor and debugger are integrated in a single application that provides a seamless embedded project development environment. www.technogroovy.com, Cell- +91-7500347448 , +917533940322
  • 41. Top View Simulator • Topview Simulator gives an excellent simulation environment for MCS 51 Microcontroller.  A beginner can learn about 8051 based embedded solutions without any hardware. An experienced designer, you may find most of the required facilities built in the simulator that enabling  you to complete your next project without waiting for the target hardware.  www.technogroovy.com, Cell- +91-7500347448 , +917533940322
  • 42. Top View Simulator A Top View Simulator Program www.technogroovy.com, Cell- +91-7500347448 , +917533940322
  • 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. www.technogroovy.com, Cell- +91-7500347448 , +917533940322
  • 44. Express PCB This way we can include resistors This way we can include different kind of IC’s www.technogroovy.com, Cell- +91-7500347448 , +917533940322
  • 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. www.technogroovy.com, Cell- +91-7500347448 , +917533940322
  • 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 www.technogroovy.com, Cell- +91-7500347448 , +917533940322
  • 47. Truth Table For H-Bridge Truth Table High Left High Right Low Left Low Right Description On Off Off On Motor runs clockwise Off Motor runs anticlockwise Off Motor stops or decelerates On Motor stops or decelerates Off On Off On On Off On Off On www.technogroovy.com, Cell- +91-7500347448 , +917533940322
  • 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).. www.technogroovy.com, Cell- +91-7500347448 , +917533940322
  • 49. Interfacing of Stepper motor with 8051 www.technogroovy.com, Cell- +91-7500347448 , +917533940322
  • 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 www.technogroovy.com, Cell- +91-7500347448 , +917533940322
  • 51. Techogroov y Systems India Pvt Ltd , www.technogroovy.com, Cell- +91-7500347448 , +917533940322 Mail : technogroovy@gmail.com

Notas del editor

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