MOULDLKnowledge BaseElectrical Knowledge Base3D Model DownloadsMembership
中文版Model Store »
Knowledge Base › Electrical Knowledge Base › How do you apply the 74LS47 seven-segment decoder driver?
HomeModels
Table of contents

On this page

Electrical & Electronic Basics (600 articles)

Quick Reference

  • PLC & Programming
  • Electrical & Electronic Basics (monthly)(每月更新中)
  • Electrical Control & Drawings (monthly)(每月更新中)
  • Drives & Actuators (monthly)(每月更新中)
  • Sensors & Detection (monthly)(每月更新中)
  • Industrial Communication & Networks (monthly)(每月更新中)
  • HMI & Host Systems (monthly)(每月更新中)
  • Industrial Robots & Motion Control (monthly)(每月更新中)
  • Mechatronic System Integration (monthly)(每月更新中)
  • Fault Diagnosis & Standards (monthly)(每月更新中)

How do you apply the 74LS47 seven-segment decoder driver?

A seven-segment display cannot take BCD directly; a decoder driver sits between them. This page shows how 74LS47 turns 4-bit BCD into segment signals, how to wire it to a common-anode display, and how the blanking and lamp-test pins work.

1. How it works

74LS47 is a BCD-to-seven-segment open-collector decoder meant for common-anode displays. Inputs A0 to A3 take 4-bit BCD from 0000 to 1001, and outputs a to g are active low, sinking current to light each segment. The 0 to 9 patterns are built in, so you skip segment-code maths. Inputs 1010 to 1111 are illegal and the display misbehaves.

2. Numbers and practice

Three control pins are easily missed. LT bar (lamp test) forced low lights every segment for power-up self-check; BI bar over RBO bar is blanking input and ripple-blanking output, grounded to blank all; RBI bar (ripple blanking input) grounded blanks a leading zero when the input is 0. Chain RBI bar and RBO bar across digits to suppress leading zeros.

3. Pitfalls and fixes

Wiring needs current-limit resistors. The common anode ties to plus 5V through a resistor per digit, about 150 to 330 ohm by brightness; 74LS47 sinks, segment current set by the resistor, typically 5 to 10 mA per segment. Multiplexed big displays need a driver transistor on the digit select or they go dim.

4. 74LS47 pin and control quick reference

PinNameFunction
A0 to A3BCD input0000 to 1001 valid
a to gSegment outLow lights
LT barLamp testLow all on
BI/RBOBlank/RBOLow blanks all
RBI barRipple blank inLow blanks zero
VCC/GNDSupply5V

5. Notes

Use static wiring for one digit, multiplex for many to save IO. On power-up pull LT bar low to confirm every segment lights, then release to normal.

6. References

The quantities and component characteristics discussed here follow current national standards and the corresponding IEC documents: Device interface per GB/T 4728 and IEC 60748 logic family. Always check the device datasheet and the product design file for ratings and derating.

7. Cautions

⚠️ Three common pitfalls:
① Illegal BCD 1010 to 1111:Segments flicker wrongly, handle counts above 9 in decimal
② No current-limit resistor:Excess segment current burns the segment or overheats the chip
③ Blanking pin floating:Leading zeros fill the screen, messy reading and wasted power

Locate the issue with the approach above, then confirm with measurements; safety-related circuits must follow the standards and manufacturer requirements.

Related reading

Related 3D models: Ready to build it? Download free 3D models & CAD drawings at MOULDL »
MOULDL · Electrical Knowledge Base · free self-study reference for electrical & automation engineers, 3D CAD models at MOULDL