Hacking a PC sound card to read temperature and liquid level sensors
nagimov.me
nagimov.me
The whole thing is so big -- you need the PC itself (with huge PSU), plus a monitor, plus a keyboard. It takes a lot of power, too, and any sort of battery-powered device is out of the question. And the inputs are not even that well protected -- while the audio i/o is pretty robust, internal headers are not.
Compare them to chinese Arduino clones or esp8266 board -- for $3, the price of a sandwich, you get a tiny board with excellent (or at least decent) documentation and lots of protected inputs and outputs. You can do hard real time too, with a bit of effort. And since all data/code is stored on your main laptop and PC you don't have to worry about backups or data loss from destroyed devices.
(Note: if you want to support reusing old items, then raw atmega chips + serial-usb cables from old cell phones work as well, but require a bit more soldering)
(Note: and if you really want to use old motherboards, don't forget about serial and parallel ports! Lots of pins, pretty protected, and very easy to programs)
5 years ago when VR was the hype we measured latency using them. By syncing the audio stream to the high precision clock and basically putting in a photoresistor into the microphone port we could measure the latency of actually submitting a frame into the moment it physically appeared in the VR glasses.
This weekend the VLF station in Sweden https://en.m.wikipedia.org/wiki/Grimeton_Radio_Station will be broadcasting and all you need (in theory) is a very long wire plugged into your soundcard to receive it. Like https://sites.google.com/site/swljo30tb/
I wonder, there must be even some sort of butterfly-effect correlation between the room temperature and e.g. the number of errors in non-ECC RAM or some foo.
Yes and no. On one hand, semiconductor properties are temperature dependent, therefore the "noise" from amplifier is temperature dependent.
On the other hand, temperatures of the sound card circuitry depend mostly on computer case temperature, not ambient temperature, but that is somewhat combatable with external cards. Furthermore, amplifiers have multiple stages with various feedbacks and filters designed to among other things reduce (i.e. distort) noise, which is bound to reduce effectiveness.
Even if one succeeded in training an ML model on sound card noise data, noise profile will most likely be too different on different sound card designs for the model to work.
All in all, I suspect that there is enough data in the noise to measure temperatures with one or so degree accuracy, but such a solution would not scale to different hardware.