You are on page 1of 1

Department of Electrical Engineering

Jawahar Education Society's,


A. C. Patil College of Engineering,
Kharghar, Navi Mumbai - 410210

Assignment No. 2
Class: TE-Electrical Division: A & B
Semester: VI Academic Year: 2022-23
Course Name: MCA Course Code: EEC602

SR. No Questions
1 write a program in PlC18 using Timer 0 to generate a train of puises of'100Hz frequency on PORTB
pin RB7. Use 16 bit programming technique with 128 prescaler, The internal frequency of
microcontroller is 10MHz.
2 Write a C 18 program to send the message “ University of Mumbai” to the serial port continuously
whenevr a switch(SW) connected to pin RB2 is on. Monitor its status and set the baud rate as follows:
a) If SW=0, Baud rate = 6900
b) If SW=1, Baud rate = 38400. Assume crystal frequency= 10MHz.
3 Write a short note on matrix keyboard interfacing and seven segment LED interfacing with PIC18
Microcontroller.
4 A switch(SW) is connected to pin RD7 (PORTB.7). Write a program to monitor the status of SW and perform
the following:
a) if SW =0, the stepper motor moves clockwise.
b) if SW =1, the stepper motor moves counter clockwise.
5 Write a short note on Traffic Light controller using PIC18 Microcontroller.
6 Write a short note on PWM signal generation using PIC18 Microcontroller.

Subject teacher

Prof. S. S. Mahadik

You might also like