Esy Final QB
Esy Final QB
c) Write a program to gate a byte from P1 wait for half second and then send it
to port 2
d) Draw the interfacing diagram of LED with 8051
e) Differentiate between general OS and RTOS
f) Differentiate between Asynchronous and asynchronous transmission
g) State the features of PCI
Q.2 Attempt any THREE 3*4=12
a) State applications of PIC,AVR,ARM & 8051 µc
b) Write the program to generate a frequency of 1kHZ on port pin P2.7
c) Draw & explain the format of I2C protocol
d) Draw the interfacing diagram of stepper motor with 8051 and also write C
program to rotate motor clockwise
Q.3 Attempt any THREE 3*4=12
A key is connected at p3.2 & 8 LED’s are connected to P1 write ‘c’ program
a)
to display 0 to 255 in binary on LED’s when a key is processed
Explain following design metrics of embedded system-
a) NRE Cost
b)
b) Unit
Cost
c)Memory
d) operating system
c) Explain what is watchdog timer and semaphore?
d) Draw the pin out diagram of RS-232. State the function of each pin
Q.4 Attempt any FOUR 3*4=12
e) Write a C program to make bulb ON/OFF using relay. Also draw interfacing
diagram.
Q.5 Attempt any TWO 2*6=12
a) Classify embedded system in detail-6m
Assume that 1Hz external clock is fed to timer P3.5 write a program for
b)
counter 1 in mode 2 to display the state of TL1 of P1
Draw the interfacing diagram of 4x4 keypad with 8051. Also write c
c)
program to display the key on LCD
Q.6 Attempt any TWO 2*6=12
Draw the interfacing diagram of DAC with 8051. Also write c-program to
a)
generate triangular wave by DAC 0808
Write a program that continuously gets single bit of data from P1.7 and send
b)
it to P1.0 while simultaneously create a square wave of 200µs period on P2.5
c) Explain various task scheduling algorithms in RTOS
Course Outcome
Q.1 Attempt any FOUR 4*2=8Marks (CO)
a) Differentiate between RISC & CISC. CO-532.1
c) Write a C program to add 55H & 66H send result to port 1 CO-532.2
Communication.
f) Find the contents of port after execution of following code: CO-532.2
Q.2 Attempt any THREE 3*4=12 Marks
a) Write a C program to monitor bit P1.5. If it is high send CO-532.2
55h to P0 otherwise send AAH to P2
b) Draw pin diagram of RS-232. State the function of all pins. CO-532.3
Course Outcome
Q.1 Attempt any FOUR 4*2=8Marks (CO)
a) Real Time Operating System CO-532.5
b) Real Time Operating System CO-532.5
c) Communication protocols and standards CO-532.3
1. A key is connected at p3.2 & 8 LED’s are connected to P1 write ‘c’ program
to display 0 to 255 in binary on LED’s when a key is processed.
2. Write a program to gate a byte from P1 wait for half second and then send it to port 2.
3. Write a program to subtract 23H from 74H store the result at P1.
4. Write the program to generate a frequency of 1kHZ on port pin P2.7.
5. Assume that 1Hz external clock is fed to timer P3.5 write a program for counter 1
in mode 2 to display the state of TL1 of P1.
6. Write a ‘c’ program to transfer ‘yes’ serially at baud rate 9600 continuously used 8bit
data & 1 stop bit.
7. Write a program that continuously gets single bit of data from P1.7 and send it
2. Write a C program to make bulb ON/OFF using relay. Also draw interfacing
diagram.
4. Draw the interfacing diagram of stepper motor with 8051 and also write C program
to rotate motor clockwise.
5. Draw interfacing diagram of 4*4 keypad with 8051.Also write the program to
display pressed key on LCD.
6. Draw the interfacing diagram of DAC with 8051. Also write C program
to generate triangular wave using DAC.