Professional Documents
Culture Documents
(Electrical)
Subject:AMC
Shift-I/II
Subject Teacher: Mr. V. M. M. /Mrs. S. A. J.
Assignment-I
Q.1)
Q.2)
Q.3)
Define:
(a) Power down mode (b) SFR
(d) FLASH (e) PC
Q.4)
(f) STACK
(c) EEPROM
(g) Oscillator Support
Class: T.E.(Electrical)
Subject:AMC
Shift-I/II
Subject Teacher: Mr. V. M. M. /Mrs. S. A. J.
Assignment-II
Q.1)
Q.2)
Q.3)
Write a program to add 0x4 15 times to WREG and store result at location 0x30.
Class: T.E.(Electrical)
Subject:AMC
Shift-I/II
Subject Teacher: Mr. V. M. M. /Mrs. S. A. J.
Assignment-III
Q.1)
Q.2)
Define following:
(i) Simulator
(iii) Compiler
(ii) Emulator
(iv) Debugger
Q.3)
Q.4)
Class: T.E.(Electrical)
Subject:AMC
Shift-I/II
Subject Teacher: Mr. V. M. M. /Mrs. S. A. J.
Assignment-IV
Q.1)
Explain the function of following pins associated with a 16x2 LCD controllers RS, R/W,
E, DB0-DB7.
Q.2)
Write a neat diagram and flow chart explain the interfacing of 4*4 keypad with PIC18
microcontroller.
Q.3)
WAP to recieve a bytes of data serially and continuosly at a baud rate of 9600. Assume
Xtal=10MHz.
Q.4)
Class: T.E.(Electrical)
Subject:AMC
Shift-I/II
Subject Teacher: Mr. V. M. M. /Mrs. S. A. J.
Assignment-V
Q.1)
Explain capture mode of operation ofn PIC18f458 and also explain SFR CCP1Con
register in detail.
Q.2)
Assume a pulse is being fed to the CCP1 pin. Using capture mode. Write assembly
language program to measure the period of the pulse and puts the result on portB and
portD. Use Timer3 for capture mode.
Q.3)
Create a 18kHz PWM frequency with 25% duty cycle on the CCP1 pin Assume
XTAL=10MHz.
Q.4)
How PWM is used for DC motor? Explain with the connection diagram and code.
Class: T.E.(Electrical)
Subject:AMC
Shift-I/II
Subject Teacher: Mr. V. M. M. /Mrs. S. A. J.
Assignment-VI
Q.1)
Explain features of on-board ADC of PIC18F458. WAP for select analog channel 0,
fosc/64, and right justified display result on PORTD.
Q.2)
Q.3)
Q.4)