2023-Microcontroller & Embedded System Apr-May (AICTE)
2023-Microcontroller & Embedded System Apr-May (AICTE)
G )
B.
C028513(028)
Tech. (Fifth Semester) Examination,
April-May 2023
(New Scheme)
(Electronics & Telecommunication Engg. Brancn)
MICROCONTROLLER & EMBEDDED SYSTEM
Time Allowed : Three hours
CO28513(028) PTO
| 31 generate
|2 | program to
BCD. Write a (d) Write an assembly language programming onpin
(c) Assume that register A has Packed
programn to convert packed BCD to two ASCII given square wave using time MHz.
XTAL = 12
PLl off 8051 controller.
number and place them into R2 and R6. 8
50 cycles
RAM address from 3OH into External RAM address 100 cycles
from 4000 H. (Number of data bytes: 10). Unit-IJI
Registers. 4
Unit-II
Explain the function of SCON and SBUF
3. (a)
2. (a) Discuss the various timer modes supported by 8051. to interface
8051
What is special about the auto reload mode? 4 (b) Design a interfacing circuit MAX-
of PC using
Microcontroller with serial port
(b) Write a program to do the following: ofMAX-232 amd MAX
232. State the advantages 8
() Receive data serially and send it to PO. 233.
(11) Have port Pl read and transmit serially and
copy given to P2. (c) Explain the following standards :
(i) Make Timer 0 to generate square wave of RS 422, GPIB, RS 232
frequency 15 KHz on P 0-1. Use 8051 (a) Write a program to send the message serially
microcontroller and baud rate 4800. (XTAL = "CSVTU" with Baud Rate 9600 (XTAL 12 MHz).
1 0592 MHz)
Unit-IV
(c) Write an assembly language program to count l000
pulses externally connected to P 3-4 of 805 1and 4. (a) Interface 4x4 Matrix Keyboardwith 8051 Micro
controller. 4
after receiving all 1000 pulses, display 'OK' message
on display connected to the port P2. (b) ARobotic arm consist of twOstepper motors Mi
and M2 at two joints. Each motor has step angle
C0285 13(028) CO285 13(028) PT
|4|
Unit-V