PDA

View Full Version : I2C sensor Quirk



ronjodu
- 27th May 2005, 02:12
I have 2-TC74 temperature sensors plugged into my Bboard. Wired for I2C with 4.7K resistors on SLK and SDA as per specs.
I'm useing a 16F876 in a LabX-2, PBP 2.44 with LCD plugged into the servo pins.
Volts at the sensors is steady 5V.

Everything works great with one exception, the Temp1 and Temp2 are between 0 and 4 degrees celsius apart. Changed sensors to no avail, same 0-4 degree difference. I even tried heatsinks on the sensors thinking they'd be less succeptable to ambient changes. The result was a steadier reading but still average 2 degrees apart.

I am not a specsheet guru but I did find what could be the problem on page 2.
It says Temp accuracy in degrees celcius is -2 min and +2 max.
Could this be my 4 degree spread?
Code is attached. Couldn't send the datasheet, it is too big.

Thanks in advance for any input..

mister_e
- 27th May 2005, 03:32
i think you can find the solution there
http://list.picbasic.com/forum/messages/6851/7299.html?