The Tsic digital Temperature Sensor use the ZACwire™ Communication Protocol™.
There is a similar Protocol (OneWire from Texas Instruments) which is used by the DS18B20 from Maxim for example. This Library won't work for Tscic Sensors!
Original Code: http://www.mikrocontroller.net/topic/82087
rewritten by: Rolf W.
Temperature-sensor uses 2 Pins, one for VCC and the second for Signal (= ZACwire Protocol). With call of the Function ".....getTSicTemp();" the Senor will get power measure and will be turned OFF. In that case it uses only energy while measuring. There is another method with Interrupts, measuring at an constant rate, which is not implemented jet.
The code is NOT very clean written but works, so feel free to enhance it!!!
Here is the Library, put it in the "libraries" Folder
There is a cleaned up version of the library available at: https://github.com/rku/arduino-tsiclib
Addition Nick van de Giesen 25.09.10:
If you are using the TSic506 you need a different conversion, which is included in: Attach:tsic506b.zip . This addition also makes use of the higher accuracy of the TSic506, with apologies for the primitive handling of the integer/float conversion.
Addition: Dr. Volker Tries 31.03.2012:
"WProgram.h" is superseded by "Arduino.h" since Arduino 1.0. In order to continue using this TSic code (tsic.h and tsic.cpp) with Arduino 1.0 and therefore avoiding error messages in compiling the tsic files, you have to change the include statement from "WProgram.h" to "Arduino.h" in both, tsic.h and tsic.cpp included in tsic.zip:
old, will not work on Arduino 1.0 and newer:
must be changed to:
Maybe this information can be passed to the author.