Diagrama de pines
Pines de Display de 7 segmentos (un dígito, 10 pines)

Pines
- Top row, left to right (decimal point at the bottom right): g, f, COM, a, b
- Bottom row, left to right: e, d, COM, c, dp
- a, b, c, d, e, f, g — the seven segments, lettered clockwise from the top (g is the middle bar); dp — decimal point
- COM — both COM pins are the same net: common cathode (tie to GND) or common anode (tie to +V); check the part number before wiring
Especificaciones
| Digit height | 0.56 in (14.2 mm) |
|---|---|
| Configuration | Common cathode (5161AS) or common anode (5161BS) |
| Segments | 7 + decimal point |
| Pines | 10 (2 × COM, same net) |
| Forward voltage | ≈ 2 V per segment (red) |
| Forward current | ≈ 10–20 mA per segment |
| Series resistor | 220–330 Ω per segment at 5 V |
| Driving | One GPIO per segment, or a driver IC (MAX7219, TM1637, 74HC595) |
Notas
- Each segment needs its own current-limiting resistor (~220–330Ω at 5V).
- This is the 0.56" single-digit layout (5161AS common cathode / 5161BS common anode); other sizes keep the same pin order.






