B.TECH - Semester 4 microcontroller based design Question Paper 2019 (jun)
Practice authentic previous year university questions for better exam preparation.
Sample Questions
- What is a port latch? Give two instructions that use a port latch.
- Write an 8051 ALP to check if a 8-bit number read in through port P3 is prime or not. If it is prime, send ' $Y$ ' through port P2. Else send ' $N$ '.
- Explain the CJNE instruction.
- Write an $8051^{\circ} \mathrm{C}$ Program to find the perfect squares from the first $n$ natural numbers and store them in RAM location starting from $31 \mathrm{H} . \mathrm{n}$ is contained in 30 H .
- Describe the interrupt vector table of 8051.
- What is MAX232? Describe the pins.
- What is the importance of baud rate? How do you set the baud rate in 8051 ?
- Explain the pins of DAC0808.
- Write a short note on ARM Processors.
- Calculate the number of step per revolution of a stepper motor for a step angle of 7.5 degrees. ( $\mathbf{1 0} \boldsymbol{\times} \mathbf{4} \boldsymbol{=} \mathbf{4 0}$ Marks) P.T.O. Answer one full questions from each Module.
- (a) With a neat block diagram, explain the architecture of 8051.
- (b) Write an 8051 ALP to find the sum of digits of a 16-bit number stored in memory location 35 H and 36 H .Send the result to P 2 .
- (a) Explain with a diagram the memory organisation of 8051.
- (b) Write an 8051 C Program to find the least common multiple of 5-bit numbers stored in RAM location starting from 50 H .
- (a) Explain with an example serial data transmission and reception.
- (b) Write an 8051 ALP to set Timer 1 as an event counter. Use mode 2 and display the decimal count on P3,P2 and P1 countinuously.
- (a) Describe the modes of operation of the timer/counters in 8051.
- (b) Write an 8051 ALP using interrupts to get data serially and send it to P1 while Timer 0 is generating a square wave of 2 kHZ .
- (a) Explain how an LCD display is interfaced to 8051.
- (b) Write an 8051 ALP to send data and commands to LCD by checking the busy flag. OR - 16. (a) Explain with a diagram the 8051's interfacing with ADC.
- (b) The voltage levels required for generating a sine wave using DAC 0808 are stored in extenal RAM location from 7000 H to 7180 H . Write an 8051 ALP to generate a continouous sine wave.