Interfacing Seven Segment Display with Parallel Port
This is basicaly sort of assignment for you to write code for seven segment display. I am providing you circuit diagram and hint and you can try it. Its very easy and simple.
- Seven Segment Common Cathode Counter:
- Common Cathode means all –ve terminals of LEDs are grounded & 1 for on, 0 for off.
- Connect 8 LEDs to the data port of the parallel port as shown in the figure.
- 1st construct the table for 7-segment
Digits | Hex |
0 | 3f |
1 | 06 |
2 | 5b |
3 | 4f |
4 | 66 |
5 | 6d |
6 | 7d |
7 | 07 |
8 | 7f |
9 | 6f |
- This is basically 7-segment counter & timer in which you can set/reset, and pause it.
Enjoy playing with parallel port.
No comments:
Post a Comment