SEMESTER S4
MICROCONTROLLERS
Course Code PBECT404 CIE Marks 60
Teaching Hours/Week
3:0:0:1 ESE Marks 40
(L: T:P: R)
Credits 4 Exam Hours 2 Hrs. 30 Min.
PBECT304-Logic
Prerequisites (if any) Course Type Theory
Circuit Design
Course Objectives:
1. To learn Microcontroller architecture and its programming
2. To learn embedded system design to develop a product.
SYLLABUS
Module Contact
Syllabus Description
No. Hours
Microcontroller Architecture – General internal architecture, Address
bus, Data bus, control bus.
The Microcontroller 8051: Features of 8051 microcontroller, Block
1
diagram of 8051- program status word (PSW), accumulator, program
9
counter. Memory organization – RAM & ROM, register banks and stack,
Special Function Registers (SFRs), I/O port organization, Interrupts.
Instruction Set of 8051 & Addressing modes: Classification of
instruction set - Data transfer group, arithmetic group, logical group,
2 branching group.
Addressing modes - Types. Accessing the data from internal and external 9
memory.
Programming 8051 Using Assembly Language: Introduction to 8051
assembly language programming. Data types & directives, Concept of
3 subroutine. Software delay programming. 9
Programming 8051 Using Embedded C Language: Introduction to
embedded C – advantages.
Timer / Counter in 8051: Timer registers - Timer0, Timer1.
4 Configuration of timer registers. Timer mode programming. Counter
9
mode.
Serial Communication in 8051: Serial communication – modes and
protocols, RS-232 pin configuration and connection. Serial port
programming – transmitting and receiving.
Programming the interrupts: Use external, timer and serial port
interrupts. Interrupt priority settings.
Suggestion on Project Topics
1. Interface any known ADC chip to 8051 uC. Read the variation in voltage from a potentiometer
and display it on an LCD module.
2. Interface any known DAC chip to 8051 uC. Generate a Sine waveform of 1KHz at any port pin.
3. DC motor interface for speed and direction control.
4. Stepper motor interface - Unit step control, Rotation angle control, Speed control, Direction
control
5. Read the Temperature sensor and display it on LCD.
Course Assessment Method
(CIE: 60 marks, ESE: 40 marks)
Continuous Internal Evaluation Marks (CIE):
Attendance Project Internal Ex-1 Internal Ex-2 Total
5 30 12.5 12.5 60
End Semester Examination Marks (ESE)
In Part A, all questions need to be answered and in Part B, each student can choose any one
full question out of two questions
Part A Part B Total
2 Questions from 2 questions will be given from each module, out
each module. of which 1 question should be answered.
Total of 8 Questions, Each question can have a maximum of 2 sub
40
each carrying 2 marks divisions.
(8x2 =16 marks) Each question carries 6 marks.
(4x6 = 24 marks)
Course Outcomes (COs)
At the end of the course students should be able to:
Bloom’s
Course Outcome Knowledge
Level (KL)
CO1 Outline Architecture of Microcontroller K2
CO2 Develop Microcontroller programs K5
CO3 Design various interfaces to Microcontroller K5
CO4 Design and implement an Embedded System K6
Note: K1- Remember, K2- Understand, K3- Apply, K4- Analyse, K5- Evaluate, K6- Create
CO-PO Mapping Table:
PO1 PO2 PO3 PO4 PO5 PO6 PO7 PO8 PO9 PO10 PO11 PO12
CO1 3
CO2 3 3 3 2 3 2 2
CO3 3 3 3 3 3 2 2
CO4 3 3 3 3 3 3 3 3 3 3 3 3
Text Books
Name of the Edition
Sl. No Title of the Book Name of the Author/s
Publisher and Year
The 8051 Microcontroller and Muhammad Ali Mazidi
Second,
1 Embedded Systems Using Janice Gillispie Mazidi Prentice Hall -Inc
Rolin D. McKinlay 2007
Assembly and C
The 8051 Microcontroller Kenneth J Ayala
2 Architecture, Programming and Dhananjay V Gadre Cengage Learning 2010
Applications
Reference Books
Name of the Edition
Sl. No Title of the Book Name of the Author/s
Publisher and Year
1 8051 hardware Description Datasheet Intel Corporation 1992
Microprocessors and
2 Microcontrollers Lyla B. Das Pearson Education 2011
Video Links (NPTEL, SWAYAM…)
Module
Link ID
No.
1 Microprocessors and Microcontrollers - [Link]
2 Microcontrollers and Applications - [Link]
PBL Course Elements
L: Lecture R: Project (1 Hr.), 2 Faculty Members
(3 Hrs.) Tutorial Practical Presentation
Simulation/
Presentation
Lecture Laboratory
Project identification (Progress and Final
delivery Work/
Presentations)
Workshops
Group
Project Analysis Data Collection Evaluation
discussion
Question Project Milestone Reviews,
answer Analytical thinking
Feedback,
Sessions/ and Testing
Project reformation (If
Brainstorming self-learning
Sessions
required)
Poster Presentation/
Guest Speakers
Case Study/ Field Video Presentation: Students
(Industry Prototyping
Survey Report present their results in a 2 to
Experts)
5 minutes video
Assessment and Evaluation for Project Activity
Sl. No Evaluation for Allotted
Marks
1 Project Planning and Proposal 5
2 Contribution in Progress Presentations and Question Answer 4
Sessions
3 Involvement in the project work and Team Work 3
4 Execution and Implementation 10
5 Final Presentations 5
6 Project Quality, Innovation and Creativity 3
Total 30
1. Project Planning and Proposal (5 Marks)
Clarity and feasibility of the project plan
Research and background understanding
Defined objectives and methodology
2. Contribution in Progress Presentation and Question Answer Sessions (4 Marks)
Individual contribution to the presentation
Effectiveness in answering questions and handling feedback
3. Involvement in the Project Work and Team Work (3 Marks)
Active participation and individual contribution
Teamwork and collaboration
4. Execution and Implementation (10 Marks)
Adherence to the project timeline and milestones
Application of theoretical knowledge and problem-solving
Final Result
5. Final Presentation (5 Marks)
Quality and clarity of the overall presentation
Individual contribution to the presentation
Effectiveness in answering questions
6. Project Quality, Innovation, and Creativity (3 Marks)
Overall quality and technical excellence of the project
Innovation and originality in the project
Creativity in solutions and approaches