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.
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 current
Fourier filtered
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:
Filtering in Fourier space and correcting for drift and skew brings the lattice out clearly:
Scan 51
Scan 75
Terraces and steps
Height map
Shaded relief
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 is applied. For a gap of width and an effective barrier height (roughly the work function), the current behaves like
For a typical metal, gives . Moving the tip by just changes the current by a factor of about , 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.