diff --git a/Misc/Temp-Monitor/MF52D NTC thermistor.pdf b/Misc/Temp-Monitor/MF52D NTC thermistor.pdf new file mode 100644 index 0000000..3b6a89f --- /dev/null +++ b/Misc/Temp-Monitor/MF52D NTC thermistor.pdf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8c09541041ac7990fc31293cc5d726aa87dcb6d7d50c5540a950597c516afc35 +size 409355 diff --git a/Misc/Temp-Monitor/README.md b/Misc/Temp-Monitor/README.md new file mode 100644 index 0000000..16a4fd2 --- /dev/null +++ b/Misc/Temp-Monitor/README.md @@ -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. diff --git a/Misc/Temp-Monitor/cs1237_datasheet.pdf b/Misc/Temp-Monitor/cs1237_datasheet.pdf new file mode 100644 index 0000000..6cf8b43 --- /dev/null +++ b/Misc/Temp-Monitor/cs1237_datasheet.pdf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:37e56da52b76fa15737251f7b791a818ec2da334b541c602a30fda5b54f3ca51 +size 395342 diff --git a/Misc/Temp-Monitor/schematic.png b/Misc/Temp-Monitor/schematic.png new file mode 100644 index 0000000..3457f77 --- /dev/null +++ b/Misc/Temp-Monitor/schematic.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6b72a7073c0bb50ec066c91ee96ac03eb74ae0256bacd59a981b5ce313c71ec4 +size 22199 diff --git a/Misc/Temp-Monitor/temperature_monitor.py b/Misc/Temp-Monitor/temperature_monitor.py index d40409c..483d138 100644 --- a/Misc/Temp-Monitor/temperature_monitor.py +++ b/Misc/Temp-Monitor/temperature_monitor.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: MIT import math import time from cs1237 import CS1237