# 七段数码管

七段数码管是一种电子显示器，由七个独立控制的元件构成十进制数字，元件以 a 至 g 标注，排成八字形；通常还会增加一个小数点作为第八段。<sup>[1](https://ewhansen.host.dartmouth.edu/engs31book/section-sevenseg-decoder.html)</sup> 这些元件通常是发光二极管（LED），但同样的几何结构也用液晶、白炽灯、霓虹灯、气体放电和荧光技术实现过，至今仍是仪器仪表、销售点终端和家用电器中的标准配置。<sup>[2](https://www.electronics-tutorials.ws/counter/7-segment-display.html)</sup><sup> • </sup><sup>[3](https://mirrors.meulie.net/bitsavers.org/components/motorola/_appNotes/AN-0741_Interface_Considerations_For_Numeric_Display_Systems.pdf)</sup><sup> • </sup><sup>[23](https://www.farnell.com/datasheets/31505.pdf)</sup>

| 关键事实 | 详情 |
|---|---|
| 段 | 七个元件，标注为 a（上）、b（右上）、c（右下）、d（下）、e（左下）、f（左上）、g（中），通常另加一个小数点<sup>[4](https://thelinuxcode.com/sevensegment-displays-in-2026-practical-design-driving-and-debugging-from-a-modern-firmware-view/)</sup><sup> • </sup><sup>[1](https://ewhansen.host.dartmouth.edu/engs31book/section-sevenseg-decoder.html)</sup> |
| 驱动电流 | LED 段通常工作在 6 至 20 mA，正向压降约 1.8 V；低电流系列每段工作电流为 1 mA<sup>[2](https://www.electronics-tutorials.ws/counter/7-segment-display.html)</sup><sup> • </sup><sup>[5](https://docs.broadcom.com/doc/AV02-2554EN)</sup> |
| 接线方式 | 共阴极（所有阴极连在一起，段由高电平驱动）或共阳极（所有阳极连在一起，段由低电平驱动）<sup>[6](https://thelinuxcode.com/seven-segment-displays-practical-design-wiring-and-firmware-at-scale/)</sup> |
| 多路复用 | 一个译码器/驱动器在多个数字间分时共享；刷新率高于约 100 Hz 可避免可见闪烁，200 Hz 是安全目标<sup>[7](https://industrialmonitordirect.com/blogs/knowledgebase/7-segment-display-design-resistor-sizing-multiplexing-max7219)</sup> |
| 经典译码器 | 74LS47（低电平有效输出，用于共阳极显示器）和 CD4511（BCD 输入 A–D，输出 a–g）<sup>[2](https://www.electronics-tutorials.ws/counter/7-segment-display.html)</sup><sup> • </sup><sup>[8](https://www.allaboutcircuits.com/textbook/experiments/chpt-7/7-segment-display/)</sup> |
| 现代驱动器 | MAX7219（8 位数字，兼容 SPI，内部多路复用约 800 Hz）和 TM1637（两线接口，硬件多路复用，4 位数字模块每个 1.50–2.50 美元）<sup>[7](https://industrialmonitordirect.com/blogs/knowledgebase/7-segment-display-design-resistor-sizing-multiplexing-max7219)</sup><sup> • </sup><sup>[9](https://electricalflux.com/mcu-peripherals/7-segment-display-4-digit-arduino-driver-comparison)</sup> |
| 寿命 | LED 预期寿命可达 50,000 小时；每段平均功率 80–105 mW<sup>[10](https://vcc.co/wp-content/uploads/products/DSM7TA39101T/datasheet/DSM7TA39101T-Rev3.pdf)</sup><sup> • </sup><sup>[11](https://catalogue2.pss-electrocomponents.com/catalogue/567/5082-7613-CD000.pdf)</sup> |
| 起源 | 分段数字显示器由 F.W. Wood 申请专利，1908 年提交，1910 年授予，为 8 段白炽灯设计<sup>[12](https://hackaday.com/2026/07/09/a-brief-history-of-the-crazy-old-7-segment-display/)</sup> |

## 历史

七段排列早于电子技术出现。弗兰克·W·伍德（Frank W. Wood）的专利于 1908 年提交、1910 年授予，描述了一种用普通灯泡、木板上开槽和布线构成的数字显示器；严格来说这是一个 8 段显示器，其中一条倾斜的左上段专门用于构成规范的数码 4。<sup>[12](https://hackaday.com/2026/07/09/a-brief-history-of-the-crazy-old-7-segment-display/)</sup><sup> • </sup><sup>[13](https://hackaday.com/2015/01/09/the-original-seven-eight-segment-display/)</sup> 早在晶体管或 LED 问世之前几十年，工程师们就试验过分段显示器，有些采用机电方式，用凸轮、连杆、快门、旋转叶片和螺线管将独立控制的元件组合成数字。<sup>[14](https://www.designnews.com/components-subsystems/innovative-display-technologies-of-yesteryear-part-4)</sup>

早期的发光版本使用白炽灯或充氖管；到 20 世纪 30 年代和 40 年代，分段式霓虹或白炽指示灯已出现在工业设备和计数器中。<sup>[12](https://hackaday.com/2026/07/09/a-brief-history-of-the-crazy-old-7-segment-display/)</sup> 这种排列甚至以机械形式延续下来：一份 1979 年前后的新比隆公司（Nuovo Pignone）专利描述了一种七段机电数字指示器，同时还提到了利用白炽、发光、发光二极管和气体放电的发光指示器。<sup>[15](https://www.freepatentsonline.com/4161832.html)</sup>

**LED 时代。** 实用的 LED 显示器于 20 世纪 60 年代末问世，使分段显示器变得紧凑、坚固、廉价且低压；计算器、时钟、频率计和数字万用表几乎在一夜之间采用了它们。<sup>[12](https://hackaday.com/2026/07/09/a-brief-history-of-the-crazy-old-7-segment-display/)</sup>

## 结构与电气特性

LED 七段数码管是一个封装好的七只或八只 LED 阵列。存在两种接线惯例。在共阴极显示器中，所有阴极连在一起接地，段由高电平驱动时点亮；在共阳极显示器中，所有阳极连到正电源，段由低电平驱动时点亮。两种方式需要相反的驱动极性。<sup>[6](https://thelinuxcode.com/seven-segment-displays-practical-design-wiring-and-firmware-at-scale/)</sup><sup> • </sup><sup>[2](https://www.electronics-tutorials.ws/counter/7-segment-display.html)</sup> 数据手册会明确区分这些变体；Luckylight 的 KD1-501ARB-08C30 是共阳极版本，KD1-501CRB-08C30 是同一款 0.5 英寸（12.70 mm）数码管的共阴极版本。<sup>[16](https://www.luckylight.cn/media/component/data-sheet/KD1-501ARB-08C30-1JRVXFU1.pdf)</sup>

**限流。** 在简单的直接驱动电路中，每个 LED 段都需要限流，通常由各自的串联电阻提供。典型的段在二极管结上约 1.8 V 电压下工作于 6 至 20 mA；在 5 V 共阳极电源下，电阻承担剩余的 3.2 V，6 mA 时约需 560 Ω，20 mA 时约需 160 Ω。没有限流，过大的电流会损坏 LED；采用这种每段一电阻的方案时，需要七个电阻（带小数点则为八个）。<sup>[2](https://www.electronics-tutorials.ws/counter/7-segment-display.html)</sup> 一项使用 CD4511 的实验室设计在译码器输出和显示器之间放置了七个 470 Ω 电阻。<sup>[8](https://www.allaboutcircuits.com/textbook/experiments/chpt-7/7-segment-display/)</sup>

**典型额定值。** 在 25 °C 下，0.5 英寸的 Luckylight 数码管每段绝对最大正向电流为 20 mA，峰值 40 mA（1/10 占空比，0.1 ms 脉冲），每段 48 mW，反向电压 5 V，10 mA 时正向电压典型值 1.9 V（最大 2.3 V），典型发光强度 11.0 mcd。<sup>[16](https://www.luckylight.cn/media/component/data-sheet/KD1-501ARB-08C30-1JRVXFU1.pdf)</sup> 一款表面贴装器件（VCC DSM7T，13.0 × 9.80 × 4.00 mm）在 20 mA 时正向电压典型值 2.0 V（1.7–2.4 V），典型强度 90 mcd，预期寿命可达 50,000 小时，工作温度 −30 至 +85 °C，防尘等级 IP50。<sup>[10](https://vcc.co/wp-content/uploads/products/DSM7TA39101T/datasheet/DSM7TA39101T-Rev3.pdf)</sup> 更大的 7.6 mm 和 10.9 mm 通孔器件每段承载 20–30 mA 直流电流，每段平均功率 80–105 mW，工作温度范围 −40 至 +100 °C。<sup>[11](https://catalogue2.pss-electrocomponents.com/catalogue/567/5082-7613-CD000.pdf)</sup>

**尺寸与观看距离。** 字符尺寸决定观看范围：7.6 mm 数码管设计用于最远 3 m（10 英尺），10.9 mm 用于 5 m（16 英尺），10 mm 器件用于最远 4.5 m（15 英尺），±50° 视角很常见。<sup>[11](https://catalogue2.pss-electrocomponents.com/catalogue/567/5082-7613-CD000.pdf)</sup><sup> • </sup><sup>[17](https://docs.broadcom.com/doc/AV02-2556EN)</sup> 每段工作电流为 1 mA 的低电流系列与标准器件引脚兼容，被描述为非常适合长数字串的多路复用。<sup>[5](https://docs.broadcom.com/doc/AV02-2554EN)</sup>

## 驱动与译码

由计数器直接驱动的显示器需要 BCD 至七段译码器，这是一种组合逻辑电路，从 4 位二进制编码的十进制输入产生七个独立的布尔输出，每段一个。[德州仪器](https://www.edgepedia.org/zh/texas-instruments)（Texas Instruments）在数据手册 SDLS111 中记录了 7447/7448 系列，该手册最初于 1974 年 3 月发布，1988 年 3 月修订。<sup>[18](https://www.ti.com/lit/ds/symlink/sn74ls47.pdf)</sup> TTL 74LS47 被描述为最流行的七段译码器 IC，具有 4 位 BCD 输入和七个适合共阳极显示器的低电平有效输出。<sup>[2](https://www.electronics-tutorials.ws/counter/7-segment-display.html)</sup> CMOS CD4511 使用从最低位到最高位分别标为 A、B、C、D 的 BCD 输入，输出标为 a 至 g，与标准化的段标号一致。<sup>[8](https://www.allaboutcircuits.com/textbook/experiments/chpt-7/7-segment-display/)</sup>

**多路复用。** 多位显示器分时共享单个译码器/驱动器：所有数字的段线并联，公共引脚一次切换一个数字，从而节省元件数量、互连和功耗。<sup>[3](https://mirrors.meulie.net/bitsavers.org/components/motorola/_appNotes/AN-0741_Interface_Considerations_For_Numeric_Display_Systems.pdf)</sup><sup> • </sup><sup>[6](https://thelinuxcode.com/seven-segment-displays-practical-design-wiring-and-firmware-at-scale/)</sup> 对于刷新率为 f 的 n 位数字，每位数字通电时间为 T = 1/(n·f) 秒，同一时间只有一位数字点亮，因此平均段电流相对于直接驱动会下降。<sup>[19](http://sim.marebakken.com/SevenSeg.pdf)</sup> 刷新率指南因来源而异：摩托罗拉（Motorola）的应用笔记以每秒超过 50 次扫描的速度扫描每个显示器，并给出 170 Hz 刷新的示例，远高于 30 至 60 Hz 的可检测闪烁频率；SevenSeg 库指出低于约 50 Hz 会出现可见闪烁，默认值为 100 Hz；实践指南建议超过 100 Hz，200 Hz 为安全目标，总刷新率 200 至 800 Hz（8 位数字时每位 1–2 ms）。<sup>[3](https://mirrors.meulie.net/bitsavers.org/components/motorola/_appNotes/AN-0741_Interface_Considerations_For_Numeric_Display_Systems.pdf)</sup><sup> • </sup><sup>[19](http://sim.marebakken.com/SevenSeg.pdf)</sup><sup> • </sup><sup>[7](https://industrialmonitordirect.com/blogs/knowledgebase/7-segment-display-design-resistor-sizing-multiplexing-max7219)</sup><sup> • </sup><sup>[6](https://thelinuxcode.com/seven-segment-displays-practical-design-wiring-and-firmware-at-scale/)</sup>

**现代驱动器 IC。** 由[美信集成](https://www.edgepedia.org/zh/maxim-integrated)（Maxim Integrated，现属[亚德诺半导体](https://www.edgepedia.org/zh/analog-devices)（Analog Devices））生产的 MAX7219 自 20 世纪 90 年代初以来一直是级联七段显示器的事实标准：8 位数字或 64 只独立 LED，兼容 SPI 的三线串行接口，最高 10 MHz，16 级亮度控制，内置 BCD 译码器将 4 位值映射到数字 0–9 及十六进制 A–F（另有非译码模式可接受完整的 8 位段码），内部多路复用频率约 800 Hz，采用 24 引脚 DIP、SO 或 SSOP 封装，工作电压 4.0–5.5 V。<sup>[20](https://newflyelectronics.com/tm1640-vs-max7219-led-display-driver-comparison/)</sup><sup> • </sup><sup>[7](https://industrialmonitordirect.com/blogs/knowledgebase/7-segment-display-design-resistor-sizing-multiplexing-max7219)</sup> 它不需要外部每段电阻；ISET 引脚上的单个电阻（通常 10 kΩ 至 27 kΩ）可调节全部 64 只 LED 的电流，其 DOUT 引脚让数十个模块通过三个微控制器引脚以菊花链方式连接，适合 ESP32、RP2040 和 STM32 等 3.3 V 开发板。<sup>[21](https://electricalflux.com/mcu-peripherals/arduino-seven-segment-display-tm1637-vs-max7219)</sup> 相比之下，TM1637 是一款低成本 4 位驱动器，使用专有的类 I2C 两线协议（DIO 和 CLK，无从机地址），需要通过软件控制 GPIO 来模拟通信时序；它在硬件中实现多路复用，并包含一个专用于时钟应用的冒号 LED。<sup>[9](https://electricalflux.com/mcu-peripherals/7-segment-display-4-digit-arduino-driver-comparison)</sup><sup> • </sup><sup>[22](https://lists.openwall.net/linux-kernel/2026/01/13/263)</sup> 2026 年 1 月，有人为 [Linux 内核](https://www.edgepedia.org/zh/linux-kernel) auxdisplay 子系统提出了 TM1637 驱动。<sup>[22](https://lists.openwall.net/linux-kernel/2026/01/13/263)</sup>

## 字符支持与限制

该显示器可以轻松显示十进制数字 0 至 9，稍加想象也可显示十六进制字符 A 至 F，以 A、b、c、d、E、F 的常规混合大小写形式呈现，以保持它们与数字区分。<sup>[1](https://ewhansen.host.dartmouth.edu/engs31book/section-sevenseg-decoder.html)</sup> 更广泛的可渲染字母子集包括 A、b、C、d、E、F、H、I、J、L、n、o、P、r、U 和 y。<sup>[4](https://thelinuxcode.com/sevensegment-displays-in-2026-practical-design-driving-and-debugging-from-a-modern-firmware-view/)</sup>

## 关键数据

- **每段电流：** 1 mA（低电流系列）至 20 mA 连续（多路复用时峰值 40–60 mA）；6–20 mA 是典型工作范围。<sup>[5](https://docs.broadcom.com/doc/AV02-2554EN)</sup><sup> • </sup><sup>[16](https://www.luckylight.cn/media/component/data-sheet/KD1-501ARB-08C30-1JRVXFU1.pdf)</sup><sup> • </sup><sup>[2](https://www.electronics-tutorials.ws/counter/7-segment-display.html)</sup>
- **正向电压：** 红色器件在额定电流下典型值约 1.8–2.0 V（范围 1.7–2.4 V）。<sup>[2](https://www.electronics-tutorials.ws/counter/7-segment-display.html)</sup><sup> • </sup><sup>[10](https://vcc.co/wp-content/uploads/products/DSM7TA39101T/datasheet/DSM7TA39101T-Rev3.pdf)</sup>
- **每段功率：** 标准通孔器件平均 80–105 mW；0.5 英寸低功率数码管绝对最大值 48 mW。<sup>[11](https://catalogue2.pss-electrocomponents.com/catalogue/567/5082-7613-CD000.pdf)</sup><sup> • </sup><sup>[16](https://www.luckylight.cn/media/component/data-sheet/KD1-501ARB-08C30-1JRVXFU1.pdf)</sup>
- **寿命：** LED 段可达 50,000 小时。<sup>[10](https://vcc.co/wp-content/uploads/products/DSM7TA39101T/datasheet/DSM7TA39101T-Rev3.pdf)</sup>
- **视角与距离：** 典型 ±50°；7.6 mm 字符 3 m，10–10.9 mm 字符可达 4.5–5 m。<sup>[17](https://docs.broadcom.com/doc/AV02-2556EN)</sup><sup> • </sup><sup>[11](https://catalogue2.pss-electrocomponents.com/catalogue/567/5082-7613-CD000.pdf)</sup>
- **刷新：** 来源报告的可检测闪烁阈值约为 30–60 Hz，而实际设计目标为总刷新率 100–800 Hz。<sup>[3](https://mirrors.meulie.net/bitsavers.org/components/motorola/_appNotes/AN-0741_Interface_Considerations_For_Numeric_Display_Systems.pdf)</sup><sup> • </sup><sup>[6](https://thelinuxcode.com/seven-segment-displays-practical-design-wiring-and-firmware-at-scale/)</sup>
- **模块成本：** TM1637 4 位模块约 1.50 至 2.50 美元。<sup>[9](https://electricalflux.com/mcu-peripherals/7-segment-display-4-digit-arduino-driver-comparison)</sup>

## 与其他显示类型的比较

七段显示器只能显示数字和一小部分字母。十四段和十六段显示器在 20 世纪 70 年代已普遍用于仪器、电话、计算器和录像机，它们增加了对角线和横杠，因而获得了“米字旗”或“星爆”显示器的绰号，可以显示更完整的字母表。点阵显示器可以渲染任意字形，但成本更高、功耗更大、需要更多代码。对于仅显示数字的用途，七段显示器在成本、功耗和代码复杂性方面优于点阵，而且驱动简单，在电气噪声较大的环境中坚固耐用。<sup>[12](https://hackaday.com/2026/07/09/a-brief-history-of-the-crazy-old-7-segment-display/)</sup><sup> • </sup><sup>[4](https://thelinuxcode.com/sevensegment-displays-in-2026-practical-design-driving-and-debugging-from-a-modern-firmware-view/)</sup> 早期竞争方案包括辉光管（Nixie tubes），它点亮单个字符形状，以及十进计数管（decatrons），它用十个发光点计数，每个点代表一个数字。<sup>[12](https://hackaday.com/2026/07/09/a-brief-history-of-the-crazy-old-7-segment-display/)</sup>

## 应用与现状

LED 七段显示器的数据手册应用列表列出了仪器仪表、销售点终端和家用电器。<sup>[23](https://www.farnell.com/datasheets/31505.pdf)</sup> 同样的几何结构以 LCD 形式延续，激励频率从 60 Hz 到 10 kHz，采用交流驱动（无直流分量）以避免 LCD 退化。<sup>[3](https://mirrors.meulie.net/bitsavers.org/components/motorola/_appNotes/AN-0741_Interface_Considerations_For_Numeric_Display_Systems.pdf)</sup>

截至 2020 年代中期，这种格式仍存在于新设计中。变暗或失效的段很容易诊断，这使七段显示器对使用寿命 7–10 年的产品具有吸引力，而持续的驱动器开发（包括 2026 年 TM1637 Linux 内核驱动提案）使其在业余项目和工业应用的固件中都保持实用。<sup>[4](https://thelinuxcode.com/sevensegment-displays-in-2026-practical-design-driving-and-debugging-from-a-modern-firmware-view/)</sup><sup> • </sup><sup>[22](https://lists.openwall.net/linux-kernel/2026/01/13/263)</sup>

## References

1. [Seven-segment display decoder, ENGS 31 (Dartmouth College)](https://ewhansen.host.dartmouth.edu/engs31book/section-sevenseg-decoder.html)
2. [7-segment Display Tutorial, Electronics Tutorials](https://www.electronics-tutorials.ws/counter/7-segment-display.html)
3. [Motorola AN-741: Interface Considerations For Numeric Display Systems](https://mirrors.meulie.net/bitsavers.org/components/motorola/_appNotes/AN-0741_Interface_Considerations_For_Numeric_Display_Systems.pdf)
4. [Seven-Segment Displays in 2026: Practical Design, Driving, and Debugging, The Linux Code](https://thelinuxcode.com/sevensegment-displays-in-2026-practical-design-driving-and-debugging-from-a-modern-firmware-view/)
5. [HDSP Series Low-Current Seven-Segment Displays Data Sheet, Broadcom](https://docs.broadcom.com/doc/AV02-2554EN)
6. [Seven-Segment Displays: Practical Design, Wiring, and Firmware at Scale, The Linux Code](https://thelinuxcode.com/seven-segment-displays-practical-design-wiring-and-firmware-at-scale/)
7. [7-Segment Display Driver Design and Resistor Sizing Guide, Industrial Monitor Direct](https://industrialmonitordirect.com/blogs/knowledgebase/7-segment-display-design-resistor-sizing-multiplexing-max7219)
8. [Digital Lab – 7-segment LED Display, All About Circuits](https://www.allaboutcircuits.com/textbook/experiments/chpt-7/7-segment-display/)
9. [Best 7 Segment Display 4 Digit Arduino Modules Compared, ElectricalFlux](https://electricalflux.com/mcu-peripherals/7-segment-display-4-digit-arduino-driver-comparison)
10. [DSM7T Series Thin Surface Mount Single Digit 7-Segment LED Numeric Display, VCC](https://vcc.co/wp-content/uploads/products/DSM7TA39101T/datasheet/DSM7TA39101T-Rev3.pdf)
11. [7.6 mm and 10.9 mm LED Seven Segment Displays Data Sheet (HP 5082-76xx)](https://catalogue2.pss-electrocomponents.com/catalogue/567/5082-7613-CD000.pdf)
12. [A Brief History Of The Crazy Old 7-Segment Display, Hackaday](https://hackaday.com/2026/07/09/a-brief-history-of-the-crazy-old-7-segment-display/)
13. [The Original Seven (Eight?) Segment Display, Hackaday](https://hackaday.com/2015/01/09/the-original-seven-eight-segment-display/)
14. [Innovative Display Technologies of Yesteryear, Part 4, Design News](https://www.designnews.com/components-subsystems/innovative-display-technologies-of-yesteryear-part-4)
15. [Seven-segmented electromechanical digital indicator, Nuovo Pignone S.p.A. patent](https://www.freepatentsonline.com/4161832.html)
16. [KD1-501ARB-08C30 0.5" Red Common Anode Single-Digit 7-Segment LED Display Datasheet, Luckylight](https://www.luckylight.cn/media/component/data-sheet/KD1-501ARB-08C30-1JRVXFU1.pdf)
17. [HDSP-F15x/F16x, HDSP-F20x/F30x/F40x/F50x Series Data Sheet, Broadcom](https://docs.broadcom.com/doc/AV02-2556EN)
18. [SN54/74 BCD-to-Seven-Segment Decoders/Drivers SDLS111, Texas Instruments](https://www.ti.com/lit/ds/symlink/sn74ls47.pdf)
19. [SevenSeg Arduino library documentation](http://sim.marebakken.com/SevenSeg.pdf)
20. [TM1640 vs MAX7219 LED Driver IC Comparison, NewFly Electronics](https://newflyelectronics.com/tm1640-vs-max7219-led-display-driver-comparison/)
21. [Arduino Seven Segment Display Comparison: TM1637 vs MAX7219, ElectricalFlux](https://electricalflux.com/mcu-peripherals/arduino-seven-segment-display-tm1637-vs-max7219)
22. [auxdisplay: tm1637: Add driver for TM1637, Linux kernel mailing list](https://lists.openwall.net/linux-kernel/2026/01/13/263)
23. [10 mm (0.40 inch) Seven Segment Displays: Technical Data, HP HDSP-F/G series](https://www.farnell.com/datasheets/31505.pdf)

---
*Initially written Sep 17, 2026 · Reviewed: Oct 15, 2026 · Edited: Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 计算机硬件 › 板卡、外设与外形规格 › 外设与扩展硬件 › 输出外设（打印机、显示器、音频输出）

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/seven-segment-display

English original: https://www.edgepedia.org/seven-segment-display
