Professional Documents
Culture Documents
Note: Attempt all questions Roll no. Note: Attempt all questions Roll no.
Q1 (a) Design a simple development board of PIC microcontroller which has a 5 v power supply
and all other necessary components for its operation. (2)
Q1 (a) Design a simple development board of PIC microcontroller which has a 5 v power supply
and all other necessary components for its operation. (2) (b) LEDs are connected to each pin of PORTB. Write a program to turn on each led from
B0 to B7. Call a delay module to create a delay of 10ms. (3)
(b) LEDs are connected to each pin of PORTB. Write a program to turn on each led from
B0 to B7. Call a delay module to create a delay of 10ms. (3) Q2 (a) A dc motor of 500 mA is connected to PORTA i.e. A0, A1, and enable pin is connected
Q2 (a) A dc motor of 500 mA is connected to PORTA i.e. A0, A1, and enable pin is connected to PIN B0. A switch is connected at pin A2. Write an assembly program to rotate a dc motor
to PIN B0. A switch is connected at pin A2. Write an assembly program to rotate a dc motor Clockwise when the switch SW =1 and anticlockwise when SW=0. (3)
Clockwise when the switch SW =1 and anticlockwise when SW=0. (3) (b) Design a circuit to connect a relay at PORT A0. (2)
(b) Design a circuit to connect a relay at PORT A0. (2) Q3. (a) Design a 5 amp H-bridge circuit and connect a dc motor to it, connect the input terminals
of the H-bridge to PORT A0, A1. (3)
Q3. (a) Design a 5 amp H-bridge circuit and connect a dc motor to it, connect the input terminals
of the H-bridge to PORT A0, A1. (3) (b) Write an assembly program to blink a led connected at PORTA0. Call a delay module
to create a delay. (2)
(b) Write an assembly program to blink a led connected at PORTA0. Call a delay module
to create a delay. (2)