This project is a library for TSIC digital temperature sensors (type 206/306/506 and similar). It is based on the version 2 from Rolf Wagner from 2014.03.09 which can be found on Arduino Playground. The TSIC sensors feature a very hich accuracy and can be read out roughly every 100ms using the ZACwire-rotocol, more informations can be found in the datasheet. Calcularions for different sensors as the 20x,30x and 50x series are included, only a flag is neede to select the sensor type which is 20x/30x by default. The code is optimized for high speed and low memory consumption. The calculation routines use constant integer calculations and bit shifts to save computing time which is in case of a standard Atmega328p roughly a factor of 1.5-2 at no loss of computational accuracy.
Installing the library
For installation just download the contents of this repository into TSIC-folder inside your arduino/libraries and restart your Arduino-IDE. For more information check the examples !
Connecting your sensor
This part is pretty easy. The TSIC-Sensor needs 3 pins to be connected - Vcc, GND and Signal as shown in the datasheet. No pull-up resistors or additional components are needed, so this can be done in a plug-and-play-style, for example plugging the TO-92-Sensor to GND-13-12 of an Arduino UNO. Connect your sensor and configure the corresponding pins in the TSIC-constructor as shown in the example. NEW feature: external powering is possible - simply connect your sensor to GND and an external VCC instead of your AVR-PIN for powering. Check the example for usage.