MM Lab Manual _2025
MM Lab Manual _2025
B.E. Semester 4
(Electronics & Communication
Engineering)
Place: __________
Date: __________
Preface
Main motto of any laboratory/practical/field work is for enhancing required skills as well as
creating ability amongst students to solve real time problem by developing relevant
competencies in psychomotor domain. By keeping in view, GTU has designed competency
focused outcome-based curriculum for engineering degree programs where sufficient weightage
is given to practical work. It shows importance of enhancement of skills amongst the students
and it pays attention to utilize every second of time allotted for practical amongst students,
instructors and faculty members to achieve relevant outcomes by performing the experiments
rather than having merely study type experiments. It is must for effective implementation of
competency focused outcome-based curriculum that every practical is keenly designed to serve
as a tool to develop and enhance relevant competency required by the various industry among
every student. These psychomotor skills are very difficult to develop through traditional chalk
and board content delivery method in the classroom. Accordingly, this lab manual is designed
to focus on the industry defined relevant outcomes, rather than old practice of conducting
practical to prove concept and theory.
By using this lab manual students can go through the relevant theory and procedure in advance
before the actual performance which creates an interest and students can have basic idea prior to
performance. This in turn enhances pre-determined outcomes amongst students. Each
experiment in this manual begins with competency, industry relevant skills, course outcomes as
well as practical outcomes (objectives). The students will also achieve safety and necessary
precautions to be taken while performing practical.
This manual also provides guidelines to faculty members to facilitate student centric lab
activities through each experiment by arranging and managing necessary resources in order that
the students follow the procedures with required safety and necessary precautions to achieve the
outcomes. It also gives an idea that how students will be assessed by providing rubrics.
Utmost care has been taken while preparing this lab manual however always there is chances of
improvement. Therefore, we welcome constructive suggestions for improvement and removal
of errors if any.
Microprocessor & Microcontroller (3141008)
Sr. C C C C C
Objective(s) of Experiment
No. O1 O2 O3 O4 O5
To Write and practice arithmetic instruction-based
1. √
assembly programs.
Write and practice AVR I/O port programming for
2. √
AVR ATMEGA 32.
To Write and practice Logical and Branching
3. √
Instructions based assembly programs.
Interface Digital/Analog input output interfacing
4. module with Arduino board and write programs related √ √
to I/O module to Blink LEDs in Different patterns.
Generate PWM waveform and change intensity of LED
5. √ √
connected with Arduino board.
Write and execute Arduino program to display message
6. √ √
and numbers on LCD
Write and execute Arduino program to enter numbers
7. √ √
from 4x4 keyboard and display on LCD
Write and execute Arduino program to read analog
8. value. Sense temperature using LM35 sensor and √ √ √
display temperature value on LCD
Write and execute Arduino program read values from
9. DHT11/DHT22 sensor and display temperature value √ √ √
on LCD
Write and execute Arduino program for serial
10. √ √ √
communication.
Write a Programming for interfacing I2C OLED
11. √ √ √
Display with Arduino.
Microprocessor & Microcontroller (3141008)
The following industry relevant competency are expected to be developed in the student by
undertaking the practical work of this laboratory.
1. Task handling and Understanding capability increase.
2. Coding capability will increase.
3. Logical and reasoning Capability will increase which most required by industry.
Index
(Progressive Assessment Sheet)
Sr. Objective(s) of Experiment Page Date of Date of Assessm Sign. of Remar
No. No. perfor submis ent Teacher ks
mance sion Marks with
date
To Write and practice arithmetic instruction-
1.
based assembly programs.
2. Write and practice AVR I/O port programming
for AVR ATMEGA 32.
To Write and practice Logical and Branching
3.
Instructions based assembly programs.
Interface Digital/Analog input output
interfacing module with Arduino board and
4.
write programs related to I/O module to Blink
LEDs in Different patterns.
Generate PWM waveform and change
5. intensity of LED connected with Arduino
board.
Write and execute Arduino program to display
6.
message and numbers on LCD
Write and execute Arduino program to enter
7. numbers from 4x4 keyboard and display on
LCD
Write and execute Arduino program to read
8. analog value. Sense temperature using LM35
sensor and display temperature value on LCD
Write and execute Arduino program read
9. values from DHT11/DHT22 sensor and
display temperature value on LCD
10. Write and execute Arduino program for serial
communication.
Write a Programming for interfacing I2C
11.
OLED Display with Arduino.
Total
Microprocessor & Microcontroller (3141008)
Criteria &
Point
Assigned / 4 3 2 1 0 Total
Parameter
s
Attended
Attended the
Attended the the lab.,
Attendance Attended in Lab but 15
Lab but half but Absent.
in Lab proper time. Minutes hour
an hour late. extreme
late.
late.
Do not
Having Having
Having Having Have
Basic knowledge of knowledge
knowledge of knowledge of knowledge
Knowledge Few of the of Least of
all the related Most of the of the
of topics related the related
Topics related Topics related
Topics Topics
Topics
Completeness Completeness Completeness
of code, of code, of code,
Capability Program Program
consistent Inconsistent consistent
of writing not not
variable variable variable
Program completed Written
naming and naming and naming and
well formatted well formatted unformatted
Most of the Some of the Few
All the outputs
outputs are outputs are outputs None of the
are correct
Output correct and correct and have been outputs are
and well
well well found correct
formatted.
formatted. formatted correctly
Proper Time Proper Time
Late
Submission i.e. Same day i.e. in next day Late
Submissio Very Late
of Lab Fair Lab., with Lab., with Submission
n Submission
Copy proper proper by Two day
By Week
documentation documentation
Experiment No: 1
Date:
Procedure:
1. Open the AVR Studio in Windows PC.
2. Write Assembly Code in AVR Studio’s Editor and save it as “.asm” File extension.
3. Open the debug menu in AVR Studio to check the output.
Code:
Output Screenshot:
1
Conclusion:
Suggested Reference: Muhammad Ali Mazidi, Sarmad Naimi and Sepehr Naimi,”The AVR
Microcontroller and Embedded Systems”, Using Assembly and C, Pearson Education, 1st Edition,
2012
References used by the students:
2
Experiment No: 2
Write and practice AVR I/O port programming for AVR ATMEGA 32.
Date:
Procedure:
1. Open the AVR Studio in Windows PC.
2. Write Assembly Code in AVR Studio’s Editor and save it as “.asm” File extension.
3. Open the debug menu in AVR Studio to check the output.
Code:
Output Screenshot:
3
Conclusion:
Suggested Reference: Muhammad Ali Mazidi, Sarmad Naimi and Sepehr Naimi,”The AVR
Microcontroller and Embedded Systems”, Using Assembly and C, Pearson Education, 1st Edition,
2012
References used by the students:
4
Experiment No: 3
Date:
Procedure:
1. Open the AVR Studio in Windows PC.
2. Write Assembly Code in AVR Studio’s Editor and save it as “.asm” File extension.
3. Open the debug menu in AVR Studio to check the output.
Code:
Output Screenshot:
5
Conclusion:
Suggested Reference: Muhammad Ali Mazidi, Sarmad Naimi and Sepehr Naimi,”The AVR
Microcontroller and Embedded Systems”, Using Assembly and C, Pearson Education, 1st Edition,
2012
References used by the students:
6
Experiment No: 4
Date:
Competency and Practical Skills: Basic Knowledge of Microcontroller and Arduino.
Objectives: (a) To learn the interfacing and usage of microcontroller application real life.
Procedure:
1. Open the Arduino IDE in Windows PC.
2. Write Arduino Code in Arduino IDE Editor and save it..
3. Open the simulator website and upload code.
4. Run the simulator and check the output.
Code:
Output Screenshot:
7
Conclusion:
8
Experiment No: 5
Objectives: (a) To learn the interfacing and usage of microcontroller application real life.
Procedure:
1. Open the Arduino IDE in Windows PC.
2. Write Arduino Code in Arduino IDE Editor and save it.
3. Open the simulator website and upload code.
4. Run the simulator and check the output.
Code:
Output Screenshot:
9
Conclusion:
10
Experiment No: 6
Write and execute Arduino program to display message and numbers on LCD
Date:
Competency and Practical Skills: Basic Knowledge of Microcontroller and Arduino.
Objectives: (a) To learn the interfacing and usage of microcontroller application real life.
Procedure:
1. Open the Arduino IDE in Windows PC.
2. Write Arduino Code in Arduino IDE Editor and save it.
3. Open the simulator website and upload code.
4. Run the simulator and check the output.
Code:
Output Screenshot:
11
Conclusion:
12
Experiment No: 7
Write and execute Arduino program to enter numbers from 4x4 keyboard and
display on LCD
Date:
Competency and Practical Skills: Basic Knowledge of Microcontroller and Arduino.
Objectives: (a) To learn the interfacing and usage of microcontroller application real life.
Procedure:
1. Open the Arduino IDE in Windows PC.
2. Write Arduino Code in Arduino IDE Editor and save it.
3. Open the simulator website and upload code.
4. Run the simulator and check the output.
Code:
Output Screenshot:
13
Conclusion:
14
Experiment No: 8
Write and execute Arduino program to read analog value. Sense temperature
using LM35 sensor and display temperature value on LCD
Date:
Competency and Practical Skills: Basic Knowledge of Microcontroller and Arduino.
Objectives: (a) To learn the interfacing and usage of microcontroller application real life.
Procedure:
1. Open the Arduino IDE in Windows PC.
2. Write Arduino Code in Arduino IDE Editor and save it.
3. Open the simulator website and upload code.
4. Run the simulator and check the output.
Code:
Output Screenshot:
15
Conclusion:
16
Experiment No: 9
Write and execute Arduino program read values from DHT11/DHT22 sensor
and display temperature value on LCD
Date:
Competency and Practical Skills: Basic Knowledge of Microcontroller and Arduino.
Objectives: (a) To learn the interfacing and usage of microcontroller application real life.
Procedure:
1. Open the Arduino IDE in Windows PC.
2. Write Arduino Code in Arduino IDE Editor and save it.
3. Open the simulator website and upload code.
4. Run the simulator and check the output.
Code:
Output Screenshot:
17
Conclusion:
18
Experiment No: 10
Objectives: (a) To learn the interfacing and usage of microcontroller application real life.
Procedure:
1. Open the Arduino IDE in Windows PC.
2. Write Arduino Code in Arduino IDE Editor and save it.
3. Open the simulator website and upload code.
4. Run the simulator and check the output.
Code:
Output Screenshot:
19
Conclusion:
20
Experiment No: 11
Objectives: (a) To learn the interfacing and usage of microcontroller application real life.
Procedure:
1. Open the Arduino IDE in Windows PC.
2. Write Arduino Code in Arduino IDE Editor and save it.
3. Open the simulator website and upload code.
4. Run the simulator and check the output.
Code:
Output Screenshot:
21
Conclusion:
22