0% found this document useful (0 votes)
71 views

7.microcontroller and Interfacing Lab

The document outlines the objectives, outcomes, and contents of a course on Microcontroller and Interfacing Lab. The course aims to teach students how to develop and execute assembly language programs for microcontrollers and interface microcontrollers with hardware. The course contents include programs that demonstrate addressing modes, arithmetic operations, data conversions, and searches. It also includes interfacing microcontrollers to devices like ADCs, DACs, displays, motors, and infrared modules. Students will be able to develop assembly programs and interface microcontrollers to hardware for applications after completing the course.

Uploaded by

NIKHIL AS
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
71 views

7.microcontroller and Interfacing Lab

The document outlines the objectives, outcomes, and contents of a course on Microcontroller and Interfacing Lab. The course aims to teach students how to develop and execute assembly language programs for microcontrollers and interface microcontrollers with hardware. The course contents include programs that demonstrate addressing modes, arithmetic operations, data conversions, and searches. It also includes interfacing microcontrollers to devices like ADCs, DACs, displays, motors, and infrared modules. Students will be able to develop assembly programs and interface microcontrollers to hardware for applications after completing the course.

Uploaded by

NIKHIL AS
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

Government of Karnataka

Department of Technical Education


Board of Technical Examinations, Bengaluru

Course Title: Microcontroller and Interfacing lab Course Code: 15MC37P


Mode (L:T:P) : 0:2:4 Credits:3 Core/ Elective: Core
Type of Course Tutorials and Practical’s Total Contact Hours: 78
CIE- 25 Marks SEE- 50 Marks

Prerequisites: Knowledge of 8051 Microcontroller

Course Objectives: Understanding and executing of Microcontroller programs with interfacing

of various peripheral devices

Course Outcomes: At the end of the course, the students will be able to

1. Develop and execute assembly language programs for given applications.

2. Interface microcontroller with hardware for given applications.

Cognitive Linked Teaching


Course Outcome
Level with PO Hours
Develop and execute assembly
language programs for given A 1,2,3,4 30
CO1
applications
Interface microcontroller with
CO2 A 1,2,3,4 48
hardware for given applications
Total sessions 78
Legend: R; Remember, U: Understand A: Application

Mapping of Course Outcomes with Program Outcomes

Course Programme Outcomes


1 2 3 4 5 6 7 8 9 10
Microcontroller and
3 3 3 3 - - - - - -
Interfacing lab
Level 3- Highly Addressed, Level 2-Moderately Addressed, Level 1-Low Addressed.
Method is to relate the level of PO with the number of hours devoted to the COs which address the given PO.
If >40% of classroom sessions addressing a particular PO, it is considered that PO is addressed at Level 3
If 25 to 40% of classroom sessions addressing a particular PO, it is considered that PO is addressed at Level 2
If 5 to 25% of classroom sessions addressing a particular PO, it is considered that PO is addressed at Level 1
If < 5% of classroom sessions addressing a particular PO, it is considered that PO is considered not-addressed.

Directorate Of Technical Education Karnataka State 15MC37P Page 1


Contents

Unit-I

1.0 Program to illustrate the following addressing modes


1.1 Immediate
1.2 Register
1.3 Direct
1.4 Indirect

2.0 Program to add two 8 bit Signed and Unsigned numbers separately

3.0 Program to add an array of 8bit numbers and store result in internal data RAM

4.0 Program to convert two digits packed BCD to unpacked BCD and vice versa

5.0 Program to convert two digits packed BCD to ASCII and vice versa

6.0 Program to separate positive and negative numbers in a series of N-eight bit numbers

7.0 Program to count the number of ones and zeros in two consecucutive internal data
memory locations

8.0 Program to find smallest /largest number in an array of numbers stored in external data
RAM

9.0 Program to generate specified time delay

10.0 Program to separate Even and Odd numbers in a series of N-eight bit numbers

11.0 Program to search a number in the given array of numbers stored in internal program
memory

12.0 Program to illustrate multiplication and division

13.0 Program to clear all the bytes that have even numbers of ones stored in bit addressable
internal data RAM

Unit-II

1.0 Interface eight channels ADC to temperature transducer/variable voltage source and
display temperature/voltage level signal segment display

Directorate Of Technical Education Karnataka State 15MC37P Page 2


2.0 Interface DAC to generate different waveforms with variable frequency and amplitude
using variable pot

3.0 Generate different tones using DAC through Buzzer/speaker

4.0 To interface a seven segment display/LCD and Hex keypad, application may be to read,
count and display the key pressed a number of times key pressed

5.0 Write the program to interface stepper motor/DC motor to control direction, steps and
speed by accepting keys pressed from keypad

6.0 To interface LCD and keys to display the real time clock with preset facility using
programmable RTC chips

7.0 To interface matrix display: display characters, numbers on 25X14 dots display in different
size

8.0 To interface LCD and keys to generate moving text display

9.0 To interface infrared: Control the relays with respect to the remote control keys pressed

10.0 To interface infrared: Transmit the date from one system to another using IR keyboard and
display or Keyboard and motor can be used to verify

11.0 Interface digital elevator simulator module. Write a program to control eight floors with
arrow display for direction and seven segment displays for floor indications

12.0 Traffic light control simulator for a junction connecting at least four roads

Note

1) Write flowcharts/ Algorithms and execute the following 8051 programs using any 8051 kits or
simulators

2) Download and execute at least five of the following microcontroller 8051 applications
Simulators may be used to design and test the application before implementing them using Flash-
chip 8051 core based hardware boards and interfacing modules (use ALP/ Embedded C)

Directorate Of Technical Education Karnataka State 15MC37P Page 3


Contents linked with CO and PO

Sl No Contents CO PO

1 Program to illustrate the following addressing modes: Immediate, 1 1,2,3,4


Register, Direct, Indirect
2 Program to add two 8 bit Signed and Unsigned numbers separately 1 1,2,3,4
3 Program to add an array of 8bit numbers and store result in internal 1 1,2,3,4
data RAM
4 Program to convert two digits packed BCD to unpacked BCD and 1 1,2,3,4
vice versa
5 Program to convert two digits packed BCD to ASCII and vice versa 1 1,2,3,4
6 Program to separate positive and negative numbers in a series of N- 1 1,2,3,4
eight bit numbers
7 Program to count the number of ones and zeros in two consecucutive 1 1,2,3,4
internal data memory locations.
8 Program to find smallest /largest number in an array of numbers 1 1,2,3,4
stored in external data RAM
9 Program to generate specified time delay 1 1,2,3,4
10 Program to separate Even and Odd numbers in a series of N-eight bit 1 1,2,3,4
numbers
11 Program to search a number in the given array of numbers stored in 1 1,2,3,4
internal program memory
12 Program to illustrate multiplication and division 1 1,2,3,4
13 Program to clear all the bytes that have even numbers of ones stored 1 1,2,3,4
in bit addressable internal data RAM
14 Interface eight channels ADC to temperature transducer/variable 2 1,2,3,4
voltage source and display temperature/voltage level signal segment
display
15 Interface DAC to generate different waveforms with variable 2 1,2,3,4
frequency and amplitude using variable pot.
16 Generate different tones using DAC through Buzzer/speaker 2 1,2,3,4
17 To interface a seven segment display/LCD and Hex keypad, 2 1,2,3,4
application may be to read, count and display the key pressed a
number of times key pressed
18 Write the program to interface stepper motor/DC motor to control 2 1,2,3,4
direction, steps and speed by accepting keys pressed from keypad
19 To interface LCD and keys to display the real time clock with preset 2 1,2,3,4
facility using programmable RTC chips
20 To interface matrix display: display characters, numbers on 25X14 2 1,2,3,4
dots display in different size
21 To interface LCD and keys to generate moving text display 2 1,2,3,4

22 To interface infrared: Control the relays with respect to the remote 2 1,2,3,4
control keys pressed
23 To interface infrared: Transmit the date from one system to another 2 1,2,3,4
using IR keyboard and display or Keyboard and motor can be used to

Directorate Of Technical Education Karnataka State 15MC37P Page 4


verify

24 Interface digital elevator simulator module. Write a program to 2 1,2,3,4


control eight floors with arrow display for direction and seven
segment displays for floor indications
25 Traffic light control simulator for a junction connecting at least four 2 1,2,3,4
roads

Scheme of valuation for SEE

Sl. No. Performance Max. Marks


1 Writing and execution of any one specified program from Unit-I 15
using simulator
2 Download and execute any one specified Application from Unit-II 15+10

a) Block diagram, Flowchart, Brief description


b) Download and execution
3 Viva Voce 10
TOTAL 50

Student Activity

Activity No. Description of Student Activity

1 Students can make models of Micro controller applications excluded from


the curriculum.

Note:
1. Group of max four students should do any one of the above activity or any other similar
activity related to the course COs and get it approved from concerned Teacher and HOD.
2. No group should have activity repeated or similar
3. Teacher should ensure activities by group must cover all Cos

4. Teacher should asses every student by using suitable Rubrics approved by HOD

Directorate Of Technical Education Karnataka State 15MC37P Page 5


Rubrics

Dimension
Exemplary Accomplished Developing Beginning Roll No. of the Student

5/4 3 2 1 1 2 3 4 5
Organization Information Information in Difficult to Cannot Ex:
presented in logical follow understand
logical, sequence presentation-- presentation-- 2
interesting student jumps no sequence
sequence around of
information

Subject Demonstrates At ease with Uncomfortable Does not 3


Knowledge full expected with have a grasp
knowledge by answers to information of the
answering all questions but and is able to information.
class does not answer only Cannot
questions with elaborate rudimentary answer
explanations questions questions
and about subject
elaborations

Graphics Explain and Relate to text Occasionally Uses 4


reinforce and uses graphics superfluous
screen text presentation that rarely graphics or
and support text no graphics
presentation and
presentation

Oral Maintains eye Maintains eye Occasionally Reads with 5


Presentation contact and contact most of uses eye no eye
pronounces all the time and contact, mostly contact and
terms pronounces reading incorrectly
precisely. All most words presentation, pronounces
audience correctly. Most and incorrectly terms. Speaks
members can audience pronounces too quietly
hear members can terms.
hear Audience
presentation members have
difficulty
hearing

Total Score=(2+3+4+5)=14/4=3.5=4

Directorate Of Technical Education Karnataka State 15MC37P Page 6


Course Assessment Pattern

Particulars Max Evidence Course


Marks outcomes

Direct Assessment CIE Two tests 10 Blue books 1 &2


(Average of
Two tests)

Practical 10 Practical 1 &2


record record

Student 05 Student 1 &2


Activity Activity
Sheets

SEE End of the 50 Answer scripts 1 &2


course at BTE

Indirect Assessment Student Middle of the Feedback 1 &2


Feedback course forms
on course
End of the Feedback 1 &2
course forms

*CIE – Continuous Internal Evaluation *SEE – Semester End Examination


Note:
1. I.A. test shall be conducted as per SEE scheme of valuation. However obtained marks
shall be reduced to 10 marks. Average marks of two tests shall be rounded off to the next
higher digit.
2. Rubrics to be devised appropriately by the concerned faculty to assess Student activities.

List of Equipments
1. Microcontroller Trainer Kits with interfacing facility
2. Interfacing modules.

2.1 ADC (8-bits)


2.2 DAC (8-bits)
2.3 Seven segment display
2.4 LCD
2.5 Hexpad
2.6 Elevator
2.7 Traffic light control
2.8 Stepper motor and DC motor
2.9 Speaker/Buzzer
2.10 Control the relays with respect to the remote control using infrared

Directorate Of Technical Education Karnataka State 15MC37P Page 7

You might also like