
SensorAnalog
kai-carlin/STM-Needle-Fab-Controller
College of Marin Physics Club Needle Fabrication Unit Controller Project

College of Marin Physics Club Needle Fabrication Unit Controller Project
.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.
College of Marin Physics Club Needle Fabrication Unit Controller Project
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.
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.
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
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.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 20 | 10k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R2, R3, R4, R5, R10, R11, R12, R13, R18, R20, R23, R26, R29, R31, R34, R36 +4 |
| 9 | Screw_Terminal_01x05 | TerminalBlock_Phoenix:TerminalBlock_Phoenix_MPT-0,5-5-2.54_1x05_P2.54mm_Horizontal | JButton5, JButton6, JButton7, JButton8, JButton9, JDisplay1, JRot1, JRot2, JRot3 |
| 8 | 100 | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R17, R19, R22, R25, R28, R30, R33, R35 |
| 8 | 2N7000 | Package_TO_SOT_THT:TO-92_Inline | Q6, Q7, Q8, Q9, Q10, Q11, Q12, Q13 |
| 6 | 0.01u | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C2, C3, C4, C5, C6, C7 |
| 5 | 1.2k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R16, R21, R24, R27, R32 |
| 5 | PC817 | Package_DIP:DIP-4_W7.62mm | U5, U6, U7, U8, U9 |
| 4 | Screw_Terminal_01x02 | TerminalBlock_Phoenix:TerminalBlock_Phoenix_MPT-0,5-2-2.54_1x02_P2.54mm_Horizontal | J1, J2, J3, JPWR_IN1 |
| 2 | Conn_01x24_Socket | Connector_PinSocket_2.54mm:PinSocket_1x24_P2.54mm_Vertical | J4, J6 |
| 1 | AMS1117-3.3 | Package_TO_SOT_SMD:SOT-223-3_TabPin2 | U2 |
| 1 | LD1117V50 | Package_TO_SOT_SMD:SOT-223 | U1 |
| 1 | Screw_Terminal_01x04 | TerminalBlock_Phoenix:TerminalBlock_Phoenix_MPT-0,5-4-2.54_1x04_P2.54mm_Horizontal | J5 |

kai-carlin/STM-Needle-Fab-Controller
College of Marin Physics Club Needle Fabrication Unit Controller Project

Niels-Clayton/self-tuning-buck-converter
Variable frequency and PWM buck converter, controlling for both output voltage and inductor ripple current of the converter.



JonathanBheri/USB-to-UART-I2C-pogo-pins-
This PCB will help with production EOL testing or electrical Functional test (FCT)

SoftwareCornwall/Mission-to-Mars-Rover
Design and build instructions for the Software Cornwall Mission to Mars Rovers



It measures 101 × 88 mm and has 4 copper layers, 1.6 mm thick.
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.
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.
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).