Commit graph

13 commits

Author SHA1 Message Date
78c85d3ffe temp: Add first measurement results 2025-08-24 18:59:09 +02:00
5fa05aca2c temp: Add license 2025-08-24 17:13:29 +02:00
40a2f9c5f3 temp: Add a README 2025-08-24 17:11:33 +02:00
4b75e4c651 temp: Add datasheets 2025-08-24 16:49:02 +02:00
10cea18d0a temp: Use more sane substitute value
When the ADC saturates, use a substitute value that doesn't kill the
following math...
2025-08-24 16:08:51 +02:00
115eecde4f temp: Don't exit on errors
Make the script slightly more robust by not stopping the monitoring when
an exception is raised.
2025-08-24 16:08:04 +02:00
37b58a1529 temp: Also plot last raw value
To sanity-check the filtered result, also plot the raw value alongside
it each time.
2025-08-24 04:07:31 +02:00
670576abf8 temp: Increase filter time
Increase the filter constant to 100s to smoothen the signal a lot.  For
online viewing, this is quite nice, but for acquisition, we should
probably look at the raw data...
2025-08-24 03:35:41 +02:00
12753d93fb temp: Slow down reports
Only send a new report every 200ms to hopefully mitigate the serial port
glitches.
2025-08-24 03:21:46 +02:00
f46e58b4e8 temp: Rename script 2025-08-24 03:12:43 +02:00
f481e4de38 temp: Actually calculate temperature values
Do the monster math to convert ADC readings into appropriate temperature
values.  The absolute result is way off but it seems to respond sanely
in relative terms.

Additionally, apply a low pass filter with f=1Hz to smoothen the noise a
tiny bit.
2025-08-24 02:33:22 +02:00
25ce0ebdff temp: Proper readout script 2025-08-24 01:18:51 +02:00
df8ae2263d temp: First version of adc readout 2025-08-24 00:11:16 +02:00