◆ Rebuild

Part 14 · Electronics and Computing

Displays, Printers and Data Storage

The parts of a computer that people see and that remember — indicator lamps, nixie tubes, seven-segment and dot-matrix displays, the cathode-ray screen, printers from the teleprinter to the dot-matrix and line printer, punched cards and paper tape, and magnetic drums, tapes and disks. How each works, how to make the simple ones, and how to choose.

Difficulty
●●●●●
Time
An evening for a lamp display; weeks for a nixie tube or a dot-matrix printer; months for a magnetic drum
Steps from zero
58 prerequisites →

You need first

The ComputerCathode Rays and Television

This unlocks

Flat Screens: LCD and LED DisplaysPunched-Card Tabulating Machines
The full path from nothing — 58 steps before this one
  1. Fire
  2. Cordage and Rope
  3. Stone Tools
  4. Finding and Preparing Clay
  5. Finding and Identifying Ores
  6. Sulfur
  7. Writing and Numbers
  8. Hunting and Trapping
  9. Basic Woodworking
  10. The Kiln
  11. Pottery
  12. Charcoal
  13. Arithmetic and Fractions
  14. Hides and Leather
  15. Lime
  16. Bricks
  17. Salt
  18. Mercury
  19. Lye and Potash
  20. Fermentation
  21. The Wheel and Axle
  22. Logic and Binary
  23. Glass
  24. Firebrick and Refractories
  25. Bellows
  26. Saltpeter
  27. The Lathe
  28. Gears
  29. Copper Smelting
  30. Iron (the Bloomery)
  31. Lead
  32. Laboratory Glassware
  33. Sulfuric Acid
  34. Pumps
  35. The Waterwheel
  36. Lenses
  37. Blacksmithing
  38. Gold and Silver
  39. Hydrochloric Acid
  40. The Battery
  41. The Vacuum Pump
  42. Magnets
  43. The Light Bulb
  44. Copper Wire
  45. Photography
  46. The Generator
  47. The Electromagnet
  48. The Vacuum Tube
  49. The Electric Arc Furnace
  50. The Induction Coil
  51. The Telegraph
  52. The Telephone
  53. Pure Silicon
  54. Semiconductors and the Transistor
  55. Radio
  56. Integrated Circuits
  57. Cathode Rays and Television
  58. The Computer
  59. Displays, Printers and Data Storage

Do them roughly in this order. See it on the tech tree →

Why it matters

A The Computer that cannot show its answers is useless, and one that forgets everything when switched off must be fed its programs by hand every morning. This chapter covers the parts that connect a computer to people and to the future:

  • Displays turn numbers into light: from a row of lamps on the front panel to a screen full of text.
  • Printers put results on Paper, where they can be filed, posted, and read in a hundred years.
  • Storage keeps programs and data with the power off: holes in paper, then magnetised iron oxide.

Several are useful on their own: punched cards can run a census or a library catalogue (Libraries and Preserving Knowledge, Statistics and Probability) with no computer at all, sorted and counted by the machines in Punched-Card Tabulating Machines.

Displays

Indicator lamps

The first display of any computer is a row of small lamps, one per bit, on every register (The Computer).

  • Filament bulbs (The Light Bulb): 6–28 V, 40–100 mA each. Run them at about 90% of their rated voltage: they look nearly as bright and last several times longer. Mount them behind a panel with coloured glass or oiled-paper windows, and label each.
  • Neon glow lamps: a pea-sized glass bulb holding two wires in neon at low pressure (Arc Lamps, Neon and Fluorescent Lights). They strike at about 70–90 V and then hold at 55–65 V, drawing only 0.3–1 mA through a 100–220 kΩ series resistor. They last for years, draw almost nothing, and suit tube circuits, which already have high voltages.

Good lamps are all the same brightness, and a dead one is easy to spot: test them all at once with a "lamp test" switch that lights every lamp.

The seven-segment display

0 1 7 2 5 a g d f b e c Seven segments each bar is one lamp 2 = a b d e g the names of the bars Nixie tube digit 5 switched on Mesh anode +170 V Ten cathodes nickel-wire digits, 1–1.5 mm apart Mica spacer Eleven pins Glass neon at 20–40 mbar
Fig. 1 Two ways to show a digit. Seven bars, lettered a to g, can make every digit from 0 to 9. A nixie tube instead has ten cathodes bent into the shapes of the digits, stacked one behind another in neon; whichever one is switched on glows orange.

Seven bars, called a to g, make every digit. The lit segments are:

Digit 0 1 2 3 4 5 6 7 8 9
Segments abcdef bc abdeg abcdg bcfg acdfg acdefg abc all seven abcdfg

The simplest version. Make a shallow wooden box about 5 cm wide and 8 cm tall. Divide it with thin black-painted partitions into seven compartments shaped like the bars, each holding a small bulb. Cover the front with a sheet of oiled paper or ground glass, and over that a black card with seven slots 4–5 mm wide cut in the digit shape. Each lamp lights only its own slot.

Decoding. If the computer gives a digit as one of ten wires (one per digit), connect each to the seven segment lines through a diode wherever the table shows that segment lit — 49 diodes in all (Semiconductors and the Transistor). If it gives the digit as four binary bits, first turn the four bits into ten wires with a relay or diode tree (The Relay Computer, Logic and Binary).

The nixie tube

A nixie is a glass tube containing ten cathodes, thin metal shapes of the digits 0 to 9, stacked one behind another, and a fine wire-mesh anode around or in front of them, all in neon gas. Connect one cathode to the negative side of a 170–180 V supply, through a resistor, while the anode is positive: the gas around that cathode glows a warm orange in the exact shape of the digit.

Making one is like making a small The Vacuum Tube, with the extra steps of filling with gas:

  1. Cathodes: bend each digit from 0.2–0.3 mm nickel wire on a pin jig, about 15–20 mm tall, with two straight legs to hold it. Or cut them from thin nickel sheet. Every digit must be clean: a fingerprint makes it glow unevenly.
  2. Stack them on two or three support rods, separated by thin mica or ceramic washers about 1–1.5 mm apart, with a short wire from each cathode to its own lead.
  3. Anode: a fine nickel mesh cylinder round the stack, or a flat mesh in front.
  4. Seal the stack into a glass envelope with 11 leads through a Glass pinch or press (The Vacuum Tube).
  5. Pump and bake to a hard vacuum (The Vacuum Pump), then let in pure neon to about 20–40 mbar — a few hundredths of the air's pressure — and seal off. Neon comes from Liquid Air, Nitrogen and the Noble Gases; a pinch of argon in it (about 0.5%) lowers the striking voltage. Some makers added a tiny drop of Mercury to slow the wear of the cathodes, at the cost of a poison in every tube.
  6. Age it: run all ten digits in turn for a day or two, at about twice the normal current, so their surfaces clean themselves and glow evenly.

Using it: an anode resistor of 10–33 kΩ sets the current at 1.5–3 mA; too little and the digit glows only in patches, too much and the cathode wears away fast. Switch the cathodes with relays, tubes or high-voltage transistors.

A good nixie strikes at once, glows over the whole digit, does not flicker, and shows no glow on unused cathodes. Its life is 10,000–200,000 hours. Air leaking in makes the glow turn pink or purple and wander, and the striking voltage climbs: the tube is finished.

Dot-matrix displays

A grid of 5 columns × 7 rows of lamps, neon bulbs or light-emitting diodes (Light-Emitting Diodes) can show any letter, digit or sign. Thirty-five wires for every character would be too many, so they are multiplexed: light one column at a time, with that column's pattern on the seven row wires, for a fifth of the time, then the next column, and so on, round all five at least 60 times a second. The eye sees a steady letter. The patterns come from a character table — five numbers of seven bits for each character, stored in a diode matrix or in the computer's memory. A whole alphabet of 64 characters needs only 320 bytes.

The CRT display

The cathode-ray tube makes the best display of all: thousands of characters, or drawings, on one glass face. Two kinds:

  • Vector display: the computer steers the spot with the deflection plates, drawing each line or letter stroke by stroke, like a pen. The whole picture must be redrawn 30–60 times a second or it flickers; a long-persistence phosphor helps.
  • Raster display: the beam sweeps every line of the screen, as in Cathode Rays and Television, and is switched on and off to draw dots. A text screen of 24 lines × 80 characters needs 1,920 bytes of memory for the character codes, a character table, and counters that step through them as the beam scans — some 14 million dots a second, which needs fast transistors. 16 lines × 32 characters needs a third of that speed and is a good first goal.

A light pen — a photocell in a pen-shaped holder (Photocells and Sensors) — sends a pulse when the beam passes under its tip. The computer knows where the beam was at that instant, so it knows where the pen is pointing.

Printers

From the teleprinter

The The Teleprinter is a perfectly good first printer: wire its five receiving lines to the computer's output and it types at 6–10 characters a second. An electric The Typewriter with a solenoid under each key does about the same. Either is slow, but every answer is on paper.

The line printer

A B C D E F G H I J K L M N O P Dot-matrix head seen from the side, cover off Magnets Steel wires 0.25–0.35 mm Ribbon Paper platen head moves A letter 5 columns × 7 dots; one wire per row Drum line printer one column seen end-on spins Type drum every letter in every column Hammer fires as the letter passes
Fig. 2 The dot-matrix print head and the drum line printer. In the head, each of seven or nine fine steel wires is driven by its own small electromagnet; firing the wires in the right pattern as the head moves across the paper builds each letter from dots. In the drum printer, a complete set of characters spins past every column; a hammer behind the paper fires at the instant the wanted letter passes.

For printing a whole report, the drum printer was the workhorse of early computing:

  • A steel drum, about 10 cm across and as long as the line (for example 80 or 132 columns, about 2.5 mm apart), turns continuously. Raised type runs round it: every column carries a full set of characters — say 48 or 64 — one ring of type per column.
  • In front of the drum, an inked ribbon; then the paper; then a row of hammers, one per column, each driven by an electromagnet.
  • A timing disc on the drum shaft tells the electronics which row of characters is passing. When the wanted character in each column comes round, that column's hammer fires and presses the paper and ribbon against the type.
  • One whole line prints in one turn of the drum. At 600–1,200 turns a minute, that is 600–1,200 lines a minute.

The type moves at several metres a second, so hammer timing must be right to a hundred-thousandth of a second: a job for a precision workshop (Machine Tools).

The dot-matrix printer

A dot-matrix printer builds letters from dots, so it can print any alphabet or simple drawings, and it is the most makeable fast printer.

  1. The head: 7 or 9 hardened steel wires, each 0.25–0.35 mm thick and 3–5 cm long, run side by side and curve together so that at the front they lie in a vertical column, about 0.35 mm apart, held in a guide plate of hard bronze or with jewel bearings drilled for them.
  2. Drivers: the back end of each wire is fixed to a small iron armature (a clapper). Behind it, a small The Electromagnet of a few hundred turns on a soft-iron core. A pulse of 24–36 V for about 0.3–0.5 thousandths of a second snaps the armature forward; the wire flies out, strikes the ribbon and paper, and a spring pulls it back.
  3. Carriage: the head rides on a polished steel rod across the paper, pulled by a cord or belt from a stepping motor (The Electric Motor), with a ribbon of inked cotton or nylon running between head and paper (Ink).
  4. Printing: each character is 5 columns of 7 dots, plus a blank column for spacing. As the head moves, the electronics fire the wires for column one, then two, and so on, from the character table. A head that fires each wire 1,000 times a second prints about 150 characters a second.
  5. Paper is a long folded strip with a row of sprocket holes down each edge, pulled by toothed wheels so that every line is exactly the same distance below the last.

A good printer makes round, evenly dark dots with no gaps or double strikes.

Storage

Punched cards

A punched card stores one line of text as rectangular holes in stiff paper.

  • Size: the standard card is 187.3 × 82.6 mm and 0.18 mm thick, with one corner cut off so it is never put in upside down.
  • Layout: 80 columns × 12 rows. Each column holds one character. A digit is one hole in rows 0–9; a letter is one hole in the top three rows (the "zones") plus one in rows 1–9.
  • Capacity: 80 characters per card; a box of 2,000 cards holds 160,000 — about a long book.

Making cards: they must be stiff, smooth, the same thickness everywhere, and cut accurately, or machines jam. Lay two or three sheets of strong rag or wood-pulp Paper together with thin starch paste, press flat, dry under weights, and roll smooth. Cut them on a guillotine against a stop, or with a steel die, to within 0.1 mm. Store them at even, moderate humidity: damp cards swell and jam.

The keypunch: a hardened steel die plate with 12 holes in a column, 12 matching punch pins above it, and a keyboard that selects which pins to drive, exactly like the tape punch of the The Teleprinter. After each character the card steps one column, 2.21 mm, along.

The card reader: the card is pushed, one row at a time, past a row of 80 springy wire brushes pressing on a brass roller with current on it. Wherever there is a hole, a brush touches the roller and closes its circuit. A cam on the roller shaft tells the electronics which row is under the brushes. Brush readers handle a few hundred cards a minute; later ones used a lamp and a row of photocells.

Edge-notched cards are the simplest card system, and need no machine at all. Punch a row of holes round the edge of each card. Each hole stands for a fact — "fever", "farmer", "north valley". Where the fact is true, clip the hole open into a notch. To find all the cards with that fact, stack the whole deck, push a long needle through that hole, and lift: the notched cards fall out. A hospital, seed bank or library can sort thousands of records this way.

Paper tape

Computer tape is the teleprinter tape of The Teleprinter widened to 25.4 mm, with eight code holes and a sprocket hole — one byte per row, 10 rows per 25.4 mm. Feeler pins read 10–20 rows a second; a lamp above the tape and a photocell under each hole read 300–1,000. It is cheap, lasts decades if dry, and can be read by eye.

The magnetic drum

Magnetic drum 20 cm across, 3,000 turns a minute Fixed heads, one per track Tracks about 2 mm apart spins Oxide coating 10–25 µm of iron oxide in varnish One head, enlarged Coil 50–200 turns Soft-iron ring gap 10–25 µm surface moves magnetised patches: 1s and 0s
Fig. 3 A magnetic drum. A cylinder coated with iron oxide spins past a row of fixed heads, one for each track. Each head is a split ring of soft iron with a coil; current through the coil magnetises a tiny patch of the drum as it passes the gap. To read, the moving patches induce a small voltage in the same coil.

The drum was the main memory or the backing store of many computers in the 1950s. It is the most makeable magnetic store, because nothing touches the surface and the heads never move.

  1. The drum: an aluminium or brass tube about 20 cm across and 25 cm long on a stiff steel shaft, turned true on a The Lathe to within 0.01 mm and carefully balanced. Spin it on Making Ball and Roller Bearings at about 3,000 turns a minute — the speed of a two-pole induction motor on 50 Hz mains (The Electric Motor).
  2. The coating: fine magnetic iron oxide mixed into a varnish or lacquer, sprayed or brushed on 10–25 µm thick, then turned and polished smooth. (How to make the oxide is under Magnetic tape.)
  3. The heads: two C-shaped halves of soft iron sheet, laminated, clamped to form a ring with a tiny front gap of 10–25 µm, held open by a shim of mica or copper foil. A coil of 50–200 turns of fine enamelled wire on the back of the ring. Mount each head in a brass holder with a fine screw, so it can be set 25–75 µm from the drum surface — about the thickness of a sheet of thin paper, which you can use as a feeler gauge with the drum stopped.
  4. Tracks: one head per track, about 2 mm apart: a 25 cm drum holds about 100 tracks.
  5. Writing: a pulse of 100–200 mA through the coil, one way for 1, the other way for 0, magnetises a patch of oxide as it passes the gap. Reading: the patches sweeping past make a voltage of a few millivolts in the coil, which an amplifier raises to logic level.
  6. Timing: one track is written once, at the workshop, with a steady train of pulses — the clock track — that tells the computer exactly which bit is under the heads at each moment.

Capacity and speed. At about 30 bits per centimetre round a 63 cm track, each track holds about 1,900 bits, and 100 tracks about 24,000 bytes. A word may have to wait up to one turn — 20 thousandths of a second — to come round under its head, so programs are arranged to fetch the next instruction just as it arrives.

A head set too far off gives weak, smeared pulses; a head touching the surface scrapes a bright ring — stop at once.

Magnetic tape

Magnetic tape stores far more than a drum, cheaply, but must be wound through to find anything.

The simplest route uses a sound tape recorder (Recording Sound): turn each bit into a burst of tone — for example 1,200 Hz for a 0 and 2,400 Hz for a 1, each bit lasting four or eight cycles — giving about 300 bits a second. A cheap recorder can store and reload a long program this way.

Computer tape is 12.7 mm wide and records 7 or 9 tracks side by side, one bit of each character in each track, at 200 to 1,600 bits per 25 mm along the tape. Records are written in blocks with blank gaps between them, so the drive can stop and start. A reel 27 cm across holds 730 m of tape — millions of characters.

Making tape:

  1. The oxide. Dissolve iron sulfate (Iron (the Bloomery) scrap in dilute Sulfuric Acid) and add Lye and Potash or soda to precipitate yellow-brown iron hydroxide. Wash, dry, and heat it to drive off the water: red iron oxide (the same substance as the ore hematite). Heat it at about 300–400 °C in a slow stream of hydrogen or coal gas (Hydrogen, Oxygen and Gases) until it turns black magnetite — strongly magnetic. Black magnetite works as it is; gently heating it in air at about 250 °C until it turns brown gives a better, more stable oxide. Test: a magnet must pick it up strongly. Grind it to a flour finer than any you have made, as fine particles record finer detail.
  2. The binder: a tough varnish or lacquer, with a little oil to keep it flexible.
  3. The base: a smooth plastic film (Early Plastics) — or strong, smooth paper, which Fritz Pfleumer used for the very first tape in 1928.
  4. Coating: draw the base under a straight-edged blade set a fraction of a millimetre above it, with the oxide paint in front of the blade, to leave an even coat 10–15 µm thick when dry. Dry, polish between smooth rollers, and slit into strips.

Magnetic disks, in outline

A disk is an oxide-coated platter spinning under a head on an arm that swings across the tracks, so any record can be reached in a fraction of a second. The head must fly on a cushion of air thousandths of a millimetre above the surface, where a speck of dust wrecks both: build disks only when you can grind flat to a thousandth of a millimetre and keep a clean room (Clean Rooms). A floppy disk, a coated film disk turning slowly in a sleeve under a head that touches it lightly, is a good second step after drums.

Choosing storage

Medium Holds Find a record in Lasts Easiest to make
Punched cards 80 characters each Seconds (sort by machine) Centuries, if dry Yes
Paper tape 1 byte per 2.5 mm Minutes (wind through) Decades Yes
Magnetic drum Tens of thousands of bytes 0.01–0.02 s Years, rewritable Precision workshop
Magnetic tape Millions of bytes per reel Minutes 10–30 years; copy regularly Oxide chemistry and film
Disk Millions upward 0.03–0.1 s Years Very hard

For anything that must last, keep it on paper — cards, tape or plain printed text — as well as on magnetic media. See Programming for how to preserve programs and data across generations.

How to tell it worked

  • Displays: a lamp-test switch lights every segment and dot; counting 0 to 9 shows every digit correctly.
  • Printer: prints "THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG 0123456789" ten times with every letter clear and every line straight.
  • Cards and tape: a deck or tape punched, read back and compared by the computer matches exactly, a thousand times over.
  • Drum and tape: write, read back and compare every bit overnight with no error.

Note Troubleshooting. Nixie glows on two digits, or glow wanders → current too low, or gas contaminated; raise the current a little, or the tube is leaking. Dot-matrix letters have a missing line of dots → one wire sticking or its magnet open-circuit. Cards jam → cards curled from damp, or cut oversize; dry them under weights, recut. Drum reads errors on one track only → that head's gap is dirty or its spacing has crept; clean and reset it. Tape gives dropouts → oxide shedding from poor binder, or dust on the tape; clean the heads with spirit.

Dangers

Danger High voltages. Nixie supplies at 170 V can stop a heart through wet hands. CRT displays use 10,000–25,000 V, and their capacitors and the tube itself hold a charge long after switching off: discharge the tube's anode to its metal frame with an insulated, earthed wire before touching anything (Wiring and Electrical Safety). Above about 20,000 V, the tube also gives off weak X-rays; keep the glass thick and do not raise the voltage beyond what the tube was built for (X-Rays).

Danger Imploding tubes. A large evacuated glass bulb carries tonnes of air pressure. Struck or scratched, it bursts inward and throws glass outward. Wear a face shield and gloves when handling CRTs and fit a guard of thick glass in front of the face.

  • Spinning drums and disks store a lot of energy. An unbalanced drum shakes its bearings to pieces; a cracked one bursts. Build a steel guard round it and never run it uncovered.
  • Mercury in nixies and solvents in tape coatings are poisonous; work with them outdoors or in good ventilation (Mercury, Ether, Acetone and Solvents).

What this unlocks

With a screen, keyboard and printer, a computer becomes a tool ordinary people can use for accounts, records and teaching (Programming); thin screens come later (Flat Screens: LCD and LED Displays). Storage lets programs and data be shared over Networks and the Internet and kept across generations.

How it was first done

Joseph-Marie Jacquard's loom of 1804 used chains of punched cards to choose the threads of a pattern (The Loom). Herman Hollerith's punched cards and electric tabulators counted the 1890 United States census; his company later became IBM, whose 80-column rectangular-hole card appeared in 1928. Paper tape came from the telegraph in the 1850s and the teleprinter in the 1900s.

Gustav Tauschek patented a magnetic drum memory in Austria in 1932; drums served in the Manchester and Harvard machines around 1950, and the IBM 650 of 1954 — the first computer sold in large numbers — kept 2,000 ten-digit numbers on a drum spinning 12,500 times a minute. The German firm AEG showed the Magnetophon tape recorder in 1935 with tape coated by BASF; UNIVAC I (1951) was the first computer to use magnetic tape. IBM's RAMAC 350 (1956) stored 5 million characters on fifty 61 cm disks, and IBM's first floppy disk appeared in 1971.

The Burroughs Corporation sold the first nixie tubes in 1955 (the name is said to come from "Numeric Indicator eXperimental No. 1"). Digits made of lit bars were patented in the early 1900s. Line printers appeared in the 1950s; the first widely sold dot-matrix computer printers came around 1970.

Source: content/entries/electronics/displays-printers-and-storage.md