You are on page 1of 4

170926

Lab#02
Interfacing of Seven Segment Display
With PIC18F452
OBJECTIVE:
1. Implementing up/down counter from 0-9
2. Implementing up/down counter from 00-99

LAB TASKS
Task#01
Write a code for the up counter from 00-99 and show your
output in Proteus and on hardware.

Code:
170926

Proteous circuit

Task#2:
Write a code for the up counter from 99-00 and show your
output in Proteus and on hardware.
Code:
170926

Task#3:
Write a code for the up counter from 0000-9999 by not using
more than 11 pins of PIC18F452.Show your output in Proteus
and on hardware.

Code:

Proteous circuit:
170926

Learning Outcome
In this lab we have learned the interfacing of seven segment display with PIC18F454. We
did certain tasks of counting from 00 to 99, from 99 to 00 and from 0000 to 9999.

You might also like