Page 1 of 1

Thermistor Data Decoding

Posted: Fri Oct 18, 2024 2:18 am
by blue-j
I've got the thermistor data streaming from my Muse S (gen2) but it's non-sensical at any bit depth. I then looked into thermistors and holy schniekes they are new to me. Basically it appears likely that in order to decode the data, we have to know the model of thermistor and its properties? Dagnabbit. Getting data on a wearer's forehead temperature is valuable stuff, not sure why it's hidden in a cave with automated blow darts.

Does anyone know anything about it? I will crack this, and share my findings. Anyone know of someone doing a breakdown of the Muse S? Like gutting it and seeing what it's made of?

Here's an example of the data, and different decoding results:

Code: Select all

16-bit Signed Values: [-5330, -19477, 20147, -5298, -19221, 28337, -5250, -18965, 11957]
16-bit Unsigned Values: [60206, 46059, 20147, 60238, 46315, 28337, 60286, 46571, 11957]
8-bit Signed Values: [-21, 46, -77, -21, 78, -77, -21, 78, -76, -21, 110, -79, -21, 126, -75, -21, 46, -75]
8-bit Unsigned Values: [235, 46, 179, 235, 78, 179, 235, 78, 180, 235, 110, 177, 235, 126, 181, 235, 46, 181]
12-bit Signed Values: [-334, -333, -332, -333, -332, -332, -330, -335, -329, -331, -334, -331]
12-bit Unsigned Values: [3762, 3763, 3764, 3763, 3764, 3764, 3766, 3761, 3767, 3765, 3762, 3765]
They all suck and are obviously not temperatures. the raw hex is 0003eb2eb3eb4eb3eb4eb4eb6eb1eb7eb5eb2eb5

Some links in case you too are deranged enough to get into this:

https://www.allaboutcircuits.com/indust ... asurement/
https://www.electronics-tutorials.ws/io ... stors.html

Peace!
J

Re: Thermistor Data Decoding

Posted: Sat Oct 26, 2024 11:26 am
by slmille4
Is that data in the latest Muse SDK? If so it should be pretty simple to reproduce

Re: Thermistor Data Decoding

Posted: Mon Nov 11, 2024 6:19 pm
by blue-j
Aye, the data is easy to reproduce, but thermistor data is meaningless - i believe - unless you know the type and characteristics of the exact model in use. - J

Re: Thermistor Data Decoding

Posted: Mon Nov 18, 2024 7:35 pm
by blue-j
My confusion was the result of control not being enabled by default in Muse LSL, so commands to change the headset to a preset that included thermistor were ignored. I have it working now!