Skip to main content

7-Segment LED Decoder

CI

CircuitSim

·

Created Oct 3, 2026

·

Updated Oct 3, 2026

Preview will appear once the owner saves the schematic
Details

Components

2


Schematic

Yes


Simulation

Transient analysis


Copies

Not copied yet

About this circuit

Convert a four-bit input word into a hexadecimal seven-segment display pattern.

Circuit notes

7-Segment LED Decoder

Convert a four-bit input word into a hexadecimal seven-segment display pattern.

Circuit operation

DISPLAY contains a four-bit decoder and a seven-segment indicator. A is the least-significant input and D is the most-significant. The four pulse sources step through the input words; the visible segments form 0–9 and A–F.

Expected behavior

N=A+2B+4C+8DN=A+2B+4C+8D 0≤N≤150\le N\le15

For example, 0001 lights b and c to show 1, while 1000 lights all seven segments to show 8. All sixteen input codes appear during the run; the source pulses return to 0000 at the end. The chart and table show the four input bits; the schematic shows the decoded character. This integrated behavioral display abstracts the decoder gates, LED current limiting, and power supply.

Reading the results

The first voltage probe is green and the second is red. Additional voltage traces use distinct colors. Current probes, when present, start with blue and then purple. The chart opens with separate traces on a fixed time window; the table retains the same probe order. Zoom to extents includes the complete schematic.

The saved transient runs for 16.0 ms with a maximum step of 2.00 µs. Compare settled cycles after startup and use time-axis cursors to measure delays or periods.

Try a change

Set V1 period to 3 ms and pulse width to 1.498 ms. Verify the same logic relationship with a different input sequence. Restore the saved values after comparing the result.

Model limits

Logic gates use ideal threshold models; storage elements include finite propagation delay. Unless a transistor or LED is explicitly drawn, internal supplies, input loading, output-current limits, and metastability are abstracted. Device mismatch, temperature drift, layout parasitics, breakdown and detailed noise are not represented. The schematic and component properties expose the values used.

Components used

Components used
2 components
NameManufacturerMPNCountType

Pulse Voltage Source

Generic

—

4

Official

Try this circuit yourself

Free to get started. No download — runs in your browser with a full SPICE engine.