{"id":740,"date":"2015-12-15T09:46:11","date_gmt":"2015-12-15T08:46:11","guid":{"rendered":"http:\/\/zogan.si\/wp\/?p=740"},"modified":"2016-04-02T13:47:46","modified_gmt":"2016-04-02T11:47:46","slug":"sht71-pi","status":"publish","type":"post","link":"https:\/\/zogan.si\/wp\/?p=740","title":{"rendered":"Sht71 &#8211; pi"},"content":{"rendered":"<p>Pi paket<\/p>\n<p>https:\/\/pypi.python.org\/pypi\/sht-sensor\/15.01.5<\/p>\n<p>&nbsp;<\/p>\n<p>Sht71<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.electronics-base.com\/images\/stories\/featured_components\/SHT71\/Electronics-Base.com_SHT71_pinout.JPG\" alt=\"Electronics-Base.com SHT71 pinout\" width=\"571\" height=\"171\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.electronics-base.com\/images\/stories\/featured_components\/SHT71\/Electronics-Base.com_SHT71_pin_description.JPG\" alt=\"Electronics-Base.com SHT71 pin description\" width=\"567\" height=\"183\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.raspberrypi.org\/forums\/download\/file.php?id=7956&amp;sid=3100d41b338c60ea25c516c4e249bb2a\" alt=\"wiring.jpg\" \/><\/p>\n<pre>easy_install pip\r\npip install sht-sensor<\/pre>\n<pre>from sht_sensor import Sht\r\nsht = Sht(21, 17)\r\nprint 'Temperature', sht.read_t()\r\nprint 'Relative Humidity', sht.read_rh()<\/pre>\n<pre><\/pre>","protected":false},"excerpt":{"rendered":"<p>Pi paket https:\/\/pypi.python.org\/pypi\/sht-sensor\/15.01.5 &nbsp; Sht71 easy_install pip pip install sht-sensor from sht_sensor import Sht sht = Sht(21, 17) print &#8216;Temperature&#8217;, sht.read_t() print &#8216;Relative Humidity&#8217;, sht.read_rh()<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"pgc_sgb_lightbox_settings":"","footnotes":""},"categories":[21],"tags":[],"class_list":["post-740","post","type-post","status-publish","format-standard","hentry","category-pi"],"_links":{"self":[{"href":"https:\/\/zogan.si\/wp\/index.php?rest_route=\/wp\/v2\/posts\/740","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zogan.si\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zogan.si\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zogan.si\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zogan.si\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=740"}],"version-history":[{"count":3,"href":"https:\/\/zogan.si\/wp\/index.php?rest_route=\/wp\/v2\/posts\/740\/revisions"}],"predecessor-version":[{"id":765,"href":"https:\/\/zogan.si\/wp\/index.php?rest_route=\/wp\/v2\/posts\/740\/revisions\/765"}],"wp:attachment":[{"href":"https:\/\/zogan.si\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=740"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zogan.si\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=740"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zogan.si\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=740"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}