DEV Community

Cover image for I Got Tired of Coming Into My Lab To Check the Pressure of My Cryocooler so I Built a Tool To Do It for Me

I Got Tired of Coming Into My Lab To Check the Pressure of My Cryocooler so I Built a Tool To Do It for Me

Paul Horton on October 21, 2026

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 3: Slow and Steady The Backstory Hi! I'm Paul and I work as a ...
Collapse
 
erinosher profile image
Erin Osher •

Mountain Dewer is such a good name! This is really cool though, makes me want to pull out some of my older model Raspberry Pis to solve some of the quirkier automation things I've been meaning to do at home.

Collapse
 
thisisryanswift profile image
Ryan Swift •

Mountain Dewer <3 Kudos to whoever named it. Excellent

Collapse
 
theycallmeswift profile image
Swift •

This is amazing. Thanks for sharing! ♥️

Collapse
 
varshithvhegde profile image
Varshith V Hegde •

Crazyyy namee Mountain Dewer..... Awesome

Collapse
 
pengeszikra profile image
Peter Vivo •

Congratulation, somthing which is connected to the reality, my vote on you!

Collapse
 
mno_tao_236ab4649edf4cf9f profile image
alex.toolkit •

Storing raw volts and converting downstream is a nice call. One side effect worth checking: if the table in the gauge manual is log-linear (many vacuum gauges are roughly one decade of pressure per volt), then averaging the voltage in time_bucket and converting afterwards gives you the geometric mean of the pressure in each bucket, not the arithmetic mean. For a slow leak-up curve that barely matters, but it can flatten a short pressure spike in the 24-hour view.

Do you convert before or after the bucket average?

Collapse
 
pahorton profile image
Paul Horton • • Edited

Nice catch, it is a log linear relation! I forgot to include it in the post but the manual gives me the conversion equation so I don't need to use a look up table.

The time_bucketdoes average the voltage before the conversion so it would make it the geometric mean. I believe I'm able to put the formula directly into my SQL query so I can still utilize the time_bucket without having to store the converted values in the database. Thanks for spotting this! It probably wouldn't have been an issue for the cryocooler, if we had massive pressure spikes in the system we'd have a much bigger problem, but for other use cases in the lab this would have definitely came up.

Collapse
 
dgold profile image
D. Goldberg •

This is such a brilliant and satisfying maker project! There is a deeply satisfying engineering karma in turning a repetitive physical annoyance—like trekking across the lab just to check on "Mountain Dewar"—into an excuse to build a custom PCB, wrangle a Raspberry Pi, and hook it up to a cloud time-series database.

What makes this especially fun is how seamlessly you combined old-school lab hardware hacking with modern tooling. Using GitHub Copilot to spin up an OLED UI and a full web frontend from scratch is wild, and streaming time-series data to TigerData with time_bucket and continuous aggregates is a textbook use case for clean architecture. Plus, adding NGE and Windows 98 easter egg themes to an astrophysics lab monitor is the exact kind of chaotic developer energy the world needs more of.

The best part of the whole story, though, is the payoff: getting to drop a live web link the next time your PI asks for a pressure update instead of hauling yourself back to the lab. Thank you for sharing such a clever, open-source build!

Collapse
 
patjo profile image
Pat Johansen •

"Mountain Dewar" is an elite-tier name for lab equipment.

What stands out to me here is the decision to store raw voltages downstream and apply conversions in the query layer. That architectural choice is so smart—especially in a research setting where sensor calibrations or mathematical conversion formulas might get tweaked later on. You don't corrupt historical data if you realize an equation was slightly off.

Out of curiosity, how are you handling network disconnects or Pi power loss mid-log? Are you writing to local SQLite/CSV as a fallback before flushing to TigerData Cloud, or holding the buffer purely in memory?

Awesome build and great open-source submission!

Collapse
 
pahorton profile image
Paul Horton •

Data is saved locally in a CSV as well as buffered in memory before flushing to TigerData. I probably could do a more elegant solution for network timeouts but I've found the solution works well for now.

If the Pi dies there's not much I can do though as I won't be able to read the ADC. For non mission critical systems this shouldn't be an issue but for something actually flying, I probably wouldn't take this approach 😅

Collapse
 
anne_jacobs_ac166227aa92b profile image
AJ •

This is such a satisfying “scratch your own itch” project. Going from a multimeter you can only read on Monday to a live dashboard your PI can check himself is the kind of payoff that makes the build worth it, and I love that the vacuum pump test is what finally put it to use.

Two design choices stood out to me. Storing raw voltage and applying the conversion formulas downstream is smart, since a corrected formula never rewrites history. And the buffering of readings in memory when the network drops matters a lot for a lab setup where Wi-Fi is never guaranteed. Using a time-series database for sensor data that’s always queried by time window also seems like a natural fit here, and the continuous aggregate matching raw data within 0.012 V is a nice detail to have verified.

A couple of questions out of curiosity: did you need to calibrate the ADC against a reference voltage, or did the ADS1115 prove accurate enough out of the box for the sensor’s 0 to 10V range? And have you considered adding an alert (a text or email) if pressure rises past a threshold, so the system can message you instead of the other way around? Given how the project started, that feels like the natural next step.

Also, the Neon Genesis Evangelion theme is a great touch. Congrats on the submission!

Collapse
 
pahorton profile image
Paul Horton •

I didn't have to do any calibration but we did step through voltages with a power supply to verify the values matched. We also still have the multimeter connected so I check it every once and a while to make sure that it matches :)

Alerts are definitely up there on the list. Twilio and Amazon SES are super easy to use and a logical next step. I think that'll get added once we start doing more cooldowns on the system but, for now, it's just to check if it's holding pressure and logging any data along the way.

Collapse
 
francistrdev profile image
FrancisTRᴅᴇᴠ •

amazing

Collapse
 
suhassuren profile image
SuhasSuren •

Love that the payoff was your PI just watching the pressure curve himself. That's exactly the point. Are you planning any alerting on top, like a ping if the rise rate after you shut the pump off goes above some threshold? Feels like that would let you stop checking the site too. (Also the Windows 98 theme is great.)

Collapse
 
alexcodebytes profile image
Oleksandr •

"The Pi buffers readings in memory if the network drops" is the detail that separates a hobby project from a real lab tool.

Most IoT demos assume the network is always up. In a real lab, the WiFi drops, the Pi reboots, and you lose a day of pressure data — which is exactly the data you needed.

Curious how you handle the "buffer fills up" case. Does the Pi drop old readings, or does it block new ones until the network comes back?

Collapse
 
pahorton profile image
Paul Horton •

It'll drop the oldest readings. I have my buffer set to 100,000 rows (roughly a day) but we also save data to any media storage device plugged into the pi as a backup. The data itself is pretty small and the Pi has plenty of RAM so I could probably up that to 1,000,000 rows and survive a week of no network without an issue.

Collapse
 
alexcodebytes profile image
Oleksandr •

"Dropping the oldest readings" is the right tradeoff for a lab sensor, but I'm curious if there's a warning when it happens.

If the buffer is full and starts dropping data, the scientist might not notice until they check the logs a week later. A simple "buffer overflow, dropping old readings" in the dashboard would make the data loss visible instead of silent.

Collapse
 
hordii_bohdan profile image
Bohdan Hordii •

The real trap with remote cryo-telemetry is the silent failure mode where a frozen serial buffer or frosted lens keeps serving cached "nominal" pressure while the compressor relief valve is actively blowing. If the daemon doesn't treat dropped sensor heartbeats as catastrophic P0 alerts instead of just checking threshold breaches, remote automation just builds a false sense of security. Did you wire in an out-of-band hardware watchdog, or are you trusting an unmonitored polling loop with a six-figure helium line?

Bohdan Hordii // bohdanhordii.dev

Collapse
 
golflover2023 profile image
golflover •

What sold me is the Friday-to-Monday gap: with vacuum decay curves, a marginal seal shows up in the first few hours, so live data isn't convenience - it's catching a bad eBay gasket days earlier. Two things worth hardening: plausibility checks on the voltage stream (a disconnected ADC line reads like a perfect vacuum, the worst kind of silent failure), and Timescale continuous aggregates with a retention policy before the free tier drowns in raw samples you'll never query. Any alerting yet, or still watch-only?

Collapse
 
emilywoodsnyc profile image
Emily Woods •

I'd put the reading timestamp and ingestion delay right beside the live gauge. During a connection drop, I'd want the last known value to look visibly stale rather than reassuringly current. Since you already retain raw voltage, I'd also keep the conversion version in exports so I can reproduce a graph after changing the formula.

Collapse
 
bennykillua profile image
Benny •

This is such a cool project!

Collapse
 
talenmud profile image
Talen •

Collapse
 
stefan_07d23f966225156b50 profile image
Stefan •

Started with "can you check the pressure" and ended with a custom PCB and an Evangelion dashboard 😂 handing your PI a link so he can check it himself is the most satisfying part.

Collapse
 
mona_d_4222dda374567263b profile image
Amber D. •

Insightful piece thank you!