EC2313 MICROPROCESSOR AND MICROCONTROLLER LABORATORY Syllabus - Anna University


EC2313             MICROPROCESSOR AND MICROCONTROLLER LABORATORY         L T P C
0 0 3 2


AIM


To understand programming using instruction sets of processors and microcontroller.



8-bit Microprocessor
1.  Simple arithmetic operations:
·    Addition / subtraction / multiplication / division.

2.  Programming with control instructions:
·    Increment / Decrement.
·    Ascending / Descending order.
·    Maximum / Minimum of numbers.
·    Rotate instructions.
·    Hex / ASCII / BCD code conversions.

3.  Peripheral Interface Experiments:
·    Simple experiments using 8251, 8279, 8254, 8259, 8255.

4.  Interface Experiments:
·    A/D Interfacing.
·    D/A Interfacing.
·    Traffic light controller.

5.  Programming practice on assembler and simulator tools.
8-bit Micro controller
6.  Demonstration of basic instructions with 8051 Micro controller execution, including:
·    Conditional jumps, looping
·    Calling subroutines.
·    Stack parameter testing


7.  Parallel port programming with 8051 using port 1 facility:
·    Stepper motor
·     D / A converter.
8.  Programming Exercise on
·    RAM direct addressing
·     Bit addressing

9.  Programming practice using simulation tools and C - compiler
·    Initialize timer
·    Enable interrupts.

10. Study of micro controllers with flash memory.


DETAILED SYLLABUS:
8-bit Microprocessor
1.         SIMPLE ARITHMETIC OPERATIONS
a.  Addition / subtraction / multiplication / division.
AIM
To perform simple arithmetic operations using assembly language program.
EXERCISE
1.         Write an assembly language program using 8085 instructions set to perform the following arithmetic operations

1.         Addition of two 8 bit numbers
2.         Subtraction of two 8 bit numbers
3.         Multiplication of two 8 bit numbers
4.         Division of two 8 bit numbers

2.         PROGRAMMING WITH CONTROL INSTRUCTIONS
a.  Increment / Decrement.
b.  Ascending / Descending order.
c.   Maximum / Minimum of numbers.
d.  Rotate instructions.
e.  Hex / ASCII / BCD code conversions.
AIM
To write an assembly language program using the control instructions
EXERCISE
1 Using the control instructions of 8085 microprocessor write assembly language programs to perform the following
1.         Arrange the given array of data in ascending and descending order
2.         Find the maximum and minimum number in a group of data given.
3.          Conversion of the following

1.         ASCII to HEX code
2.         Conversion of HEX to ASCII code
3.         Conversion of BCD to HEX
4.         Conversion of HEX to BCD

3       PERIPHERAL INTERFACE EXPERIMENTS:
a.  Simple experiments using 8251, 8279, 8254, 8259, 8255.
4.      INTERFACE EXPERIMENTS:


A/D Interfacing. D/A Interfacing.
Traffic light controller.
Aim
To write an assembly language program to convert Analog input to Digital output and
Digital input to Analog output.
EXERCISE
1.         Write an assembly language program (using 8085) to convert Analog input to Digital output
2.         Write an assembly language programs to convert digital input into analog signal of following type.
1.         Square wave
2.         Triangular wave
3.         Sawtooth wave

5.    PROGRAMMING PRACTICE ON ASSEMBLER AND SIMULATOR TOOLS.
8-BIT MICRO CONTROLLER
6.    DEMONSTRATION OF BASIC INSTRUCTIONS WITH 8051 MICRO CONTROLLER EXECUTION,  INCLUDING:
·    Conditional jumps, looping
·    Calling subroutines.
·    Stack parameter testing


AIM


To demonstrate use of control logic instructors.



EXERCISE
1.        To write programs which can include instruction sets for jump, loop, cell, return, stack.
2.        To observe the change in status registers and various relevant registers.

7.       PARALLEL PORT PROGRAMMING WITH 8051 USING PORT 1 FACILITY:
·    Stepper motor
·     D / A converter.
AIM
To demonstrate the access of parallel port.

EXERCISE
1.   To develop command words on choice of port, addressing of port pins.
2.   To vary timing cycle of speed of motor, direction of motor.
3.  To demonstrate generation of sine wave saw tooth, triangular wave of various frequency, amplitude.

8 .    PROGRAMMING EXERCISE ON
·          RAM direct addressing
·          Bit addressing



AIM


To write the program to check the content of memory locations using READ / WRITE instructions using different addressing modes.


EXERCISE
To READ / WRITE the content of RAM registers, bits and the RAM from


location 1 to N and check the display with say LEDs.

9.     PROGRAMMING PRACTICE USING SIMULATION TOOLS AND C – COMPILER

·    Initialize timer
·    Enable interrupts.

AIM
To use the facility of popular Micro controller programming tools like KEIL or     RIDE
software.

EXERCISE
1.         To study the initializing of timer interrupt with context saving like increasing or decreasing the counter count.
2.         To demonstrate use of instruction like cjne, djnz, jb etc.

10. STUDY OF MICRO CONTROLLERS WITH FLASH MEMORY.



AIM


To familiarize of loading and executing on flash memory.



EXERCISE
1.         To write the program to generate sine wave, square wave etc.
2.         To vary the frequency, amplitude of the signal.


S.No.
Description of Equipment
Quantity
required
1.
8085 Microprocessor Trainer with Power supply
10
2.
8051 Micro controller Trainer Kit with power supply
10
3.
8255 Interface board
5
4.
8251 Interface board
5
5.
8259 Interface board
5
6.
8279 Keyboard/Display Interface Board
5
7.
8253 timer counter
5
8.
ADC and DAC card
5 each

 
TOTAL : 45 PERIODS REQUIREMENT FOR A BATCH OF 30 STUDENTS



9.
Stepper motor with Controller
1
10.
Traffic Light Control System
1
11.
Regulation power supply
1
12.
Universal ADD-ON modules
3
13.
8 Digit Multiplexed Display Card
2
14.
Function Generator
3
15.
Multimeter
3
16.
C Compliers
2
17.
KEIL or RIDE software
2 licenses
18.
8051 Microcontroller trainer kit with flash memory
2
19.
AT89C51 Microcontroller Kit
2












By Vinoth
Previous
Next Post »