{"id":1534,"date":"2014-12-24T17:30:33","date_gmt":"2014-12-24T16:30:33","guid":{"rendered":"http:\/\/labalec.fr\/erwan\/?p=1534"},"modified":"2015-02-05T22:10:25","modified_gmt":"2015-02-05T21:10:25","slug":"arduino-dht11-attiny85","status":"publish","type":"post","link":"https:\/\/labalec.fr\/erwan\/?p=1534","title":{"rendered":"Arduino : dht11 + attiny85 + rf433"},"content":{"rendered":"<p>In a <a href=\"https:\/\/labalec.fr\/erwan\/?p=1520\" target=\"_blank\">previous article<\/a>, I have use an attiny85 + ds18b20 + rf433 to built a cheap temperature probe.<\/p>\n<p>This time, I needed the humidity next to the temperature.<br \/>\nI then decided to use a dht11 (you can get it starting at 1.50\u20ac on <a href=\"http:\/\/www.ebay.fr\/sch\/i.html?_from=R40&#038;_sacat=0&#038;_nkw=dht11&#038;_sop=15\" target=\"_blank\">ebay<\/a>).<br \/>\nTotal cost is below 4\u20ac.<\/p>\n<p>Here below the wiring.<\/p>\n<p><a href=\"https:\/\/labalec.fr\/erwan\/wp-content\/uploads\/2014\/12\/tx_dht11_bb.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/labalec.fr\/erwan\/wp-content\/uploads\/2014\/12\/tx_dht11_bb-253x300.png\" alt=\"tx_dht11_bb\" width=\"253\" height=\"300\" class=\"alignnone size-medium wp-image-1535\" srcset=\"https:\/\/labalec.fr\/erwan\/wp-content\/uploads\/2014\/12\/tx_dht11_bb-253x300.png 253w, https:\/\/labalec.fr\/erwan\/wp-content\/uploads\/2014\/12\/tx_dht11_bb.png 552w\" sizes=\"auto, (max-width: 253px) 100vw, 253px\" \/><\/a><\/p>\n<p>Here <a href=\"https:\/\/labalec.fr\/erwan\/wp-content\/uploads\/2014\/12\/rf433_sendOOK_at85_dht11.txt\">rf433_sendOOK_at85_dht11<\/a> the arduino sketch (rename the txt file to ino).<br \/>\nYou will also need <a href=\"http:\/\/playground.arduino.cc\/Main\/DHT11Lib\" target=\"_blank\">this<\/a> dht11 library.<\/p>\n<p>Here some pictures. Notice that i used an old (but still good for my purpose) smartphone 3.7v battery.<\/p>\n<p><a href=\"https:\/\/labalec.fr\/erwan\/wp-content\/uploads\/2014\/12\/IMG_4868.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/labalec.fr\/erwan\/wp-content\/uploads\/2014\/12\/IMG_4868-300x243.jpg\" alt=\"IMG_4868\" width=\"300\" height=\"243\" class=\"alignnone size-medium wp-image-1536\" srcset=\"https:\/\/labalec.fr\/erwan\/wp-content\/uploads\/2014\/12\/IMG_4868-300x243.jpg 300w, https:\/\/labalec.fr\/erwan\/wp-content\/uploads\/2014\/12\/IMG_4868-1024x832.jpg 1024w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/labalec.fr\/erwan\/wp-content\/uploads\/2014\/12\/IMG_4865.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/labalec.fr\/erwan\/wp-content\/uploads\/2014\/12\/IMG_4865-300x250.jpg\" alt=\"IMG_4865\" width=\"300\" height=\"250\" class=\"alignnone size-medium wp-image-1537\" srcset=\"https:\/\/labalec.fr\/erwan\/wp-content\/uploads\/2014\/12\/IMG_4865-300x250.jpg 300w, https:\/\/labalec.fr\/erwan\/wp-content\/uploads\/2014\/12\/IMG_4865-1024x854.jpg 1024w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/labalec.fr\/erwan\/wp-content\/uploads\/2014\/12\/IMG_4864.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/labalec.fr\/erwan\/wp-content\/uploads\/2014\/12\/IMG_4864-300x231.jpg\" alt=\"IMG_4864\" width=\"300\" height=\"231\" class=\"alignnone size-medium wp-image-1538\" srcset=\"https:\/\/labalec.fr\/erwan\/wp-content\/uploads\/2014\/12\/IMG_4864-300x231.jpg 300w, https:\/\/labalec.fr\/erwan\/wp-content\/uploads\/2014\/12\/IMG_4864-1024x790.jpg 1024w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In a previous article, I have use an attiny85 + ds18b20 + rf433 to built a cheap temperature probe. This time, I needed the humidity next to the temperature. I then decided to use a dht11 (you can get it starting at 1.50\u20ac on ebay). Total cost is below 4\u20ac. Here below the wiring. Here <a href='https:\/\/labalec.fr\/erwan\/?p=1534' class='excerpt-more'>[&#8230;]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18],"tags":[68,69],"class_list":["post-1534","post","type-post","status-publish","format-standard","hentry","category-arduino","tag-attiny85","tag-dht11","category-18-id","post-seq-1","post-parity-odd","meta-position-corners","fix"],"_links":{"self":[{"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/posts\/1534","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1534"}],"version-history":[{"count":5,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/posts\/1534\/revisions"}],"predecessor-version":[{"id":1565,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/posts\/1534\/revisions\/1565"}],"wp:attachment":[{"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1534"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1534"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1534"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}