Introduction
7 segment displays are used for displaying numbers; they are useful when there is a need for counting like applications in the projects.
7 Segment board contains 4 displays and it can be interfaced to any port using the FRC cable provided with the kit. It needs two ports for operating the board, one for selection and another for segment control.
Seven Segment Board
Operation
Seven segment display board contains 7 segments and a decimal point. Each data port represents a segment in the display. The segments are controlled through the firmware. The pins are configured in active low. The first pin represents A, second pin represents B and so on.
Display codes
Digit | Data Port – J3 |
0 |
11000000 |
1 |
11111001 |
2 |
10100100 |
3 |
10110000 |
4 |
10011001 |
5 |
10010010 |
6 |
10000010 |
7 |
11111000 |
8 |
10000000 |
9 |
10010000 |
Data Port
J1 |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
Pin Name |
A |
B |
C |
D |
E |
F |
G |
DP |
J3 pins are active low. That means, grounding the bit will enable the segment LED and giving a High signal will disable the segment.
Control Port
J2 |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
Pin Name |
U1 |
U2 |
U3 |
U4 |
NC |
NC |
NC |
NC |
J2 pins are active high. Giving High on the bit will enable the seven segment.
NC – No Connection
Power header
There is a power header available on this board, J6. This can be used to test the display.
J6 |
1 |
2 |
3 |
4 |
Pin Name |
VCC |
VCC |
GND |
GND |