4
ANNA UNIVERSITY, CHENNAI-600 025  B.E/ B.Tech DEGREE EXAMINATIONS, Oct/Nov 2013 Regulations-2008 Fifth Semester B.E Electronics and Communication Engineering EC2308 - Microprocessors and Microcontrollers Lab Duration : 3 hours Max.Marks :100 1. A 8051 micro controller based PI controller requires a f requency measurements to  be performed for every 35 ms. Write and execute an assembly language  program to measure the frequency using period measurement technique. 100 2. Write and execute an ALP to control the speed and dir ection of a DC motor interfaced to a 8086 microprocessor. 100 3. Write and execute an assembly language program to sort the given array of number in ascending order and display the results in the L CD panel using a 16 bit  processor. 100 4. Write an ALP to run a stepper motor in anticlockwise direction using 8086 microprocessor. Use hybrid scheme for motor excitation. 100

EC2308 SET3

Embed Size (px)

Citation preview

Page 1: EC2308 SET3

8/10/2019 EC2308 SET3

http://slidepdf.com/reader/full/ec2308-set3 1/4

ANNA UNIVERSITY, CHENNAI-600 025 

B.E/ B.Tech DEGREE EXAMINATIONS, Oct/Nov 2013

Regulations-2008

Fifth Semester

B.E Electronics and Communication Engineering

EC2308 - Microprocessors and Microcontrollers Lab

Duration : 3 hours Max.Marks :100

1. A 8051 micro controller based PI controller requires a frequency measurements to be performed for every 35 ms. Write and execute an assembly language

 program to measure the frequency using period measurement technique.

100

2.Write and execute an ALP to control the speed and direction of a DC motor

interfaced to a 8086 microprocessor.100

3.Write and execute an assembly language program to sort the given array of

number in ascending order and display the results in the LCD panel using a 16 bit

 processor.

100

4. Write an ALP to run a stepper motor in anticlockwise direction using 8086microprocessor. Use hybrid scheme for motor excitation.

100

Page 2: EC2308 SET3

8/10/2019 EC2308 SET3

http://slidepdf.com/reader/full/ec2308-set3 2/4

5. Write and execute an ALP to convert the two different analog signal applied inthe ADC‘s 1

st  and 6

th

 

8086 microprocessor.100

6. Write an assembly language program to compute the standard deviation andvariance of the given array of numbers. Execute the program using 8086

microprocessor

100

7. Write and execute a program to get data from one pin of a PORT and send it to

external system to another pin of the same PORT to toggle an LED continuously

while a serial interrupt service routine will receive data from a PC and display iton one of the ports using a 8051 microcontroller.

100

8.Write and execute 8086 based an assembly language program to sort the numbersstored in an array in ascending as well as descending order. Assume that the first

location in the array hold the number of elements in the array and successive

memory location will have actual array elements. Write a separate subroutine toarrange the numbers in ascending and descending order. Accept a key from thekeyborad.

a. If 0 entered, Arrange in ascending

 b. If any other key except ‘0’ entered, Arrange in descending

100

Page 3: EC2308 SET3

8/10/2019 EC2308 SET3

http://slidepdf.com/reader/full/ec2308-set3 3/4

9.Write and execute an assembly language program to compute mean, median and

mode of the given array of number using 8086 microprocessor.

Accept a key from the user.

a. If user enters 5, display mean

 b. If user enters 6, display median

c. if user enter 7, display mode.

100

10. Write and execute an assembly language program to perform multiplication and

division of two 32 bit numbers using 8086 microprocessor.

100

11.Write and execute an assembly language program to interface ADC and 8086

microprocessor. Convert the analog signal applied at the ADC’s 5th

 

channel100

12.

Write and execute an assembly language program to generate the sine wave of

frequency 50 HZ. Demonstrate the signal generation using a DAC and 8086microprocessor and observe the sine wave on the scope.

100

13. Write and execute a function to transfer a set of octel data from an 8051microcontroller to a Personal computer through suitable serial port with baud rate

4800.

100

14. Write and execute an assembly language program to find the median, mode and

variance of the given array of number by entering through keyboard using a 8051

microcontroller. Display the results on the PC monitor using serial port

100

Page 4: EC2308 SET3

8/10/2019 EC2308 SET3

http://slidepdf.com/reader/full/ec2308-set3 4/4

 

15.Write and execute an assembly language program to establish serial

communication between two 8086 microprocessor through 8251. Initialize

microprocessor 1 in asynchronous transmitter mode and microprocessor 2 in

asynchronous receiver mode.

100

16.Write and execute an assembly language program to establish parallel

communication between two 8086 microprocessor through 8255 in mode 1.

17. Write and execute an assembly language program to realize a stop watch using8086 microprocessor and display the count sequence in - Hrs:Min: seconds format.

100

18.Implement the stepper motor control in hybrid control scheme to rotate the motor

in clockwise for 35 ms and anticlockwise direction for 45 ms using 8086

microprocessor.

100

19. Write and execute an assembly language program to control the speed of the DC

motor using 8086 microprocessor. Interface the DAC with 8086 microprocessor

to generate the PWM signal and Consider 40% duty cycle ratios for the speed

control of the motor.

100

20. Write and execute an assembly language program to generate a triangular wave

with a pulse of 25 ms using 8086 microprocessor through 8253 in Mode 0 .

100