O'Reilly logo

Raspberry Pi LED Blueprints by Agus Kurniawan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Working with a 4-digit 7-segment display

After learning how to use a shift register with a 7-segment display, we are going to explore how to apply a shift register on a 4-digit 7-segment display. In general, a 4-digit 7-segment display consists of four 7-segment display modules. You can see this module scheme in the following figure (source: http://www.g-nor.com/html/GNQ-5643Ax-Bx.pdf):

Working with a 4-digit 7-segment display

You can see that four 7-segment display modules have been connected and shared on a, b, c, d, f, g, and DP pins. To display the first digit on 7-segment, you can set a value high on digit-1 (DIG 1). Otherwise, you can display the second digit on 7-segment by setting ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required