{"id":3285,"date":"2021-08-17T01:36:54","date_gmt":"2021-08-17T01:36:54","guid":{"rendered":""},"modified":"2021-08-17T09:37:19","modified_gmt":"2021-08-17T01:37:19","slug":"%e9%80%9a%e8%bf%87stm32%e7%9a%84c8t6%e8%8e%b7%e5%8f%96dht11%e7%9a%84%e6%b8%a9%e6%b9%bf%e5%ba%a6%e6%95%b0%e6%8d%ae","status":"publish","type":"post","link":"http:\/\/www.szryc.com\/?p=3285","title":{"rendered":"\u901a\u8fc7STM32\u7684C8t6\u83b7\u53d6DHT11\u7684\u6e29\u6e7f\u5ea6\u6570\u636e"},"content":{"rendered":"

\n\t\u672c\u9879\u76ee\u901a\u8fc7STM32<\/u>\u7684C8t6\u83b7\u53d6DHT11\u7684\u6e29\u6e7f\u5ea6\u6570\u636e\uff0c\u4ee5\u53ca\u7a7a\u6c14\u8d28\u91cf\u4f20\u611f\u5668<\/u>MQ135\uff0c\u901a\u8fc7\u4e00\u5757ESP8266\u6a21\u5757\u8fde\u63a5wifi\uff0c\u628a\u6570\u636e\u4e0a\u4f20\u5230\u673a\u667a\u4e91\u5e73\u53f0\uff0c\u53ef\u901a\u8fc7\u624b\u673aAPP\u67e5\u770b\u3002<\/p>\n

\n\t1\u3001\u6a21\u5757\u51c6\u5907<\/p>\n

\n\t <\/div>\n

\n\t\u4e00\u5757STM32F103C<\/u>8T6\u4e00\u5757IIC\u7684OLED<\/u>\u6a21\u5757\u4e00\u4e2aDHT11\u4e00\u4e2aMQ135\u7a7a\u6c14\u8d28\u91cf\u6a21\u5757\u4e00\u5757ATK-8266wifi\u6a21\u5757\u4e00\u4e2aST-link\u4e0b\u8f7d\u6a21\u5757\u675c\u90a6\u7ebf\u82e5\u5e72<\/p>\n

\n\t2\u3001\u7a0b\u5e8f\u51c6\u5907<\/p>\n

\n\t\u9996\u5148\uff0c\u5148\u8ba9C8T6\u80fd\u591f\u5728OLED\u4e0a\u6b63\u5e38\u663e\u793a\u6e29\u5ea6\u3001\u6e7f\u5ea6\u3001\u4ee5\u53ca\u7a7a\u6c14\u6c61\u67d3<\/u>\u6c14\u4f53\u4f20\u611f\u5668<\/u>\u3002\u5728\u8fd9\u91cc\u6211\u4e3b\u8981\u8bf4\u4e00\u4e0bMQ135\u7684\u8ba1\u7b97\uff0c\u81f3\u4e8eDHT11\u5982\u4f55\u663e\u793a\u6e29\u5ea6\u6e7f\u5ea6\u3002\u5173\u4e8eMQ135\uff1aMQ-135\u6c14\u4f53\u4f20\u611f\u5668\u6240\u4f7f\u7528\u7684\u6c14\u654f\u6750\u6599\u662f\u5728\u6e05\u6d01\u7a7a\u6c14\u4e2d\u7535\u5bfc\u7387\u8f83\u4f4e\u7684\u4e8c\u6c27\u5316\u9521\uff08Sn02\uff09\u3002\u5f53\u4f20\u611f\u5668\u6240\u5904\u73af\u5883\u4e2d\u5b58\u5728\u6c61\u67d3\u6c14\u4f53\u65f6\uff0c\u4f20\u611f\u5668\u7684\u7535\u5bfc\u7387\u968f\u7a7a\u6c14\u4e2d\u6c61\u67d3\u6c14\u4f53\u6d53\u5ea6\u7684\u589e\u52a0\u800c\u589e\u5927\u3002\u4f7f\u7528\u7b80\u5355\u7684\u7535\u8def<\/u>\u5373\u53ef\u5c06\u7535\u5bfc\u7387\u7684\u53d8\u5316\u8f6c\u6362\u4e3a\u4e0e\u8be5\u6c14\u4f53\u6d53\u5ea6\u76f8\u5bf9\u5e94\u7684\u8f93\u51fa\u4fe1\u53f7\u3002MQ-135\u6c14\u4f53\u4f20\u611f\u5668\u5bf9\u6c28\u6c14\uff0c\u786b\u5316\u7269\uff0c\u82ef\u7cfb\u84b8\u6c14\u7684\u7075\u654f\u5ea6\u9ad8\uff0c\u5bf9\u70df\u96fe\u548c\u5176\u4ed6\u6709\u5bb3\u6c14\u4f53\u7684\u68c0\u6d4b\u4e5f\u5f88\u7406\u60f3\u3002\u8fd9\u79cd\u4f20\u611f\u5668\u53ef\u68c0\u6d4b\u591a\u79cd\u6709\u5bb3\u6c14\u4f53\uff0c\u662f\u4e00\u6b3e\u9002\u5408\u591a\u79cd\u5e94\u7528\u7684\u4f4e\u6210\u672c\u4f20\u611f\u5668\u3002\u7279\u70b9\uff1a1.\u5728\u8f83\u5bbd\u7684\u6d53\u5ea6\u8303\u56f4\u5185\u5bf9\u6709\u5bb3\u6c14\u4f53\u6709\u826f\u597d\u7684\u7075\u654f\u5ea62.\u5bf9\u6c28\u6c14\uff0c\u786b\u5316\u7269\uff0c\u82ef\u7cfb\u7b49\u6c14\u6c1b\u7075\u654f\u5ea6\u8f83\u9ad83.\u957f\u5bff\u547d\uff0c\u4f4e\u6210\u672c4.\u7b80\u5355\u7684\u9a71\u52a8\u7535\u8def<\/p>\n

\n\t\u56e0\u4e3a\u6211\u8fd9\u91cc\u8981\u8ba9MQ135\u663e\u793a\u5b9e\u65f6\u7684\u7a7a\u6c14\u8d28\u91cf\u6240\u4ee5\u6211\u9009\u62e9\u4e86\u6a21\u62df\u91cf\u8f93\u51fa\uff0c\u5e76\u4f7f\u7528\u4e86STM32\u7684AD<\/u>\u8f6c\u6362\u3002C\u6587\u4ef6\u7684\u51fd\u6570\u8f83\u591a\uff0c\u8bf7\u9605\u8bfb<\/u>\u539f\u6587\u83b7\u53d6\uff09\u4e3b\u51fd\u6570\u90e8\u5206\u4ee5\u53ca\u8ba1\u7b97\u90e8\u5206<\/p>\n

\n\t\"fe847e0a-f76e-11eb-9bcf-12bb97331649.png\"<\/p>\n

\n\t3\u3001\u673a\u667a\u4e91\u79fb\u690d<\/p>\n

\n\t\u5982\u679c\u53ef\u4ee5\u6b63\u5e38\u663e\u793a\u6e29\u5ea6\u548c\u6e7f\u5ea6\u4ee5\u53caMQ135\u7684\u6570\u503c\u4e86\uff0c\u90a3\u4e0b\u9762\u5c31\u5f00\u59cb\u51c6\u5907\u673a\u667a\u4e91\u7684\u79fb\u690d\u4e86\u3002\u9996\u5148\u5148\u5230\u673a\u667a\u4e91\u5b98\u7f51\u6ce8\u518c\u4e00\u4e2a\u8d26\u53f7\uff0c\u7136\u540e\u767b\u9646\u9996\u5148\u70b9\u51fb\u521b\u5efa\u4e2a\u4eba\u9879\u76ee<\/p>\n

\n\t\u9009\u62e9\u65b9\u6848\uff0c\u6211\u8fd9\u91cc\u662fSTM32+WIFi\u7684\u65b9\u6848\uff0c\u5c31\u9009\u62e9\u7b2c\u4e00\u4e2a\u7136\u540e\u6dfb\u52a0\u6570\u636e\u70b9\u6e29\u5ea6\uff1aTe<\/u>mp\uff0c\u7c7b\u578b\u4e3a\u6570\u503c\uff0c\u63a7\u5236\u65b9\u5f0f\u53ea\u8bfb\uff0c\u6e7f\u5ea6\uff1aHumi<\/u>\uff0c\u7c7b\u578b\u4e3a\u6570\u503c\uff0c\u63a7\u5236\u65b9\u5f0f\u53ea\u8bfb\u7a7a\u6c14\u8d28\u91cf\uff1aMQ135 \uff0c\u7c7b\u578b\u6570\u503c\uff0c\u53ea\u8bfb\uff0c\u8303\u56f4\u8fd9\u4e9b\u5c31\u5f88\u597d\u7406\u89e3\u4e86\u5f00\u5173<\/u>\u7c7b\u53ef\u9009\u62e9\u5e03\u5c14\u503c\uff0c\u6bd4\u5982\u63a7\u5236LED<\/u><\/p>\n

\n\t\u7136\u540e\u4fdd\u5b58\u65b9\u6848\u70b9\u5f00\u57fa\u672c\u4fe1\u606f\uff0c\u83b7\u53d6\u4f60\u7684\u5bc6\u94a5\u7136\u540e\u70b9\u51fbMUC\u65b9\u6848\uff0c\u70b9\u51fb\u4fee\u6539\uff0c\u628a\u4f60\u7684\u5bc6\u94a5\u7c98\u8d34\uff0c\u7136\u540e\u751f\u6210\u4ee3\u7801\u5305\u70b9\u51fb\u4e0b\u8f7d<\/p>\n

\n\t\u6211\u7528\u7684\u662f\u6807\u51c6\u5e93\uff0c\u673a\u667a\u4e91\u751f\u6210\u7684\u662fHal\u5e93\uff0c\u8981\u4fee\u6539\u4e00\u4e0b\uff0c\u8fd9\u91cc\u6211\u76f4\u63a5\u7ed9\u51faUsart3\u548c\u5b9a\u65f6\u5668<\/u>\u7684\u4ee3\u7801<\/p>\n

\n\t\u628a\u673a\u667a\u4e91\u751f\u6210\u7684Pack\u89e3\u538b\uff0c\u590d\u5236\u91cc\u9762\u7684Gizwits\u548cUlti<\/u>s\u5230C8t6\u7684\u76ee\u5f55\u4e0b\u7136\u540e\u6dfb\u52a0\u521a\u521a\u7684Timer usart3.usart3 \u548cTimer\u7684\u4ee3\u7801\u8fc7\u591a\uff0c\u8bf7\u9605\u8bfb\u539f\u6587\u83b7\u53d6\u3002\u7136\u540e\u628a\u8fd9\u4e9b\u6587\u4ef6\u6dfb\u52a0\u5230C8t6\u5de5\u7a0b\u91cc\u9762\uff0cinclude\u8def\u5f84\u7b49<\/p>\n

\n\t\u7136\u540e\u5f00\u59cb\u6253\u5f00gizwits_product.c“<\/p>\n

\n\t\u63a5\u4e0b\u6765\u5904\u7406Main\u51fd\u6570\u90e8\u5206\u7531\u4e8e\u6211\u8fd9\u8fb9\u4ee5\u53ca\u5904\u7406\u597d\u4e86\uff0c\u6211\u5c31\u7ed9\u4f60\u4eec\u770b\u5c31\u597d\u4e86<\/p>\n

\n\t\u7136\u540e\u662f\u901a\u8fc7\u6309\u952e\u8fde\u63a5wifi\u90e8\u5206<\/p>\n

\n\t\"001a1464-f76f-11eb-9bcf-12bb97331649.png\"<\/p>\n

\n\t\u63a5\u4e0b\u91cc\u662f\u83b7\u53d6\u7f51\u7edc\u65f6\u95f4\u7684\u90e8\u5206<\/p>\n

\n\t\"004a02dc-f76f-11eb-9bcf-12bb97331649.png\"<\/p>\n

\n\t\u4e3b\u51fd\u6570\u90e8\u5206\u4ee3\u7801\uff08\u6ce8\uff1a\u67d0\u4e9b\u4f60\u4eec\u6ca1\u6709\u7684\u5934\u6587\u4ef6\u8bb0\u5f97\u6ce8\u91ca\u6389\uff09<\/p>\n

\n\t\u628a\u4ee3\u7801\u7f16\u8bd1\u901a\u8fc7\u540e\u5c31\u4e0b\u8f7d\u5230\u5f00\u53d1\u677f\u91cc\u9762\u7136\u540e\u6309\u4e0b\u6309\u952e\uff0c\u56e0\u4e3a\u6211\u7684\u662fc8t6\u7684\u7cfb\u7edf\u7248\uff0c\u6709\u4e00\u4e2a\u6309\u952e\uff0c\u4f60\u4eec\u6ca1\u6709\u7684\u53ef\u4ee5\u7528\u4e00\u4e2a\u675c\u90a6\u7ebf\u63a53.3\u6765\u4ee3\u66ff\u4e00\u4e0b\u3002<\/p>\n

\n\t\u6309\u4e0b\u6309\u952e\u8fdb\u5165AI<\/u>RLINK\uff0c\u7136\u540e\u673a\u667a\u4e91\u70b9\u51fb\u6211\u7684\u8bbe\u5907\u754c\u9762\u7684\u53f3\u4e0a\u89d2\u7684+\uff0c\u70b9\u51fb\u4e00\u952e\u914d\u7f6e\u7136\u540e\u624b\u673a\u8fde\u63a5\u4e00\u4e2a2.4g\u7684wifi\uff0c\u7136\u540e\u7b49\u5f85\u914d\u7f6e\u6210\u529f<\/p>\n

\n\t4\u3001\u6548\u679c<\/p>\n

\n\t\u5f00\u53d1\u677f\u8fd0\u884c\u6548\u679c<\/p>\n

\n\t\u8fd8\u53ef\u4ee5\u5728\u5b98\u7f51\u67e5\u770b\u6570\u636e\u53d8\u5316\u66f2\u7ebf<\/p>\n","protected":false},"excerpt":{"rendered":"

\u672c\u9879\u76ee\u901a\u8fc7 STM32 \u7684C8t6\u83b7\u53d6DHT11\u7684\u6e29\u6e7f\u5ea6\u6570\u636e\uff0c\u4ee5\u53ca\u7a7a\u6c14\u8d28\u91cf \u4f20\u611f\u5668 MQ135\uff0c\u901a\u8fc7\u4e00\u5757ESP8266\u6a21\u5757\u8fde\u63a5wifi\uff0c\u628a\u6570\u636e\u4e0a\u4f20\u5230\u673a\u667a\u4e91\u5e73\u53f0\uff0c\u53ef\u901a\u8fc7\u624b\u673aAPP\u67e5\u770b\u3002 1\u3001\u6a21\u5757\u51c6\u5907 \u4e00\u5757 STM32F103C 8T6\u4e00\u5757<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[],"_links":{"self":[{"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/posts\/3285"}],"collection":[{"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3285"}],"version-history":[{"count":0,"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/posts\/3285\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3285"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3285"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3285"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}