Going back to my original thoughts about its being caused by the voltage drop along a power track - this could happen if there is an increase of current when both devices are connected, probably caused by increased USB activity.
I don't quite follow how
Could you fill in a little more detail?
I don't quite follow how
gives you the resistance, because it doesn't look anything like the Steinhart-Hart formula to me. Are you using a lookup table? As thermistors don't generally read much above 100°C, I don't see how you could be getting 10 x the real reading.inline double NTC_Thermistor::readResistance() {
return this->referenceResistance / (this->adcResolution / readVoltage() - 1);
}
Could you fill in a little more detail?