Microprocessors and Microcontrollers

Click on the topics for video lectures and tutorials

Theory

Introduction to Microprocessor:

Introduction and Main Features

Architecture of μP Intel8085

Timing Diagram of μP Intel 8085 and Instruction Set Part-1

Instruction Set of μP 8085 Part-2

Instruction Set of μP 8085 Part-3

Addressing Modes and Complete Instruction Set of μP 8085

Assembly Language Programming

Interrupts:

Structure, Hardware and Software Interrupts, Vectored and Non-Vectored Interrupts, Latency Time

and Response Time. [2]

Interfacing:

Basic Interfacing Concepts, Memory Mapped I/O and I/O Mapped I/O and Isolated I/O Structure,

Partial/Full Memory Decoding, Interfacing of Programmable Peripheral Interface (PPI) Chip (8255), Address

Allocation Technique and Decoding, Interfacing of I/O Devices (LEDs and Toggle-Switches as Examples). [4]

Introduction to Microcontroller: Introduction, Types, Basic Block Diagram, Comparison of Microcontroller

with Microprocessors, Comparison of 8 Bit, 16 Bit and 32 Bit Microcontrollers. [2]

8051 Microcontroller:

Architecture, Internal Block Diagram, Key Features, Pin Diagram, Memory

Organization, Internal RAM, Internal ROM, General Purpose Data Memory, Special Purpose/Function

Registers, External Memory, Program Counter and ROM Memory Map, Data Types and Directives, Flag Bits

and Program Status Word (PSW) Register, Jump, Loop and Call Instructions. [10]

8051 I/O Port Programming:

Introduction of I/O Port Programming, Pin-Out Diagram of 8051

Microcontroller, I/O Port Pins Description and their Functions, I/O Port Programming in 8051 (using Assembly

Language), I/O Programming: Bit Manipulation. [4]

8051 Programming:

8051 Addressing Modes and Accessing Memory Locations using Various Addressing

Modes, Assembly Language Instructions using Addressing Mode, Arithmetic and Logic Instructions, 8051

Programming in C for Time Delay and I/O Operations and Manipulation, for Arithmetic and Logic operations,

for ASCII and BCD Conversions, 8051 Assembly Language Programming Examples. [10]

Introduction to Embedded System:

Embedded Systems and General Purpose Computer Systems, Architecture

of Embedded System, Classifications, Applications and Purpose of Embedded Systems.

Practical

Section-A: Programs using 8085 Microprocessor:

1. Transfer of Block of Data.

2. Addition and Subtraction of Numbers using Direct Addressing Mode.

3. Addition and Subtraction of Numbers using Indirect Addressing Mode.

4. Multiplication by Repeated Addition.

5. Division by Repeated Subtraction

6. Handling of 16-Bit Numbers.

7. Search a given Number in a given List.

8. Generate Fibonacci Series.

9. Sorting of numbers in Ascending/Descending Order.

10. To Find Square Root of an Integer.

11. Use of CALL and RETURN Instruction.

12. To Study Interfacing of IC 8255.

13. Other Programs (e.g. Parity Check, using Interrupts, etc.)

14. Program to Verify Truth Table of Logic Gates.

Section-B: Experiments using 8051 Microcontroller:

1. To Find that the given Numbers are Prime or not.

2. To Find the Factorial of a Number.

3. To Find (a) Largest of N Numbers and (b) Smallest of N numbers.

4. To Find Whether the given Data is Palindrome.

5. To Arrange the Numbers in Ascending/Descending Order.

6. Write a Program to Make the Two Numbers Eequal by Increasing the Smallest Number and Decreasing the

Largest Number.

7. Use one of the Four Ports of 8051 for O/P Interfaced to Eight LED’s. Simulate Binary Counter (8 Bit) on

LED’s .

8. Program to Glow the First Four LEDs then next Four using TIMER Application.

9. Program to Rotate the Contents of the Accumulator First Right and then Left.

10. Program to Run a Countdown from 9-0 in the Seven Segment LED Display.

11. To Interface Seven Segment LED Display with 8051 Microcontroller and Display ‘HELP’ in the Seven

Segment LED Display.

12. To Toggle ‘1234’ as ‘1324’ in the Seven Segment LED Display.

13. Interface Stepper Motor with 8051 and Write a Program to Move the Motor through a given Angle in

Clockwise or Counter Clockwise Direction.

14. Application of Embedded Systems: Temperature Measurement and Display on LCD.

BOOKS AND REFERENCES

  1. Gaonkar, Microprocessor Architecture, Programming and Applications with the 8085, Penram.

  2. B. Ram, Fundamentals of Microprocessors and Microcomputers, Dhanpat Rai.

  3. Krishna Kant, Microprocessors and Microcontrollers: Architecture, Programming and System Design, PHI.

  4. Mathur and Panda, Microprocessors and Microcontrollers, PHI.

  5. Shah, 8051 Microcontrollers: MCS 51 Family and its Variants, Oxford.

  6. Ayala and Gadre, The 8051 Microcontroller and Embedded System using Assembly and C, Cengage.

  7. Raj Kamal, Embedded Systems: Architecture, Programming and Design, Tata McGraw Hill.

  8. Mazidi, Mazidi and McKinlay, The 8051 Microcontroller and Embedded Systems Using Assembly and C,

Pearson.

  1. Barrett, Embedded Systems: Design and Applications, Pearson Education.

  2. Valvano, Embedded Microcomputer System: Real Time Interfacing, Cengage Learning.