Lab Manual of ECE316 PDF
Lab Manual of ECE316 PDF
Table of Contents
Sr. No.
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
Name of Experiment
Basic 8085 programs using kit
8085 Programs on Kit
Code conversion using 8085
8085 and Stepper Motor
Analog to Digital Conversion using 8085
8051 Basic Program
GPIO of 8051
LCD and 8051
Keyboard and 8051
ADC and 8051
Page No.
3
12
22
28
31
34
37
40
43
47
Experiment-1
AIM: To perform the basic 8085 programs using kit
i)
ii)
iii)
iv)
Algorithm:
Program: i)
ii)
Algorithm:
Program ii)
iii)
Algorithm :
Program iii)
iv)
Algorithm:
Program iv)
Cautions:
a. Before enter the program press RST key on 8085 kit.
b. Proper care must be taken while handling the microprocessor kit.
Learning outcomes: Mathematical operations using 8085 microprocessor.
Registration No.
AIM:
Observation Table:
i)
Sr. no.
Result
3rd location= data
Without
carry
With
carry
ii)
Sr. no.
2nd location=data
Result
3rd location=data
2nd location=data
Result
3rd location=data
Result
3rd location=data
Without carry
With carry
iii)
Sr. no.
Without carry
With carry
iv)
Sr. no.
1st location=data
Without carry
With carry
Learning Outcomes (what I have learnt):
10
Marks Obtained
Max. Marks
20
20
10
Total Marks
Obtained
11
Experiment 2:
AIM: To perform the 8085 programs on kit
i)
ii)
iii)
iv)
Algorithm:
Program
i)
12
ii)
Algorithm:
13
Program: ii)
14
iii)
Sorting of nos . in ascending order
Algorithm:
15
Program iii)
iv)
Algorithm:
16
Program iv)
17
(c) ) Select the starting RAM address for writing the code.
(d) Start writing the above mentioned program(s) from the selected RAM
address.
(e) For executing the code, press G and write the memory location from
which the code has been started.
(f) Then press shift + $
Cautions:
a. Before enter the program press RST key on 8085 kit.
b. Proper care must be taken while handling the microprocessor kit.
Result: Mathematical operations using 8085 microprocessor.
19
Worksheet of performance
Date of performance:
Registration No.:
AIM:
i)
Sr. no.
ii)
1st location=data
2nd location=data
Result
3rd location=data
Input address
iv)
Result
3rd location=data
Sr. no.
iii)
2nd location=data
Value
Input address
Value
Learning outcomes:
20
Marks Obtained
Max. Marks
20
20
10
Total Marks
Obtained
21
Experiment -3
AIM: To perform the Code conversion program using 8085
i)
ii)
Algorithm:
Program: i)
22
ii)
Algorithm:
23
Program ii)
24
Cautions:
a. Before enter the program press RST key on 8085 kit.
b. Proper care must be taken while handling the microprocessor kit.
Result: Code conversion using 8085 microprocessor.
26
Worksheet of student
Date of performance:
No.:
Registration
Aim:
i)
Input address=
Output address =
ii)
Value=
Value=
Input address=
Output address=
Value=
Value=
Learning outcomes:
Marks Obtained
Max. Marks
20
20
10
Total Marks
Obtained
27
Experiment- 4
AIM: To perform the Interfacing and control of stepper motor using 8085 microprocessor.
Requirement: Stepper motor , 8085 kit
Algorithm:
Program:
Forward direction:
Reverse direction:
28
Result: Thus, an assembly language program to control the stepper motor was written
using 8085 kit.
29
Worksheet of student
Date of performance:
Registration no.:
AIM:
i)
ii)
Forward direction
Input address
Value
Reverse direction
Input address
Value
Learning outcomes:
Marks Obtained
Max. Marks
20
20
10
Total Marks
Obtained
30
Experiment no. 5
AIM: To perform an assembly language program to convert analog to digital signal
and to display it in 7-segment LED display.
Requirements: 8085 kit, 7-segment LED, wires, bread board.
Circuit:
Program:
31
32
Worksheet of student
Date of performance:
No.:
Registration
AIM:
Result
Learning outcomes:
Marks Obtained
Max. Marks
20
20
10
Total Marks
Obtained
33
Experiment no. 6
AIM: To perform the Basic programs of 8051
i)
ii)
iii)
iv)
To perform the experiment to toggle all the bits of P1 after some delay.
To perform the experiment to generate square wave of 50% duty cycle on bit 0 of
port 1.
To perform the experiment to add two 16 bit nos. 3CE7H and 3B8DH. Place the
sum in R7 and R6 (lower byte).
To perform the experiment for HEX to ASCII conversion.
Program i)
Program ii)
Program iii)
34
Program iv)
35
Worksheet of student
Date of performance:
Registration No.:
AIM:
Marks Obtained
Max. Marks
20
20
10
Total Marks
Obtained
36
Experiment no. 7
AIM: To perform the GPIO of 8051
To perform the experiment to display a pattern on LED's connected at the port of 8051 using
switches.
Requirements: Keil software,Proteus software Switches,LEDs, 8051,11.0592 MHz
crystal,33pF(2),10F,10K,push button, Bread board, connecting wires,5V power supply.
Learning Objectives: Use of keil software to display a pattern on LED's connected at the port
of 8051 using switches.
Outline of the procedure:
Circuit Diagram:
37
Program :
org 0000h
mov p1,#0ffh
back:mov p2,#00h
mov a,p1
cje a,0ffh,back
anl a,#03h
cne a,01,k1
mov p2,#0aah
acall delay
mov p2,#55h
acall delay
sjmp back
k1:mov p2,#ffh
acall delay
mov p2,#00h
acall delay
sjmp back
delay:mov r0.#08h
b3:mov r1,#0ffh
b2:mov r2,#0ffh
b1:djnz r2,b1
djnz r2,b2
djnz r2,b3
ret
38
Worksheet of student
Date of performance:
Registration No.:
AIM:
Learning Outcome:
Marks Obtained
Max. Marks
20
20
10
39
Signature of Faculty
Total Marks
Obtained
40
Experiment no. 8:
AIM: To perform the Interfacing of LCD with 8051 microcontroller.
Requirements: Keil software,Proteus software ,8051,11.0592 MHz
crystal,33pF(2),10F,10K,push button,1K,LCD,Bread board, connecting wires,5V power
supply.
Circuit Diagram:
40
40
41
Worksheet of student
Date of performance:
Registration no.:
AIM:
Learning Outcome:
Marks Obtained
Max. Marks
20
20
10
Total Marks
Obtained
42
Experiment no. 9:
AIM: To perform the Interfacing of keyboard with microcontroller 8051.
Requirements: Keil software,proteus software,8051,11.0592 MHz ,10F,10K,push
button,1K,LCD,Bread board, connecting wires,5V power supply, 5piece of keys, 4k
resistor,10k resistor, crystal,33pF(2).
Circuit Diagram:
43
44
45
Worksheet of student
Date of performance:
Registration No.:
AIM:
Learning outcomes:
Marks Obtained
Max. Marks
20
20
10
Total Marks
Obtained
46
Experiment 10:
AIM: To perform the Interfacing of ADC with 8051 microcontroller.
Requirements: Keil software,proteus software,8051 ,11.0592MHz crystal, 33pf
,10f,10K,push button,1K,Analog to digital convertor (ADC0804), breadboard, connecting
wires, 5v power supply.
Circuit Diagram:
Program:
47
48
49
50
Worksheet of student
Date of performance:
Registration No.:
AIM:
Learning outcomes:
Marks Obtained
Max. Marks
20
20
10
Total Marks
Obtained
50