About Me

header ads

MICROCONTROLLER LABORATORY (18EEL57)

 MICROCONTROLLER LABORATORY

Course Code 18EEL57 
CIE Marks 40 SEE Marks 60
Number of Practical Hours/Week (L:T:P) 0:2:2 
Credits 02 Exam Hours 3


Course Learning Objectives:

· To explain writing assembly language programs for data transfer, arithmetic, Boolean and logical
instructions.
· To explain writing assembly language programs for code conversions.
· To explain writing assembly language programs using subroutines for generation of delays,
counters, configuration of SFRs for serial communication and timers.
· To perform interfacing of stepper motor and DC motor for controlling the speed.
· To explain generation of different waveforms using DAC interface.

Experiments

Note: For the experiments 1 to 6, 8051 assembly programming is to be used.
1 Data transfer – Program for block data movement, sorting, exchanging, finding largest element in
an array.

2 Arithmetic instructions: Addition, subtraction, multiplication and division. Square and cube
operations for

3 Counters

4 Boolean and logical instructions (bit manipulation).

5 Conditional call and return instructions.

6 Code conversion programs – BCD to ASCII, ASCII to BCD, ASCII to decimal, Decimal to
ASCII, Hexa

Programs to generate delay, programs using serial port and on-chip timer/counters

Note: Single chip solution for interfacing 8051 is to be with C Programs for the following experiments.

8 Stepper motor interface.

9 DC motor interface for direction and speed control using PWM.

10 Alphanumerical LCD panel interface.

11 Generate different waveforms: Sine, Square, Triangular, Ramp using DAC interface.

12 External ADC and Temperature control interface.

13 Elevator interface.




Course Outcomes: At the end of the course the student will be able to:

· Write assembly language programs for data transfer, arithmetic, Boolean and logical instructions and code
conversions.
· Write ALP using subroutines for generation of delays, counters, configuration of SFRs for serial
communication and timers.
· Perform interfacing of stepper motor and dc motor for controlling the speed, elevator, LCD, external ADC
and temperature control.
· Generate different waveforms using DAC interface.
· Work with a small team to carryout experiments using microcontroller concepts and prepare reports that
present lab work.

Conduct of Practical Examination:

1. All laboratory experiments are to be included for practical examination.
2. Breakup of marks and the instructions printed on the cover page of answer script to be strictly adhered by
the examiners.
3. Students can pick one experiment from the questions lot prepared by the examiners.
4. Change of experiment is allowed only once and 15% Marks allotted to the procedure part to be made zero.