DigiSim

MECHANICAL COMPUTING LABORATORY

Difference Engine No. 2

8 COLUMNS31 DIGITS
Evidence boundary248 wheel states · corrected interfaces · positional interlocks. Not a complete, historically certified replica.
Assembling the R2 applicationPreparing 248 wheels, repaired interfaces and local graphics…
CALCULATING UNIT + OUTPUT APPARATUSFull numerical capacity · provisional assembly geometry
Drag to orbit · Shift-drag to pan · Scroll to zoom
MAIN SHAFT / HOME

Ready at home

main shaft / 50 CB units

The initialized figure wheels are locked at whole-tooth positions.

HAND CRANK
COMPLETED0000
Forward-only operator · same kernel in all modesNominal 4 crank turns / cycle; ratio evidence conflicts.
DE2 / R2Selected baseline: Science Museum completed assembly, 2002Initializing graphics…
VERIFICATION BEFORE APPEARANCE

Fidelity ledger

This is not a complete replica.

The implementation demonstrates a full-capacity, mechanically meaningful digit-state model. It does not establish complete geometry, every hidden component, authentic contact mechanics or the completed museum printer. A finished interface is not evidence of those requirements.

R01

Completed Science Museum assembly baseline

Selected 2002 object; post-1996 changes not fully verified.

Partial ↗
R02

Eight columns, 31 wheels each

248 individually identified wheel states and meshes.

Implemented ↗
R03

All museum components and hidden parts

No complete verified BOM; generated inventory is not museum inventory.

Blocked ↗
R04

Successive carry and alternating additions

Digit contacts and warnings; provisional event timing.

Implemented with limits ↗
R05

Verified dimensions and tooth engagements

105×25 mm wheel envelope; other fits and profiles provisional.

Partial ↗
R06

31-digit exact numerical behavior

Exact digit transitions; modular wrap, historical signed conventions unresolved.

Implemented with limits ↗
R07

Printing and both stereotype banks

30-channel transfer and type-state impressions; incomplete physical apparatus.

Partial ↗
R08

Manual/run/step shared state

Same forward-only tick driver; manual setup is an educational shortcut.

Implemented ↗
R09

Crank and camshaft relation

Nominal 4:1, contradictory transcribed gear counts unresolved.

Provisional ↗
R10

Section, X-ray, select, isolate

Capped sections, optical-density X-ray with sorted fallback, pick-through and bidirectional graph inspection; not historical evidence.

Implemented with limits ↗
R11

All internal save state

Versioned tick, tooth positions, sectors, warnings, racks, output and clutch state.

Implemented ↗
R12

Museum mechanical fidelity certification

No dimensional/contact validation or complete as-built comparison.

Not achieved ↗

R2 repairs

Fixed-axis output gears, types and rollers; a common rack pitch; 0/8/16 mm sector lift interfaces; supported bearing interfaces and bored frame; keyed and phase-aligned carry arms; constant-length guided cam rods; press release before type restoration; continuous drive and press poses; capped sections, optical-density X-ray, pick-through, and bidirectional connection tracing.

These are specific engineering repairs, not closure of every item in the 45-finding audit. The supplied source package records a finding-by-finding repair ledger and its tests; they are not reproduced on this page.

Source access and unresolved evidence

Science Museum · collection record, completed engine ↗Read; baseline object, not a complete manufacturing inventory
Babbage · BAB/A/163, elevation (archive catalogue) ↗Catalogue read; full-resolution drawing not acquired
Doron Swade · Technical Description, 1996, permissioned HTML transcription ↗Read; transcription can contain errors; predates completed printer
Swade 1996 · calculation ↗Read; calculating mechanism
Swade 1996 · drive ↗Read; 56/16 tooth count conflicts with stated 4:1
Swade 1996 · circular motion ↗Read; detailed cam profiles not digitized
Swade 1996 · modern implementation ↗Read; altered locks, mirrored mechanisms and setting procedure
Swade 1996 · printing apparatus ↗Read; design-level evidence, not as-built 2002 verification
Swade 1996 · stereotyping ↗Consulted; incomplete as-built evidence
Babbage · BAB/A/171, reproduced addition drawing ↗Image inspected; diagrammatically opened out, not an assembly CAD drawing
Reconstruction timing diagram, reproduced image ↗Image inspected; fine timing not recoverable reliably at available resolution
Science Museum · Technical Description, 2023 ↗Located, NOT read: web reader size limit; direct download failed
Science Museum · User Manual v1.1, 2023 ↗Located, NOT read: web reader size limit; direct download failed

Important distinctions

The kernel uses discrete tooth contacts, warnings and sector restoration. Positional and connection interlocks reject displaced or disconnected assembly parts. These guards are not a general geometric contact or force solver, and they do not certify the assembly against all collisions. Generic cams illustrate control families; they are not recovered museum cam contours. Nominal crank reduction, fine event timing and safe-home quick setting are explicitly provisional.

The output train includes all 30 logical channels and both stereotype banks. Raised seven-segment type faces and contact-record surface marks are included as engineered teaching geometry, not historical typefaces or material deformation. Original formatting pattern wheels, complete cam/linkage and carry-drive trains, fastener holes, authentic setting hardware, and numerous concealed details remain unverified or incomplete. The generated part inventory is a model inventory, not a verified museum bill of materials.

Operate & inspect

1. Initialize at home

Choose a polynomial, then set the initial wheels. Coefficients run from constant to highest power. The setup assistant uses staggered differences for the alternating half-cycles. Manual register and individual-wheel setting are also available, but are an educational shortcut.

2. Drive the same mechanism

Run, tooth/event, phase, finish-cycle and clockwise crank dragging all call the same forward-only kernel. One nominal crank revolution advances one quarter of a cycle. With the model focused, Space toggles Run, Right Arrow advances 25 ticks and N advances one event; Escape releases the keys. Do not edit settings during a cycle.

3. Follow the transfer

Live register words temporarily change as source wheels give off. The sectors retain displacement and restore the source wheels. Carry warnings propagate low-to-high. Output is captured at press contact, not at the end of an independently computed answer.

4. Inspect the geometry

Drag to orbit, Shift-drag or right-drag to pan and scroll over the model to zoom. Click a part, then focus or isolate it. Section uses movable world-space clipping planes; closed solids have stencil section caps, including their modeled bores. X-ray changes selected group opacity; pick-through can be switched off to select context surfaces. Source status is always available on the inspected part.

5. Save an interrupted operation

Save state includes all wheel tooth positions, sectors, warnings, output channels, impressions, cycle phase and the virtual operator’s time credit. Loading pauses at the saved point; playback resumes only when Run is pressed. Load accepts this build’s versioned JSON schema.

6. Know the limits

Detailed geometry and timing are provisional. Signed and scaled values are interpretations. The overflow notice is an observation, not a claim about historical alarm hardware. Page indexing is an educational 12-row × 2-column pattern, not the recovered museum formatting apparatus.