Subject Title : Microcontroller and Embedded Systems
Subject code : UIS409C
Semester : 3
Credits with LTP Structure : 3 Credits ( 3L-0P-0T)
Lecture Hours per Week 3 Hours
Tutorial Hours per Week 00
Total Contact Hours : 40 (40 Teaching Hours + 00 Tutorial Hours)
Teaching Tutorial
UNIT - I 10 Hours
Hours Hours
The 8051 Microcontrollers, Assembly Language Programming:
Microcontrollers and Embedded systems, Overview of the 8051 family, Inside
the 8051, Introduction to 8051 Assembly programming, Assembling and
running an 8051 program, the program counter and ROM space in the 8051,
8051 data types and directives, 8051 flag bits and PSW register, 8051 register 10 0
banks and stack, pin description of the 8051.
Jump, Loop and Call Instructions, I/O Port Programming: Loop and Jump
instructions, Call instructions, Time delay for various 8051 chips, 8051 I/O
programming, I/O bit manipulation programming.
Teaching Tutorial
UNIT - II 10 Hours
Hours Hours
8051 Addressing Modes, Arithmetic, Logic Instructions and Programs:
Immediate and register addressing modes, Accessing memory using various
addressing modes, Bit addresses for I/O and RAM, Extra 128-byte-on-chip
RAM in 8052.
10 0
Arithmetic instructions, Signed number concepts and arithmetic operations,
Logic and compare instructions, Rotate instruction and data serialization, BCD,
ASCII, and other application programs.
Teaching Tutorial
UNIT - III 10 Hours
Hours Hours
8051 Programming in C, Pin description of 8051: Data types and time delay
in 8051 C, I/O programming in 8051 C, Logic operations in 8051 C, Data
conversion programs in 8051 C, Accessing code ROM space in 8051 C, Data
serialization using 8051 C. 10 0
8051 Timer Programming in Assembly and C: Programming 8051 timers,
counter programming, Programming timer 0 and 1 in 8051 C.
Teaching Tutorial
UNIT - IV 10 Hours
Hours Hours
8051 Serial Port Programming in Assembly and C: Basics of serial 10 0
communication, 8051 conversion to RS232, 8051 serial port programming in
Assembly, Programming the second serial port, Serial port programming in C.
Interrupts Programming in Assembly and C: 8051 interrupts, Programming
timer interrupts, Programming external hardware interrupts, Programming the
serial communication interrupt, Interrupt priority in the 8051/52, Interrupt
programming in C.MOTOR Control: DC and Stepper Motors.
Text Books:
1. Muhammad Ali Mazidi, Janice Gillispie Mazidi and Rolin D. McKinlay, “ The 8051
Microcontroller and Embedded Systems” using Assembly and C. Pearson 2nd Edition, 2011.
Chapter 1: 1.1-1.2, Chapter 2: 2.1-2.7, Chapter 3: 3.1-3.3, Chapter 4: 4.1-4.2, Chapter 5: 5.1-
5.4, Chapter 6: 6.1-6.5, Chapter 7: 7.1-7.6, Chapter 8: 8.1, Chapter 9: 9.1-9.3, Chapter 10: 10.1-
10.5, Chapter 11: 11.1-11.6, Chapter 17: 17.2-17.3
Reference Books:
1. Kenneth J. Ayala, “The 8051 Microcontroller Architecture, Programming and Applications”,
2nd Edition, Penram International, 1996.
2. Dr. Uma Rao and Dr. Andhe Pallavi, “The 8051 Microcontroller Architecture, Programming
and Applications”, Pearson Education Sanguine.
3. V Udayshankar, M S Mallikarjunaswamy, “ 8051 Microcontroller: Hardware, Software and
Applications”, McGrawHill, New Delhi.