# Microcontrollers In-SEM Exam(Aug-2017) Model Answer Paper

Updated on 2017/11/23 22:27

Note: Model answers and marking scheme is totally based on my knowledge and experience. This model answer is not provided by SPPU. There may be changes in marking scheme of SPPU Exam panel.

## Question 1

a) Draw and explain the block diagram of 8051 in short (5 Marks)

 Block Diagram 2 Marks WikiNote: Block Diagram of 8051 Explaination 3 Marks WikiNote: Explained

b) Explain the following instruction with operation, addressing mode, number of cycles and time required to execute the following instruction (5 Marks)

 i) DJNZ Rn, X 5 Marks WikiNote: Branch instruction ii) MOVC A,@A+DPTR WikiNote: Data transfer instruction iii) DAA WikiNote: Arithmetic Instruction

## Question 2

a) Draw and explain in depth functional diagram of Timer/Counter (5 Marks)

 Timer/Counter functional diagram 2 Marks WikiNote: Timer/Counter functional diagramTimer 0 is explained here Explaination 3 Marks WikiNote: Explained

b)  Write an ALP to transfer GOD continuosly at the baud rate of 9600 (5 Marks)

 Calculation of value to be loaded in TH1 Register to set baud rate=9600 2 Marks WikiNote: Baud rate calculation Assembly language program 3 Marks WikiNote: Program

## Question 3

a) Draw an interfacing diagram for 7-segment display connected to port 1 and write an ALP to display BCD counter(5 Marks)

 Interfacing Diagram 2 Marks WikiNote: Interfacing Diagram Assembly language program 3 Marks WikiNote: ProgramWikiNote: Proteus Simulation and Video Explaination

b) Draw and explain block schematic of Logic Analyzer (5 Marks)

 Block Diagram 3 Marks WikiNote: Block Diagram Explaination 2 Marks WikiNote: Explained

## Question 4

a) Draw an interfacing diagram of 4x4 matrix keypad and draw flowchart to detect key pressed (5 Marks)

 Interfacing Diagram 2 Marks WikiNote: Interfacing Diagram Flowchart 3 Mark WikiNote: Flowchart Note :- Students can develop flowchart  from the Program present here

b) Draw an interfacing diagram for LCD and write an ALP to display GANESH on line 2 with default values  (5 Marks)

 Interfacing Diagram 2 Marks WikiNote: Interfacing Diagram Assembly language program 3 Marks WikiNote: ProgramWikiNote: Proteus Simulation and Video Explaination

## Question 5

a) Draw an interfacing diagram of DAC and write an ALP to generate square waveform of 2 KHz with delay using timer 1 in mode0 (5 Marks)

 Interfacing Diagram 2 Marks WikiNote: Interfacing Diagram Timer delay calculations 1 Mark Assembly language program 3 Marks WikiNote: Program

b) Draw an interfacing diagram of stepper motor and write an ALP to rotate it anti-clockwise continuosly (5 Marks)

 Interfacing Diagram 2 Marks WikiNote: Interfacing Diagram Assembly language program 3 Marks WikiNote: Program

## Question 6

a) Draw an interfacing diagram for Opto-isolator and write an ALP to flash lamp connected to it with delay of 10milli-seconds  (5 Marks)

 Interfacing Diagram 2 Marks WikiNote: Interfacing Diagram Assembly language program 3 Marks WikiNote: Program

b) Draw a DAS to display the frequency of external signal on 7-segment display with LED indicator for highest value, Draw the flow chart (5 Marks)

 Interfacing Diagram 2 Marks WikiNote: Interfacing Diagram Flow chart 3 Marks WikiNote:Flow chartNote :- Students can develop flowchart from the program

## References

• Marking scheme and Notes by Prof. Sujit wagh, SKNCOE, Pune
Tags:
Created by Sujit Wagh on 2017/08/11 15:58

Happy WikiNoting!