You are on page 1of 56

G.S.

Mandal’s

Marathwada Institute of Technology, Aurangabad.


Department of Electrical Engineering

SUBJECT-Microprocessor and Microcontroller

Evaluation Sheet

Aim:- Study of Architecture of 8085

Practical performance Date:-

Practical checking Date:-

Evaluation Criteria Skill Yes/No/NA Marks Total

Figure (2) A

Understanding (2) A

Oral (2) P

Conclusion(2) C

Question Answers (2) C

Total(10)

Subject Teacher

1
G.S.Mandal’s

Marathwada Institute of Technology, Aurangabad.


Department of Electrical Engineering

Experiment No.: 1
AIM: 1. Draw Architecture of 8085 and analyze the function of each block.

2. Draw pin out Diagram of 8085 and understand the function of each pin.

3. Analyze and Observe the DYNA 85 kit and understand the components.

EQUIPMENTS: Microprocessor kit DYNA-85

THEORY: 8085 is pronounced as "eighty-eighty-five" microprocessor. It is an 8-bit


microprocessor designed by Intel in 1977 using NMOS technology.

It has the following configuration −

• 8-bit data bus


• 16-bit address bus, which can address upto 64KB
• A 16-bit program counter
• A 16-bit stack pointer
• Six 8-bit registers arranged in pairs: BC, DE, HL
• Requires +5V supply to operate at 3.2 MHZ single phase clock
8085 consists of the following functional units −
Accumulator- It is an 8-bit register used to perform arithmetic, logical, I/O & LOAD/STORE
operations. It is connected to internal data bus & ALU.
Arithmetic and logic unit- As the name suggests, it performs arithmetic and logical operations
like Addition, Subtraction, AND, OR, etc. on 8-bit data.
General purpose register- There are 6 general purpose registers in 8085 processor, i.e. B, C, D,
E, H & L. Each register can hold 8-bit data.
These registers can work in pair to hold 16-bit data and their pairing combination is like B-C,
D-E & H-L.

Program counter-It is a 16-bit register used to store the memory address location of the next
instruction to be executed. Microprocessor increments the program whenever an instruction is
being executed, so that the program counter points to the memory address of the next instruction
that is going to be executed.

2
G.S.Mandal’s

Marathwada Institute of Technology, Aurangabad.


Department of Electrical Engineering

Stack pointer- It is also a 16-bit register works like stack, which is always
incremented/decremented by 2 during push & pop operations.
Temporary register- It is an 8-bit register, which holds the temporary data of arithmetic and
logical operations.
Flag register- It is an 8-bit register having five 1-bit flip-flops, which holds either 0 or 1
depending upon the result stored in the accumulator.
These are the set of 5 flip-flops −

• Sign (S)
• Zero (Z)
• Auxiliary Carry (AC)
• Parity (P)
• Carry (C)
Its bit position is shown in the following table −

D7 D6 D5 D4 D3 D2 D1 D0

S Z AC P CY

Instruction register and decoder- It is an 8-bit register. When an instruction is fetched from
memory then it is stored in the Instruction register. Instruction decoder decodes the information
present in the Instruction register.
Timing and control unit- It provides timing and control signal to the microprocessor to
perform operations. Following are the timing and control signals, which control external and
internal circuits −

• Control Signals: READY, RD’, WR’, ALE


• Status Signals: S0, S1, IO/M’
• DMA Signals: HOLD, HLDA
• RESET Signals: RESET IN, RESET OUT

3
G.S.Mandal’s

Marathwada Institute of Technology, Aurangabad.


Department of Electrical Engineering

Interrupt control- As the name suggests it controls the interrupts during a process. When a
microprocessor is executing a main program and whenever an interrupt occurs, the
microprocessor shifts the control from the main program to process the incoming request. After
the request is completed, the control goes back to the main program.
There are 5 interrupt signals in 8085 microprocessor: INTR, RST 7.5, RST 6.5, RST 5.5,
TRAP.

Serial Input/output control- It controls the serial data communication by using these two
instructions: SID (Serial input data) and SOD (Serial output data).
Address buffer and address-data buffer-The content stored in the stack pointer and program
counter is loaded into the address buffer and address-data buffer to communicate with the CPU.
The memory and I/O chips are connected to these buses; the CPU can exchange the desired data
with the memory and I/O chips.
Address bus and data bus- Data bus carries the data to be stored. It is bidirectional, whereas
address bus carries the location to where it should be stored and it is unidirectional. It is used to
transfer the data & Address I/O devices.

4
G.S.Mandal’s

Marathwada Institute of Technology, Aurangabad.


Department of Electrical Engineering

BLOCK DIAGRAM (8085 ARCHITECTURE)

Figure 1.1 Architecture of 8085 Microprocessor

5
G.S.Mandal’s

Marathwada Institute of Technology, Aurangabad.


Department of Electrical Engineering

PIN Diagram of 8085

Figure 1.2 PIN Diagram of 8085


APPLICATION: For the extensive use of 8085 in various applications, the microprocessor is
provided with an instruction set consisting of various instructions such as MOV, ADD, SUB,
JMP, etc. These instructions are written in the form of a program which is used to perform
various operations such as branching, addition, subtraction, bitwise logical, and bit
shift operations. More complex operations and other arithmetic operations must be implemented
in software. For example, multiplication is implemented using a multiplication algorithm.
8085 MP is very useful in the field of instrumentation. Frequency counters, function
generators, frequency synthesizers, spectrum analyses and many other instruments are available,
when microprocessors are used as controller. It is also used in medical instrumentation.
More applications-

6
G.S.Mandal’s

Marathwada Institute of Technology, Aurangabad.


Department of Electrical Engineering

1. Microprocessor based controllers are available in home appliances, such as microwave


oven, washing machine etc., microprocessors are being used in controlling various
parameters like speed, pressure, temperature etc. These are used with the help of suitable
transduction. Calculators
2. Accounting system
3. Games machine
4. Complex Industrial Controllers
5. Traffic light Control
6. Data acquisition systems
7. Multi user, multi-function environments
8. Military applications
9. Communication systems

CONCLUSION:
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________

7
G.S.Mandal’s

Marathwada Institute of Technology, Aurangabad.


Department of Electrical Engineering

Q.1 Define Microprocessor

______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________

Q.2 How many data lines, address lines are present in 8085.

______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________

Q.3 Which one is the highest Priority Interrupt?

______________________________________________________________________________
______________________________________________________________________________

Q.4 Describe the function of clock oscillator in 8085. What is the operating frequency of 8085?

______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________

8
G.S.Mandal’s

Marathwada Institute of Technology, Aurangabad.


Department of Electrical Engineering

SUBJECT-Microprocessor and Microcontroller

Evaluation Sheet

Aim:-

Practical performance Date:-

Practical checking Date:-

Evaluation Criteria Skill Yes/No/NA Marks Total

Understanding (1) A

Program (2) A

Result(1) P

Oral (2) C

Conclusion(2) C

Question Answers (2) C

Total(10)

Subject Teacher

9
G.S.Mandal’s

Marathwada Institute of Technology, Aurangabad.


Department of Electrical Engineering

Experiment No.: 2
AIM: Programs based on ‘Arithmetic Instruction Group’.

a. Write an assembly language program for addition of two 8 bit numbers.


b. Write an assembly language program for Subtraction of two 8 bit numbers.
c. Write an assembly language program for addition of two 16 bit numbers.
d. Write an assembly language program for Subtraction of two 16 bit numbers.

EQUIPMENTS: DYNA 85 kit

PROGRAM A: Write an assembly language program for addition of two 8 bit numbers.

Data Input:

Memory
Mnemonics Machine code Comments
Location

10
G.S.Mandal’s

Marathwada Institute of Technology, Aurangabad.


Department of Electrical Engineering

Data Output:

PROGRAM B: Write an assembly language program for Subtraction of two 8 bit numbers.

Data Input:

Memory
Mnemonics Machine code Comments
Location

Data Output:

11
G.S.Mandal’s

Marathwada Institute of Technology, Aurangabad.


Department of Electrical Engineering

PROGRAM C: Write an assembly language program for Addition of two 16 bit numbers.

Data Input:

Memory
Mnemonics Machine code Comments
Location

12
G.S.Mandal’s

Marathwada Institute of Technology, Aurangabad.


Department of Electrical Engineering

Data Output:

PROGRAM D: Write an assembly language program for Subtraction of two 16 bit


numbers.

Data Input:

Memory
Mnemonics Machine code Comments
Location

13
G.S.Mandal’s

Marathwada Institute of Technology, Aurangabad.


Department of Electrical Engineering

Data Output:

CONCLUSION :
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________

14
G.S.Mandal’s

Marathwada Institute of Technology, Aurangabad.


Department of Electrical Engineering

Q 1. Define opcode and operand.

______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________

Q 2. What if the function of DAD instruction?

______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________

Q 3. What is the function of SHLD instruction?

______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________

Q 4. What is the function of LHLD instruction?

______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________

15
G.S.Mandal’s

Marathwada Institute of Technology, Aurangabad.


Department of Electrical Engineering

SUBJECT-Microprocessor and Microcontroller

Evaluation Sheet

Aim:-

Practical performance Date:-

Practical checking Date:-

Evaluation Criteria Skill Yes/No/NA Marks Total

Understanding (1) A

Program (2) A

Result(1) P

Oral (2) C

Conclusion(2) C

Question Answers (2) C

Total(10)

Subject Teacher

16
G.S.Mandal’s

Marathwada Institute of Technology, Aurangabad.


Department of Electrical Engineering

Experiment No.: 3
AIM: To write an assembly language program for multiplication and division for 8 bit.

EQUIPMENTS: DYNA 85 kit

PROGRAM A: Write an assembly language program for Multiplication of two 8 bit


numbers.

INPUT DATA

MEMORY LOCATION DATA

Memory
Mnemonics Machine code Comments
Location

17
G.S.Mandal’s

Marathwada Institute of Technology, Aurangabad.


Department of Electrical Engineering

RESULT:

OUTPUT DATA

MEMORY LOCATION DATA

PROGRAM B: Write an assembly language program for Division of two 8 bit numbers.

INPUT DATA

MEMORY LOCATION DATA

18
G.S.Mandal’s

Marathwada Institute of Technology, Aurangabad.


Department of Electrical Engineering

Memory
Mnemonics Machine code Comments
Location

19
G.S.Mandal’s

Marathwada Institute of Technology, Aurangabad.


Department of Electrical Engineering

RESULT:

OUTPUT DATA

MEMORY LOCATION DATA

CONCLUSION:

______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________

20
G.S.Mandal’s

Marathwada Institute of Technology, Aurangabad.


Department of Electrical Engineering

Draw the flow chart for Multiplication of two numbers

21
G.S.Mandal’s

Marathwada Institute of Technology, Aurangabad.


Department of Electrical Engineering

Draw the flow chart for division of two 8 bit number

22
G.S.Mandal’s

Marathwada Institute of Technology, Aurangabad.


Department of Electrical Engineering

Q1. Give the difference between JZ and JNZ.

______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________

Q2. What is the difference between SUB B and CMP B instruction?

______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________

Q3. Why LXI is used?

______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________

23
G.S.Mandal’s

Marathwada Institute of Technology, Aurangabad.


Department of Electrical Engineering

SUBJECT-Microprocessor and Microcontroller

Evaluation Sheet

Aim:-

Practical performance Date:-

Practical checking Date:-

Evaluation Criteria Skill Yes/No/NA Marks Total

Understanding (1) A

Program (2) A

Result(1) P

Oral (2) C

Conclusion(2) C

Question Answers (2) C

Total(10)

Subject Teacher

24
G.S.Mandal’s

Marathwada Institute of Technology, Aurangabad.


Department of Electrical Engineering

Experiment No.: 4
AIM: To write an assembly language program for larger number and smaller number

e. Write an assembly language program for larger number.


f. Write an assembly language program for smaller number.

EQUIPMENTS: DYNA 85 kit

PROGRAM A: Draw the flow chart to find larger number

25
G.S.Mandal’s

Marathwada Institute of Technology, Aurangabad.


Department of Electrical Engineering

PROGRAM A: Write an assembly language program for larger number out of two 8 bit
numbers.

INPUT DATA

MEMORY LOCATION DATA

Memory
Mnemonics Machine code Comments
Location

26
G.S.Mandal’s

Marathwada Institute of Technology, Aurangabad.


Department of Electrical Engineering

RESULT:

OUTPUT DATA

MEMORY LOCATION DATA

27
G.S.Mandal’s

Marathwada Institute of Technology, Aurangabad.


Department of Electrical Engineering

PROGRAM B: Draw the flow chart to find smaller number

28
G.S.Mandal’s

Marathwada Institute of Technology, Aurangabad.


Department of Electrical Engineering

PROGRAM B: Write an assembly language program for smaller number out of two 8 bit
numbers.

INPUT DATA

MEMORY LOCATION DATA

Memory
Mnemonics Machine code Comments
Location

29
G.S.Mandal’s

Marathwada Institute of Technology, Aurangabad.


Department of Electrical Engineering

RESULT:

OUTPUT DATA

MEMORY LOCATION DATA

CONCLUSION:

______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________

30
G.S.Mandal’s

Marathwada Institute of Technology, Aurangabad.


Department of Electrical Engineering

Q1. Can we use compare instruction?

______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
____________________________________________________________________________

Q2. What is the difference between LXI and LHLD?

______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
____________________________________________________________________________

31
G.S.Mandal’s

Marathwada Institute of Technology, Aurangabad.


Department of Electrical Engineering

SUBJECT-Microprocessor and Microcontroller

Evaluation Sheet

Aim:-

Practical performance Date:-

Practical checking Date:-

Evaluation Criteria Skill Yes/No/NA Marks Total

Understanding (1) A

Program (2) A

Result(1) P

Oral (2) C

Conclusion(2) C

Question Answers (2) C

Total(10)

Subject Teacher

32
G.S.Mandal’s

Marathwada Institute of Technology, Aurangabad.


Department of Electrical Engineering

Experiment No.: 7
AIM: To write assembly language program and interfacing for Flashing and rolling LED based
on 8085 microprocessor.

EQUIPMENTS: DYNA 85 kit, LEDs, Wires, FRC

THEORY:

33
G.S.Mandal’s

Marathwada Institute of Technology, Aurangabad.


Department of Electrical Engineering

Draw the interfacing diagram for LED to MP8085

34
G.S.Mandal’s

Marathwada Institute of Technology, Aurangabad.


Department of Electrical Engineering

PROGRAM A: Write an assembly language program for Flashing of LEDs

Memory
Mnemonics Machine code Comments
Location

35
G.S.Mandal’s

Marathwada Institute of Technology, Aurangabad.


Department of Electrical Engineering

PROGRAM B: Write an assembly language program for Rolling of LEDs

Memory
Mnemonics Machine code Comments
Location

36
G.S.Mandal’s

Marathwada Institute of Technology, Aurangabad.


Department of Electrical Engineering

CONCLUSION:

______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________

37
G.S.Mandal’s

Marathwada Institute of Technology, Aurangabad.


Department of Electrical Engineering

Q1. Write the steps for interfacing LEDs to 8085 MP

______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________

Q.2 What is mean by control word?

______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________

38
G.S.Mandal’s

Marathwada Institute of Technology, Aurangabad.


Department of Electrical Engineering

SUBJECT-Microprocessor and Microcontroller

Evaluation Sheet

Aim:-

Practical performance Date:-

Practical checking Date:-

Evaluation Criteria Skill Yes/No/NA Marks Total

Understanding (1) A

Program (2) A

Result(1) P

Oral (2) C

Conclusion(2) C

Question Answers (2) C

Total(10)

Subject Teacher

39
G.S.Mandal’s

Marathwada Institute of Technology, Aurangabad.


Department of Electrical Engineering

Experiment No.: 6
AIM: To Interface 7 segment LED to 8085 microprocessor

EQUIPMENTS: DYNA 85 kit, 7 segment LED, FRC

THEORY: Seven segment displays internally consist of 8 LEDs. In these LEDs, 7 LEDs are
used to indicate the digits 0 to 9 and single LED is used for indicating decimal point. Generally
seven segments are two types, one is common cathode and the other is common anode.

Hex codes for common cathode

40
G.S.Mandal’s

Marathwada Institute of Technology, Aurangabad.


Department of Electrical Engineering

In common cathode, all the cathodes of LEDs are tied together and labeled as com. and the
anode are left alone. In common anode, seven segment display all the anodes are tied together
and cathodes are left freely.

Hex codes for common Anode


Interfacing Diagram For 7 segment LED:

41
G.S.Mandal’s

Marathwada Institute of Technology, Aurangabad.


Department of Electrical Engineering

PROGRAM A: Write an assembly language program for 7 segment LED interfacing

Memory
Label Mnemonics Machine code Comments
Location

Hex code:

Memory Location Hex code

42
G.S.Mandal’s

Marathwada Institute of Technology, Aurangabad.


Department of Electrical Engineering

CONCLUSION:

______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________

Q1. Give the steps of interfacing 7 segment LED with 8085

______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________

43
G.S.Mandal’s

Marathwada Institute of Technology, Aurangabad.


Department of Electrical Engineering

SUBJECT-Microprocessor and Microcontroller

Evaluation Sheet

Aim:-

Practical performance Date:-

Practical checking Date:-

Evaluation Criteria Skill Yes/No/NA Marks Total

Understanding (1) A

Program (2) A

Result(1) P

Oral (2) C

Conclusion(2) C

Question Answers (2) C

Total(10)

Subject Teacher

44
G.S.Mandal’s

Marathwada Institute of Technology, Aurangabad.


Department of Electrical Engineering

Experiment No.: 7
AIM: To write Programs based on arithmetic instructions for 8051 microcontroller

EQUIPMENTS: SIDE51 Software

PROGRAM A: Write a program for Addition of two numbers.

Result:

PROGRAM B: Write a program for Subtraction of two numbers.

Result:

45
G.S.Mandal’s

Marathwada Institute of Technology, Aurangabad.


Department of Electrical Engineering

PROGRAM C: Write a program for Multiplication of two numbers.

Result:

PROGRAM D: Write a program for Division of two numbers.

Results

CONCLUSION:

______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________

46
G.S.Mandal’s

Marathwada Institute of Technology, Aurangabad.


Department of Electrical Engineering

Q1. Explain the addressing modes of 8051

______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________

Q.2 Give the steps for simulation of a program in SIDE51

______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________

47
G.S.Mandal’s

Marathwada Institute of Technology, Aurangabad.


Department of Electrical Engineering

SUBJECT-Microprocessor and Microcontroller

Evaluation Sheet

Aim:-

Practical performance Date:-

Practical checking Date:-

Evaluation Criteria Skill Yes/No/NA Marks Total

Understanding (1) A

Program (2) A

Result(1) P

Oral (2) C

Conclusion(2) C

Question Answers (2) C

Total(10)

Subject Teacher

48
G.S.Mandal’s

Marathwada Institute of Technology, Aurangabad.


Department of Electrical Engineering

Experiment No.: 8
AIM: To Interfacing of DC motor to 8051 microcontroller

EQUIPMENTS: SIDE51 Software, 8051 Evaluation kit, Flash Magic, Dc motor Interfacing Kit,
FRC

INTERFACING DIAGRAM FOR DC MOTOR:

49
G.S.Mandal’s

Marathwada Institute of Technology, Aurangabad.


Department of Electrical Engineering

PROGRAM A: Write a program for DC motor interfacing in clockwise direction

PROGRAM B: Write a program for Dc motor interfacing in anticlockwise direction

50
G.S.Mandal’s

Marathwada Institute of Technology, Aurangabad.


Department of Electrical Engineering

CONCLUSION:

______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________

Q1. Explain the steps for interfacing DC motor to 8051

______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________

51
G.S.Mandal’s

Marathwada Institute of Technology, Aurangabad.


Department of Electrical Engineering

SUBJECT-Microprocessor and Microcontroller

Evaluation Sheet

Aim:-

Practical performance Date:-

Practical checking Date:-

Evaluation Criteria Skill Yes/No/NA Marks Total

Understanding (1) A

Program (2) A

Result(1) P

Oral (2) C

Conclusion(2) C

Question Answers (2) C

Total(10)

Subject Teacher

52
G.S.Mandal’s

Marathwada Institute of Technology, Aurangabad.


Department of Electrical Engineering

Experiment No.: 11
AIM: To Interface stepper motor to 8051 microcontroller

EQUIPMENTS: SIDE51 Software, 8051 Evaluation kit, Flash Magic, Stepper motor
Interfacing Kit, FRC

INTERFACING DIAGRAM OF STEPPER MOTOR WITH 8051:

53
G.S.Mandal’s

Marathwada Institute of Technology, Aurangabad.


Department of Electrical Engineering

PROGRAM A: Write a program for Stepper motor interfacing in clockwise direction

54
G.S.Mandal’s

Marathwada Institute of Technology, Aurangabad.


Department of Electrical Engineering

PROGRAM B: Write a program for Stepper motor interfacing in anticlockwise direction

CONCLUSION:

______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________

55
G.S.Mandal’s

Marathwada Institute of Technology, Aurangabad.


Department of Electrical Engineering

56

You might also like