DOCS / FAB

The open fab, and the town around it

Project #4 (Jon, 2026-11-24) is "a fully open source ASML/TSMC engineering project". It is built up to scrappily and in public, to show what is possible.

Nothing here is built. Every step below is a proposal, and its claims are unknown until they earn a grade. What already exists is in prior-art.md, "Open fabs, and chips made outside one".

Safety first

Jon approved these rules on 2026-11-24, rule 3 as it is worded here. No step that handles chemicals, heat, high voltage, vacuum or pressure starts outside them.

  1. No step starts without its safety plan. The plan is written before anything is bought. It lists:

    • each hazard: chemical, heat, electrical, pressure, vacuum, light and waste;
    • the controls and the protective equipment for each;
    • what to do in a spill, a fire or an exposure;
    • who may do the step;
    • the codes it was checked against, fire, waste, zoning and exhaust, each with the date it was read, so that whether the step is legal where it runs can be checked (rule 3).

    Jon approves each plan in the session it is used (CLAUDE.md).

  2. Limits below the agent, as on the bench. An AI may plan a run and log it. Heaters, pumps, high voltage and chemical dispensing sit behind interlocks it can't reconfigure: an over-temperature cutoff in hardware, an emergency stop, and fume detection that cuts power (vision.md, principle 5).

  3. Anything on mains is bought, listed and legal. That covers hotplates, furnaces, pumps, and RF and sputter supplies. Each is listed by a recognised testing lab and used as sold, where it is legal to use there, and anything wired in is installed by a licensed electrician. The project designs, builds and wires no mains equipment, and writes no instructions for mains wiring. No agent switches mains power except through an interlock it can't override (rule 2). Hacker Fab's first goal is to "Make a DIY version of every nanofabrication tool". Here the tools on mains are bought instead (Jon, 2026-11-24: "id say its ok as long as its legal"; CLAUDE.md).

    When a bought tool is what stops the next stage of closing a gap, it is raised with Jon: whether to engineer and make a version of our own, "a fraction of the cost and meets every safety mark as well" (Jon, 2026-11-26). Until Jon decides, this rule holds as written.

  4. Never here:

    • toxic and pyrophoric gases: silane, phosphine, arsine, diborane and chlorine;
    • chlorosilanes;
    • developers made with TMAH, which is toxic through the skin. A sodium or potassium hydroxide developer is used instead.

    Dopants come as liquids spun onto the wafer. Hacker Fab's repositories include work on such spin-on dopants (prior-art.md).

  5. Hydrofluoric acid comes last, under a plan of its own.

    • Hacker Fab's transistor process etches oxide with it, as buffered oxide etch.
    • Hacker Fab's procedure for that waste guards against "toxic fluoride exposure".
    • The first steps don't use it at all.
  6. The neighbours' safety too. Chemical storage, wastewater and exhaust are written up the way brownfield-compute writes up water and air: against public limits, with the uncertainty stated.

  7. A town fab brings its own safety office. All ten Hacker Fabs in its GitBook's list are at universities. Its waste procedure for buffered oxide etch names the "HackerFab Wet Chemistry Lab - ESC 232", and no university. A fab in a town has no university's safety office behind it, so it needs its own. How the Hacker Fabs share that work with their universities is unknown here.

What it builds, and why fidelity matters

A simulation predicts a conflict only if its agents act as the trained ones do. That is why project #3 judges a compressed policy by the behaviour bar, not by score (littlebit.md, "Whether a student plays as the teacher does").

In Clean Up, zapping is the conflict, and the compressed students already get it wrong both ways. These are behaviour.py's figures, one training run each, and unknown (littlebit.md):

So the fab builds two kinds of chip, for two purposes:

A p-bit chip, project #6's last step, would be made on the silicon track too (pbits.md).

The steps

Silicon

stepwhatneedspasses when
1a network hardwired on the i9the bench's i9now (littlebit.md)
2our design made on a shuttle, on an open PDKa shuttle slot, which costs money: Jon's decisionthe chip computes what the golden model does
3test gear: probe station, microscope, curve tracerproject #1's benchit measures a bought transistor's curves
4lithography: a maskless stepper on Hacker Fab's open design, patterning photoresist on bought wafersresist and a hydroxide developer, under its safety plan; no acids or furnacethe smallest line it prints, and its overlay error between two layers, measured on a calibration target
5NMOS transistors on bought wafersa furnace, spin-on dopant and hydrofluoric acid, each under its safety planmeasured threshold, leakage and yield
6a small chip: a hardwired network of a few hundred to a thousand transistorsstep 5's processit computes what the golden model does

Hacker Fab's lithography stepper costs about $3,000 and resolves under 2 µm (arXiv 2510.15082). Its March 2026 update reports NMOS chips of 952 transistors each, with 5 µm gates, a 1.26 V threshold and 94 % yield, from over 1,500 transistors made by eight students. Both are their figures, read in their own text (prior-art.md).

Printed

stepwhatpasses when
P1thin-film transistors of metal oxide or organic semiconductor, made at a few hundred °C on glass or plasticmeasured transistor curves
P2a tiny classifier hardwired into printed logic, as the printed-ML papers doit computes what the golden model does

PlasticARM, a 32-bit Arm processor in metal-oxide thin-film transistors on plastic, shows that thin-film logic can reach 18,334 gates. It was made in PragmatIC's fab, not printed at home (prior-art.md). Each step's safety plan comes first, as above.

Materials

These come after the silicon track's step 5, once transistors work on bought wafers:

Software

A "slicer" turns each layer of a chip's layout into the stepper's exposures, the way a slicer turns a model into a 3D printer's paths. It would be written in Rust. Hacker Fab's stepper software (hacker-fab/stepper, MIT) comes first, read before anything is written.

Improving Hacker Fab's stepper

Jon asked (2026-11-24) whether CortenForge could make an improved version of Hacker Fab's stepper. What follows is a proposal: nothing is modelled or built yet. Its sources are in prior-art.md, "Open fabs, and chips made outside one".

What limits it, by Hacker Fab's own pages:

Where CortenForge fits:

  1. Vibration first. The model is V2.1, built from its open CAD (hacker-fab/stepper_cad, in FreeCAD):

    • The physics: rigid bodies in sim-core, and the parts that flex as finite elements in sim-soft. The model is shaken by the floor and by the motors' steps.
    • What it gives: the one figure that blurs a pattern, the objective's motion relative to the chip.
    • The tuning: sim-opt's optimizers adjust where the posts go, how thick the plates are, and the mass and damping. cf-design and the mesh crates then make the parts.

    CortenForge calls its sim crate a "differentiable co-design toolkit". FleXstage, a levitated stage built for chip manufacturing, designs structure and control together because bandwidth "is limited by the first structural resonance frequency of the stage".

    Its likely gaps come from brownfield-compute's findings: no beam elements, and isotropic materials only. No modal solver shows in the crates' descriptions, so resonances would come from stepping the model and taking its spectrum. Each gap would go in docs/CORTENFORGE.md, as brownfield-compute logs its own.

  2. The stage's control loop, tuned in sim-core before a part is made. The firmware's failures are not CortenForge's to fix. They would be a Rust state machine checked with Kani, as the bench's limit enforcer is.

  3. Later, a magnetically levitated stage, which has no backlash and no stick-slip.

    • cortenforge-cfsem's planar conveyor already levitates movers on a coil grid. cfsem computes the fields and forces, and CortenForge the dynamics and control.
    • Exposure-tool patents describe wafer stages driven by "a moving-magnet-type planar motor of the magnetic levitation method".
    • The hard part is sensing the stage's position to well under a micron.

Measured, so the model can earn a grade. The bench's digitizer could read an accelerometer far faster than a camera takes frames. A real stepper's vibration, measured that way, would check the model. Until then the model's figures are unknown. Measuring needs a stepper, either built here (about $3,000, Jon's decision) or measured with a Hacker Fab.

Judged by overlay. Each change to the stepper is judged by its overlay error between two layers, measured on a calibration target before and after the change (step 4).

Where it doesn't fit: the projector. CortenForge has no optics. The projector's problems, and the stage's timing, point at the i9 instead.

Where the i9 comes in. It would be the stepper's real-time controller, doing three jobs that a PC, an Arduino and the projector's own board each do today:

  1. The light.
    • The i9 switches the UV LED on only for an exposure, timed to its clock, so nothing leaks between exposures.
    • It can only ask for light. The interlock that cuts the LED's power, when the enclosure opens for one, stays in hardware the i9 can't override (rule 2).
  2. The image, with no operating system in its path.
    • The slicer's frames go from the PC into the i9's memory, and the i9 shows the projector one frame for each exposure. No pop-up can reach the chip.
    • Hacker Fab's $250 option for this is a whole Elegoo Mars 4 DLP resin printer, taken apart for its DMD projector, which has only a 405 nm LED. The printer's own board takes only resin-printer files.
    • OpenMLA calls buying the printer "The easiest and cheapest way to source the projector". The projector alone can come from its maker, Anhua, at "a premium".
    • OpenMLA's controller, a hat for a Raspberry Pi Zero 2, sends images over SPI to the TI controller on the projector's own board, the DLPC1438.
    • So the micromirror chip needn't be driven without TI's controller: the projector has one, and it can be fed directly. The i9 would do the hat's job.
    • This would also replace the TI evaluation module that is out of stock.
  3. Motion, and exposures timed to it.
    • The i9 runs the stage's loop and sequences each exposure: step, settle, expose.
    • With an accelerometer on the digitizer's ADC, it waits to expose until the measured vibration has died down. That is a cheap fix for the stepper's largest problem, and it needs no mechanical redesign first. OpenMLA's board breaks out pins for exposing "based on some sensor readout".
    • The same measurement could shape each move so the frame rings less. Klipper does this for 3D printers, calling it input shaping, from an accelerometer's measurement of the printer's resonances (Klipper3d/klipper, docs/Resonance_Compensation.md). Klipper is GPL-3.0 and this repo is MIT or Apache-2.0, so the method is taken from its docs, not its code. Whether it shortens the stepper's settling is unknown.
    • It would replace GRBL on the Arduino, whose settings Hacker Fab ties to its backlash. The gateware would be checked as the bench's cores are, with SymbiYosys and cocotb.

What stays on the PC: the camera and its fiducial detection (RF-DETR), which does the alignment, and the slicer.

It is the same board as the digitizer's and LittleBit's, with the same tools. Every bitstream load still needs Jon's OK (CLAUDE.md). Nothing here is built or tested on an i9.

Value engineering

The aim is to spend less where it doesn't buy quality, and more where it does. The figures are Hacker Fab's own: the total its V2.1 page states, and the prices on its page of other projectors. Shops' per-item prices are left out (CLAUDE.md). Nothing has been priced or bought here.

Where to save:

itemwhat it doesinsteadsaveswhat it does to quality
the TI evaluation module, the largest itemthe imagea whole resin printer, taken apart for its projector, fed by the i9about $1,050: Hacker Fab prices the TI alternative at $1,300 and the resin printer at $250better: no stray UV, no pop-ups, in stock. Worse: its 0.3" chip, against 0.47", gives each exposure about 40 % of the area, if the optics are the same (the ratio squared). So there would be 2.4 times as many stitched exposures. Its resolution through V2.1's optics is unknown
the cameraalignment and inspectiona cheaper camera with a smaller sensor, behind a reduction lens of about $50, which Hacker Fab says was tested at UC Irvinedepends on the cameraa risk: alignment rests on it. Decided after measuring what the alignment needs
the Arduino and its CNC shieldthe stage, through GRBLthe i9, already herea littlebetter: no GRBL settings to tune. The stepper-motor drivers stay
the Thorlabs tubes and adaptersthe optical pathgeneric tubes and adapters with the same SM1 threadunknown: Hacker Fab's Thorlabs list gives part numbers, not pricesneutral, if the beamsplitter, the cube and the post stay Thorlabs. They set alignment and stiffness
the 10× objectivesets the resolutionkeep it, or upgrade it (below)——

Where to spend, in order:

  1. An enclosure with a UV interlock. Safety comes first (rule 2), so it isn't optional. It also keeps out room light, dust and air currents, and steadies the temperature.
  2. A calibration target, chrome on glass, with resolution and grid patterns. Without one, resolution, distortion and stitching can't be measured. Hacker Fab marks its stitching and overlay figures, 5 µm, unverified. The smaller projector makes stitching matter 2.4 times as much.
  3. Measuring vibration: an accelerometer read by the bench's digitizer. It is what exposures would be timed to.
  4. Vibration fixes, in this order:
    • isolation feet, or a used optical breadboard;
    • a direct mount for the projector, as Hacker Fab suggests;
    • a stiffer frame, from the CortenForge model.
  5. The closed-loop nanopositioner Hacker Fab now recommends.
    • Its magnetic encoders (MT6835) are read over SPI, which Hacker Fab says needs wires under 25 cm.
    • The i9 could read them from close by.
  6. A better objective, with a higher numerical aperture: sharper, and less distorted at the edge of each exposure, so it stitches better. Its price is unknown.
  7. An inspection light that doesn't expose the resist, red or amber. The resin-printer projector has only its 405 nm LED.

What to do, in order (the recommendation):

  1. Now, with nothing bought:
    • Ask Hacker Fab whether anyone has measured resolution through the resin-printer projector. That is the swap's largest unknown.
    • The vibration model, from the open CAD.
    • The i9's SPI link to the projector's TI controller (DLPC1438), in simulation. It would be checked with cocotb against what TI's documentation and OpenMLA's MIT-licensed code say the controller expects.
  2. The first purchase, Jon's decision: a whole Elegoo Mars 4 DLP resin printer, about $250, taken apart for its projector.
    • The $250 buys the whole printer, not a projector alone. Hacker Fab's option and OpenMLA's controller both take the projector out of the printer, and OpenMLA gives the steps.
    • Its safety plan comes first, since 405 nm light is an eye hazard (rule 1).
      • OpenMLA's board takes the printer's own 12 V supply at a barrel jack, so the work on the projector is at 12 V. The plan checks that the supply is a separate adapter, so that taking the printer apart opens nothing on mains (rule 3).
      • No resin is used, which keeps the resin's chemical hazard out.
    • It comes with an inspection light.
    • The i9 drives the projector on the bench. The checks: the image arrives whole, and the LED lights only during an exposure.
  3. Then the stepper, with the savings spent on the list above, the enclosure and the calibration target first.

This order puts the largest saving, and the largest unknown, in the cheapest test. Nothing more is bought until the free work says it is worth it.

Hacker Fab's other tools

Jon, 2026-11-25: "even though these are already at hackerfab, its still a good idea to apply our engineering to them if we see something that can be both better and more economical ... theres a large gap between what they have and what the state of the art is."

So a tool Hacker Fab already has is a candidate, not a reason to leave it out. Each one below:

The safety rules still decide which tools can have a version of ours. RF and sputter supplies, furnaces, hotplates and pumps stay bought (rule 3). A tool on vacuum, gas, RF or high voltage runs only under its safety plan (rule 1).

The sources are in prior-art.md, "Open fabs, and chips made outside one" (searched 2026-11-25).

The gap, row by row, is fab/stack.toml, and tentzhen.com's fab page shows it (site/fab/). Each row sets Hacker Fab's figure beside the industry's, quoting each source, with the gap and Tentzhen's route across it. Where both sides have a number, the warehouse works the gap out (gold.page_fab).

1. The sputter tool's control station, in Rust.

2. One interlock design, for every tool.

3. Reading the stage's interferometer.

4. The impedance matcher.

5. Film thickness, from a fitted model.

6. The source-meter and the probe station.

Not read yet, beyond their repositories' descriptions:

Running the fab: lots, recipes and tools

Read 2026-11-26. Jon's Claude session of 2026-11-26 listed the records an industrial fab keeps beside its tools, to be checked against what Hacker Fab already has (makerspace.md, "Where this came from"). Its route: read Hacker Fab's GitBook, join its Discord, map what exists against the list, and lead with one small working tool rather than a critique. Hacker Fab's README says "We communicate over Discord"; joining is a step on Jon's own account.

Hacker Fab's process database comes first. Its GitBook (fab-toolkit/database-build/README.md at bd1eef57) describes db.hackerfab.org, a Django site hosted on AWS. Its code is hacker-fab/data-management (MPL-2.0, last commit 2025-05-04, ae5436a3).

practiceHacker Fab, as readTentzhen's records today
a run card: every step a chip went through, with its parametersits chip pages, and a table per processa measurement record names the hardware revision, the gateware and firmware hashes and the toolchain versions (lab/records/)
lots: chips that move through the steps togetherno lot fieldnone
recipes under version controlNMOS defaults in its input formsthe repo is in git; no fab step has a recipe file yet
statistical process controlnot readnone
test structures and yield94 % yield in its March 2026 update ("The steps", above); how yield is tracked, not readnone
the same process at every siteten Hacker Fabs share one GitBook; whether their processes are matched, not readnone
tool qualification and maintenance logsa tube-furnace malfunction log, dated by hand (fab-toolkit/tube-furnace/malfunction-log.md)the append-only lab log of hardware actions (lab/log/)
root-cause analysisnot readnone
chemicals and consumables by lota page per material (fab-toolkit/chemicals-materials/); whether lots are kept, not readnone

"Not read" leaves Hacker Fab's side unknown, not absent. The small working tool is the makerspace's stores (makerspace.md): they keep parts by bin first, then chemicals by lot, then wafers by lot. Each is a proposal, unknown until it earns a grade. Wafer lots would be built where Hacker Fab's database can take them, written to it or beside it, once its code has been read.

Security

The fab's security, for every computer in its building, has its own spec: fab-security.md.

Later: a gradiometer, engineered with CortenForge

Jon, 2026-11-25: "the gradiometer is from cortenforge. its a goal of mine to use cortenforge to engineer one in the future."

CortenForge's study (via-balaena/CortenForge, docs/studies/gradiometer) is of a "room-temperature MEMS gravity gradiometer".

Whether our process could make its parts is unknown.

The town

Open decisions, Jon's

Written in docs/fab.md, on main; this page is made from it.