Sl:20102022
52
IV SEMESTER
MICROCONTROLLER
Course Code 21RA43 CIE Marks 50
Teaching Hours/Week (L:T:P: S) 3:0:2 :0
* SEE Marks 50
Total Hours of Pedagogy 40+13(Lab hours) Total Marks 100
Credits 04 Exam Hours 03
* Additional One hour may be considered for instructions if required
Course Learning Objectives: This course will enable students to:
• Understand the difference between a Microprocessor and a Microcontroller and embedded
microcontrollers.
• Familiarize the basic architecture of 8051 microcontroller.
• Program 8051microprocessor using Assembly Level Language and C.
• Understand the interrupt system of 8051 and the use of interrupts.
• Understand the operation and use of inbuilt Timers/Counters and Serial port of 8051.
• Interface 8051 to external memory and I/O devices using its I/O ports.
Teaching-Learning Process (General Instructions)
These are sample Strategies, which teacher can use to accelerate the attainment of the various course outcomes.
1. Lecturer method (L) does not mean only the traditional lecture method, but a different type of teaching
method may be adopted to develop the outcomes.
2. Show Video/animation films to explain the functioning of various Micrcontrollers and digital circuits.
3. Encourage collaborative (Group) Learning in the class
4. Ask at least three HOTS (Higher-order Thinking) questions in the class, which promotes critical thinking
5. Adopt Problem Based Learning (PBL), which fosters students’ Analytical skills, develop thinking skills such
as the ability to evaluate, generalize, and analyze information rather than simply recall it.
6. Discuss how every concept can be applied to the real world - and when that's possible, it helps improve the
students' understanding.
Module-1
8051 Microcontroller:
Microprocessor Vs Microcontroller, Embedded Systems, Embedded Microcontrollers, 8051 Architecture- Registers,
Pin diagram, I/O ports functions, Internal Memory organization. External Memory (ROM & RAM) interfacing.
Teaching- Chalk and Talk Method
Learning
Process
Module-2
8051 Instruction Set:
Addressing Modes, Data Transfer instructions, Arithmetic instructions, Logical instructions, Branch instructions, Bit
manipulation instructions. Simple Assembly language program examples (without loops) to use these instructions.
Teaching- Chalk and Talk Method
Learning
Process
Module-3
8051 Stack, I/O Port Interfacing and Programming:
8051 Stack, Stack and Subroutine instructions. Assembly language program examples on subroutine and involving
loops.
Interfacing simple switch and LED to I/O ports to switch on/off LED with respect to switch status.
Teaching- Chalk and Talk Method
Learning
Process
52/
Sl:20102022
53
Module-4
8051 Timers and Serial Port:
8051 Timers and Counters – Operation and Assembly language programming to generate a pulse using Mode-1 and
a square wave using Mode- 2 on a port pin. 8051 Serial Communication- Basics of Serial Data Communication, RS-
232 standard, 9 pin RS232 signals, Simple Serial Port programming in Assembly and C to transmit a message and to
receive data serially.
Teaching- Chalk and Talk Method
Learning
Process
Module-5
8051 Interrupts and Interfacing Applications:
8051 Interrupts. 8051 Assembly language programming to generate an external interrupt using a switch, 8051 C
programming to generate a square waveform on a port pin using a Timer interrupt. Interfacing 8051 to ADC-0804,
DAC, LCD and Stepper motor and their 8051 Assembly language interfacing programming.
Teaching- Chalk and Talk Method
Learning
Process
PRACTICAL COMPONENT OF IPCC
Sl.NO Experiments
1 To construct and observe clipping for different configurations.
2 To construct and find bandwidth of RC coupled amplifier.
3 To construct and check oscillation frequency for RC phase shift oscillator.
4 To construct and obtain OPAMP Astable multivibrator.
5 To design and implement Simple combinational logic circuits like half adder, full adder, 2X1 MUX etc
6 Verify the working of sequential logic circuits viz flip flop, shift register.
7 Programs to generate delay, Programs using serial port and on-Chip timer/counter.
8 Code conversion: BCD – ASCII; ASCII – Decimal; Decimal - ASCII; HEX - Decimal and Decimal -HEX.
9 Write a C program to (i) transmit and (ii) to receive a set of characters serially by interfacing 8051 to
a terminal.
10 Write ALPs to generate waveforms using ADC interface.
11 Write ALP to interface an LCD display and to display a message on it. 5. Write ALP to interface a
12 Stepper Motor to 8051 to rotate the motor.
13 Write ALP to interface ADC-0804 and convert an analog input connected to it.
Course outcome (Course Skill Set)
At the end of the course the student will be able to :
CO1: Explain the difference between Microprocessors & Microcontrollers, Architecture of 8051 Microcontroller,
Interfacing of 8051 to external memory and Instruction set of 8051.
CO2: Write 8051 Assembly level programs using 8051 instruction set.
CO3: Explain the Interrupt system, operation of Timers/Counters and Serial port of 8051.
CO4: Write 8051 Assembly language program to generate timings and waveforms using 8051 timers, to send &
receive serial data using 8051 serial port and to generate an external interrupt using a switch.
CO5: Write 8051 Assembly language programs to generate square wave on 8051 I/O port pin using interrupt and C
Programme to send & receive serial data using 8051 serial port.
CO6: Interface simple switches, simple LEDs, ADC 0804, LCD and Stepper Motor to 8051 using 8051 I/O ports.
53/
Sl:20102022
54
Assessment Details (both CIE and SEE)
The weightage of Continuous Internal Evaluation (CIE) is 50% and for Semester End Exam (SEE) is 50%. The
minimum passing mark for the CIE is 40% of the maximum marks (20 marks). A student shall be deemed to have
satisfied the academic requirements and earned the credits allotted to each subject/ course if the student secures
not less than 35% (18 Marks out of 50) in the semester-end examination(SEE), and a minimum of 40% (40 marks
out of 100) in the sum total of the CIE (Continuous Internal Evaluation) and SEE (Semester End Examination) taken
together
CIE for the theory component of IPCC
Two Tests each of 20 Marks (duration 01 hour)
First test at the end of 5th week of the semester
Second test at the end of the 10th week of the semester
Two assignments each of 10 Marks
First assignment at the end of 4th week of the semester
Second assignment at the end of 9th week of the semester
Scaled-down marks of two tests and two assignments added will be CIE marks for the theory component of IPCC
for 30 marks.
CIE for the practical component of IPCC
On completion of every experiment/program in the laboratory, the students shall be evaluated and marks
shall be awarded on the same day. The15 marks are for conducting the experiment and preparation of the
laboratory record, the other 05 marks shall be for the test conducted at the end of the semester.
The CIE marks awarded in the case of the Practical component shall be based on the continuous evaluation
of the laboratory report. Each experiment report can be evaluated for 10 marks. Marks of all experiments’
write-ups are added and scaled down to 15 marks.
The laboratory test (duration 03 hours) at the end of the 15th week of the semester /after completion of all
the experiments (whichever is early) shall be conducted for 50 marks and scaled down to 05 marks.
Scaled-down marks of write-up evaluations and tests added will be CIE marks for the laboratory component of
IPCC for 20 marks.
SEE for IPCC
Theory SEE will be conducted by University as per the scheduled timetable, with common question papers for the
course (duration 03 hours)
5. The question paper will have ten questions. Each question is set for 20 marks.
6. There will be 2 questions from each module. Each of the two questions under a module (with a maximum of 3
sub-questions), should have a mix of topics under that module.
7. The students have to answer 5 full questions, selecting one full question from each module.
The theory portion of the IPCC shall be for both CIE and SEE, whereas the practical portion will have a CIE
component only. Questions mentioned in the SEE paper shall include questions from the practical
component).
The minimum marks to be secured in CIE to appear for SEE shall be the 12 (40% of maximum marks-30) in
the theory component and 08 (40% of maximum marks -20) in the practical component. The laboratory
component of the IPCC shall be for CIE only. However, in SEE, the questions from the laboratory component
shall be included. The maximum of 04/05 questions to be set from the practical component of IPCC, the total
marks of all questions should not be more than the 20 marks.
SEE will be conducted for 100 marks and students shall secure 35% of the maximum marks to qualify in the SEE.
Marks secured will be scaled down to 50.
54/
Sl:20102022
55
Suggested Learning Resources:
Books
1. “The 8051 Microcontroller and Embedded Systems – using assembly and C”, Muhammad Ali Mazidi and Janice
Gillespie Mazidi and Rollin D. McKinlay; PHI, 2006 / Pearson, 2006.
2. “The 8051 Microcontroller”, Kenneth J. Ayala, 3rd Edition, Thomson/Cengage Learning.
Reference Books:
1. “The 8051 Microcontroller Based Embedded Systems”, Manish K Patel, McGraw Hill, 2014, ISBN: 978-93-329-
0125-4.
2. “Microcontrollers: Architecture, Programming, Interfacing and System Design”, Raj Kamal, Pearson Education,
2005.
Web links and Video Lectures (e-Resources):
E-book versions are available at ‘https://www.knimbus.com/’ of the VTU consortium. Remote login
available through respective college IDs.
You tube videos
Activity Based Learning (Suggested Activities in Class)/ Practical Based learning
To construct and observe clipping for different configurations.
To construct and find bandwidth of RC coupled amplifier.
To construct and check oscillation frequency for RC phase shift oscillator.
To construct and obtain OPAMP Astable multivibrator.
To design and implement Simple combinational logic circuits like half adder, full adder, 2X1 MUX etc
Verify the working of sequential logic circuits viz flip flop, shift register.
Programs to generate delay, Programs using serial port and on-Chip timer/counter.
Code conversion: BCD – ASCII; ASCII – Decimal; Decimal - ASCII; HEX - Decimal and Decimal -HEX.
Write a C program to (i) transmit and (ii) to receive a set of characters serially by interfacing 8051 to a
terminal.
Write ALPs to generate waveforms using ADC interface.
Write ALP to interface an LCD display and to display a message on it. 5. Write ALP to interface a Stepper
Motor to 8051 to rotate the motor.
Write ALP to interface ADC-0804 and convert an analog input connected to it.
55/