{"id":114,"date":"2014-03-25T00:20:37","date_gmt":"2014-03-25T00:20:37","guid":{"rendered":"http:\/\/int03.co.uk\/blog\/?p=114"},"modified":"2019-02-11T21:47:24","modified_gmt":"2019-02-11T21:47:24","slug":"temperature-sensor-upgrade-the-tsic-306","status":"publish","type":"post","link":"https:\/\/int03.co.uk\/blog\/2014\/03\/25\/temperature-sensor-upgrade-the-tsic-306\/","title":{"rendered":"Temperature Sensor Upgrade: the TSIC 306"},"content":{"rendered":"<p>I&#8217;ve been using the DS18B20 for a while now, but wanted something with a higher temperature range and faster update rate, but with a similar digital interface. After a lot of searching, it became clear that there are very, very few parts that fit these requirements&#8230;<\/p>\n<p>Finally, I found a neat sensor called the <a title=\"TSIC 306 Datasheet\" href=\"http:\/\/www.ist-ag.com\/eh\/ist-ag\/resource.nsf\/imgref\/Download_DTTSic20x_30x_E2.1.pdf\/$FILE\/DTTSic20x_30x_E2.1.pdf\">TSIC 306<\/a>. This has a temperature range of -50 \u00b0C to +150 \u00b0C and the update rate is a very respectable 10Hz. Better still, it&#8217;s available in a 3-wire TO92 package, similar to the DS18B20. It has one small disadvantage: it looks as if you can only have one device on the bus, so each sensor will need a dedicated GPIO pin. That said, it still looks ideal to upgrade the sensors in my <a title=\"Es(pi)resso: Raspberry Pi Espresso Machine\" href=\"http:\/\/int03.co.uk\/blog\/2014\/02\/26\/53\/\">coffee machine<\/a>, so here goes!<\/p>\n<p>The hardware interface to the Pi is very straightforward: it can accept 3V3 power, and the data line is actively driven low\/high, so it can be wired directly to a GPIO line with no pull up resistor. However, it&#8217;s worth noting that the data suggests that 5V supply yields better measurement accuracy, so it may be preferable to power from 5V and use two resistors as a potential divider to reduce the data output to 3V3 logic levels for the Pi.<\/p>\n<p>To date I have managed to read the sensor from C++ on the Pi, but it&#8217;s a little unreliable as it&#8217;s difficult to get accurate timing from user mode. It looks like a Kernel Driver may be needed&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been using the DS18B20 for a while now, but wanted something with a higher temperature range and faster update rate, but with a similar digital interface. After a lot of searching, it became clear that there are very, very few parts that fit these requirements&#8230; Finally, I found a neat sensor called the TSIC &hellip; <a href=\"https:\/\/int03.co.uk\/blog\/2014\/03\/25\/temperature-sensor-upgrade-the-tsic-306\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Temperature Sensor Upgrade: the TSIC 306<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"_links":{"self":[{"href":"https:\/\/int03.co.uk\/blog\/wp-json\/wp\/v2\/posts\/114"}],"collection":[{"href":"https:\/\/int03.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/int03.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/int03.co.uk\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/int03.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=114"}],"version-history":[{"count":2,"href":"https:\/\/int03.co.uk\/blog\/wp-json\/wp\/v2\/posts\/114\/revisions"}],"predecessor-version":[{"id":644,"href":"https:\/\/int03.co.uk\/blog\/wp-json\/wp\/v2\/posts\/114\/revisions\/644"}],"wp:attachment":[{"href":"https:\/\/int03.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=114"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/int03.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=114"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/int03.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=114"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}