4-Digit 7-Segment Display

Here we're going to document the HS5461AS 4 x 7-Segment display.

It is a 5.4" 7-segment display ("54"). "61" indicates the display type - there are many different types, like 41/42, 51/52, 55/56, 61/62, etc - google for more. "B" is common anode ("A" is common cathode). "S" I think is with the dots. "H" is with two dots, for hourly display.

The hardware looks like this:

The built project

Wiring

There are a lot of pins involved here, 12 in total.

7 Segment Display Description Arduino (Digital)
1 Segment E 7
2 Segment D 8
3 Decimal point 9
4 Segment C 10
5 Segment G 11
6 Digit 4 12
7 Segment B 13
8 Digit 3 2
9 Digit 2 3
10 Segment F 4
11 Segment A 5
12 Digit 1 6

Our Demo Program

The complete code reads as follows:

Download the code.