Course Title: Microcontroller L T P/ SW/F TOTAL
Course Code: ECE314 S W CREDIT
Credit Units: 4 UNITS
Level: UG 0
3 0 2 4
Course Objectives:
The course aims to highlight the architecture of 8051 microcontroller and to provide the students with a basic understanding of instruction sets & assembly language programming.
Programming the microcontroller in 8051 C is also emphasized in syllabus. The main purpose of this subject is to develop the student abilities to apply the general knowledge of the
microcontroller architecture in specific projects.
Prerequisites: Digital Electronics, Microprocessors
Course Contents / Syllabus:
Module I Overview of Microcontrollers 20% Weightage
• Microprocessors and Microcontrollers
• Overview of 8051 Microcontroller Family
• Microcontroller Architectures- RISC and CISC, Harvard and Von-Neumann
• 8051 Architecture: Introduction, Hardware, Ports, I/O Pins
• Memory Organization, Special Function Registers
• Timers/ Counters, Serial Port Interface, Interrupt Structure
Module II Assembly language Programming 20% Weightage
• Assembling and running an 8051 program
• Addressing Modes
• Data Transfer Instruction
• Arithmetic Instructions and Programs
• Logical Instructions
• Branch Instruction- Loop and Jump Instructions
• Call Instructions
• Time Delay generations and calculations
• I/O Port Programming
• BCD and ASCII Application Programs
• Single Bit Instruction Programming
• Reading input pins vs Port Latch
Module III Basics of 8051 C Programming 20% Weightage
• Data Types and Time Delay in 8051C
• I/O Programming
• Logic Operations
• Data Conversion Programs
• Accessing Code ROM Space
• Data Serialization
Module IV Timer/ Counter, Serial Port and I/O Programming 20% Weightage
• Programming of 8051 Timers and Counters in Assembly and C
• 8051 Serial Communication: Basics of 8051 Serial Communication
• 8051 Connections to Rs-232
• 8051 Serial Communication Programming in Assembly and C
• 8051 Interrupts
• Programming Timer Interrupts
• Programming External Hardware Interrupts
• Programming The serial communication interrupts
• Interrupts priority in 8051
• Interrupt Programming in C
Module V Development Tools and other Architectures 20% Weightage
• Interfacing 8051 to LCD
• Keyboard
• ADC
• DAC
• Stepper motor interfacing
• Dc motor interfacing
• Emulators
• Debuggers and Software Development tools for microcontrollers
• Introduction to ARM
• Introduction to PIC
List of laboratory Experiments
1. Write a program to add & subtract two 8-bit numbers using microcontroller 8051.
2. Write a program to add a set of 5 nos. stored in external memory location.
3. Write a program to multiply two 8-bit numbers using repeated additions in microcontroller 8051.
4. Write a program to multiply a 16-bit number with 8-bit number using microcontroller 8051.
5. Write a program to count the number of even & odd numbers in a set of 10 numbers.
6. Write a program to convert packed BCD into two ASCII numbers.
7. Write a program to generate Fibonacci series and save the result in external memory location.
8. Write a program to find the largest number in an array of numbers stored in external memory location.
9. Write a program to generate a delay of 5 ms using microcontroller 8051.
10. Write a program to toggling of LED’s using microcontroller 8051.
Course Learning Outcomes:
• Design and develop small scale embedded systems.
• Analyze various embedded products.
• Evaluate the opportunities involving technology, a product or a service required for developing a startup idea.
• Will be able to interface devices and build a complete system.
Pedagogy for Course Delivery: The class will be taught using theory and lab. In addition real life examples will be taken and demonstrated using
simulator/real hardware. Hone Assignments will be based on practical examples of embedded system available today.
Assessment/ Examination Scheme:
Theory L/T (%) Lab/Practical/Studio (%) Total
75% 25 100%
Theory Assessment (L&T):
Continuous Assessment/Internal Assessment End Term
Examination
Components
(Drop down)
Mid-Term Home Class Quiz Attendance
Exam Assignment
Weightage (%)
15% 10% 10% 5% 60%
Lab Assessment
Continuous Assessment/Internal Assessment End Term
Examination
Components Attendance PR LR Viva
(Drop down)
Weightage (%) 5% 15% 10% 10% 60%
Text:
Text:
• James W. Stewart and Kai X. Miao, 2en Edition. “The 8051 microcontroller” Pearson Edu. Prentice Hall.
• M.A. Mazidi and J. G. Mazidi, 2004 “The 8051 Microcontroller and Embedded Systems”, PHI.
• K.J. Ayala, 1991, “The 8051 Microcontroller”, Penram International.
References:
• Dr. Rajiv Kapadia, “8051 Microcontroller & Embedded Systems”, Jaico Press
• Dr. Prasad, 2004, “Embedded Real Time System”, Wiley Dreamtech.