Embedded Lab Manual

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 8

LABORATORY MANUAL

EMBEDDED SYSTEMS LAB

(Four Year B.Tech VI - Sem - ECE)

Department
of
Electronics & Communication Engineering

VARDHAMAN COLLEGE OF ENGINEERING


(AUTONOMOUS)
Shamshabad – 501218, Hyderabad, Andhra Pradesh, INDIA
Phone: 08413-253335, 253201, Fax: 08413-253482
E-mail: info@vardhaman.org www.vardhaman.org
VARDHAMAN COLLEGE OF ENGINEERING
(AUTONOMOUS)
Shamshabad, Hyderabad – 501 218

DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING

INSTITUTE:
Vision of the Institution:
To be a pioneer institute and leader in engineering education to address societal needs
through education and practice.

Mission of the Institution:


 To adopt innovative student centric learning methods
 To enhance professional and entrepreneurial skills through industry institute
interaction
 To train the students to meet dynamic needs of the society
 To promote research and continuing education.

DEPARTMENT:
Vision of the Department:
To produce competent engineers with social responsibility to address the global challenges
in the field of Electronics and Communication Engineering.

Mission of the Department:


 Promote active learning strategies to facilitate student centric learning

 Provide self learning capabilities to enhance employability and entrepreneurial skills

 Inculcate human values and ethics to make learners sensitive towards societal issues

 Strengthen core competencies among the learners through experiential curriculum.


Program Educational Objectives (PEOs):
PEO 1: Graduates will be able to foster continuing education with their existing
knowledge in the field of Electronics and Communication Engineering.
(Continuing Education).
PEO 2: Graduates will be able to evolve with the ever changing global technological
advancements and cater to the needs of the society. (Professional
Effectiveness and Contribution to Society).
PEO 3: Graduates will be able to demonstrate leadership skills to address issues in
a responsive, ethical and innovative manner. (Leadership skills).
PEO 4: Graduates will be able to excel in career while contributing to the growth of
their organization. (Excellence in Career).

Program Outcomes:

PO1: Engineering Knowledge: Apply knowledge of mathematics, science, engineering


fundamentals, and an engineering specialization to the solution of complex
engineering problems.

PO2: 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.

PO3: Design/ Development of Solutions: Design solutions for complex engineering


problems and design system components or processes that meet specified needs
with appropriate consideration for the public health and safety, and cultural,
societal, and environmental considerations.

PO4: Conduct investigations of complex problems: Use research-based knowledge and


research methods including design of experiments, analysis and interpretation of
data, and synthesis of information to provide valid conclusions.

PO5: 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.

PO6: The Engineer and Society: Apply reasoning informed by contextual knowledge to
assess societal, health, safety, legal and cultural issues and the consequent
responsibilities relevant to professional engineering practice.

PO7: Environment and Sustainability: Understand the impact of professional


engineering solutions in societal and environmental contexts, and demonstrate the
knowledge of, and need for sustainable development.
PO8: Ethics: Apply ethical principles and commit to professional ethics and
responsibilities and norms of the engineering practice.

PO9: Individual and Team Work: Function effectively as an individual, and as a member
or leader in diverse teams, and in multi-disciplinary settings.

PO10: 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.

PO11: Project Management and Finance: Demonstrate knowledge and understanding of


engineering and management principles and apply these to one’s own work, as a
member and leader in a team, to manage projects and in multidisciplinary
environments.

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.

Program Specific Outcomes:

PSO1: Apply the knowledge of domain specific skill set for the design and analysis of
components in VLSI and Embedded systems.
PSO2: Demonstrate the technical competency and use appropriate techniques in the
realization of advanced communication systems.
EMBEDDED SYSTEMS LAB MANUAL (A3426)

Course Outcomes:

1. Identify the functionality of development boards to implement embedded applications.


2. Compile bug free assembly or C language programs for microcontrollers to a required task.
3. Design an electronic circuit for diverse I/O devices used in real time embedded applications.
Develop a product with all sub systems of functional requirements in optimal hardware and
4.
software components.

Course Articulation Matrix :


COs/
POs PO1 PO2 PO3 PO4 PO5 PO6 PO7 PO8 PO9 PO10 PO11 PO12 PSO1 PSO2

A3426.1 3

A3426.2 3

A3426.3 3 2

A3426.4 3 2 3

Avg 3.00 2.33 3.00


Laboratory Experiments Mapping with Course Outcomes
S. Mapped
Experiments to be covered
No. CO
1 Introduction to embedded systems lab content. --
2 Programming using Arithmetic and logical instructions of 8051. CO 1 & 2
3 Timer programming of 8051. CO 1 & 2
4 Counter programming of 8051. CO 1 & 2
5 Serial port programming of 8051. CO 1 & 2
6 Interfacing of Stepper motor CO 3 & 4

7 Interfacing of Temperature sensor and Relay control. CO 3 & 4


Using of more complex memory and branch type instructions such as LDMFD/STMFD, B
8 CO 1 & 2
and BL.
9 Basic reg/mem visiting and simple arithmetic/logic computing. CO 1 & 2
Changing ARM state mode by using MRS/MMSR instruction and specify a start address of
10 CO 1 & 2
the text segment by using command line.
11 ARM programming in C language using KEIL IDE CO 1 & 2
Write a random number generation function using assembly language. Call this function
12 CO 1 & 2
from a C program to produce a series of random numbers and save them in the memory
Configure and read/write the memory space. Use assembly and C language to read/write
13 CO 3 & 4
words, half-words, bytes, half bytes from/to RAM.
14 Implement the lighting and winking LEDs of the ARM I/O port via programming. CO 3 & 4
15 ISR (Interrupt Service Routine) programming in ARM based systems with I/O port. CO 3 & 4
EMBEDDED SYSTEMS LAB

Course Code: A3426 T P C


0 3 2
EMBEDDED SYSTEMS LAB

LIST OF EXPERIMENTS:

Part – A
8051 Keil Compiler
1. Find GCD and LCM for given two byte length numbers.
2. BCD to seven segments.
3. Generation of 5ms delay with and without interrupt for timer.
4. Counting no of pulses in the external clock using counter.
5. Send a string serially with 9600 baud rate & receive a string serially and
storing in internal RAM.
6. 16X2 LCD display interfacing.
7. Matrix keypad interfacing
8. ADC interfacing.
9. Stepper motor interfacing.
10. Temperature sensor and Relay control.
Part – B
ARM Keil Compiler
1. Using of more complex memory and branch type instructions such as
LDMFD/STMFD, B and BL.
2. Basic reg/mem visiting and simple arithmetic/logic computing.
3. Changing ARM state mode by using MRS/MMSR instruction and specify a
start address of the text segment by using command line.
4. Write and debug simple C language program using KEIL IDE.
5. Write a delay function using C language.
6. Write a random number generation function using assembly language. Call
this function from a C program to produce a series of random numbers and
save them in the memory.
7. Configure and read/write the memory space. Use assembly and C language
to read/write words, half-words, bytes, half bytes from/to RAM.

Note: - Minimum 12 experiments to be conducted.


CONTENTS
PART - A
INTRODUCTION TO 8051 MICROCONTROLLER 1
PART - B
SOFTWARE IMPLEMENTATION – KEIL µ VISION 4 FOR 8051 µC 12
PART - C
EXPERIMENT - 1: GCD AND LCM 39
EXPERIMENT - 2: BCD TO SEVEN SEGMENT 40
EXPERIMENT - 3: DELAY USING TIMERS 41
EXPERIMENT - 4: COUNTERS WITH/OUT INTERRUPTS 42
EXPERIMENT - 5: SERIAL COMMUNICATION 43
EXPERIMENT - 6: 16x2 LCD INTERFACING 44
EXPERIMENT - 7: MATRIX KEYPAD INTERFACING 44
EXPERIMENT - 8: ADC INTERFACING 44
EXPERIMENT - 9: STEPPER MOTOR 44
EXPERIMENT - 10: TEMPERATURE SENSOR AND RELAY CONTROL 46
PART - D
INTRODUCTION TO ARM BOARD (LPC2148) 1
PART - E
SOFTWARE IMPLEMENTATION – KEIL µ VISION 4 FOR LPC2148 12
PART - F
EXPERIMENT - 1: DEMONSTRATION OF LOAD/STORE AND BRANCH INSTRUCTIONS 39
EXPERIMENT - 2: PROGRAMS USING ARITHMETIC AND LOGICAL INSTRUCTIONS 40
EXPERIMENT - 3: PROGRAMS FOR CHANGING MODE OF OPERATION OF ARM 41
EXPERIMENT - 4: DEMONSTRATION OF C LANGUAGE PROGRAMS 42
EXPERIMENT - 5: PROGRAM FOR DELAY IN C LANGUAGE 43
EXPERIMENT - 6: PROGRAM FOR GENERATION OF RANDOM NUMBERS 44
EXPERIMENT - 7: PROGRAM FOR READ/WRITE DATA FROM/TO RAM 44

You might also like