Subject & Application (22421)

Prepared By: Prof.S.S.Aher ( Department of Electrical Engineering) Page 1 of 15 Prepared By: Prof.S.S.Aher ( Department of Electrical Engineering) Page 2 of 15 Marks Chapter Name of chapter With No. Option

1 and Logic Families 18

2 Combinational Logic and Sequential Logic Circuit 20

3 Basic of and 8051Microcontroller 22

4 8051 Instructions set and Programming 22

5 8051 Memory ,device interfacing,and application 20

Total Marks :- 102

Prepared By: Prof.S.S.Aher ( Department of Electrical Engineering) Page 3 of 15 Q.1 Attempt any FIVE 5*2=10 Construct OR gate using NAND gate. a)

Compare Harrord and Non-Neuman architecture. (any two points) b)

Write the excitation table for T-FF. c)

Define : (i) Address bus (ii) Data bus. d)

e) List the different addressing modes of 8051

f) Define : (i) Assembler (ii) Compiler Find the number of address lines required for g) (i) 4K RAM (ii) 8K ROM

Q.2 Attempt any THREE 3*4=12

a) State & explain De-Morgan’s first theorem.

b) Compare microprocessor & microcontroller. (any four points) Solve the following SOP expressions with the help of K-map :

(i) F(A, B, C, D) = m(0, 1, 3, 4, 5, 7) c) (ii) F(A, B, C) = m(0, 1, 4, 5, 6, 7)

d) Write any two laws of . Justify with the help of truth table.

Q.3 Attempt any THREE 3*4=12

a) List any eight features of microcontroller 8051.

b) Compare TTL, CMOS & ECL families on the following :

c) Describe the function of following pins of 8051 :

Prepared By: Prof.S.S.Aher ( Department of Electrical Engineering) Page 4 of 15 (i) PSEN (iii) ALE (ii) RESET iv) ––– EA

d) Draw logic diagram of 4 : 1 & give it’s truth table

Q.4 Attempt any FOUR 3*4=12

a) Draw a neat labelled interfacing diagram of 8051 with stepper motor.

b) Implement OR gate using transistor.

c) Write the alternative function of Port-3 pins

d) Draw master-slave JK FF & write it’s truth table.

e) Explain Boolean of 8051

Q.5 Attempt any TWO 2*6=12 Execute the following program & specify the contents of Accumulator &

status of PSW after execution. Also draw the format of PSW

MoV A, #OFH a) MoV B, #03H

Div AB

End

Develop an ALP to generate square wave of 1kHz at port pin P1.3. Draw flowchart for it. b)

c) Explain full with it’s logic diagram & truth table.

Q.6 Attempt any FOUR 2*6=12

a) Construct 3-bit synchronous UP counter using flipflop. Also draw it’s timing diagram. Describe the following assembler directives with one example of each

(i) ORG

(ii) DB

b) (iii) EQU (iv) END

(v) CODE

(vi) DATA

Prepared By: Prof.S.S.Aher ( Department of Electrical Engineering) Page 5 of 15 Develop an ALP for interfacing of LED’s with Port 1 of 8051. Draw

c) interfacing diagram for the same.

Prepared By: Prof.S.S.Aher ( Department of Electrical Engineering) Page 6 of 15 Syllabus:-

Unit Course Outcome Name of the Unit No. (CO) 1 Logic Gate and Logic Families CO.421.1 2 Combinational Logic and Sequential Logic Circuit CO.421.2

Course Outcome Q.1 Attempt any FOUR 4*2=8Marks (CO) a) Define the characteristics of logic families:

1. Speed of operation. CO.421.1 2. Power dissipation.

b) Draw the symbol and write truth table of EX OR gates. CO.421.1

c) State the cumulative and associative law for Boolean algebra CO.421.1

d) Write the excitation table for D flip flop. CO.421.2

e) State the need of De-multiplexer. CO.421.2 f) Define min-term and max-term CO.421.2

Q.2 Attempt any THREE 3*4=12 Marks a) (a) Simplify using K’ Map and implement using NOR- NOR gates only: f( A,B,C,D)= π M (0,2,6,7,8,10,12,14,15) CO.421.2

b) Explain the operation of SR Flip Flop and draw its truth table CO.421.2

c) Prove NOR gate as universal gate with suitable diagrams. CO.421.1 d) Transmission line parameters & performance CO.421.2

Prepared By: Prof.S.S.Aher ( Department of Electrical Engineering) Page 7 of 15 Syllabus:-

Course Outcome Name of the Unit Unit (CO) No. 3 Basic of Microprocessor and 8051Microcontroller CO.421.3

4 8051 Instructions set and Programming CO.421.4

5 8051 Memory ,device interfacing,and application CO.421.5

Course Outcome Q.1 Attempt any FOUR 4*2=8Marks (CO) a) List the functions of address and Data Bus CO.421.3 b) Classify the following applications under Von-Neuman and :

i. Processing. CO.421.3

ii. 8051 Micro controller

c) Illustrate the functions of Editor and Complier. CO.421.4

d) List the alternate functions of Port 3 of 8051. CO.421.3 e) Calculate size of memory if number of address lines for a memory chips are 12 and CO.421.5 data bus width is of 8 bit

f) List any four addressing modes of 8051 with one example of each, CO.421.5 Q.2 Attempt any THREE 3*4=12 Marks a) Develop an ALP to find the largest number out of ten numbers stored CO.421.5

Prepared By: Prof.S.S.Aher ( Department of Electrical Engineering) Page 8 of 15 from internal memory location 60H onwards and store the result at 70H memory location.

b) Draw an interfacing diagram of 8 LEDs connected to port 2 of 8051 and write a program to toggle LEDs after 100 msec delay. CO.421.5

Compare microcontroller with microprocessor on the basis of any c) four factors. CO.421.4

d) Draw the interfacing diagram of Traffic light controller with 8051. CO.421.5

Prepared By: Prof.S.S.Aher ( Department of Electrical Engineering) Page 9 of 15 COURSE: -Digital Electronics & Microcontroller & Application

PROGRAMME: - Electrical Engineering

CO.NO Course Outcome

CO 421.1 Use Boolean Expression To Reliaze Given Expression

CO 421.2 Build Simple Sequentional And Combinational Circuit

CO 421.3 Analyse The Architecture Of Microcontroller

CO 421.4 Write The Program In Assembly Language

CO 421.5 Interface The Memory And I/O TO Microcontroller

Prepared By: Prof.S.S.Aher ( Department of Electrical Engineering) Page 10 of 15 UNIT-1. LogIc gaTe aNd LogIc FamILIes

1. Draw the symbol and write logic expression and truth table of the two input

universal logic gates.

2. The output of 8 bit DAC varies between +10V and -10V. Calculate the following:

i) Resolution ii) Percentage resolution.

3. Draw the Symbol and write the Truth Table of Universal Gates.

4. State commutative and associative laws for the binary numbers.

5. Define 1’s and 2’s Complement of Binary Number with example.

6. Reduce the following Boolean expression using Boolean laws.

Y=AB+AB+AB+AB

7. Compare the parameters of TTL, ECLand CMOS logic families (any 4 points).

8. Describe the operation of TTL logic circuit working as NAND gate.

9. Design a four bit BCD adder using IC 7483 and NAND gate

10. Write the radix of binary,octal,decimal and hexadecimal number system. 2

11. Draw the circuit diagram for AND and OR gates using diodes.

12. Write simple example of Boolean expression for SOP and POS.

13. Compare TTL & CMOS logic family

Prepared By: Prof.S.S.Aher ( Department of Electrical Engineering) Page 11 of 15 UNIT-2. combINaTIoNaL LogIc aNd seqUeNTIaL LogIc cIrcUIT

1. Draw Block diagram of 4:1 Multiplexer and write its truth table.

2. Draw symbol and write the truth table of JK flip flop.

3. a) Realize the following function using demultiplexer :

4. F1 = Σ m (1, 2, 5, 6, 7, 11, 14)

5. F2 = π M (0, 1, 2, 5, 6, 7, 8, 11, 12, 15)

6. Describe the operation of 3 bit synchronous up counter with Truth Table and Logic

diagram

7. Describe the working principle of Successive approximation type ADC with the help of block diagram.

8. State the necessity of multiplexer.

9. Draw logic diagram of T flip-flop and give its truth table

10. State function of preset and clear in flip flop.

11. Minimize the following expression using K-Map.

12. ƒ(A, B, C, D) = ∑m (0, 1, 2, 4, 5, 7, 8, 9, 10)

13. Describe the function of full Adder Circuit using its truth table, K-Map simplification and logic diagram.

Prepared By: Prof.S.S.Aher ( Department of Electrical Engineering) Page 12 of 15 UNIT-3. basIc oF mIcroprocessor aNd 8051mIcrocoNTroLLer

1. List any four features of 8051 microcontroller

2. Draw the format of PSW of 8051 and state the function of each bit.

3. Compare microprocessor and microcontroller (any four points).

4. Describe function of following pins of 8051 microcontroller

5. Draw block diagram of 8051 microcontroller.

6. a) Compare 8051 and 8052 .

7. b) Draw format of PSW register of 8051 µc and explain function of any two flag.

8. List all I/O ports of 8051 µc and describe alternative functions of each ports

9. Explain with suitable diagram.

10. Compare between RISC and CISC machines

11. Draw the architecture of 8051 microcontroller.

Prepared By: Prof.S.S.Aher ( Department of Electrical Engineering) Page 13 of 15 UNIT-4. 8051 INsTrUcTIoNs seT aNd programmINg

1) List interrupts in 8051 microcontroller with their priorities and vector address.

2) List any four addressing modes of 8051 microcontroller with one example of each.

3) Describe four timer modes of 8051 microcontroller.

4) Describe the function of following instructions :

5) (i) MOVC A, @ A + D PTR

6) (ii) DA A

7) Describe the following assembler directive with one example each :

8) ORG (iii) EQU (ii) DB (iv) END

9) With help of ADD instruction, explain A) Direct B) Indirect addressing mode

10) Explain various modes of serial communication operation.

Prepared By: Prof.S.S.Aher ( Department of Electrical Engineering) Page 14 of 15 UNIT-5. 8051 memory ,devIce INTerFacINg,aNd appLIcaTIoN

1. Draw the pin diagram of 204 LCD display and state the function of RS, EN

& R/W pins.

2. List the alternate pin functions of Port 3.

3. Write an assembly language program to transfer the external memory location

4. content of address 2400 H to internal RAM location 42 H.

5. Write any four assembly language instructions to make accumulator contents to zero.

6. List interrupts in 8051 microcontroller with their priorities and vector address

7. Draw the format of IP register of 8051 microcontroller and state the function of each bit.

8. Draw the interfacing diagram where P2.3 pin of 8051 microcontroller is used

to control relay which in turn controls the fan connected to 230 V. Describe

operation of this circuit.

9. Write ALP to find smallest number in an array of 10 numbers stored in Internal

RAM.

10. Draw and explain interfacing diagram for DC motor speed control using 8051 µc. Also develop flowchart for same operation.

11. Draw interfacing diagram for temperature measurement using LM 35 sensor with

8051 µc.

Prepared By: Prof.S.S.Aher ( Department of Electrical Engineering) Page 15 of 15