Skip to the content
4 layers101 × 88 mm.history, the printed circuit board in 3D

College of Marin Physics Club Needle Fabrication Unit Controller Project

Size
101 × 88 mm
Copper layers
4
Thickness
1.6 mm
Parts
70
Nets
115
Pads
243
Tracks, vias
159, 36
Pours
12
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
1 Oct 2026
Updated
13 Oct 2026

Overview

.history is an open-source printed circuit board by kai-carlin, from the kai-carlin/STM-Needle-Fab-Controller repository on GitHub, published under the MIT licence. It is a 4-layer board of 101 × 88 mm with 70 parts on 115 nets, routed with 159 tracks and 36 vias.

It is built around the AMS1117-3.3 and LD1117V50. Its parts include 33 resistors, 8 transistors, 7 ICs, 7 connectors and 6 capacitors.

Main components

2

README

README.md

STM-Needle-Fab-Controller

College of Marin Physics Club Needle Fabrication Unit Controller Project

What it is

STM tips are commonly made by electrochemically etching tungsten wire in sodium hydroxide. The wire necks down at the liquid surface until the lower section drops off, and the etching current falls abruptly. Etching that continues after the break blunts the tip, so the faster the current is cut, the sharper the tip. This project is an open, low-cost controller that detects the break and cuts the current in hardware, with a microcontroller for arming, display, alarm and logging.

How it works

The cell current flows through a low-side switch and a small sense resistor to ground. The voltage across the sense resistor goes through an op-amp differentiator, which responds to the fast current drop at the break and largely ignores the slow decline before it. A fast latching comparator compares the differentiator output with an adjustable threshold and turns the switch off, and the latch holds that decision until it is reset. The cut-off path involves no firmware. A Teensy 4.1 sets the threshold, arms and resets the latch, drives the displays and buzzer, and can log the etching current.

Operator interface

The front panel uses industrial-style controls on a small panel. Three five-digit seven-segment displays, driven over SPI by the Teensy, show the run time, the applied etch voltage, and the etching current. A Power toggle and a Solution Voltage toggle each have an indicator LED. Knobs adjust the etch voltage and the lowering and raising speeds of the wire stage, and pushbuttons cover Start, Abort, and manual raise and lower. They are read by the Teensy through pull-up inputs, and driven by the Teensy through MOSFETS

Design choices

  • Low-side current sensing, so the signal doesn't depend on the supply voltage or pick up its ripple.
  • A differentiator instead of a fixed current level, because the current at drop-off varies with wire diameter and immersion depth.
  • A latch, because the detector output is only a brief pulse.
  • Safe signal polarity: switching the current on moves the detector away from its trip point, so a restart doesn't trigger it.
  • Quiet power: linear regulators for the analog and etch rails, since switching noise looks like events to a high-gain differentiator. A buck converter is used only for the digital loads.

Methods

Simulation (KiCad). A behavioral cell model with a slow current decline followed by a fast drop, plus noise sources, is used to sweep the edge speed and threshold. The goal is a detector that trips on the drop-off but not on noise or the decline.

Measuring the real cell. Before building the board, we plan to wire a bench supply, the cell and a 10 ohm sense resistor, and record the whole etch, the noise before the break, and the break itself with a single-shot oscilloscope trigger over several etches. The size and speed of the break, compared with the largest noise slope, decide whether the detector works and how to size it. The captured waveforms are then replayed in simulation.

Parts

70
QtyValueFootprintReferences
2010kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR2, R3, R4, R5, R10, R11, R12, R13, R18, R20, R23, R26, R29, R31, R34, R36 +4
9Screw_Terminal_01x05TerminalBlock_Phoenix:TerminalBlock_Phoenix_MPT-0,5-5-2.54_1x05_P2.54mm_HorizontalJButton5, JButton6, JButton7, JButton8, JButton9, JDisplay1, JRot1, JRot2, JRot3
8100Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR17, R19, R22, R25, R28, R30, R33, R35
82N7000Package_TO_SOT_THT:TO-92_InlineQ6, Q7, Q8, Q9, Q10, Q11, Q12, Q13
60.01uCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC2, C3, C4, C5, C6, C7
51.2kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR16, R21, R24, R27, R32
5PC817Package_DIP:DIP-4_W7.62mmU5, U6, U7, U8, U9
4Screw_Terminal_01x02TerminalBlock_Phoenix:TerminalBlock_Phoenix_MPT-0,5-2-2.54_1x02_P2.54mm_HorizontalJ1, J2, J3, JPWR_IN1
2Conn_01x24_SocketConnector_PinSocket_2.54mm:PinSocket_1x24_P2.54mm_VerticalJ4, J6
1AMS1117-3.3Package_TO_SOT_SMD:SOT-223-3_TabPin2U2
1LD1117V50Package_TO_SOT_SMD:SOT-223U1
1Screw_Terminal_01x04TerminalBlock_Phoenix:TerminalBlock_Phoenix_MPT-0,5-4-2.54_1x04_P2.54mm_HorizontalJ5

More from kai-carlin/STM-Needle-Fab-Controller

1
  • 4 layers50 × 37 mmSensorAnalog, the printed circuit board in 3D

    SensorAnalog

    kai-carlin/STM-Needle-Fab-Controller

    College of Marin Physics Club Needle Fabrication Unit Controller Project

    25 partsMIT

Similar boards

  • 2 layers91.2 × 82.6 mmBuck converter, the printed circuit board in 3D

    Buck converter

    Niels-Clayton/self-tuning-buck-converter

    Variable frequency and PWM buck converter, controlling for both output voltage and inductor ripple current of the converter.

    54 parts2
  • 2 layers58 × 56 mmVera MRS-22, the printed circuit board in 3D

    Vera MRS-22

    AxelHenriksson/Vera-MRS-22

    37 parts
  • 2 layers81 × 156.1 mmNollbricka24, the printed circuit board in 3D

    Nollbricka24

    CASE-Association/nollbricka24

    Nollbricka 2024

    26 parts
  • 4 layers63.2 × 40.7 mmSerial pogo, the printed circuit board in 3D

    Serial pogo

    JonathanBheri/USB-to-UART-I2C-pogo-pins-

    This PCB will help with production EOL testing or electrical Functional test (FCT)

    17 parts
  • 2 layers80 × 90 mmM2MRover, the printed circuit board in 3D

    M2MRover

    SoftwareCornwall/Mission-to-Mars-Rover

    Design and build instructions for the Software Cornwall Mission to Mars Rovers

    61 parts
  • 4 layersMaster of muppets, the printed circuit board in 3D

    Master of muppets

    y3i12/master_of_muppets

    Eurorack USB MIDI interface for CVs

    147 parts
  • 2 layers75.2 × 40.1 mmPwm esc, the printed circuit board in 3D

    Pwm esc

    ChipCE/juice-plus-pcb

    Varios PCB design for 3D printers and drones

    29 parts2GPL-3.0

Questions

How big is the .history PCB?

It measures 101 × 88 mm and has 4 copper layers, 1.6 mm thick.

What parts does the .history use?

70 parts, built around the AMS1117-3.3 and LD1117V50. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the .history KiCad files?

From the kai-carlin/STM-Needle-Fab-Controller repository on GitHub, at the commit this page was made from: the board is UI/.history/UI.kicad_pcb and its schematic SensorAnalog/.history/SensorAnalog.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the .history design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).