{"id":373,"date":"2011-12-23T05:34:12","date_gmt":"2011-12-23T04:34:12","guid":{"rendered":"http:\/\/stigern.net\/blog\/?p=373"},"modified":"2011-12-23T05:34:12","modified_gmt":"2011-12-23T04:34:12","slug":"dht11-library-for-arduino-1-0","status":"publish","type":"post","link":"https:\/\/stigern.net\/blog\/dht11-library-for-arduino-1-0\/","title":{"rendered":"DHT11 Library for Arduino 1.0"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"http:\/\/stigern.net\/images\/2011\/dht11.jpg\" alt=\"\" width=\"545\" height=\"332\" \/><\/p>\n<p>DHT11 is a cheap and easy to use temperature and humidity sensor. But since it&#8217;s digital and only uses one pin there is a great library for it!<\/p>\n<p>Of course it has some problems compiling on Arduino 1.0 and the one I found on the arduino.cc playground had problems. So I modified it, and put both the library and the example in a nice and easy to unzip package. The example sends data on serial back to the pc, so it looks like this when posting results:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"http:\/\/stigern.net\/images\/2011\/dht11read.JPG\" alt=\"\" width=\"255\" height=\"199\" \/><\/p>\n<p>Credit goes to the arduino playground for the library and example code.<\/p>\n<p><a href=\"http:\/\/stigern.net\/forum\/download\/file.php?id=9\" target=\"_blank\">Download Arduino DHT11 Sensor Library<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>DHT11 is a cheap and easy to use temperature and humidity sensor. But since it&#8217;s digital and only uses one pin there is a great library for it! Of course it has some problems compiling on Arduino 1.0 and the one I found on the arduino.cc playground had problems. So I modified it, and put [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14,4],"tags":[77,16,122,251,243,244,248,252,246,250,76,185,249,245,247],"class_list":["post-373","post","type-post","status-publish","format-standard","hentry","category-arduino-electronics","category-electronics","tag-1-0","tag-arduino","tag-board","tag-compiling","tag-dht11","tag-dht22","tag-duemilanove","tag-error","tag-hum","tag-latest","tag-library","tag-mega","tag-modifiy","tag-temp","tag-uno"],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":8}},"_links":{"self":[{"href":"https:\/\/stigern.net\/blog\/wp-json\/wp\/v2\/posts\/373","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/stigern.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/stigern.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/stigern.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/stigern.net\/blog\/wp-json\/wp\/v2\/comments?post=373"}],"version-history":[{"count":1,"href":"https:\/\/stigern.net\/blog\/wp-json\/wp\/v2\/posts\/373\/revisions"}],"predecessor-version":[{"id":374,"href":"https:\/\/stigern.net\/blog\/wp-json\/wp\/v2\/posts\/373\/revisions\/374"}],"wp:attachment":[{"href":"https:\/\/stigern.net\/blog\/wp-json\/wp\/v2\/media?parent=373"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/stigern.net\/blog\/wp-json\/wp\/v2\/categories?post=373"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/stigern.net\/blog\/wp-json\/wp\/v2\/tags?post=373"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}