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 postdoc in an astrophysics lab as a systems engineer. One of the regular texts I get from my PI is "can you check the pressure on the cryocooler." Our cryocooler, nicknamed Mountain Dewar, is essentially a big cylinder where we test sensitive detectors for space exploration. Our lab moved recently so we're testing Mountain Dewar in a new space after being in retirement for years.
As part of the testing, we got a great deal on a vacuum pump and a bunch of used vacuum parts off eBay that we're trying ensure hold a seal. This means we pump down the cryocooler, taking out all of the air, and then monitor the pressure over time.
Our way of doing this is a multimeter connected to a pressure sensor, where values from 0 to 10V are converted into Torr based on a table in the manual. Because it's just a multimeter, we don't have live pressure data and have to run our tests on a Friday and then check back on Monday to check if it worked.
Myself and a grad student decided to test the capabilities of the lab by building a Voltmeter PCB with a spare Raspberry Pi we had in the lab. He designed a board with a two channel ADC with a voltage differential that we were able to connect to the Pi to give us values from 0 to 12V. We realized that monitoring the pressure wasn't the only thing we had to do in the lab so we made it versatile enough to monitor whatever we wanted.
Once we had a board built and the capabilities of reading voltages, I knew there was more I could do to truly make my life easier.
What I Built
Starting with a clean OS on a Raspberry Pi 4B and our new PCB, I began working on the software. Initially this was a task I planned on giving to a prospective new undergrad in our lab but after they were unable to join the group, I decided to see what GitHub Copilot was able to accomplish for a hardware project. I found an Adafruit OLED bonnet that fit nicely on top of the PCB and gave us the ability to get a quick visual for the channels without needing to pull up a monitor.
I was absolutely shocked at how quickly Copilot was able to take my test code for reading the ADCs to creating a working UI on the OLED. I began asking it to add a settings menu with the little joystick and buttons and it was able to do it almost flawlessly. At this point, my PI's request to have a gauge on top of the Cryocooler was done but I realized I could go so much further
Making it Live
My test on if this could be accomplished was done but I realized I could go further. TigerData was a tool I was curious about because most of my work revolves around time series data. Given I had a sensor spitting out constant voltages, TimescaleDB, was the obvious choice. TimescaleDB has the ability to natively give me summarization of data so I can more easily query it.
From there, I connected the Pi to the internet and have it stream data from the device to the TigerData Cloud. Given it's a relatively small stream, the free tier is perfect for my use case. I then had Copilot build out a simple web interface for the device. Finally, I hosted it all on Vercel.
Once I got it all up and running, I decided to have some fun with it. Check out some of these easter egg themes
-
/neoNeo Brutalist with colors matching Mountain Dewar -
/neonNeon Brutalist -
/ngeCyber Militaristic in the style of Neon Genesis Evangelleon -
/98Windows 98 (definitely still needs some work)
Demo with Dummy Data
Code
Pi voltmeter
CM4 + ADS1115 (2 channels, single-ended A0/A1) + Adafruit 128x64 OLED bonnet.
Features
- Live value of both channels, converted by a selectable formula.
- Formula files:
<name>.txt, line 1 = unit, line 2 = expression inV(e.g.degC/V * 100). Functions: sqrt, log, ln, log10, log2, exp, abs, sin, cos tan, asin, acos, atan, pow, min, max, round; constants pi, e. Invalid files are skipped. - On-screen menu: A or joystick press opens it, up/down selects, left/right changes a
value, B goes back. Items: formula per channel, N (seconds between timestamped records in the CSV / future DB), ADC range
display refresh period, USB logging. Settings persist in
settings.json. - Plug in a USB stick: valid
formulas/*.txton it are copied to the Pi. With USB log: ON, readings are written tovoltmeter_logs/log_<time>.csvon the stick (new file per insertion; header + one row…
How I Built It
This was built with Copilot using a Python application running on a Raspberry Pi to pull data from an ADC, provide a live display on an OLED, and stream data to a TimescaleDB table on TigerData Cloud.
The front end is Flask, FastAPI, and Tailwind CSS for theming. For rendering live data I'm using Chart.js and pulling data from TigerData with the help of their time_bucket and make_interval systems.
Why Does Open Innovation Matter?
We wanted to make this system open source as other labs can very easily have use cases for this. Our PCB is available by request and all of the code is located on GitHub so anyone can easily deploy this for their own lab.
The Lazy Payoff
The day after we got it up and running, my PI asked me to turn off the vacuum pump and give him updates on if it's holding pressure. I was able to just share the website with him and he could monitor it himself without me having to go check it every few hours, instantly giving me the freedom to stay at my desk as we watch the pressure increase.
Prize Categories
Best Use of TigerData
A Raspberry Pi continuously reads two channels from an ADS1115 converter on our cryocooler, logging its pressure and temperature. This is append-only, timestamped sensor data that is almost always queried by a time window, which is exactly what TigerData is built for. My project uses:
- Hypertables: the readings table is partitioned by time. The Pi writes to it directly and buffers readings in memory if the network drops.
- time_bucket(): graphs from 1 minute to 24 hours are averaged down to about 300 points, so every zoom level stays fast and readable.
- last(): the live gauges fetch the newest value for each channel in a single query.
- Continuous aggregates: a one-minute rollup serves graphs of 6 hours or longer, and it matches the raw data to within 0.012 V.
- Compression and retention policies: data is compressed after one day and dropped after 90 days.
I store raw voltage and apply the conversion formulas downstream, so correcting a formula never corrupts historical data. The dashboard connects through a read-only role, and a demo mode with simulated data lets me share the site without exposing live readings.




Top comments (25)
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.
Mountain Dewer <3 Kudos to whoever named it. Excellent
This is amazing. Thanks for sharing! ♥️
Crazyyy namee Mountain Dewer..... Awesome
Congratulation, somthing which is connected to the reality, my vote on you!
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?
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 thetime_bucketwithout 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.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_bucketand 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!
"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!
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 😅
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!
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.
amazing
Some comments may only be visible to logged-in visitors. Sign in to view all comments.