Scarlett Ideas Back to catalog
2-Digit, 3-Digit, and 4-Digit(12 Pin) 7-Segment Display Pinout
Aug 28, 2026 Scarlett

Seven Segment Display Pinout

Ever seen the digits on old electronic clocks or calculators crisply glowing in the dark? You've encountered a seven-segment display, a fundamental LED (Light E...

Ever seen the digits on old electronic clocks or calculators crisply glowing in the dark? You've encountered a seven-segment display, a fundamental LED (Light Emitting Diode) display technology that has been around since the 1960s. Understanding its pin configuration, or pinout, is key to incorporating these displays into your projects. Here's a thorough, SEO-optimized guide to help you navigate the world of seven-segment display pinouts.

2-Digit, 3-Digit, and 4-Digit(12 Pin) 7-Segment Display Pinout

The seven-segment display, as the name suggests, is composed of seven segmentsโ€”each representing a digit shape or part of a letter. These segments can be uniquely lit up to display a wide range of numbers, letters, and symbols. To control these displays, you need to know how to connect them, which is where the pinout comes into play.

Common Cathode 7-segment Display Pinout

Understanding Seven-Segment Display Pinouts

Seven-segment displays typically come in two varieties: common cathode and common anode. The difference lies in which segment's terminal is connected together.

the diagram shows how many different numbers can be used to make an electronic circuit board

Knowing your display's cathode/anode configuration is step one. Next, let's delve into the pins and their functions.

Common Cathode Seven-Segment Display Pinout

7-Segment Displays Unveiled: Your Go-To Guide for Visual Communication! ๐Ÿ“š

In common cathode configurations, the cathodes (segments) are connected together at one point, while each segment has its own pin. This is the more common type, making it easier to find and work with.

Here's a typical arrangement of pins:

  1. a (Bottom left)
  2. b (Bottom middle)
  3. c (Bottom right)
  4. d (Middle right)
  5. e (Middle left)
  6. f (Top middle)
  7. g (Top right)
  8. dp (Optional decimal point)
an electronic circuit with the letter d on it, and two numbers in each row

Common Anode Seven-Segment Display Pinout

In common anode displays, the anodes (segments) are connected together. These displays are less common and often used in older technology.

The pinout for a typical common anode display follows this format:

Display 7 segmentos tabla de verdad
  1. Com (Common cathode)
  2. a (Bottom left)
  3. b (Bottom middle)
  4. c (Bottom right)
  5. d (Middle right)
  6. e (Middle left)
  7. f (Top middle)
  8. g (Top right)
  9. dp (Optional decimal point)

Wiring a Seven-Segment Display: A Practical Guide

Simple Seven Segment LED Displays - Academy for Arduino
74LS47 IC Unveiled: Your Comprehensive Guide to 7-Segment Display Control! ๐Ÿ“š
the 7 segment display is shown in this diagram
an electronic circuit diagram with two timers
7-Segment Display Pinout, Terminals, and Circuit Diagram
the letter d is made up of three different shapes and letters, all in red
Seven Segment Display
Como funciona um Display de LEDs de 7 Segmentos
7 Segment Display

Once you've established which type of display you have, it's time to connect it. For this example, we'll use a common cathode display.

First, connect the cathodeโ€”labeled 'K' or 'Common Cathode'โ€”to the ground (GND) pin on your microcontroller board. Then, connect each segment (a-g) to a digital output pin on your microcontroller. If your display has a decimal point (dp), connect that as well.

Controlling Seven-Segment Displays with Microcontrollers

Microcontrollers like the Arduino make controlling seven-segment displays straightforward. Libraries like LedControl simplify the process by providing direct functions to set individual segments.

To display a number on your seven-segment display, you simply set the corresponding segments to '1' (on) or '0' (off). Here's a simple example using the LedControl library:

```cpp void setup() { display.setDigit(0, 0, 3, false); // Display '3' on the first digit, do not decay } void loop() { // Your display logic here } ```

Remember, each segment corresponds to a number or letter. A '3', for instance, would have segments b, c, d, f, and g lit up.

With this guide, you should now be equipped to confidently work with seven-segment displays. Happytheaddering!

More shots

2-Digit, 3-Digit, and 4-Digit(12 Pin) 7-Segment Display Pinout
2-Digit, 3-Digit, and 4-Digit(12 Pin) 7-Segment Display Pinout
Common Cathode 7-segment Display Pinout
Common Cathode 7-segment Display Pinout
the diagram shows how many different numbers can be used to make an electronic circuit board
the diagram shows how many different numbers can be used to make an electronic circuit board
7-Segment Displays Unveiled: Your Go-To Guide for Visual Communication! ๐Ÿ“š
7-Segment Displays Unveiled: Your Go-To Guide for Visual Communication! ๐Ÿ“š
an electronic circuit with the letter d on it, and two numbers in each row
an electronic circuit with the letter d on it, and two numbers in each row
Display 7 segmentos tabla de verdad
Display 7 segmentos tabla de verdad
Simple Seven Segment LED Displays - Academy for Arduino
Simple Seven Segment LED Displays - Academy for Arduino
74LS47 IC Unveiled: Your Comprehensive Guide to 7-Segment Display Control! ๐Ÿ“š
74LS47 IC Unveiled: Your Comprehensive Guide to 7-Segment Display Control! ๐Ÿ“š

Related topics