Hello,

I'm having a hard time with TMP102 sensor.

Thanks to Ytai code snippet conversion and register reading is correct.

What is incorrect *seems *to be the sensor itself.

Analog thermometer is used as a reference, and I get errors from 6° to 1,5° 
in excess on the tmp102, In "ambient temperature" area (from 10°c to 25°c)
I tested with another TMP102 sensor (also purchased from sparkfun, thus 
with a different pin layout), the same weird behavior.
The error seems to be changing over time (As if the sensor needed 30+ 
minutes to stabilize) but never disappears. At the time being I have set a 
"-1.5" correction.

The sensor is read every 5 seconds.


I tested the same tmp102 sensor on a arduino board (with a very fast loop), 
and the readings are correct (well, within 0.2°c of the reference 
thermometer).



I wonder If the arduino fast loop helps the sensor reaching operational 
conditions (let's call that warming up ?), and the 5 sec loop on the 
android does not allow tmp102 to work properly. Or maybe my ioio power 
supply is interfering (8 volts, 1000mah) with the tmp102 (sensor VCC is 
plugged to 3v on the board itself).


I'm working on a thermostat, temperature reading reliability is rather 
important.


I ordered an MCP9808 sensor to compare readings.

Any idea, testing pattern or any "reliable" sensor to recommend ?


(BTW Ytai : Many, many thanks for your *great* work. )

-- 
You received this message because you are subscribed to the Google Groups 
"ioio-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/ioio-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to