{"id":3176,"date":"2015-01-16T22:38:27","date_gmt":"2015-01-16T13:38:27","guid":{"rendered":"http:\/\/www.motohasi.net\/blog\/?p=3176"},"modified":"2015-02-19T23:22:39","modified_gmt":"2015-02-19T14:22:39","slug":"raspberry-pi%e3%81%ab%e6%b8%a9%e5%ba%a6%e6%b9%bf%e5%ba%a6%e3%82%bb%e3%83%b3%e3%82%b5%e3%83%bc%e3%82%92%e6%8e%a5%e7%b6%9a","status":"publish","type":"post","link":"https:\/\/www.motohasi.net\/blog\/?p=3176","title":{"rendered":"Raspberry Pi\u306b\u6e29\u5ea6\u6e7f\u5ea6\u30bb\u30f3\u30b5\u30fc(DHT11)\u3092\u63a5\u7d9a"},"content":{"rendered":"<p>Raspberry Pi\u306b\u30bb\u30f3\u30b5\u3092\u63a5\u7d9a\u3057\u3066\u307f\u307e\u3057\u305f\u3002<br \/>\n\u4eca\u56de\u63a5\u7d9a\u3092\u3057\u305f\u306e\u306f\u3001\u300cDHT11\u300d\u3068\u3044\u3046\u578b\u5f0f\u306e\u6e29\u5ea6\u6e7f\u5ea6\u30bb\u30f3\u30b5\u3067\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.motohasi.net\/blog\/wp-content\/uploads\/2015\/01\/DHT11-150x150.jpg\" alt=\"DHT11\" width=\"150\" height=\"150\" class=\"alignnone size-thumbnail wp-image-3177\" srcset=\"https:\/\/www.motohasi.net\/blog\/wp-content\/uploads\/2015\/01\/DHT11.jpg 150w, https:\/\/www.motohasi.net\/blog\/wp-content\/uploads\/2015\/01\/DHT11-144x144.jpg 144w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><br \/>\n\u3053\u306e\u30bb\u30f3\u30b5\u306fAOSONG(\u5e7f\u5dde\u5965\u677e\u7535\u5b50\u6709\u9650\u516c\u53f8)\u88fd\u3067\u9ad8\u3044\u4fe1\u983c\u6027\u3001\u9577\u671f\u9593\u306e\u5b89\u5b9a\u6027\u3001\u4f4e\u4fa1\u683c\u304c\u7279\u5fb4\u3067\u3042\u308b\u3068\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u3067\u60c5\u5831\u53ce\u96c6\u3057\u3066\u307f\u308b\u3068\u3001\u6e7f\u5ea6\u306e\u6e2c\u5b9a\u7cbe\u5ea6\u306f\u30a4\u30de\u30a4\u30c1\u3001\u6e7f\u5ea6\u6e2c\u5b9a\u6a5f\u80fd\u304c\u6545\u969c\u3059\u308b\u3001\u306a\u3069\u306e\u60c5\u5831\u3092\u76ee\u306b\u3057\u307e\u3059\u3002<br \/>\n\u96fb\u6e90\u96fb\u5727\u306b\u3088\u3063\u3066\u5024\u306e\u5909\u52d5\u304c\u5927\u304d\u3044\u3068\u3044\u3046\u8abf\u67fb\u7d50\u679c\u3082\u3042\u308a\u4f7f\u7528\u3059\u308b\u306b\u3042\u305f\u308a\u4e0d\u5b89\u304c\u3088\u304e\u308a\u307e\u3059\u3002<br \/>\n\u6e29\u5ea6\u3082\u6e7f\u5ea6\u3082\u6700\u5c0f\u6e2c\u5b9a\u5358\u4f4d\u304c\u6574\u6570\u306a\u306e\u3067\u9ad8\u7cbe\u5ea6\u611f\u306f\u3042\u308a\u307e\u305b\u3093\u3002<br \/>\n\u30ab\u30bf\u30ed\u30b0\u30b9\u30da\u30c3\u30af\u3068\u3057\u3066\u306f<br \/>\n\u6e29\u5ea6 0\u2103\uff5e50\u2103 \u00b15%<br \/>\n\u6e7f\u5ea6 20%\uff5e90% \u00b12\u2103<br \/>\n\u96fb\u6e90 3.3-5.5V DC<br \/>\n\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9 Aosong 1-wire bus digital signal<br \/>\n\u30bb\u30f3\u30b5\u7d20\u5b50 Polymer humidity resistor<br \/>\n\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<br \/>\n\u88fd\u9020\u5143\u306e\u30db\u30fc\u30e0\u30da\u30fc\u30b8\u3092\u898b\u308b\u3068\u3001\u82f1\u8a9e\u30da\u30fc\u30b8\u306b\u306f\u507d\u7269\u306b\u3064\u3044\u3066\u306e\u8a18\u8f09\u304c\u3042\u308a\u307e\u305b\u3093\u304c\u3001\u4e2d\u56fd\u8a9e\u30da\u30fc\u30b8\u306b\u306f\u507d\u7269\u306b\u6ce8\u610f\uff01\u3068\u3044\u3046\u60c5\u5831\u304c\u66f8\u304b\u308c\u3066\u3044\u307e\u3059\u3002<br \/>\n\u898b\u5206\u3051\u304c\u3064\u304d\u3084\u3059\u3044\u672c\u7269\u3068\u507d\u7269\u306e\u9055\u3044\u306f\u30bb\u30f3\u30b5\u80cc\u9762\u306e\u8868\u8a18\u304c\u30e9\u30d9\u30eb\u3067\u3042\u308b\u304b\u30ec\u30fc\u30b6\u30fc\u523b\u5370\u3067\u3042\u308b\u304b\u306e\u69d8\u3067\u3059\u3002\u30ec\u30fc\u30b6\u30fc\u523b\u5370\u304c\u672c\u7269\u3067\u3059\u3002\u767d\u5730\u306b\u9ed2\u3044\u30e9\u30d9\u30eb\u306e\u3082\u306e\u306f\u507d\u7269\u3067\u3059\u3002<br \/>\n\u305d\u306e\u4ed6\u306e\u7279\u5fb4\u306f\u5f62\u304c\u5c11\u3057\u9055\u3046\u3067\u3042\u3063\u305f\u308a\u6a39\u8102\u6210\u5f62\u306e\u51fa\u6765\u304c\u826f\u304f\u306a\u3044\u3067\u3042\u308a\u3001\u672c\u7269\u3092\u6301\u3063\u3066\u3044\u306a\u3044\u3068\u308f\u304b\u308a\u306b\u304f\u3044\u90e8\u5206\u306e\u9055\u3044\u3060\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\n\u624b\u5143\u306b\u3042\u308b\u30bb\u30f3\u30b5\u306f\u305d\u306e\u60c5\u5831\u3068\u898b\u6bd4\u3079\u308b\u9650\u308a\u672c\u7269\u306e\u69d8\u3067\u3059\u3002<\/p>\n<p>\u3055\u3066\u672c\u984c\u306e\u63a5\u7d9a\u3067\u3059\u3002<br \/>\n\u4eca\u56de\u306f\u30c7\u30fc\u30bf\u7dda\u306b\u30d7\u30eb\u30a2\u30c3\u30d7\u62b5\u6297\u304c\u3064\u3044\u305f\u30e2\u30b8\u30e5\u30fc\u30eb\u57fa\u677f\u3092\u4f7f\u7528\u3057\u307e\u3057\u305f\u3002(\u76f4\u7d50\u3082\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\u304c\u30d7\u30eb\u30a2\u30c3\u30d7\u62b5\u6297\u304c\u306a\u3044\u3068\u52d5\u4f5c\u3057\u307e\u305b\u3093\u3067\u3057\u305f)<br \/>\n\u96fb\u6e90\u3001GND\u3001\u30c7\u30fc\u30bf\u7dda\u306e\uff13\u672c\u306e\u63a5\u7d9a\u3067\u5b8c\u4e86\u3067\u3059\u3002<br \/>\n\u96fb\u6e90\u96fb\u5727\u3067\u3059\u304cRaspberry Pi\u5074\u306eIO\u30d4\u30f3\u304c5V\u30c8\u30ec\u30e9\u30f3\u30c8\u3067\u306f\u306a\u3044\u306e\u3067\u96fb\u6e90\u30823.3V\u3057\u304b\u4f7f\u7528\u3067\u304d\u307e\u305b\u3093(\u96fb\u5727\u5909\u63db\u3059\u308c\u3070\u63a5\u7d9a\u53ef\u80fd\u3067\u3059\u304c\u3001\u4f7f\u7528\u3059\u308bIO\u30d4\u30f3\u304c\u5165\u51fa\u529b\u517c\u7528\u4f7f\u7528\u306a\u306e\u3067\u5909\u63db\u306f\u9762\u5012\u3067\u3059)\u3002\u30bb\u30f3\u30b5\u5358\u4f53\u3067\u306f5V\u306e\u65b9\u304c\u826f\u3044\u3068\u306e\u60c5\u5831\u304c\u3042\u308a\u307e\u3059\u304cRaspberry Pi\u3068\u306e\u7d44\u307f\u5408\u308f\u305b\u3067\u306f\u9078\u629e\u80a2\u306f\u3042\u308a\u307e\u305b\u3093\u3002<br \/>\n\u30bd\u30d5\u30c8\u3067\u3059\u304c\u3001wiringPi\u3092\u4f7f\u3046C\u8a00\u8a9e\u306e\u30b3\u30fc\u30c9\u3092\u63a2\u3057\u3066\u304d\u307e\u3057\u305f\u3002<br \/>\n\u6700\u7d42\u7684\u306bPHP\u3092\u4f7f\u7528\u3057\u3066\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u7d50\u679c\u3092\u8a18\u9332\u3059\u308b\u4e88\u5b9a\u306a\u306e\u3067\u3001\u6a19\u6e96\u51fa\u529b\u306b\u7d50\u679c\u3092\u51fa\u529b\u3067\u304d\u308b\u30b3\u30de\u30f3\u30c9\u5f62\u5f0f\u306e\u3082\u306e\u304c\u5e0c\u671b\u3067\u3057\u305f\u3002<br \/>\n\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3067\u306f\u305d\u306e\u5f8c\u306e\u30c7\u30fc\u30bf\u306e\u30cf\u30f3\u30c9\u30ea\u30f3\u30b0\u304c\u5384\u4ecb\u3060\u3063\u305f\u306e\u3067\u30ab\u30f3\u30de\u533a\u5207\u308a\u51fa\u529b\u306b\u66f8\u304d\u63db\u3048\u3066\u5b8c\u6210\u3067\u3059\u3002<\/p>\n<p>\u610f\u5916\u3068\u77ed\u6642\u9593\u3067\u52d5\u304b\u3059\u3053\u3068\u304c\u51fa\u6765\u307e\u3057\u305f\u3002<br \/>\n\u8272\u3005\u3068\u60c5\u5831\u3092\u63d0\u4f9b\u3057\u3066\u304f\u3060\u3055\u3063\u3066\u3044\u308b\u65b9\u306b\u611f\u8b1d\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Raspberry Pi\u306b\u30bb\u30f3\u30b5\u3092\u63a5\u7d9a\u3057\u3066\u307f\u307e\u3057\u305f\u3002 \u4eca\u56de\u63a5\u7d9a\u3092\u3057\u305f\u306e\u306f\u3001\u300cDHT11\u300d\u3068\u3044\u3046\u578b\u5f0f\u306e\u6e29\u5ea6\u6e7f\u5ea6\u30bb\u30f3\u30b5\u3067\u3059\u3002 \u3053\u306e\u30bb\u30f3\u30b5\u306fAOSONG(\u5e7f\u5dde\u5965\u677e\u7535\u5b50\u6709\u9650\u516c\u53f8)\u88fd\u3067\u9ad8\u3044\u4fe1\u983c\u6027\u3001\u9577\u671f\u9593\u306e\u5b89\u5b9a\u6027\u3001\u4f4e\u4fa1\u683c\u304c\u7279\u5fb4\u3067\u3042\u308b &hellip; <a href=\"https:\/\/www.motohasi.net\/blog\/?p=3176\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[28],"tags":[],"class_list":["post-3176","post","type-post","status-publish","format-standard","hentry","category-raspberrypi"],"_links":{"self":[{"href":"https:\/\/www.motohasi.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3176","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.motohasi.net\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.motohasi.net\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.motohasi.net\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.motohasi.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3176"}],"version-history":[{"count":4,"href":"https:\/\/www.motohasi.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3176\/revisions"}],"predecessor-version":[{"id":3280,"href":"https:\/\/www.motohasi.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3176\/revisions\/3280"}],"wp:attachment":[{"href":"https:\/\/www.motohasi.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3176"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.motohasi.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3176"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.motohasi.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3176"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}