{"id":2796,"date":"2018-05-18T16:07:38","date_gmt":"2018-05-18T08:07:38","guid":{"rendered":"https:\/\/drho.club\/?p=2116"},"modified":"2018-05-18T16:07:38","modified_gmt":"2018-05-18T08:07:38","slug":"arduino-smoke-detection","status":"publish","type":"post","link":"https:\/\/104.es\/index.php\/2018\/05\/18\/arduino-smoke-detection\/","title":{"rendered":"\u3010Arduino\u3011\u7159\u9727\u5075\u5074\u5668\u7684\u61c9\u7528"},"content":{"rendered":"<p>\u5982\u540c\u524d\u9762\u7684\u55ae\u5143\u4e2d\u6240\u4ecb\u7d39\u7684\uff0c\u53ea\u8981\u6709\u5408\u9069\u7684\u611f\u6e2c\u5668\u6a21\u7d44\uff0c\u8981\u5075\u6e2c\u4ec0\u9ebc\u90fd\u6c92\u6709\u4ec0\u9ebc\u554f\u984c\uff0c\u800c\u4e14\u96fb\u8def\u9023\u63a5\u4ee5\u53ca\u7a0b\u5f0f\u90fd\u975e\u5e38\u7c21\u55ae\uff0cKeyes\u7159\u5728\u5075\u6e2c\u5668\u5c31\u662f\u5176\u4e2d\u4e00\u500b\u975e\u5e38\u7c21\u55ae\u7684\u4f8b\u5b50\u3002\u9019\u500b\u611f\u6e2c\u5668\u6a21\u7d44\u5916\u89c0\u5982\u4e0b\uff1a<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/104.es\/wp-content\/uploads\/2018\/05\/2018-05-18-15.47.08.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2117\" src=\"https:\/\/104.es\/wp-content\/uploads\/2018\/05\/2018-05-18-15.47.08.jpg\" alt=\"\" width=\"600\" height=\"450\" \/><\/a><\/p>\n<p>\u5982\u4e0a\u5716\u6240\u793a\uff0c\u6b64\u6a21\u7d44\u53ea\u67093\u689d\u8f38\u51fa\u7dda\uff0c\u5176\u4e2dVCC\u548cGND\u5206\u5225\u662f5V\u6b63\u8ca0\u6975\uff0c\u53ea\u8981\u63a5\u4e0a\u96fb\u6e90\u5c31\u53ef\u4ee5\u4e86\u3002\u800cOUT\u5247\u662f\u4e00\u500b\u985e\u5225\u7684\u8f38\u51fa\uff0c\u53ef\u4ee5\u628a\u5b83\u9023\u63a5\u5230Arduino\u7684A0~A5\u4efb\u4e00\u500b\u985e\u6bd4\u8f38\u5165\u57e0\u4e0a\u3002\u6839\u64da\u7db2\u7ad9\u4e0a\u7684\u8aaa\u660e\uff0c\u6b64\u611f\u6e2c\u5668\u7684\u898f\u683c\u4ee5\u53ca\u4f7f\u7528\u8aaa\u660e\u5982\u4e0b\uff1a<\/p>\n<ul>\n<li>\u4f7f\u7528\u6642\u9700\u8981\u9810\u71b15\u5206\u9418\uff0c\u4e5f\u5c31\u662f\u901a\u96fb5\u5206\u5206\u9418\u4e4b\u5f8c\u6578\u503c\u624d\u6703\u7a69\u5b9a<\/li>\n<li>\u53cd\u61c9\u6642\u9593\uff1a\u5c0f\u65bc10\u79d2<\/li>\n<li>\u53ef\u6aa2\u6e2c\u6fc3\u5ea6\uff1a300ppm ~ 10000ppm<\/li>\n<li>\u4e3b\u8981\u7528\u65bc\u6aa2\u6e2c\u6c23\u9ad4\u662f\u5426\u6d29\u9732\uff0c\u80fd\u5920\u6aa2\u6e2c\u6db2\u5316\u77f3\u6cb9\u6c23\u3001\u7532\u70f7\u3001\u4e59\u70f7\u3001\u7570\u4e01\u70f7\u3001\u9152\u7cbe\u3001\u7159\u9727\u7b49\u7b49<\/li>\n<\/ul>\n<p>\u5728\u9019\u500b\u4f8b\u5b50\u4e2d\uff0c\u6211\u5011\u628a\u5b83\u9023\u63a5\u5230A3\u3002\u7531\u65bc\u6211\u5011\u7684\u96fb\u6e90\u662f\u653e\u5728\u9eb5\u5305\u677f\u4e0a\uff0c\u56e0\u6b64\u5225\u5fd8\u4e86\u9eb5\u5305\u677f\u4e0a\u7684\u8ca0\u6975\u4e5f\u8981\u6709\u4e00\u689d\u9023\u63a5\u5230Arduino\u4e0a\u7684GND\u63a5\u8173\uff0c\u5982\u4e0b\u6240\u793a\uff1a<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/104.es\/wp-content\/uploads\/2018\/05\/2018-05-18-15.45.28.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2118\" src=\"https:\/\/104.es\/wp-content\/uploads\/2018\/05\/2018-05-18-15.45.28.jpg\" alt=\"\" width=\"600\" height=\"450\" \/><\/a><\/p>\n<p>\u9023\u63a5\u7684\u6210\u54c1\u5982\u4e0b\u6240\u793a\uff1a<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/104.es\/wp-content\/uploads\/2018\/05\/2018-05-18-15.45.09.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2119\" src=\"https:\/\/104.es\/wp-content\/uploads\/2018\/05\/2018-05-18-15.45.09.jpg\" alt=\"\" width=\"600\" height=\"450\" srcset=\"https:\/\/104.es\/wp-content\/uploads\/2018\/05\/2018-05-18-15.45.09.jpg 600w, https:\/\/104.es\/wp-content\/uploads\/2018\/05\/2018-05-18-15.45.09-300x225.jpg 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>\u5b8c\u6210\u7684\u7a0b\u5f0f\u5982\u4e0b\u6240\u793a\uff1a<\/p>\n<p>[code]<br \/>\nvoid setup() {<br \/>\n  Serial.begin(9600);<br \/>\n}<\/p>\n<p>void loop() {<br \/>\n  int val = analogRead(A3);<br \/>\n  Serial.println(val, DEC);<br \/>\n  delay(500);<br \/>\n}<br \/>\n[\/code]<\/p>\n<p>\u9019\u500b\u7a0b\u5f0f\u6703\u5b9a\u6642\u66f4\u65b0\u5728\u76e3\u63a7\u8996\u7a97\u4e2d\u7684\u6578\u503c<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5982\u540c\u524d\u9762\u7684\u55ae\u5143\u4e2d\u6240\u4ecb\u7d39\u7684\uff0c\u53ea\u8981\u6709\u5408\u9069\u7684\u611f\u6e2c\u5668\u6a21\u7d44\uff0c\u8981\u5075\u6e2c\u4ec0\u9ebc\u90fd\u6c92\u6709\u4ec0\u9ebc\u554f\u984c\uff0c\u800c\u4e14\u96fb\u8def\u9023\u63a5\u4ee5\u53ca\u7a0b\u5f0f\u90fd\u975e\u5e38\u7c21\u55ae\uff0cKeyes\u7159\u5728\u5075\u6e2c\u5668\u5c31\u662f\u5176\u4e2d\u4e00\u500b\u975e\u5e38\u7c21\u55ae\u7684\u4f8b\u5b50\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3],"tags":[205],"class_list":["post-2796","post","type-post","status-publish","format-standard","hentry","category-arduino","tag-205"],"jetpack_featured_media_url":"","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/posts\/2796","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/comments?post=2796"}],"version-history":[{"count":0,"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/posts\/2796\/revisions"}],"wp:attachment":[{"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/media?parent=2796"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/categories?post=2796"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/tags?post=2796"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}