Projects

Home-built scanning tunneling microscope

Built from scratch with Luzian Trapletti. In ambient air and at room temperature, it resolves the atomic lattice of graphite.

In progressSep 2025 to now

A scanning tunneling microscope, or STM for short, exploits the quantum tunneling current between a sharp metal tip and a sample to image a conducting surface atom by atom. For optical instruments this kind of resolution is out of reach. Binnig and Rohrer at IBM first realised the idea in 1981 and received the Nobel Prize in Physics for it in 1986. IBM has a good page on its history if you want to read more.

Together with my friend Luzian Trapletti, an electrical engineering student at ETH, I built one from scratch: mechanics, electronics, firmware and software. On 18 November 2026 it resolved the atoms of a graphite surface. The project now continues as an official semester project, joint between D-PHYS and D-ITET, in the group of Prof. Andreas Vaterlaus, supervised by PD Dr. Yves Acremann and Dr. Adam Wang.

Atoms

Raw tunneling current over graphite: a regular pattern of bright and dark spots Raw current
The same scan after Fourier filtering: a clean triangular lattice Fourier filtered
Graphite (HOPG) with a Pt/Ir tip at +50 mV bias and 1 nA, 64 × 64 pixels, 0.1 s per line, about 1.4 nm across. Raw current: the tunneling current with each line levelled, nothing else. Fourier filtered: the same scan with only the six lattice peaks of its Fourier transform kept.

What you see is the top layer of graphite: carbon atoms in a hexagonal lattice. An STM on graphite shows only every second atom of the honeycomb, the ones without a partner directly below them in the next layer. The image is therefore a triangular pattern with a period of 0.246 nm.

These scans ran in a “slow loop” mode: the feedback only follows the average height of the surface, and the current carries the atomic detail. The lattice is not a lucky single frame. It shows up in scan after scan of that afternoon:

Lattice scan 44 Lattice scan 59 Lattice scan 75, a larger window with many periods Lattice scan 82 Lattice scan 88 Lattice scan 51
Six more raw current images from 18 November, with windows between roughly 1.5 and 6 nm. The distortions come from thermal drift and piezo creep during the scan. Lateral scales are approximate while the piezo calibration is still in progress.

Filtering in Fourier space and correcting for drift and skew brings the lattice out clearly:

Scan 51 after Bragg filtering: rows of bright, slightly elongated spots Scan 51
Scan 75 after Bragg filtering: a large, regular lattice of bright spots Scan 75
Bragg filtered, drift and skew corrected, both at +50 mV and 1 nA. Scan 51 is about 0.9 nm across, scan 75 about 5 nm. Full figures with the raw current and the Fourier transform: scan 51, scan 75.

Terraces and steps

Height map of a graphite surface: bright and dark bands separated by straight step edges Height map
The same scan as shaded relief, with the step edges as dark lines Shaded relief
Scan 22 in constant current mode, +100 mV and 1 nA, 128 × 128 pixels, roughly 600 nm across (lateral scale approximate). The height map has its terraces levelled; the shaded relief shows the same scan. The bands are flat terraces of graphite separated by step edges, and a single layer is 0.335 nm high. Full figure.

Step edges also calibrate the vertical piezo without assuming anything about the tunneling barrier: the known layer height divided by the measured step height in volts gives the piezo constant in nm/V. Our first edge allows two answers, one layer or two, so a terrace with several steps will settle it.

Why tunneling gives atomic resolution

Classically, an electron in the tip can’t cross the vacuum gap to the sample. Quantum mechanically its wavefunction decays exponentially inside the barrier, so a small current flows when a bias voltage VV is applied. For a gap of width dd and an effective barrier height ϕ\phi (roughly the work function), the current behaves like

I(d)∝V e−2κd,κ=2meϕℏ.I(d) \propto V \, e^{-2 \kappa d}, \qquad \kappa = \frac{\sqrt{2 m_e \phi}}{\hbar}.

For a typical metal, ϕ≈4.5 eV\phi \approx 4.5\,\mathrm{eV} gives κ≈11 nm−1\kappa \approx 11\,\mathrm{nm}^{-1}. Moving the tip by just 0.1 nm0.1\,\mathrm{nm} changes the current by a factor of about e2.2≈9e^{2.2} \approx 9, roughly one decade. That extreme sensitivity is what lets the instrument see individual atoms, and it is also why everything else about the build is so hard. In our first tunneling session the current indeed fell exponentially as the tip was pulled back, the signature of a real tunnel gap rather than a mechanical contact.

How it is built

  • Scan head. A CNC-milled aluminium frame. The fine motion comes from a piezo buzzer disc whose electrode is cut into four quadrants, so one disc moves the tip in X, Y and Z.
  • Coarse approach. A stepper motor turns a fine adjustment screw with 0.2 mm pitch, and a 1:5 lever brings one step down to about 200 nm at the tip. A “woodpecker” routine alternates coarse steps with a full sweep of the piezo until a current appears, so the tip never crashes into the sample.
  • Vibration isolation. The head hangs from springs inside a tower, with extra mass and damping, so that footsteps and traffic don’t reach the tip.
  • Electronics. Three custom PCBs. A transimpedance amplifier with 20 MΩ feedback sits right next to the tip and turns picoamperes into millivolts. A 24-bit ADC and a 16-bit DAC close the loop. Everything runs from a battery, galvanically isolated from the PC, to keep mains noise out. With the tip retracted, the current noise is 1.75 pA rms.
  • Firmware and software. A Teensy 4.0 runs a logarithmic feedback loop at 20 kHz. A Python application handles the approach, calibration and scanning, and exports to Gwyddion for analysis.

Next

Calibrating the piezo constants properly, reducing drift, and publishing the full build documentation and code so that others can rebuild the instrument. Thanks to Prof. Vaterlaus’s group for the HOPG samples and a better tip.