About Seven Segment
Seven bars arranged as a figure 8 can show every digit from 0 to 9. They are lettered a to g, clockwise from the top, with g across the middle; most displays add an eighth part, the decimal point. This page is a test set for four kinds of display part, and shows how the electronics behind them work.
DISPLAY: type anything and it appears on the chosen display. The data sheet marks every character: shown cleanly, a stand-in (an S is the same shape as 5, an X has to borrow H), or impossible. K, M, V, W and X need diagonal strokes that seven segments haven't got; M and W can take two places, which is how some devices fudged them. TURN OVER turns the display upside down for the old calculator game: 0.7734 reads hELLO. CLOCK shows a time you set; RUN CLOCK lets it tick until you PAUSE it (RESUME carries on; it pauses by itself after 5 minutes with nobody using the page).
SEGMENTS: clicktap the bars of the big digit, or press the keys a to g (and . for the point). Underneath are the 7 bits and the hex number in gfedcba order, the order most data sheets use: segment a is the lowest bit, so 0 is 0x3F and 8 is 0x7F. Some data sheets write the bits the other way round, abcdefg, so the same 0 is 0x7E; the switch changes the order. The grid shows all 128 patterns, marked by what they read as.
DECODER: four switches give a number from 0 to 15 in binary (8, 4, 2, 1). A decoder chip turns that into the seven segment lines. The truth table is the chip's whole job; the Karnaugh map for one segment groups its 1s into the fewest, biggest blocks, and each block becomes one AND gate feeding an OR gate. Codes 10 to 15 aren't digits: a designer can treat them as "don't care" (marked X) and get simpler logic, or decide what they show.
MULTIPLEX: an 8-digit display has 64 segments, but a calculator chip drives it with 16 wires: 8 segment lines shared by every digit, and one line per digit. It lights one digit at a time, very quickly. Slow the scan right down to watch it happen; speed it up and your eye blends it into a steady display. START runs it (PAUSE stops it, RESUME carries on); it pauses by itself after 5 minutes with nobody using the page.
THE STORY
Figure-8 displays made of separate strokes are older than electronics. An American patent filed by Frank W. Wood in 1908, for showing numbers on signs, is often cited as an early one.
Nixie tubes were the usual electronic number display before LEDs. Burroughs Corporation sold them under that name from the 1950s. A Nixie is not a seven-segment display: inside a glass tube of neon are ten wire cathodes, each bent into the shape of a whole numeral and stacked one behind another. The lit numeral glows orange with a sheath of light, so each digit looks properly drawn, but it sits a little in front of or behind the others. They were used in test equipment, counters and early calculators, and need well over 100 volts.
Red LED displays took over in the early 1970s. Hewlett-Packard's HP-35 pocket calculator of 1972 used rows of tiny LED digits under bubble-shaped magnifying lenses, and the Hamilton Pulsar of 1972 was an early LED wristwatch. LEDs use a lot of current, so LED watches stayed dark until you pressed a button.
Vacuum fluorescent displays were developed in Japan in the late 1960s. Each segment is an anode coated with phosphor; a very fine heated wire (the filament, which you can sometimes see as thin lines across the display) gives off electrons, and a wire mesh in front of each digit, the grid, lets them through or stops them. Where electrons land the phosphor glows blue-green. They were in tills, video recorders, hi-fi, cars, microwaves and many calculators.
Liquid crystal displays make no light of their own. A thin layer of liquid crystal between two polarising filters twists the light passing through; an electric field on a segment straightens it, and that segment goes dark against a mirror behind. Work on the twisted nematic LCD around 1970 made them practical, and Sharp's EL-805 of 1973 was one of the first pocket calculators to use one. They need so little power that a watch could run for years on one cell.
Decoder chips did not all agree on the digits. In the 7400 family of logic chips, for example, the 7447 drew 6 and 9 without tails, and its relative the 74247 drew them with tails. Many CMOS decoders such as the 4511 show nothing at all for codes 10 to 15.
HOW IT WORKS
Each display style here is drawn by the page: the segment shapes are pointed bars, slanted 10° on the LED (as many real ones are), upright on the vacuum fluorescent display. The glow is layers of blurred light drawn under a bright core; the LED's unlit bars stay faintly visible behind the red filter, the fluorescent display's mesh and filament wires sit in front of its digits, and the LCD's dark bars cast a small shadow on the mirror behind, as they do on a real reflective LCD.
The decoder logic is worked out by the page itself, by the Quine–McCluskey method: it lists every block of 1s (and don't-cares) that could be grouped, then picks the smallest set of blocks that covers every 1, with the fewest letters. With tails on 6 and 9 and codes 10 to 15 as don't-cares it finds the textbook answer for segment a, D + B + CA + C'A' (a ' means NOT).
Multiplexing: with 8 digits each is lit for one eighth of the time, a duty cycle of 1/8, so at the same current the display looks about an eighth as bright as a digit lit all the time. Above the speed where flicker disappears, which for most people is somewhere around 50 to 90 flashes a second, the eye sees the average light (the Talbot–Plateau law). Real displays make up for it by pulsing more current through each digit while it's lit; the PEAK CURRENT switch shows that. Your screen redraws about 60 times a second, so at the fastest scans this page shows the average a person would see, not every flash.
Simplifications: the displays are drawings, not measurements of real parts; segment shapes, colours and the letter stand-ins are typical, not any one manufacturer's. The "codes 10 to 15" shapes are the ones the classic TTL decoder family produced. Brightness ignores the fact that LEDs aren't perfectly linear with current.
FURTHER WATCHING AND READING