Enigma · Volume 15
Enigma — Volume 15 — The Open Enigma: Building the Replica
Fourteen volumes of theory, switched on and glowing on a desk
15.1 About This Volume
Every volume before this one was a description, and a description is never quite the thing. Fourteen volumes have circled the Enigma: its rotors and reflector, its plugboard and its stepping anomaly, the daily-key ritual, the Polish equations and the Bletchley huts, the U-boats and the Bombes, and the long aftermath in which the machine that lost a war helped to summon the computer age. This volume turns from the historian’s distance toward a workbench, and toward the oldest and most honest way of understanding any machine: building one.
A genuine Enigma is out of reach for almost everyone. The surviving machines are museum pieces, and clean wartime examples change hands at auction for well over a hundred thousand dollars. What can be built is a machine that thinks exactly like an Enigma: one that lights the same lamps in the same unpredictable order, and whose output a real Enigma I or M4 set the same way will decode cleanly. That is the Open Enigma, an open-source, Arduino-powered replica made by S&T GeoTronics. It takes the abstractions of this series and makes them physical: a wooden box with keys to press and lamps that glow, running the genuine cipher logic in firmware.
This volume describes the project and the kit in general terms: where it came from, what is inside it, what it reproduces faithfully and what it gives up. The four volumes that follow, 16 to 19, turn to one finished machine — mine — and follow it through its build, the plugboard panel I added, the change I made to its firmware, and the messages it has sent.

15.2 Where the Open Enigma Came From
The Open Enigma was designed by Marc Tessier and James Sanderson, working as S&T GeoTronics. The header of their firmware dates the first design, assembly and programming to 20 September 2013. Their starting point was modest. The Instructable they published that autumn, Make Your Own Enigma Replica, credits its inspiration to an earlier hobby project, sketchsk3tch’s “Kid’s Game to Arduino Enigma Machine”. (A story sometimes repeated about the replica beginning as a way to encrypt the clues of a scavenger hunt does not appear in any of S&T’s own accounts, and is best treated as unverified.)
The Instructable went up on 6 October 2013 under a Creative Commons licence (CC BY-NC-SA 4.0), with everything in it: a breadboard proof of concept, the schematics, the first prototype circuit boards, and the complete Arduino sketch. It won second prize in that year’s Radio Shack Microcontroller Contest. The prototype used quarter-inch audio jacks for its plugboard; the authors noted that “banana plugs & jacks are smaller & closer to the original”, and banana jacks are what the production kit adopted.
The response persuaded S&T to turn the one-off into a product. “The Open Enigma Project” ran on Kickstarter from 2 March to 4 April 2014, asking for $20,000. It closed at $62,054 from 210 backers, roughly three times the goal. The money was not for invention, since the design already worked; it paid for manufacturing — boards, panels and parts in quantity rather than one at a time. The original pledge tiers had no physical plugboard. On 1 April 2014, in the final days of the campaign, S&T posted an update saying it had begun “creating a fully functional plugboard (just like the real Enigma M4)”, tied to a stretch goal. A firmware revision dated 22 March 2014 added the M4’s double-stepping and a three-rotor M3 mode.
The result was sold as the Enigma Mark 4. A Kickstarter “Mark 4 Limited Edition” of 100 units sold out, and an “Improved Performance” (IP) Mark 4 followed it. The IP version has a longer wooden box, so that the lid closes with the plugboard cords in place; a lampfield that lights only while a key is held down; and a Bluetooth link to S&T’s optional printer or any compatible serial printer. Each assembled IP unit is hand-built to order, with a serial number engraved on the plugboard.
The kit has always come in tiers. In December 2014, IEEE Spectrum priced them at $200 for the circuit boards and basic parts, $300 with the top panel and an Arduino Mega, and $425 with “a plugboard front panel” that connects up to ten letter pairs with patch cords; a vendor-built case was $350 more. S&T’s current list runs from a $60 pair of bare PCBs and a $300 “barebones” kit, through a $500 electronics kit and a $600 “Kit Plugged”, to an $800–$900 assembled machine and the Mark 4 IP from $1,400. A wooden box, a printer and an eBook (Open Enigma for Dummies) are sold separately.
What makes the project belong in this series, rather than in a catalogue of novelties, is that all of it is open. The schematics are public and so is the firmware. Copies of S&T’s Arduino code, and forks that extend it, live on GitHub (markusschanta/openenigma holds both of S&T’s sketches; bitjungle/openenigma is a tidied, modular fork). After three decades in which the very existence of the Enigma break was a state secret, here is an Enigma whose every wire and every line of code anyone can read.
15.3 What It Is, Physically
Set one on a desk and the homage is immediate. The Open Enigma reproduces the operator’s experience of a wartime machine with real care. There is a lampfield — the Glühlampen, the glowlamps — of 26 white LEDs behind round windows, one per letter, that light to show the enciphered output. Below it is a keyboard of 26 typewriter-style keys in the German QWERTZ layout. Above the lampfield, four sixteen-segment displays stand in for the little windows through which the wartime operator read the letter rings of the rotors, with UP and DOWN buttons above and below each one. Five red LEDs mark the operating mode. On the plugboard versions a front panel of 26 banana jacks, laid out like the keyboard, sits below the keys. The whole thing lives in a hinged wooden box that echoes the silhouette of the original.
Under that skin, the machine is entirely modern. The brain is an Arduino Mega 2560, an ATmega2560 microcontroller board. The electronics are a small lesson in economy. The firmware’s header counts 115 light-emitting diodes in the lamps, mode lights and display segments, and they are multiplexed — wired in rows and columns and lit one group at a time, fast enough that the eye sees them all at once — so that 38 microcontroller pins can drive them. (Some press coverage called this Charlieplexing; the maker’s own word is “multi-plexed”, and the code drives an ordinary row-and-column matrix.) Seven P-channel MOSFETs do the heavy switching: S&T’s schematics show four of them feeding the common anodes of the four displays and three feeding the three rows of the lampfield. All 36 push-buttons — the 26 letter keys and the ten function keys — sit on four resistor ladders, so that each key produces its own voltage on one of four analogue inputs, and the whole keyboard costs the Mega only four pins.

Here is the heart of the difference, and it deserves to be stated plainly. On a real Enigma the rotors are physical objects: discs of Bakelite and brass, each crossed by 26 insulated wires that send one letter to another, turning on a spindle and stepping on a pawl-and-ratchet mechanism. On the Open Enigma the rotors do not physically exist. Their wirings, their notches, their stepping and the reflector all live as tables and logic inside the firmware. Even when the physical plugboard is fitted, its cords are only sensed; the swapping is done in software. The “rotors” are arrays in memory, and the “stepping” is an increment in a loop. The machine performs exactly the permutation a wartime Enigma would perform, but it computes that permutation rather than embodying it.
15.4 Faithful versus Simulated: An Honest Accounting
It would be easy to oversell the Open Enigma, and easy to dismiss it. The truth sits exactly on the line this series has walked throughout, between the mechanism and the mathematics it implements.
What the Open Enigma reproduces with genuine fidelity is the cipher behaviour. The firmware holds the historical wirings of rotors I to VIII, the M4’s two thin Greek wheels, Beta and Gamma, and the two thin M4 reflectors, B and C. It implements ring settings, notches (including the double notches of rotors VI to VIII), the famous double-stepping anomaly of the middle rotor described in Volume 4, and the reciprocal substitution that makes the machine its own inverse. A model setting switches between a four-rotor M4, a three-rotor M3, and a deliberately unhistorical M4 without double-stepping. Because the thin reflector combined with a Greek wheel set to A behaves exactly like the wide reflector of the three-rotor machines, the Open Enigma can speak to an Army or Air Force Enigma I as well as to a Kriegsmarine M4. Set rotors, rings and plug pairs on an Open Enigma, type a message, and the output decodes cleanly on a genuine machine or in any faithful software simulator. Volume 19 does exactly that, with a real U-boat message from 1942.
What is lost is the electromechanical truth of the original, and that matters more than a purist’s grumble. The wartime Enigma was not a model of a permutation; it was the permutation, made of moving metal. When the operator pressed a key, current flowed from a battery, through the plugboard’s cords, into the rightmost rotor, through 26 wires and across to the reflector, all the way back by a different path, and out to a lamp — and the rightmost rotor clicked forward one place before the lamp lit, so that the next press would never repeat the last. The double step was not a design decision in code; it was a consequence of where a notch sat on a ring and how a pawl caught it. On the Open Enigma none of that can be felt. There are no wheels turning under the fingers, no resistance in the ratchet, no smell of warm contacts. The stepping is real in its logic and invisible in its body.

What is gained is considerable, and all of it points toward understanding. Cost, first: hundreds of dollars against six figures, which is the difference between a thing one reads about and a thing one owns. Accessibility: no curator, no insurance, no white gloves. Openness: every wire and every line of code is documented and free, the precise opposite of the original’s thirty-year secrecy. And above all hackability. Because the rotors are code, a builder can do things no wartime operator could: log the internal state at every keypress and watch the substitution happen, add rotors that never existed, rewrite what the displays say, or deliberately misconfigure a ring setting to see how it garbles a message. The very move that costs the tactile truth — from metal to firmware — is the one that delivers an inspectable, teachable Enigma.
That trade produces a particular set of small shocks of recognition. Press a key and a different letter lights: the reciprocity of Volume 3 stops being a property and becomes something visible. Type the same letter twice and two different lamps answer: the stepping of Volume 4 becomes real. Set the day’s rotors, rings and plugs from a key sheet before a friend’s message will read, and the daily-key ritual that decided the Battle of the Atlantic becomes something the hands perform.
15.5 The Build, in Outline
A kit build reenacts, in miniature, the arc of this whole series: first a piece of physical hardware is assembled, and then cipher logic is breathed into it.
The kit with the plugboard is three circuit boards. The motherboard carries the user interface: the four displays, the five mode LEDs, the 36 push-buttons and the 26 lampfield LEDs. The lampfield LEDs are surface-mount parts, soldered onto pads (S&T’s instructions say “using center holes”, and recommend pre-tinning them) rather than pushed through holes; IEEE Spectrum’s reviewer warned that they “can easily slip out of place”. The daughter card carries most of the resistors and the seven MOSFETs, and the Arduino Mega snaps onto its back. The plugboard PCB carries the 26 banana jacks and connects to the daughter card by a ribbon cable. Everything else is ordinary through-hole soldering: resistors, headers, buttons and displays. A lampfield LED soldered the wrong way round is a letter that will never light, and on a machine whose whole purpose is which letter lights, that is not a fault anyone can ignore.
Then comes the step with no 1940s equivalent. The Arduino is connected to a computer over USB and the firmware — the open-source sketch holding the rotor wirings, the stepping logic, the reflectors and the plugboard handling — is uploaded with the Arduino IDE. The same hardware, given different code, could be anything; given this code, it becomes a cipher machine that the Kriegsmarine would recognise. Because the firmware is public, a builder can read exactly what is being loaded, and change it first.
Finally the boards are screwed to the top plate and set into the wooden box, and the payoff arrives: first power-on. A scrolling banner crosses the four displays. The operator steps through the modes, sets rotors, rings and plugs, switches to RUN and presses a key — and somewhere across the lampfield a different letter glows. Volume 16 follows that sequence step by step, as S&T documents it, through one real build.
15.6 The Wider Ecosystem: Where the Open Enigma Sits
The Open Enigma is one answer to the question “how can I get my hands on an Enigma?”, and the alternatives are worth knowing, because choosing among them is really choosing what kind of understanding is wanted.
At the most accessible end are the software simulators: browser pages, phone apps, Dirk Rijmenants’ long-standing Windows simulator, and CrypTool, an open educational platform whose Enigma models show the internal wiring lighting up as letters are typed. They cost nothing, run anywhere, and are superb for understanding the logic. What they cannot provide is an object on a desk.
A step toward the physical is the Enigma-E, an educational electronic kit documented and sold through the Crypto Museum in the Netherlands. Like the Open Enigma it is a soldering kit with lamps and a keyboard, optionally housed in an oak case that echoes the original, and it is explicitly designed as a teaching object. It predates the Open Enigma and shares its philosophy: reproduce the behaviour in electronics, make it buildable, make it teach.
At the most ambitious end are two different purist routes. FPGA implementations express the Enigma as reconfigurable logic gates, closer to hardware than a microcontroller sketch, and popular with digital-design students. And a growing community of makers builds fully mechanical 3D-printed replicas that physically turn wired rotors — real contact paths, real stepping, real reciprocal wiring — chasing exactly the electromechanical truth that the firmware machines set aside. These are the closest a hobbyist can come to the genuine article in the hand, and the hardest to build.
The Open Enigma’s place in this landscape is the accessible, open-source middle path. It is more physical than a simulator on a screen, cheaper and more hackable than a mechanical replica, and — because its cipher lives in editable, documented firmware on a ubiquitous microcontroller — unusually well suited to learning. It can be taken apart, instrumented, modified and put back together. It is not the last word in mechanical authenticity, but it is the best available teacher.
15.7 A Reflection Before the Build
The series began with a machine the Germans believed unbreakable and the Allies kept secret for a generation. It traced the Enigma’s gears and mathematics, the people who built it and those who broke it, the convoys it doomed and the computers it helped to bring about. Along the way the Enigma was, by turns, a marvel, a weapon, a puzzle and a ghost. It was almost never a thing that could simply be held.
A replica closes that distance in the oldest way there is: by making one. There is a kind of knowledge that no description carries, the knowledge in the hands after the lamp has been soldered, the code uploaded, the day’s key set, and the letter seen to light. On the Open Enigma, every secret this series has spent so long explaining is simply true on the desk: the reciprocity, the stepping, the daily ritual, the glow. The machine that began as the most closely guarded secret of the twentieth century ends as an open kit on a hobbyist’s bench, its wiring published and its code free — no longer a weapon, no longer a secret, and at last able to do the one thing it was never allowed to do for thirty years: teach.
The next four volumes are the bench itself.
Next — Volume 16: My Open Enigma — The Build. From a box of boards and parts to a wooden machine with an instruction card printed in its lid: what came in the kit, how S&T’s assembly sequence goes, the three boards and what each one does, and what the machine does the first time it is switched on.
Comments (0)