32
EC6504 MICROPROCESSOR AND MICROCONTROLLER Year/ Semester: 3/5 LTPC 3003 Prepared By S.DINESH SUNDAR/AP Dept of ECE

EC6504 MICROPROCESSOR AND MICROCONTROLLER Year/ Semester: 3/5 LTPC 3003 Prepared By S.DINESH SUNDAR/AP Dept of ECE

Embed Size (px)

Citation preview

Page 1: EC6504 MICROPROCESSOR AND MICROCONTROLLER Year/ Semester: 3/5 LTPC 3003 Prepared By S.DINESH SUNDAR/AP Dept of ECE

EC6504 MICROPROCESSOR AND MICROCONTROLLER

Year/ Semester: 3/5LTPC3003

Prepared By

S.DINESH SUNDAR/AP Dept of ECE

Page 2: EC6504 MICROPROCESSOR AND MICROCONTROLLER Year/ Semester: 3/5 LTPC 3003 Prepared By S.DINESH SUNDAR/AP Dept of ECE

PROGRAM OBJECTIVES

To produce graduates who understand the basic operation of a microprocessor and microcontroller system and who have learned fundamental programming skills in assembly language

Page 3: EC6504 MICROPROCESSOR AND MICROCONTROLLER Year/ Semester: 3/5 LTPC 3003 Prepared By S.DINESH SUNDAR/AP Dept of ECE

DEPARTMENT OBJECTIVES

• Optimize and integrate current information systems and services based upon a risk management framework (COBIT) and through multi-sourcing.

• Establish and centralize all functions related to systems development so as to avoid the risk of systems development becoming fragmented.

•Enhance staff competence and improve job performance through knowledge and use of information technology and resources.

Page 4: EC6504 MICROPROCESSOR AND MICROCONTROLLER Year/ Semester: 3/5 LTPC 3003 Prepared By S.DINESH SUNDAR/AP Dept of ECE

LIST OF SUBJECTS

Electronics CSE/IT

Digital Principles and System Design Programming and Data Structures I

Analog and Digital Communication Programming and Data Structures II

Microprocesor and Microcontroler Operating Systems

Digital Signal Procesing Wireles Communication

Compiler Design

Software Architectures

Cryptography and Network Security

Service Oriented Architecture

Page 5: EC6504 MICROPROCESSOR AND MICROCONTROLLER Year/ Semester: 3/5 LTPC 3003 Prepared By S.DINESH SUNDAR/AP Dept of ECE

AIM

To learn the architecture, programming, interfacing and system design of microprocessors and microcontrollers

Page 6: EC6504 MICROPROCESSOR AND MICROCONTROLLER Year/ Semester: 3/5 LTPC 3003 Prepared By S.DINESH SUNDAR/AP Dept of ECE

The student should be made to:

Study the Architecture of 8086 microprocessor.Learn the design aspects of I/O and Memory Interfacing circuits.Study about communication and bus interfacing.Study the Architecture of 8051 microcontroller.

OBJECTIVES

Page 7: EC6504 MICROPROCESSOR AND MICROCONTROLLER Year/ Semester: 3/5 LTPC 3003 Prepared By S.DINESH SUNDAR/AP Dept of ECE

At the end of the course, the student should be able to:

Design and implement programs on 8086 microprocessor.Design I/O circuits.Design Memory Interfacing circuits.Design and implement 8051 microcontroller based systems.

OUTCOMES

Page 8: EC6504 MICROPROCESSOR AND MICROCONTROLLER Year/ Semester: 3/5 LTPC 3003 Prepared By S.DINESH SUNDAR/AP Dept of ECE

INTRODUCTION

MICRO PROCESSOR

• Chip on a computer

MICRO CONTROLLER

• Computer on a chip

Page 9: EC6504 MICROPROCESSOR AND MICROCONTROLLER Year/ Semester: 3/5 LTPC 3003 Prepared By S.DINESH SUNDAR/AP Dept of ECE

COMPARISION

Page 10: EC6504 MICROPROCESSOR AND MICROCONTROLLER Year/ Semester: 3/5 LTPC 3003 Prepared By S.DINESH SUNDAR/AP Dept of ECE

APPLICATION

Page 11: EC6504 MICROPROCESSOR AND MICROCONTROLLER Year/ Semester: 3/5 LTPC 3003 Prepared By S.DINESH SUNDAR/AP Dept of ECE

SYLLABUS

UNIT I THE 8086 MICROPROCESSOR (9)

– Introduction to 8086 – Microprocessor architecture – Addressing modes – Instruction set and assembler directives – Assembly language programming – Modular Programming – Linking and Relocation – Stacks – Procedures – Macros – Interrupts and interrupt service routines – Byte and String Manipulation.

Page 12: EC6504 MICROPROCESSOR AND MICROCONTROLLER Year/ Semester: 3/5 LTPC 3003 Prepared By S.DINESH SUNDAR/AP Dept of ECE

PIN DIAGRAM

Page 13: EC6504 MICROPROCESSOR AND MICROCONTROLLER Year/ Semester: 3/5 LTPC 3003 Prepared By S.DINESH SUNDAR/AP Dept of ECE
Page 14: EC6504 MICROPROCESSOR AND MICROCONTROLLER Year/ Semester: 3/5 LTPC 3003 Prepared By S.DINESH SUNDAR/AP Dept of ECE

S.NO CONTENT

NOV/DEC 2010

APR/MAY 2011

NOV/DEC 2011

APR/MAY 2012

NOV/DEC 2012

MAY/JUN 2013

WEIGHTAGE

No of min to be

allottedNo of

sessions to be

allotted

Estimated hrs

2M 16M 2M 16M 2M 16M 2M 16M 2M 16M 2M 16M 2M 16M 2M 16M

1 Introduction to 8086 0 0 0

11+ 1 (Ori)+1

(sem)

2 Microprocessor architecture * * 2 0 100 1

3 Addressing modes * * * * * * 2 4 196 200 2

4 Instruction set & assembler directives * 0 0 2

5 Assembly language programming * * * * 1 3 98 150 2

6 Modular Programming 0 0 0

7 Linking and Relocation 0 0 0

8 Stacks - Procedures – Macros * * 1 1 98 50 1

9 Interrupts and interrupt service routines * * * * 2 2 196 100 1

10 String Manipulation. 0 0 0

Tot 6 12

AUC QUESTION COMAPSION DETAILSUNIT 1

Page 15: EC6504 MICROPROCESSOR AND MICROCONTROLLER Year/ Semester: 3/5 LTPC 3003 Prepared By S.DINESH SUNDAR/AP Dept of ECE

UNIT II 8086 SYSTEM BUS STRUCTURE (9)

– 8086 signals – Basic configurations – System bus timing –System design using 8086 – IO programming – Introduction to Multiprogramming – System Bus Structure – Multiprocessor configurations – Coprocessor, Closely coupled and loosely

Coupled configurations

– Introduction to advanced processors.

Page 16: EC6504 MICROPROCESSOR AND MICROCONTROLLER Year/ Semester: 3/5 LTPC 3003 Prepared By S.DINESH SUNDAR/AP Dept of ECE

UNIT 2

S.NO CONTENT

NOV/DEC 2010

APR/MAY 2011

NOV/DEC 2011

APR/MAY 2012

NOV/DEC 2012

MAY/JUN 2013

WEIGHTAGE No of min to

be allotted

No of sessions

to be allotted

Estimated hrs

2M 16M 2M 16M 2M 16M 2M 16

M 2M 16M 2M 16

M 2M 16M 2M 16M

1 8086 signals – Basic configurations 0 0 0

10+1 (Intro)

+2 (Quiz &

Video)+1

(sem)

2 System bus timing 0 0 1

3 System design using 8086 0 0 1

4 IO programming * 1 117 0 1

5 Introduction to Multiprogramming 0 0 1

6 System Bus Structure 0 0 1

7 Multiprocessor & Coprocessor configurations

* * * * 2 2 235 120 2

8 Closely coupled configurations * * * * 2 2 235 120 1

9 loosely Coupled configurations * * * 1 2 117 120 1

10 Introduction to advanced processors 0 0 0

Tot 6 6

Page 17: EC6504 MICROPROCESSOR AND MICROCONTROLLER Year/ Semester: 3/5 LTPC 3003 Prepared By S.DINESH SUNDAR/AP Dept of ECE

UNIT III I/O INTERFACING (9)

– Memory Interfacing and I/O interfacing – Parallel communication interface – Serial communication interface – D/A and A/D Interface – Timer – Keyboard /display controller – Interrupt controller – DMA controller – Programming and applications Case

studies: Traffic Light control,

LED display , LCD display, Keyboard display interface Alarm Controller.

Page 18: EC6504 MICROPROCESSOR AND MICROCONTROLLER Year/ Semester: 3/5 LTPC 3003 Prepared By S.DINESH SUNDAR/AP Dept of ECE

Traffic Light control

Page 19: EC6504 MICROPROCESSOR AND MICROCONTROLLER Year/ Semester: 3/5 LTPC 3003 Prepared By S.DINESH SUNDAR/AP Dept of ECE

7 Segment Display

Page 20: EC6504 MICROPROCESSOR AND MICROCONTROLLER Year/ Semester: 3/5 LTPC 3003 Prepared By S.DINESH SUNDAR/AP Dept of ECE

UNIT 3

S.NO CONTENT

NOV/DEC 2010

APR/MAY 2011

NOV/DEC 2011

APR/MAY 2012

NOV/DEC 2012

MAY/JUN 2013

WEIGHTAGE

No of min to be

allotedNo of

sessions to be

allotted

Estimated hrs

2M 16M 2M 16M 2M 16M 2M 16

M 2M 16M 2M 16

M 2M 16M 2M 16M

1 Memory Interfacing and I/O interfacing 0 0 1

13+1 (Intro)

+1 (sem)

2 Parallel communication interface * 1 0 60 1

3 Serial communication interface 0 0 14 D/A and A/D Interface * 1 117 0 1

5 Timer – Keyboard /display controller * * * 3 0 180 2

6 Interrupt controller * 1 0 60 17 DMA controller * * * * 1 3 117 180 1

8 Case studies: Traffic Light control 0 0 1

9 LED display , LCD display, 0 0 2

10 Keyboard display interface and Alarm Controller

0 0 2

Tot 2 8

Page 21: EC6504 MICROPROCESSOR AND MICROCONTROLLER Year/ Semester: 3/5 LTPC 3003 Prepared By S.DINESH SUNDAR/AP Dept of ECE

UNIT IV MICROCONTROLLER (9)

– Architecture of 8051 – Special Function Registers(SFRs) – I/O Pins Ports and Circuits – Instruction set– Addressing modes – Assembly language programming.

Page 22: EC6504 MICROPROCESSOR AND MICROCONTROLLER Year/ Semester: 3/5 LTPC 3003 Prepared By S.DINESH SUNDAR/AP Dept of ECE

PIN DIAGRAM

Page 23: EC6504 MICROPROCESSOR AND MICROCONTROLLER Year/ Semester: 3/5 LTPC 3003 Prepared By S.DINESH SUNDAR/AP Dept of ECE

8051 ARCHITECTURE

Page 24: EC6504 MICROPROCESSOR AND MICROCONTROLLER Year/ Semester: 3/5 LTPC 3003 Prepared By S.DINESH SUNDAR/AP Dept of ECE

SPECIAL FUNCTION REGISTER

Page 25: EC6504 MICROPROCESSOR AND MICROCONTROLLER Year/ Semester: 3/5 LTPC 3003 Prepared By S.DINESH SUNDAR/AP Dept of ECE

UNIT 4

S.NO CONTENT

NOV/DEC 2010

APR/MAY 2011

NOV/DEC 2011

APR/MAY 2012

NOV/DEC 2012

MAY/JUN 2013

WEIGHTAGE No of min

to be alloted

No of sessions

to be allotted

Estimated hrs

2M 16M 2M 16M 2M 16M 2M 16

M 2M 16M 2M 16

M 2M 16M 2M 16M

1 Architecture of 8051 * 1 0 60 1

10+1 (Intro)

+2 (Quiz & Video)+ 1(sem)

2 Special Function Registers(SFRs)

* * * * * 2 3 235 180 2

3 I/O Pins Ports and Circuits * * * 3 0 180 1

4 Instruction set 0 0 2

5 Addressing modes 0 0 2

6 Assembly language programming

0 0 2

Tot 2 7

Page 26: EC6504 MICROPROCESSOR AND MICROCONTROLLER Year/ Semester: 3/5 LTPC 3003 Prepared By S.DINESH SUNDAR/AP Dept of ECE

UNIT V INTERFACING MICROCONTROLLER (9)

– Programming 8051 Timers – Serial Port Programming – Interrupts Programming – LCD & Keyboard Interfacing – ADC, DAC & Sensor Interfacing – External Memory Interface – Stepper Motor and Waveform

generation.

Page 27: EC6504 MICROPROCESSOR AND MICROCONTROLLER Year/ Semester: 3/5 LTPC 3003 Prepared By S.DINESH SUNDAR/AP Dept of ECE

UNIT 5

S.NO CONTENT

NOV/DEC 2010

APR/MAY 2011

NOV/DEC 2011

APR/MAY 2012

NOV/DEC 2012

MAY/JUN 2013

WEIGHTAGE No of min

to be alloted

No of sessions

to be allotted

Estimated hrs

2M 16M 2M 16M 2M 16M 2M 16

M 2M 16M 2M 16

M 2M 16M 2M 16M

1 Programming 8051 Timers * * * 1 2 117 120 1

11+ 1(Intro)

+ 1(sem)

2 Serial Port Programming * * * 1 2 117 120 1

3 Interrupts Programming * * 1 1 117 60 1

4 LCD & Keyboard Interfacing * * * * 1 3 117 180 2

5 ADC, DAC * * * * * 2 3 235 180 2

6 Sensor Interfacing 0 0 1

7 External Memory Interface 0 0 1

8 Stepper Motor * * 1 1 117 60 1

9 Waveform generation 0 0 1

Tot 7 12

Page 28: EC6504 MICROPROCESSOR AND MICROCONTROLLER Year/ Semester: 3/5 LTPC 3003 Prepared By S.DINESH SUNDAR/AP Dept of ECE

MINI PROJECTS

http://www.electronicshub.org/interfacing-7-segment-display-8051/

INTERFACING 7 SEGMENT DISPLAY USING 8051

Page 29: EC6504 MICROPROCESSOR AND MICROCONTROLLER Year/ Semester: 3/5 LTPC 3003 Prepared By S.DINESH SUNDAR/AP Dept of ECE

URLS

•https://www.youtube.com/watch?v=peX0rICizC0•https://www.youtube.com/watch?v=slmdRiu-m3o•https://www.youtube.com/watch?v=NH3VsozxuFg•https://www.youtube.com/watch?v=iV4TPnOLvgA •https://www.youtube.com/watch?v=LTvv8fzopzE •https://www.youtube.com/watch?v=0-ljoBEi-WE•https://www.youtube.com/watch?v=Aaz87BJzzKU •https://www.youtube.com/watch?v=1eYdfVa21dw

Page 30: EC6504 MICROPROCESSOR AND MICROCONTROLLER Year/ Semester: 3/5 LTPC 3003 Prepared By S.DINESH SUNDAR/AP Dept of ECE

TEXT BOOKS: 1. Yu-Cheng Liu, Glenn A.Gibson, “Microcomputer Systems: The 8086 / 8088 Family - Architecture, Programming and Design”, Second Edition, Prentice Hall of India, 2007. 2.Mohamed Ali Mazidi, Janice Gillispie Mazidi, Rolin McKinlay, “The 8051 Microcontroller and Embedded Systems: Using Assembly and C”, Second Edition, Pearson Education, 2011.

REFERENCE: 1.Doughlas V.Hall, “Microprocessors and Interfacing, Programming and Hardware,TMH, 2012

LOCAL AUTHOR: MICROPROCESSOR & MICROCONTROLLER --- SRIKRISHNA PUBLISHERS

Page 31: EC6504 MICROPROCESSOR AND MICROCONTROLLER Year/ Semester: 3/5 LTPC 3003 Prepared By S.DINESH SUNDAR/AP Dept of ECE
Page 32: EC6504 MICROPROCESSOR AND MICROCONTROLLER Year/ Semester: 3/5 LTPC 3003 Prepared By S.DINESH SUNDAR/AP Dept of ECE