MICRO CONTROLLER LAB MANUAL
FOR BE ¾ YEAR 2ND SEMESTER
1
BE ¾ (ECE) 2nd Semester MICRO CONTROLLER LAB LIST OF EXPERIMENTS
Exp No. 1- Familiarity and use of 8051 Micro controller Trainer. Exp No. 2- Instruction set for simple programs for data transfer, & 3 manipulation, arithmetic operations, branching operations, logical operations and testing condition of bit in a byte. Exp No. 4- Code conversion programs. Exp No. 5- Timer and counter programming using 8051 Exp No. 6- Serial mode operation of 8051 Exp No. 7- Interfacing DAC module using 8051 Exp No. 8- Interfacing Traffic signal control using 8051 Exp No. 9- Interfacing 7-segment display using 8051 Exp No.10-Interfacing Stepper motor control using 8051 Exp No.11-Familiarity with MCBX51 board and writing programs for MCBX51. Program for Blinking of LEDs. Exp No.12-Real time clock using 8051.
2
BE ¾ (ECE) 2ND SEMESTER MICRO CONTROLLER LAB LIST OF EXPERIMENTS
Experiment No.1: Familiarity and use of 8051 (ESA-31) Micro controller kit trainer. Experiment No.2: Simple programs in 8051 Assembly code and their execution. Program 1: Addition of two 16 bit numbers using registers. Program 2: Copying of byte data in RAM memory locations using a) Direct addressing b) Register indirect addressing c) Using loop structure. Program 3: Sum of a series of byte elements Program 4: Copying a data block from source to destination. Program 5: Count number of 1’s in a byte. Program 6: Multiplication of two unsigned 8-bit binary numbers. Program 7: Division of two unsigned 8-bit binary numbers. Program 8: Searching of a byte element in a data block.
Experiment No.3: Arithmetic, Logical & Branching operations. Program 9: Multi byte binary addition Program 10: Multi byte BCD addition Program 11: Multi byte binary subtraction
3
Program 12: Testing condition of a bit in a byte of data. Program 13: Finding largest element in a block of data array.