You are on page 1of 15

SCAD COLLEGE OF ENGINEERING AND TECHNOLOGY

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING

CS 6412
MICROPROCESSOR AND MICROCONTROLLER LABORATORY

II Year B.E CSE / IV Semester


2016 2017 / EVEN SEMESTER
ANNA UNIVERSITY CHENNAI

LAB MANUAL
Prepared
By

Staff In-Charge

Checked &Verified
By

HOD-CSE

PREFACE

Approved
By

Principal

Learning is a process that requires class instructions and practice labs. If we omit any
of the above then the learning process is clearly flawed. This manual is an attempt to
standalone the lab instructions through the development of lab curriculum that is based on
the class curriculum. This manual is intended to be used by lab instructors, course instructors
and students.
The intent of this curriculum is to define a clear lab structure that can be followed by
the lab instructor and the students. Perhaps one of the greatest problems faced by lab
instructors is that they are unable to keep the students occupied for the entire duration of the
lab due to which the learning process is greatly hampered.
The labs have been developed in such a way that there is synchronization between
the class and the lab. The manual has been divided into 15 lab sessions having duration of 3
hours each. Students of the course are expected to carefully read the concept map before
coming to the lab. Students come to the lab with a design/program that will be handed over
to the lab instructor for further grading. The code/design is based on previous learning and
experiments. Each lab has a detailed walk through task which provides a problem statement
and its programmable solution to the students. The students can raise queries about the code
provided and the lab instructor will guide the students on how the solution has been
designed.
Thereafter predefined practice questions have been presented such that each question
has a fix duration and grade. Students are graded upon their accomplishments in these
practice tasks. At the end of the lab, the lab instructor will assign an unseen task to the
students. This unseen task contains all the concepts taught in the lab. These unseen tasks
have a higher level of complexity and generally have a greater gain in terms of marks.
What sets these labs apart is the fact that a clear grading criterion has been defined
for each lab. Students are aware of the grading criteria and are expected to meet the
requirements for successful completion of each lab.

CS6412 - Microprocessor and Microcontroller Lab Manual


CSE/IV Sem
Page 2

SCADCET-

COLLEGE VISION AND MISSION

COLLEGE VISION
Our Vision is To create innovative and vibrant young
leaders

and

entrepreneurs

in

Engineering

and

Technology for building the nation as a knowledge


super power and empowering the rural community
towards evolving a knowledge society with equity and
amity

COLLEGE

To provide education in Engineering with excellence


and ethics and to reach the unreached.

CS6412 - Microprocessor and Microcontroller Lab Manual


CSE/IV Sem
Page 3

SCADCET-

COLLEGE QUALITY POLICY

We aim at continuous pursuit for excellence through

Quality education tapped from National and


International resources.
Modular approach to channelise knowledge and
programmed
evaluation
of
knowledge
accumulated.
Continuous reviewal and renewal of quality
systems leading to quality output.
Producing Engineers with strong ethical and
moral background.

CS6412 - Microprocessor and Microcontroller Lab Manual


CSE/IV Sem
Page 4

SCADCET-

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING

INTRODUCTION
The Department of Computer Science and
Engineering was instituted in the year 2001, with the
mission to instil outstanding technical skills in
students and prepare them into future ready Computer
Science Engineers.
The department has well experienced faculty, who
teach how to think and apply engineering principles to
everyday engineering challenges. As a reflection of
this vision of the department, six faculty members are
engaged in research and development in key areas of
Computer Science & Engineering.
The department has a sanctioned intake of 120
students in Under Graduate programme and 18
students in the Post Graduate programme. The
department encourages and guides student's
participation in National and International
conferences and Faculty Development Programs for
staff.

CS6412 - Microprocessor and Microcontroller Lab Manual


CSE/IV Sem
Page 5

SCADCET-

DEPARTMENT VISION AND MISSION


DEPARTMENT VISION
To produce globally proficient, innovative and socially
responsible computing professionals

DEPARTMENT MISSION

To provide world-class teaching-learning and research


facilities.
To motivate students logical thinking, creativity and
communication skills effectively.
To develop awareness about emerging trends through self
initiative.
To encourage a sense of societal and ethical responsibilities.
To collaborate with industries and government organizations.

DEPARTMENT QUALITY POLICY


Department of Computer Science and Engineering strives to
ensure quality education as a leader in the Computer Science
and Engineering Education by continuously improving
academic inputs and educational excellence.

CS6412 - Microprocessor and Microcontroller Lab Manual


CSE/IV Sem
Page 6

SCADCET-

PROGRAMME EDUCATIONAL OBJECTIVES

S. No.

PEOs

Definition of PEOs

PEO 1

To educate the students for acquiring sound knowledge in the


field of Computer Science and Engineering and understand
various inter-related engineering discipline so as to meet the
needs in the field of IT industries.

II

PEO 2

To provide an excellent academic learning environment in


Department of Computer Science and Engineering for
facilitating students to become eminent team players.

III

PEO 3

To facilitate the students with necessary knowledge in the


field of Computer Science and Engineering, so as to succeed
in GATE & Entrance examinations for pursuing higher
studies.

IV

PEO 4

To expose the students over professional, ethical and social


needs in order to shape them with leadership quality for
analyzing and solving the engineering and social issues.

CS6412 - Microprocessor and Microcontroller Lab Manual


CSE/IV Sem
Page 7

SCADCET-

PROGRAMME OUTCOMES
S.
No.
PO1

PO2

PO3

PO4

PO5

PO6

PO7
PO8
PO9

PO10

PO11

Programme Outcomes
Engineering knowledge: Apply the knowledge of mathematics, science,
engineering fundamentals, and an engineering specialization to the solution of
complex engineering problems.
Problem analysis: Identify, formulate, review research literature, and analyze
complex engineering problems reaching substantiated conclusions using first
principles of mathematics, natural sciences, and engineering sciences.
Design/development of solutions: Design solutions for complex engineering
problems and design system components or processes that meet the specified
needs with appropriate consideration for the public health and safety, and the
cultural, societal, and environmental considerations.
Conduct investigations of complex problems: Use research-based knowledge
and research methods including design of experiments, analysis and interpretation
of data, and synthesis of the information to provide valid conclusions.
Modern tool usage: Create, select, and apply appropriate techniques, resources,
and modern engineering and IT tools including prediction and modeling to
complex engineering activities with an understanding of the limitations.
The engineer and society: Apply reasoning informed by the contextual
knowledge to assess societal, health, safety, legal and cultural issues and the
consequent responsibilities relevant to the professional engineering practice.
Environment and sustainability: Understand the impact of the professional
engineering solutions in societal and environmental contexts, and demonstrate the
knowledge of, and need for sustainable development.
Ethics: Apply ethical principles and commit to professional ethics and
responsibilities and norms of the engineering practice.
Individual and team work: Function effectively as an individual, and as a
member or leader in diverse teams, and in multidisciplinary settings.
Communication: Communicate effectively on complex engineering activities
with the engineering community and with society at large, such as, being able to
comprehend and write effective reports and design documentation, make effective
presentations, and give and receive clear instructions.
Project management and finance: Demonstrate knowledge and understanding
of the engineering and management principles and apply these to ones own work,
as a member and leader in a team, to manage projects and in multidisciplinary
environments.

CS6412 - Microprocessor and Microcontroller Lab Manual


CSE/IV Sem
Page 8

SCADCET-

PO12

Life-long learning: Recognize the need for, and have the preparation and ability
to engage in independent and life-long learning in the broadest context of
technological change.

LABORATORY
INTRODUCTION
Microprocessors Systems Lab provides students with hands-on
experience with building, programming, testing, and debugging processors and
Microcontrollers. This lab incorporates Software and hardware experiments
with a Microprocessors system. Laboratory experiments are to teach assembly
language programming for 8086 Architecture, 8051 Microcontrollers.The
experiments are designed to provide a substantial and motivational lab
experience. Each experiment teaches an important programming/interfacing
technique.

OVERVIEW
For all practical courses, the continuous internal assessment will carry 20
marks while the End - Semester University examination will carry 80 marks.
The maximum marks for Internal Assessment shall be 20 in case of practical
courses. Every practical exercise / experiment shall be evaluated based on
conduct of experiment / exercise and records maintained. There shall be at least
one test. The criteria for arriving at the Internal Assessment marks of 20 are as
follows: 75 marks shall be awarded for successful completion of all the
prescribed experiments done in the Laboratory and 25 marks for the test. The
total mark shall be reduced to 20 and rounded to the nearest integer.
UNIVERSITY PRACTICAL EXAMINATION ALLOTMENT OF
MARKS
Internal assessment

20 marks

CS6412 - Microprocessor and Microcontroller Lab Manual


CSE/IV Sem
Page 9

SCADCET-

Practical assessment

80 marks
--------------Total 100 marks
--------------INTERNAL ASSESSMENT (20 marks)

Staff should maintain the assessment Register and the Head of the Department
should monitor it.
SPLIT UP OF INTERNAL MARKS
Record/Obeservation Note
Model Exam
Total

75 marks
25 marks
-----------------------20 marks
------------------------

UNIVERSITY EXAMINATION
The exam will be conducted for 100 marks. Then the marks will be calculated
to 80 marks.
SPLIT UP OF UNIVERSITY PRACTICAL EXAMINATION MARKS
Aim and Algorithm/Procedure
Program
Output
Viva-voce
Total

20 marks
40 marks
30 marks
10 marks
--------------100 marks
---------------

CS6412 - Microprocessor and Microcontroller Lab Manual


CSE/IV Sem
Page 10

SCADCET-

IMPORTANCE

This manual teaches the fundamentals of engineering operating systems. You


will study, in detail, virtual memory, kernel and user mode, system calls,
threads, context switches, interrupts, interprocess communication, coordination
of concurrent activities, and the interface between software and hardware. Most
importantly, you will study the interactions between these concepts, and how to
manage the complexity introduced by the interactions.

CS6412 - Microprocessor and Microcontroller Lab Manual


CSE/IV Sem
Page 11

SCADCET-

DOS AND DONTS


Dos

Be regular to the Lab.


Follow proper dress code in the lab.
Maintain silence in the lab.
Know the theory behind the experiment before coming to the lab.
Identify the different leads or terminals or pins of the IC before making connections.
Student should follow the procedure to start executing the kits and should get signed

by the Lab-in-charge, after completing the experiment they need to switch off.
Know the current and voltage rating of the ICs before using them in the experiment.
Handle the kits and components properly.
Keep the table clean.

Donts

Do not come late to the lab


Do not interchange the kit or ICs while doing the experiment.
Avoid loose connection and short circuit.
Do not switch on the experiment without the knowledge of lab technicians and staff

in charge.
Do not panic if you dont get the output.

CS6412 - Microprocessor and Microcontroller Lab Manual


CSE/IV Sem
Page 12

SCADCET-

SAFETY MEASURES AND GUIDELINES

You must not damage or tamper the equipment or leads.


You should inspect the laboratory equipment for visible damage before using
it. If there is a problem with a piece of equipment, report to the technician and

lab in charge.
Never strip insulation from a wire with your teeth or knife, always use an

appropriate wire stripping tool.


Equipment failure: If a piece of equipment fails while being used, report it
immediately to your technician and Lab in charge. Never try to fix the

problem by yourself because you could harm yourself and others.


Clean up your work area before leaving.

INSTRUCTIONS TO TEACHERS

Early in the course, you may want to divide your students into lab and/or study
groups of two to four partners. Because different experiments require different
numbers of apparatus, some weeks you may have to consolidate two of these
small groups or otherwise reorganize things, but keep in mind that four is a good

upper limit if you want each student to actively participate.


The professor and lab assistants should rehearse the procedure before the lab

sections and review the results afterwards


Select the most appropriate equipment for each experiment and make sure that it

is in working order, with clear instructions for its use available to students.
Help students understand theory by observing and verifying concepts
Class discussion will also enable you to identify any problems with the lab

procedures so that you can correct them for the next session.
Consider designing experiments that build on your research to leverage the
expertise you and your technical assistants.

INSTRUCTIONS TO STUDENTS
SCADCET-

CS6412 - Microprocessor and Microcontroller Lab Manual


CSE/IV Sem
Page 13

Student should follow the Lab dress code whenever they avail the
laboratory facilities and make sure your ID cards are visible outside
Whenever students enter into the lab, they should make the entry in the
log register kept for that purpose.
Observation note books / record note books are only allowed inside the
lab, other belongings are not allowed.
Maintain silence in the Lab.
The laboratory must be kept clean and neat.
Arrange the chairs before leaving the lab.

CS6412 - Microprocessor and Microcontroller Lab Manual


CSE/IV Sem
Page 14

SCADCET-

LAB CODE OF CONDUCT

Students should behave in a mature and responsible manner at all times in the

laboratory
Students must follow all verbal and written instructions carefully. If you are unsure

of the procedure, ask your teacher for help before proceeding.


Students must not eat, drink, apply cosmetics or chew gum in the laboratory.
Violations
The following disciplinary actions may be taken against violators:
Temporary suspension of computing privileges and violation documented in

student's/employee's record.
Permanent removal of computing privileges and violation documented in

student's/employee's record.
Academic probation with the forfeiting of privileges as stated in the Code of

Community Standards.
Academic suspension which includes the termination of enrollment for a specified
period of time as stated in the Code of Community Standards.

CS6412 - Microprocessor and Microcontroller Lab Manual


CSE/IV Sem
Page 15

SCADCET-

You might also like