Skip to content

Seven-Segment Display

Single-digit 7-segment display, common anode or common cathode

Artwork for seven-segment display module

The seven-segment display (SSD) is widely used for numeric output in embedded systems, clocks, calculators, and instruments.
Each digit consists of 7 segments (labeled A–G) and a decimal point (DP).

Each segment is an LED, solved electrically: give each segment pin a resistor (220 Ω–1 kΩ) like the real part. COM1 and COM2 are the same common pin inside; wire it to GND for a common-cathode display, or to 3.3 V for a common-anode one (type setting). With neither COM pin wired, the common sits at GND (common cathode) or 3.3 V (common anode).

For four digits with one common pin per digit (D1–D4), use the 4-digit 7-segment display (SevenSegment4).

Here is an example for a counter.

Docs
Open dashboard ↗