Close

Vacuum Gauges and Microcontrollers

A project log for DIY Scanning Electron Microscope

Making a machine to shoot electrons at sample and measure backscattered current to generate a sub-micrometer topographical map of sample.

rafael-voglerRafael Vogler • 08/21/2026 at 03:40•0 Comments

Three things, other than buying the rest of the vacuum parts, have to happen before the vacuum system can be fully assembled and tested:

1. I must make a sort of cleanroom space for assembly using a HEPA filter and zipwalls. So far, I have reorganized all of my items and created a clean floor space, but I have yet to add the zip walls.

The wooden cabinet is going to be what holds my SEM. It is remarkably sturdy. the roughing pump will be located either on the floor or on another table to isolate its mechanical vibrations from the SEM column.

2. I must make a cryogenic baffle using copper disks, copper threaded rods, m3 nuts, indium foil, dry ice, and acetone. Since I am an amateur, building any kind of vacuum feedthrough is a thing that I would prefer to avoid as long as I can, hence my use of indium foil to get thermal contact instead.

The 3 rods will be threaded in reality and will be crushed into the sockets on the 2 discs with nuts

3. I must make a vacuum gauge reader circuit for the Moducell 325 and Pfeiffer IKR 251 that does not introduce catastrophic arcing paths to my Raspberry Pi master computer. This has been my main time-consumption considering I had no knowledge of electronics prior to this, but I've been learning somewhat. My schematics remain abhorrent, however. At the top right is a galvanically isolated 24VDC power supply that I will be connecting to a mean well 24VDC power supply or similar . At the top left is an array of optocouplers I will be using for data transmission (they will likely only be able to manage 9600 BPS, but I don't need fast data transfer). They are taking advantage of USART, with one TX and one RX line on the left side and the 2 optocouplers on the right connecting to BOOT0 and NRST, allowing me to reprogram the STM without opening up the box each time. At the bottom is where I connect to both my Moducell 325 (9-pin) and Pfeiffer IKR 251 (6-pin). The Moducell 325's output goes into the MCP6002 op-amp's unit A, with a fractional gain setup that also eliminates common mode noise. The output of the op-amp goes into one of the STM32's pins connected to its 12 bit ADC, which I figured would give me enough steps for vacuum pressure considering the linear nature of the output of the Moducell and IKR. The Pfeiffer IKR 251, meanwhile, has both lines routed into the STM32's pins through a voltage divider of 2/7 for each, turning the 10.5V maximum output of the IKR 251 to a 3V output. Between the 9 pin and 6 pin connectors is a hardware interlock, utilizing the set point of the Moducell. Pin 6 is the set point common that carries over into pins 1 and 2. Pin 1 connects to pin 6 when the Moducell detects that the pressure is below the set point, while pin 2 connects to pin 6 when the Moducell detects the pressure is above the set point. When Pin 1 carries 3.3V, it goes into the gate of an N-channel MOSFET and connects the gate of a P-Channel MOSFET to ground through a 20k resistor, dropping 8V from the total 24V when active and staying within the +-12V gate to source voltage limit of this particular MOSFET. There is also one more N-channel mosfet in series with the hardware interlock which is a manual 'go' button routed from the STM32, meaning the IKR 251 will not turn on unless both my system and I tell it that it can. The PCB layout, so far. Don't laugh, I'm new.

Meanwhile, I have also been working on a project to convert a GP275203 passive convectron gauge into an active one, since I got one with a foreline trap I bought a few days ago. 

Discussions