Unit-V Interfacing Microcontrollers: Course Material (Question Bank)
Unit-V Interfacing Microcontrollers: Course Material (Question Bank)
Unit-V Interfacing Microcontrollers: Course Material (Question Bank)
www.studentsfocus.com
EC6504 Micrprocesor & Microcontroller UNIT V Page 1
WWW.STUDENTSFOCUS.COM Course Material (Question Bank)
A watching timer is used to protect an application in case the controlling microcontroller begins
to run amok and execute randomly rather than the preprogrammed instructions written for the
application.
8. Define interrupt.
Interrupt is defined as request that can be refused. If not refused and when an interrupt request is
acknowledged, a special set of routine or events are followed to handle the interrupt.
11. How is the 8051 serial port different from other micro controllers?
The 8051 serial port is a very complex peripheral and able to send data synchronously and
asynchronously in
a variety of different transmission modes.
www.studentsfocus.com
EC6504 Micrprocesor & Microcontroller UNIT V Page 2
WWW.STUDENTSFOCUS.COM Course Material (Question Bank)
• Txd pin is used for clock output, while Rxd pin is for data transfer.
• When a character is received, the status of the data transfer is monitored by polling the RI-n bit
in serial control register (SCON).
www.studentsfocus.com
EC6504 Micrprocesor & Microcontroller UNIT V Page 3
WWW.STUDENTSFOCUS.COM Course Material (Question Bank)
PART B
1. Draw the diagram to interface a stepper motor with 8051 microcontroller and explain also
write an 8051 ALP to run the stepper motor in both forward and reverse direction with delay.