Compare commits

...

3 commits

Author SHA1 Message Date
Rahix 5fa05aca2c temp: Add license 2025-08-24 17:13:29 +02:00
Rahix 40a2f9c5f3 temp: Add a README 2025-08-24 17:11:33 +02:00
Rahix 4b75e4c651 temp: Add datasheets 2025-08-24 16:49:02 +02:00
5 changed files with 42 additions and 0 deletions

BIN
Misc/Temp-Monitor/MF52D NTC thermistor.pdf (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,32 @@
Millikelvin Temperature Monitor
-------------------------------
Because we are fighting a lot of drift issues with the STM, we assume that
temperature deviations have a catastrophic effect on the system. To gain some
insights, we built a little temperature minitor for correlating the STM drift
to temperature fluctuations.
### Hardware
The following components were used:
- A cheap `MF52D 3950K` 10k NTC thermistor
- An ADC breakout board based on the CS1237 chip ([Breakout Board Docs](https://github.com/yasir-shahzad/CS1237-24-Bit-ADC-Module))
- A Raspberry Pi Pico 2
![Schematic of the temperature monitoring setup](./schematic.png)
### Software
On the Pico 2, a small micropython script is running. To deploy the code, you
need [`mpremote`](https://docs.micropython.org/en/latest/reference/mpremote.html):
```bash
mpremote cp cs1237.py :
mpremote cp temperature_monitor.py :
mpremote cp main.py :
```
Replug the Pico USB cable and data should be sent in over serial.
To monitor, we are currently using the [`serial-monitor-rust`](https://github.com/hacknus/serial-monitor-rust) tool.
### License
All code in this directory is licensed under the [`MIT`](https://opensource.org/license/MIT) license.

BIN
Misc/Temp-Monitor/cs1237_datasheet.pdf (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Misc/Temp-Monitor/schematic.png (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -1,3 +1,4 @@
# SPDX-License-Identifier: MIT
import math
import time
from cs1237 import CS1237