7.microcontroller and Interfacing Lab
7.microcontroller and Interfacing Lab
Course Outcomes: At the end of the course, the students will be able to
Unit-I
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
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
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
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
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)
Sl No Contents CO PO
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
Student Activity
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
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
Total Score=(2+3+4+5)=14/4=3.5=4
List of Equipments
1. Microcontroller Trainer Kits with interfacing facility
2. Interfacing modules.