{"id":30,"date":"2008-04-11T14:04:02","date_gmt":"2008-04-11T19:04:02","guid":{"rendered":"http:\/\/www.flatline.net\/journal\/2008\/04\/11\/arduino-reading-the-sht15-temperaturehumidity-sensor\/"},"modified":"2008-04-11T14:04:02","modified_gmt":"2008-04-11T19:04:02","slug":"arduino-reading-the-sht15-temperaturehumidity-sensor","status":"publish","type":"post","link":"http:\/\/www.flatline.net\/journal\/?p=30","title":{"rendered":"Arduino: Reading the SHT15 temperature\/humidity sensor"},"content":{"rendered":"<p>Ok, this was a bit more fun and geeky.  The SHT15 is a temperature\/humidity sensor made by Sensirion.  I bought mine from <a href=\"http:\/\/www.sparkfun.com\/commerce\/product_info.php?products_id=8257\">Sparkfun<\/a>, and at $42 it&#8217;s a bit pricey, but it&#8217;s pre-mounted on a breakout board saving me a nasty soldering job.<\/p>\n<p>The SHT15 isn&#8217;t as fragile as a lot of other electrical components &#8212; you can get it wet, put it in the sun, etc.   I&#8217;ll probably just mount it at the end of some very long leads and not bother putting any sort of protective case on it.<\/p>\n<p>Being the rocket scientist that I am, I didn&#8217;t download the specs until I decided to actually write code.  Turns out that the SHT15 uses a serial protocol developed by Sensirion; but they were kind enough to post some sample code for the 8051 so it wasn&#8217;t too hard to get working on the Arduino.<\/p>\n<p>If you&#8217;re trying to get this working, take a look at my <a href='http:\/\/www.flatline.net\/journal\/wp-content\/uploads\/2008\/04\/sht15.pde' title='sht15 sketch'>Arduino sketch<\/a>.   Writing code to read serial protocols using clock and data pins isn&#8217;t for the newcomer, but it isn&#8217;t terribly difficult if you know a bit of C, bit-wise operations, and have sample code to reference along with the timing diagrams.<\/p>\n<p>[tags]arduino,hacking,sht15[\/tags]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ok, this was a bit more fun and geeky. The SHT15 is a temperature\/humidity sensor made by Sensirion. I bought mine from Sparkfun, and at $42 it&#8217;s a bit pricey, but it&#8217;s pre-mounted on a breakout board saving me a nasty soldering job. The SHT15 isn&#8217;t as fragile as a lot of other electrical components [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17,11],"tags":[],"class_list":["post-30","post","type-post","status-publish","format-standard","hentry","category-arduino","category-hacking"],"_links":{"self":[{"href":"http:\/\/www.flatline.net\/journal\/index.php?rest_route=\/wp\/v2\/posts\/30","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.flatline.net\/journal\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.flatline.net\/journal\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.flatline.net\/journal\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.flatline.net\/journal\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=30"}],"version-history":[{"count":0,"href":"http:\/\/www.flatline.net\/journal\/index.php?rest_route=\/wp\/v2\/posts\/30\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.flatline.net\/journal\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=30"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.flatline.net\/journal\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=30"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.flatline.net\/journal\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=30"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}