Hmm, the part is pre-calibrated so shouldn’t need any adjustment (ie, no offset and no changing the 0.0625 constant).
How often are you reading the sensor? If you’re reading it constantly, you may find it’s self-heating due to the activity - try slowing down the readings to no more than one every 10 seconds?
That should be just fine. Very strange, I’ve not got one of these new hannah’s myself but we have TMP112’s on some other designs and they didn’t seem to be inaccurate.
Im getting a temp-sensor for my Gadgeteer board next week, I managed to get Xively data upload working myself, and will try to draw temp-curves for the two boards in different scenarios.
Our fridge will be full of electronics, my wife is now completely certain that there is something wrong (with me).
I think youre right. After having it turned off for a day, and then turning it on. It does not get hotter. The reading 5 seconds after turning on, is the same reading as after 30 minutes.
yes, you are fine as long you use the constants used in the “Hannah.Rev3.SelfTest”:
const i2c_ioexp = 0x7C;
const i2c_temp = 0x92; // this device is new in the Rev3
const i2c_als = 0xE8;
const i2c_accel = 0x30; // this device is new in the Rev3
Have you tried “Hannah.Rev3.SelfTest”?
I remenber with past i2c read fails that unpugging the Hannah from power for at least 1 minute might help. Hanah keeps it register values for quite a while without power.
So just ejecting the Imp would not help, because the extender keeps powered then