Ece316 - Lab

Embed Size (px)

Citation preview

  • 8/9/2019 Ece316 - Lab

    1/5

    Lovely Professional University, Punjab

    Course Code Course Title Course Planner Lectures Tutorials Practicals Credits

    ECE316 MICROPROCESSOR AND MICROCONTROLLERLABORATORY

    16905::Kanwaljeet Singh 0.0 0.0 3.0 2.0

    Course Category Practical Course

    TextBooks

    Sr No Title Author Edition Year Publisher Name

    T-1 MICROPROCESSOR ANDMICROCONTROLLERS

    SOUMITRA KUMARMANDAL

    2nd 2011 TATA MCGRAW - HILL EDUCATION

    Reference Books

    Sr No Title Author Edition Year Publisher Name

    R-1 THE 8051 MICROCONTROLLERSAND EMBEDDED SYSTEMS

    MUHAMMAD ALIMAZIDI AND JANICEGILLISPIE MAZIDI

    2nd 2006 PEARSON EDUCATION

    R-2 MICROPROCESSOR

    ARCHITECTURE ,PROGRAMMING ANDAPPLICATIONS WITH THE 8085

    RAMESH S GAONKAR 4th PENRAM INTERNATIONAL PUBLISHING PRIVATE

    LIMITED

    Relevant Websites

    Sr No (Web address) (only if relevant to the course) Salient Features

    RW-1 http://8085projects.info/category/8085-microprocessor/8085-programs Programs related 8085 i.e. experiments no. 1 to 5

    RW-2 http://www.8051projects.info/resources/temperature-controller-using-ds1820-and-lcddisplay. 7/ 

    interfacing related to LCD with 8051 microcontroller

    Software/Equipments/Databases

    Sr No (S/E/D) (only if relevant to the course) Salient Features

    SW-1 http://iitkgp.vlab.co.in/?sub=39&brch=125 Experiments related to microcotroller various simulations and hardwareimplemetations shown

    SW-2 Keil software For simulations of 8051 programs ( Experiment no.6)

    SW-3 Proteus Simulation of 8051 based circuits ( experiment no. 8,9,10)

    SW-4 Simulator Simulations for 8085 microprocessor ( Experiment no. 1 ,2 and 3)

    Virtual Labs

    Sr No (VL) (only if relevant to the course) Salient Features

    VL-1 http://iitkgp.vlab.co.in/?sub=39&brch=125 Experiments related to microcontroller i.e. experiment no. 8 to 10

  • 8/9/2019 Ece316 - Lab

    2/5

    Detailed Plan For Practicals

    Practical No Broad topic (Subtopic) Practical Description Learning Outcomes Equipment Used

    Practical 1 Basic 8085 programs using kit(Write aprogram for subtraction of two 16-bitnos.)

    Practical 1: Introduction to practicals beforeMTE.Practical 2: Student will write the programfor 8085 microprocessor and load theequivalent opcodes in the program memoryof 8085 microprocessor to execute specifictask for subtraction of two 16-bit nos.

    tudent will be familiarized with variousfunction of Microprocessor 8085 Kit andimplement arithmetic operations forsubtraction of two 16-bit nos. using 8085microprocessor

    Microprocessor 8085 kit

    Basic 8085 programs using kit(Write aprogram for addition of two 8-bit nos.)

    Practical 1: Introduction to practicals beforeMTEPractical 2: Student will write the programfor 8085 microprocessor and load theequivalent opcodes in the program memory

    of 8085 microprocessor to execute specifictask for addition of two 8-bit nos.

    tudent will be familiarized with variousfunction of Microprocessor 8085 Kit andimplement arithmetic operations such asfor addition of two 8-bit nos. using 8085microprocessor

    Microprocessor 8085 kit

    Basic 8085 programs using kit(Write aprogram for subtraction of two 8-bitnos.)

    Practical 1: Introduction to practicals beforeMTE.Practical 2: Student will write the programfor 8085 microprocessor and load theequivalent opcodes in the program memoryof 8085 microprocessor to execute specifictask for subtraction of two 8-bit nos.

    tudent will be familiarized with variousfunction of Microprocessor 8085 Kit andimplement arithmetic operation forsubtraction of two 8-bit nos. using 8085microprocessor

    Microprocessor 8085 kit

    Basic 8085 programs using kit(Write a

    program for addition of two 16-bit nos.)

    Practical 1: Introduction to practicals before

    MTE.Practical 2: Student will write the programfor 8085 microprocessor and load theequivalent opcodes in the program memoryof 8085 microprocessor to execute specifictask for addition of two 16-bit nos.

    tudent will be familiarized with various

    function of Microprocessor 8085 Kit andimplement arithmetic operations forddition of two 16-bit nos. using 8085

    microprocessor

    Microprocessor 8085 kit

    Practical 2 Basic 8085 programs using kit(Write aprogram for addition of two 16-bit nos.)

    Practical 1: Introduction to practicals beforeMTE.Practical 2: Student will write the programfor 8085 microprocessor and load theequivalent opcodes in the program memoryof 8085 microprocessor to execute specific

    task for addition of two 16-bit nos.

    tudent will be familiarized with variousfunction of Microprocessor 8085 Kit andimplement arithmetic operations forddition of two 16-bit nos. using 8085

    microprocessor

    Microprocessor 8085 kit

    *Each experiment of the lab will be evaluated using following relative scheme:

    Component % of Marks

    Performance 100

  • 8/9/2019 Ece316 - Lab

    3/5

    Practical 2 Basic 8085 programs using kit(Write aprogram for subtraction of two 8-bitnos.)

    Practical 1: Introduction to practicals beforeMTE.Practical 2: Student will write the programfor 8085 microprocessor and load theequivalent opcodes in the program memoryof 8085 microprocessor to execute specifictask for subtraction of two 8-bit nos.

    tudent will be familiarized with variousfunction of Microprocessor 8085 Kit andimplement arithmetic operation forsubtraction of two 8-bit nos. using 8085microprocessor

    Microprocessor 8085 kit

    Basic 8085 programs using kit(Write aprogram for addition of two 8-bit nos.)

    Practical 1: Introduction to practicals beforeMTEPractical 2: Student will write the program

    for 8085 microprocessor and load theequivalent opcodes in the program memoryof 8085 microprocessor to execute specifictask for addition of two 8-bit nos.

    tudent will be familiarized with variousfunction of Microprocessor 8085 Kit andimplement arithmetic operations such as

    for addition of two 8-bit nos. using 8085microprocessor

    Microprocessor 8085 kit

    Basic 8085 programs using kit(Write aprogram for subtraction of two 16-bitnos.)

    Practical 1: Introduction to practicals beforeMTE.Practical 2: Student will write the programfor 8085 microprocessor and load theequivalent opcodes in the program memoryof 8085 microprocessor to execute specifictask for subtraction of two 16-bit nos.

    tudent will be familiarized with variousfunction of Microprocessor 8085 Kit andimplement arithmetic operations forsubtraction of two 16-bit nos. using 8085microprocessor

    Microprocessor 8085 kit

    Practical 3 8085 Programs on Kits(Write aprogram to multiply two 8-bitnos.)

    Student will write the program for 8085microprocessor and load the equivalentopcodes in the program memory of 8085microprocessor to execute specific task such as multiply two 8-bit nos.

    tudent will be familiarized with variousfunction of Microprocessor 8085 Kit andimplement arithmetic operations such asmultiply two 8-bit nos. using 8085microprocessor

    Microprocessor 8085 kit

    8085 Programs on Kits(Write aprogram for division of two 8-bit nos.)

    Student will write the program for 8085microprocessor and load the equivalentopcodes in the program memory of 8085microprocessor to execute specific task such as division of two 8-bit nos.

    tudent will be familiarized with variousfunction of Microprocessor 8085 Kit andimplement arithmetic operations such as

    ivision of two 8-bit nos. using 8085microprocessor

    Microprocessor 8085 kit

    8085 Programs on Kits(Write aprogram to sort given "n" numbers inascending order)

    Student will write the program for 8085microprocessor and load the equivalentopcodes in the program memory of 8085microprocessor to execute specific task such as sort given "n" numbers in ascendingorder

    tudent will be familiarized with variousfunction of Microprocessor 8085 Kit andimplement arithmetic operations such assort given "n" numbers in ascending orderusing 8085 microprocessor

    Microprocessor 8085 kit

    8085 Programs on Kits(Write aprogram to sort given "n' numbers indescending order)

    Student will write the program for 8085microprocessor and load the equivalentopcodes in the program memory of 8085microprocessor to execute specific task such as ort given "n' numbers in descendingorder

    tudent will be familiarized with variousfunction of Microprocessor 8085 Kit andimplement arithmetic operations such as

    rt given "n' numbers in descending orderusing 8085microprocessor

    Microprocessor 8085 kit

    Practical 4 Code conversion using 8085(write an

    assembly language program for Binaryto BCD code conversion.)

    Write the assembly language program for

    microprocessor 8085 for conversion fromBinary to BCD code .

    tudents will learn how to convert an 8-

    it binary data to BCD by usingmicroprocessor 8085 kit

    Microprocessor 8085 kit

  • 8/9/2019 Ece316 - Lab

    4/5

    Practical 4 Code conversion using 8085(write anassembly language program for BCD tobinary code conversion)

    Write the assembly language program formicroprocessor 8085 for conversion fromBCD to binary code .

    tudents will learn how to convert an 8-it BCD data to binary by using

    microprocessor 8085 kit

    Microprocessor 8085 kit

    Practical 5 8085 and Stepper Motor(Interfacingand control of stepper motor using 8085

    microprocessor)

    Performing the practical by usingmicroprocessor 8085 kit to make steppermotor run in forward and reverse direction

    tudents will learn how to rotate themotor clockwise and anticlockwise

    irection using microprocessor 8085 kit

    Microprocessor 8085 kit andstepper motor

    Practical 6 Seven segment display and 8085(Writean assembly language program toDisplay 0 to 9 on Seven segmentdisplay)

    Perform and write programs to Display 0 to9 on Seven segment display.

    tudents will learn how to interface Sevensegment with microprocessor 8085 kit .Also students will learn to makeonnections on breadboard.

    Microprocessor 8085 ,sevensegment display

    Practical 7 MTP1

    Practical 8 8051 Basic Programs(Write a programtotoggle all the bits of P1 after somedelay)

    Practical 8: Introduction to variousprograms after mid term . Introduction to8051 microcontroller by using keilcompiler.Practical 9: Write and perform programs onkeil compiler to toggle all the bits of P1after some delay.

    tudents will perform the followingrogram on keil compiler and will learnbout toggle all the bits of P1 after someelay.

    Keil compiler

    8051 Basic Programs(Write a programto generate square waveof 50% duty cycle on bit 0 of port 1)

    Practical 8: Introduction to variousprograms after mid term . Introduction to8051 microcontroller by using keil

    compiler.Practical 9: Write and perform programs onkeil compiler to generate square wave of50% duty cycle on bit 0 of port 1

    tudents will perform the followingrograms on keil compiler and will learnbout to generate square wave of 50%

    uty cycle on bit 0 of port 1.

    Keil compiler

    8051 Basic Programs(Write a programfor Hex to ASCII conversion)

    Practical 8: Introduction to variousprograms after mid term . Introduction to8051 microcontroller by using keilcompiler.Practical 9: Write and perform programs onkeil compiler to Hex to ASCII conversion.

    tudents will perform the followingrograms on keil compiler and will learnbout Hex to ASCII conversion.

    Keil compiler

    8051 Basic Programs(Write a programto add two 16 bit numbers 3CE7H and3B8DH. Place the sum inR7 and R6 (Lower Byte))

    Practical 8: Introduction to variousprograms after mid term . Introduction to8051 microcontroller by using keilcompiler.Practical 9: Write and perform programs onkeil compiler to add two 16 bit numbers3CE7H and 3B8DH. Place the sum in R7and R6 (Lower Byte).

    tudents will perform the followingrograms on keil compiler and will learnow to to add two 16 bit numbers 3CE7Hnd 3B8DH. Place the sum in R7 and R6

    (Lower Byte).

    Keil compiler

    Practical 9 8051 Basic Programs(Write a programto add two 16 bit numbers 3CE7H and3B8DH. Place the sum inR7 and R6 (Lower Byte))

    Practical 8: Introduction to variousprograms after mid term . Introduction to8051 microcontroller by using keilcompiler.Practical 9: Write and perform programs onkeil compiler to add two 16 bit numbers

    3CE7H and 3B8DH. Place the sum in R7and R6 (Lower Byte).

    tudents will perform the followingrograms on keil compiler and will learnow to to add two 16 bit numbers 3CE7Hnd 3B8DH. Place the sum in R7 and R6

    (Lower Byte).

    Keil compiler

  • 8/9/2019 Ece316 - Lab

    5/5

    Practical 9 8051 Basic Programs(Write a programfor Hex to ASCII conversion)

    Practical 8: Introduction to variousprograms after mid term . Introduction to8051 microcontroller by using keilcompiler.Practical 9: Write and perform programs onkeil compiler to Hex to ASCII conversion.

    tudents will perform the followingrograms on keil compiler and will learnbout Hex to ASCII conversion.

    Keil compiler

    8051 Basic Programs(Write a programto generate square waveof 50% duty cycle on bit 0 of port 1)

    Practical 8: Introduction to variousprograms after mid term . Introduction to8051 microcontroller by using keilcompiler.Practical 9: Write and perform programs on

    keil compiler to generate square wave of50% duty cycle on bit 0 of port 1

    tudents will perform the followingrograms on keil compiler and will learnbout to generate square wave of 50%uty cycle on bit 0 of port 1.

    Keil compiler

    8051 Basic Programs(Write a programtotoggle all the bits of P1 after somedelay)

    Practical 8: Introduction to variousprograms after mid term . Introduction to8051 microcontroller by using keilcompiler.Practical 9: Write and perform programs onkeil compiler to toggle all the bits of P1after some delay.

    tudents will perform the followingrogram on keil compiler and will learnbout toggle all the bits of P1 after someelay.

    Keil compiler

    Practical 10 GPIO of 8051(Write a program todisplay a pattern on LED's connected atthe port of 8051 using switches.)

    Student will write the program for 8051microcontroller and generate differentpatterns on LED's using Switches

    tudents will learn interfacing anderform experiment by generatingifferent patterns on LED's using

    witches

    8051 microcontroller andSwitches

    Practical 11 LCD and 8051(Interfacing of LCDwith8051 Micro-controller)

    Interface LCD and display message on it. tudents will learn interfacing anderform experiment by burning

    microcontroller. Also design circuit onProteus software.

    LCD and 8051 microcontroller

    Practical 12 Keyboard and 8051(Interfacing ofkeyboard with 8051 Microcontroller)

    Interface keyboard and read the value fromkeyboard and display it on LCD

    tudents will interfacing of matrixeyboard with 8051 and read the valuelso students will learn to make the designn Proteus software.

    8051 , LCD and switches

    Practical 13 ADC and 8051(Interfacing of ADCwith 8051 Micro-controller)

    Interface ADC and read the value fromADC

    tudents will learn Reading a digital valuefrom ADC

    8051 microcontroller ADC0804

    Practical 14 MTP2

    SPILL OVER

    Practical 15 Spill Over