0% found this document useful (0 votes)
11 views19 pages

Ilovepdf Merged (3)

The document contains examination instructions and a series of questions related to embedded systems, microcontrollers, and programming in C for the 89C51 microcontroller. It covers topics such as RISC and CISC architectures, interfacing components, communication protocols, and programming tasks. Students are required to answer various questions, illustrate their answers with diagrams, and demonstrate their understanding of embedded systems concepts.

Uploaded by

atharvagujje0
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views19 pages

Ilovepdf Merged (3)

The document contains examination instructions and a series of questions related to embedded systems, microcontrollers, and programming in C for the 89C51 microcontroller. It covers topics such as RISC and CISC architectures, interfacing components, communication protocols, and programming tasks. Students are required to answer various questions, illustrate their answers with diagrams, and demonstrate their understanding of embedded systems concepts.

Uploaded by

atharvagujje0
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 19

22532

12425
03 Hours / 70 Marks Seat No.

Instructions – (1) All Questions are Compulsory.


(2) Answer each next main Question on a new page.
(3) Illustrate your answer with neat sketches wherever
necessary.
(4) Figures to the right indicate full marks.
(5) Assume suitable data, if necessary.
(6) Use of Non-programmable Electronic Pocket
Calculator is permissible.
(7) Mobile Phone, Pager and any other Electronic
Communication devices are not permissible in
Examination Hall.

Marks

1. Attempt any FIVE of the following: 10


a) Define RISC and CISC.
b) Draw the formats of IE and IP registers.
c) State the Pin connections of RS 232 to configure it as a null
modem.
d) State driver IC’s used to interface stepper motor and DC motor
to 8051 Microcontroller.
e) State reason of occurrance of deadlock. List methods to avoid
it.
f) List any four applications of embedded system.
g) Sketch Pin-out of LM35 with proper lables. List any two
temperature sensors used in industry.
P.T.O.
22532 [2]
Marks
2. Attempt any THREE of the following: 12
a) Compare features of AVR and ARM Microcontroller.
b) List different logical operators in “C” for 8051. Give one
example of each.
c) Draw and explain CAN bus frame format.
d) Draw an interfacing diagram of DAC to 89C51 and write C
language program to generate square wave using DAC.

3. Attempt any THREE of the following: 12


a) State the meaning of following terms:
i) Multitasking
ii) Scheduling of tasks.
b) Compare assembly language programming with embedded C
programming.
c) Explain parallel communication protocols PCI and PCI-X.
d) Describe the following characteristics of embedded system:
i) NRE Cost
ii) Unit Cost
iii) Flexibility
iv) Maintainability.

4. Attempt any THREE of the following: 12


a) List out standard baud rates used in 89C51 serial communication
along with hexadecimal values.
b) Draw an interfacing of RS232 with 89C51 Microcontroller and
state the significance of DTR and DSR signals.
c) Compare general purpose operating system and real time
operating system.
d) Draw interfacing diagram of 3 × 3 matrix keyboard with 89C51
Microcontroller.
22532 [3]
Marks
e) State any two features of following protocols:
i) IRDA
ii) Bluetooth
iii) Zigbee
iv) IEEE 802.11 (wi-fi).

5. Attempt any TWO of the following: 12


a) Draw block diagram of embedded system and explain its
hardware components.
b) What is intertask communication? Describe different methods
of intertask communication.
c) Draw interfacing diagram of temperature measurement system
using LM35, ADC 0808 with 89C51 Microcontroller.

6. Attempt any TWO of the following: 12


a) Draw the interfacing diagram of 7-segment LED display and
write a 89C51 C language program to display digits 0 to 9
continuously.
b) Write 89C51 C language program to transfer the message
“WELCOME” serially at baud rate 4800, 8-bit data, 1 stop bit.
c) Draw the interfacing diagram to interface LED to Pin P1.7 of
89C51. Write C language program to blink LED continuously.
22532
23124
3 Hours / 70 Marks Seat No.

Instructions – (1) All Questions are Compulsory.


(2) Figures to the right indicate full marks.
(3) Assume suitable data, if necessary.
(4) Use of Non-programmable Electronic Pocket
Calculator is permissible.
(5) Mobile Phone, Pager and any other Electronic
Communication devices are not permissible in
Examination Hall.

Marks

1. Attempt any FIVE of the following : 10


a) Define RISC and CISC.
b) List any two applications of Harvard architecture.
c) Illustrate any two data types used in C with their ranges.
d) Draw format of TMOD register.
e) State any two application of bluetooth.
f) List various temperature sensors used in industry.
g) Define the terms : scalability, predictability related to RTOS.

2. Attempt any THREE of the following : 12


a) Compare Harvard and Von Neuman architecture.
b) State any two application for following
i) Small scale embedded system.
ii) Medium scale embedded system.

P.T.O.
22532 [2]
Marks
c) Write C language program to toggle all bits of P0, P1, P2
and P3 continuosly with certain delay.
d) Draw 9 pin RS 232C connector and state significance of
DTR and DSK signals.

3. Attempt any THREE of the following : 12


a) Write a C language program to transfer message “MSBTE”
serially at 9600 band rate. Assume crystal frequency 12 MHz.
b) Compare between CAN and I2C protocols on the following
points.
i) Data Transfer rate
ii) Number of fields
iii) Addressing bits
iv) Applications
c) Draw interfacing of ADC with 89C51 and explain function of
SOC, EOC and OE.
d) Compare general purpose operating system and RTOS
(four points)

4. Attempt any THREE of the following : 12


a) Describe how assembly language can be included in 89C51 C
program. Give an example.
b) Draw and explain USB protocol.
c) State any four features of Zigbee.
d) Draw interfacing diagram of 4 × 4 matrix keyboard with 89C51.
e) Write a ‘C’ language program to rotate stepper motor by 90°
clockwise. Assume step angle of 1.8° and 4 step sequence.
22532 [3]
Marks
5. Attempt any TWO of the following : 12
a) Explain watchdog timer and semaphore in detail.
b) Write a 89C51 C program to display ‘WELCOME’ on 16  ×  2
LCD display.
c) Write C language program to generate square wave of 5 KHz
on pin P1.5 of 89C51.

6. Attempt any TWO of the following : 12


a) Explain six characteristics of embedded system.
b) Explain pre emptive and round robin scheduling algorithm
in RTOS.
c) Draw interface diagram of 7 seg LED display to 89C51 and
write a C program to display 0-9 continuously.
22532
22223
3 Hours / 70 Marks Seat No.

Instructions – (1) All Questions are Compulsory.


(2) Illustrate your answers with neat sketches wherever
necessary.
(3) Figures to the right indicate full marks.
(4) Assume suitable data, if necessary.
(5) Mobile Phone, Pager and any other Electronic
Communication devices are not permissible in
Examination Hall.

Marks

1. Attempt any FIVE of the following: 10


a) State any four design metrics of an embedded system.
b) Write down any four salient features of ARM micro controller.
c) Explain duplex mode of communication and write any two
applications.
d) Illustrate any four data types in Embedded C language with
their range in bits and data range.
e) Describe the concept of Round-robin scheduling with suitable
schematic diagram.
f) State any four logical operations in Embedded C language
with one example using C language syntax.
g) List any four code with description to write in command
register of 16×2 LCD.

P.T.O.
22532 [2]
Marks
2. Attempt any THREE of the following: 12
a) Classify Embedded systems based on performance of
Microcontroller and explain any one.
b) Utilize inverting operator in C language program to toggle all
bits of port O of 89C51 Microcontroller with looms delay.
c) Draw the frame format of I2C and explain fields therein.
d) Identify which type of microcontroller is applicable for smart
phones and why ?

3. Attempt any THREE of the following: 12


a) Draw labeled diagram to interface a switch to pin P0.0 and
relay to pin P2.0 of 89C51 used to turn ON/OFF bulb
connected to it.
b) Describe inter task communication with reference to RTOS.
c) What is USB serial protocol? Which signals it uses?
d) Find the contents of port after execution of following code
i) P2 = 0 × 74 >> 3;
ii) P3 = 0 × 04  0 × 68;

4. Attempt any THREE of the following: 12


a) Estimate hex data values of THO and TLO if 89C51
microcontroller operating at crystal frequency of 11.0592 MHz
and need to generate delay of 5 milliseconds.
b) Explain architecture of IrDA protocol.
c) Interface 7-segment LED to P2 of Microcontroller 89C51 and
write a program to display number TWO.
d) Demonstrate how L2CAP, SDP and RFComm protocol plays
vital role in bluetooth based adhoc network.
e) List down any four features of LM35 and draw its pin diagram.
22532 [3]
Marks
5. Attempt any TWO of the following: 12
a) Sketch architecture of RTOS and explain function of kernel
and device drivers.
b) Sketch interfacing diagram to control stepper motor connected
to port 2 through IC ULN 2003 and write C language program
to rotate stepper motor in clockwise direction continuously with
certain delay.
c) Write 89C51 ‘Embedded C’ program to transfer string
‘MSBTE’ serially at 9600 baud rate continuously, use 8 bit
data and l stop bit. Assume crystal frequency of 11.0592 MHz.

6. Attempt any TWO of the following: 12


a) Differentiate between general purpose operating system and
real time operating system.
b) Draw block schematic of Embedded system and explain about
all types of available ports on it.
c) Sketch the diagram to interface DAC 0808 to port O of
microcontroller 89C51 and write a Embedded C language
program to generate square wave to 50% duty cycle.
22532
12223
3 Hours / 70 Marks Seat No.

Instructions – (1) All Questions are Compulsory.


(2) Answer each next main Question on a new page.
(3) Illustrate your answer with neat sketches wherever
necessary.
(4) Figures to the right indicate full marks.
(5) Assume suitable data, if necessary.
(6) Mobile Phone, Pager and any other Electronic
Communication devices are not permissible in
Examination Hall.

Marks

1. Attempt any FIVE of the following: 10


a) List any four application’s of Embedded system.
b) State any two characteristics of embedded systems.
c) List any four software development tools used in an embedded
system.
d) Sketch and label the block diagram of embedded system.
e) State any four application’s of bluetooth.
f) State the functions of following pins of LCD.
i) RS
ii) R/W
g) List any four function’s of RTOS.

P.T.O.
22532 [2]
Marks
2. Attempt any THREE of the following: 12
a) Compare RISC and CISC processor’s.
b) Write 89C51 C program to toggle all the bit’s of P0, P1 and
P2 continuously with a zooms delay using the sfr keyword to
declare the port address.
c) Compare between CAN and I2C protocols on following points:
i) Data transfer rate
ii) Number of fields
iii) Addressing bit
iv) Application
d) Write 89C51 C program to rotate stepper motor by 90° Degree
clockwise. Assume step angle is 1.8° degree and four step
sequence.

3. Attempt any THREE of the following: 12

a) If the content of ACC = 0 × 04 and P1 = 0 × F3. State the


result after execution of the following statement independently.

i) Result = ACC and P1

ii) Result = ACC | P1

iii) Result = ACC l P1

iv)Result = ∼ P1
b) Sketch and label the pinout of RS232 and describe the function
of DCE and DTE pins.
c) Explain the concept of Deadlock with suitable schematic.
d) Compare general purpose operating system and RTOS
(four points).
22532 [3]
Marks
4. Attempt any THREE of the following: 12
a) Write a 89C51 C program to generate continuous square wave of
2 KHz on P1.5 using mode 1 of timer 0. The XTAL frequency
is 11.0592 MHz.
b) State any four features of Bluetooth Technology.
c) Compare features of PIC and ARM microcontrollers (four points).
d) Compare assembly language and embedded C program with
respect to :–
i) Execution time
ii) Time for coding
iii) Hex file size
iv) Debugging
e) Draw an interfacing diagram of DAC to 89C51 and write a C
language program to generate square wave using DAC.

5. Attempt any TWO of the following: 12


a) Write a 89C51 C program to display “WELCOME” on
16 × 2 LCD display.
b) Write a 89C51 C program to transfer the message “Exam”
serially at baud rate 4800, 8 bit data, 1 stop bit.
c) Draw CAN message format and explain it. State any two
application’s of CAN BUS.

6. Attempt any TWO of the following: 12


a) Write a 89C51 C program for 4 × 4 keyboard matrix.
b) Draw the interfacing diagram of seven segment LED display to
89C51 and write a 89C51 C program to display 0.9 continuously.
c) List any four characteristics of RTOS and explain the following
functions of RTOS in brief :
i) Scalability
ii) Task management
22532
21222
3 Hours / 70 Marks Seat No.
15 minutes extra for each hour

Instructions – (1) All Questions are Compulsory.


(2) Answer each next main Question on a new page.
(3) Illustrate your answers with neat sketches wherever
necessary.
(4) Figures to the right indicate full marks.
(5) Assume suitable data, if necessary.
(6) Use of Non-programmable Electronic Pocket
Calculator is permissible.
(7) Mobile Phone, Pager and any other Electronic
Communication devices are not permissible in
Examination Hall.

Marks

1. Attempt any FIVE of the following: 10


a) Classify embedded system.
b) Define RISC and CISC.
c) State any two features of IrDA.
d) State any two data types used in C with their range.
e) Define Reliability, Scalability related to RTOS.
f) Draw the format of TMOD register.
g) List various temperature sensors used in industry.

P.T.O.
22532 [2]
Marks
2. Attempt any THREE of the following: 12
a) Compare Harvard and Von-Neumann architecture.
b) Write 89C51 C program to mask the lower 4 bits of P2
and upper 4 bits of P0. using logical operator.
c) Draw and explain CAN bus with frame format.
d) State features of 89C51 microcontroller.

3. Attempt any THREE of the following: 12


a) Draw labelled diagram to interface 16 × 2 LCD with 89C51.
State function of pins
i) RS
ii) RIW
iii) EN
b) Differentiate between general purpose operating system (GPOS)
and real time operating system (RTOS).
c) Draw the pin out of RS 232 and describe function of TXD,
RXD, DTE and DCE pins.
d) Write 89C51 C program for multiplication of two 8 bit numbers.

4. Attempt any THREE of the following: 12


a) Write C program to send character ‘ESY’ serially at 9600
baud rate continuously. Assume crystal frequency 11.0592 MHz.
b) Draw and explain USB protocol.
c) Draw interfacing diagram of 3 × 3 matrix keyboard with 89C51.
d) State any four features of zigbee.
e) Draw interfacing diagram of ADC to 89C51 and explain
function of following pins SOC, EOC, and OE.
22532 [3]
Marks
5. Attempt any TWO of the following: 12
a) Explain watchdog timer and semaphore in detail.
b) Draw the interfacing diagram for temperature measurement using
LM35, ADC 0808 with microcontroller 89C51.
c) Write a C program to toggle all bits of port 1 continuously
with 60 ms delay in between. Use timer 0 in mode 1 to
generate the delay.
The XTAL frequency is 11.0592 MHz.

6. Attempt any TWO of the following: 12


a) Explain pre-emptive and round robin scheduling algorithm in
RTOS.
b) Draw the block diagram of embedded system and explain with
hardware component.
c) Draw interfacing diagram of DAC to 89C51 and write a
‘C’ language program to generate sawtooth wave.
22532
23242
3 Hours / 70 Marks Seat No.

Instructions – (1) All Questions are Compulsory.


(2) Answer each next main Question on a new page.
(3) Illustrate your answers with neat sketches wherever
necessary.
(4) Figures to the right indicate full marks.
(5) Assume suitable data, if necessary.
(6) Use of Non-programmable Electronic Pocket
Calculator is permissible.
(7) Mobile Phone, Pager and any other Electronic
Communication devices are not permissible in
Examination Hall.

Marks

1.
Attempt any FIVE of the following: 10
a) Define term RISC and CISC.
b) List any four features of ARM microcontoller.
c) State the use of MAX-232 in communication.
d) Draw the format of SCON register.
e) List the four different methods of Inter task communication.
f) Illustrate any two logical operators used in ‘C’ with
their example.
g) Draw the two switch and two LEDs Interfacing diagram
with 89C51 microcontroller.

P.T.O.
22532 [2]
Marks
2.
Attempt any THREE of the following: 12
a) List the classification of an Embedded system. Describe any
two types.
b) Write C language program to read P1 and store the one’s
complemnet of P1 to P2.
c) Compare synchronous and asynchronous type of serial
communication. (any four points.)
d) Draw block diagram of Embedded system and describe any
four hardware units of Embedded system.

3.
Attempt any THREE of the following: 12
a) Draw interfacing diagram of 4 × 4 matrix keyboard with 89C51
microcontroller.
b) Differentiate between desktop OS (GPOS) and Real time
operating system (RTOS).
c) State any four features of USB serial communication protocol.
d) Write C language program to transfer the messsage “LEDON”
serially at 4800 baud rate, 8-bit data 1⋅ stop bit.

4.
Attempt any THREE of the following: 12
a) Write a ‘C’ language program to toggle all the pins of port 2
continuously with 250 ms delay in between.
b) Differentiate between I2C and CAN Bus protocol. (any four
points)
c) Draw labelled diagram to Interface 16 × 2 LCD display with
89C51. State function of pins
i) RS
ii) R/W
d) List four features of each of the following:
i) Bluetooth
ii) ZigBee
e) Draw the interfacing of DC motor with 89C51 microcontroller.
Write C language program to rotate DC motor in clockwise
direction.
22532 [3]
Marks
5.
Attempt any TWO of the following: 12
a) List scheduling algorithms of RTOS. Describe concept of pre-
emptive multitasking scheduling algorithm of RTOS with suitable
diagram.
b) Draw Interfacing diagram of DAC 0808 with 89C51, microcontroller.
Write C language program to generate triangular waveform
with DAC interfacing
c) Write C language program to generate square wave of 5 KHz
frequency on P 2.7 pin of microcontroller 89C51. Use timer 0,
mode 1 to generate delay. Assume crystal frequency = 11.0592
MHz.

6.
Attempt any TWO of the following: 12
a) What is deadlock in an Embedded system. State the reason of
occurrence and list the deadlock handling techniques.
b) State and describe any six design matrics of embedded system.
c) Draw interfacing diagram of ADC with 89C51 microcontroller
and explain function of following pins of ADC
i) SOC
ii) EOC
iii) OE

You might also like