microcontroller lab syllabus
microcontroller lab syllabus
LIST OF EXPERIMENTS:
I. Programming
1. Data Transfer: Block Move, Exchange, Sorting, Finding largest
element in an array.
2. Arithmetic Instructions - Addition/subtraction, multiplication and
division, square, Cube – (16 bits Arithmetic operations – bit
addressable).
3. Counters.
4. Boolean & Logical Instructions (Bit manipulations).
5. Conditional CALL & RETURN.
6. Code conversion: BCD-ASCII; ASCII-Decimal; Decimal-ASCII;
HEX-Decimal and Decimal- HEX.
II. Interfacing
1. Write a C program to rotate Stepper motor control interface to 8051.
2. Write a C program to rotate DC motor control interface to 8051.
3. Write a C program to interface an LCD display and to display a
message on it.
4. Write a C program to interface Counter Program.
5. Generate different waveforms using DAC interface to 8051.
134
DEMONSTRATION EXPERIMENTS (FOR CIE ONLY):
Course Outcomes: On the completion of this laboratory course, the students
will be able to:
1. Analyze 8051 C programs to perform data transfer, arithmetic, Boolean
and logical operations.
2. Analyze 8051 C programs to perform counter operation along with
conditional call and return operation.
3. Analyze 8051 C programs to perform code conversion operation like
BCD, ASCII, decimal and Hex operation.
4. Demonstrate the interfacing of 8051 Programs with Stepper Motor,
DC Motor, LCD Display and Counters.
5. Demonstrate the interfacing of 8051 Programs to generate different
waveform using DAC.
135