{"id":6898,"date":"2019-07-25T12:23:07","date_gmt":"2019-07-25T03:23:07","guid":{"rendered":"https:\/\/techclass.wfjydl.com\/?p=6898"},"modified":"2022-03-10T13:52:26","modified_gmt":"2022-03-10T05:52:26","slug":"%e7%94%a8arduino-uno%e5%88%b6%e4%bd%9c%e4%b8%80%e4%b8%aa%e6%99%ba%e8%83%bd%e7%9a%84%e8%87%aa%e5%8a%a8%e5%ae%a0%e7%89%a9%e5%96%82%e9%a3%9f%e5%99%a8","status":"publish","type":"post","link":"https:\/\/techclass.wfjydl.com\/knowledge\/deviceplus\/how-tos\/arduino\/make-a-smart-automatic-pet-feeder-with-arduino-uno","title":{"rendered":"\u7528Arduino Uno\u5236\u4f5c\u4e00\u4e2a\u667a\u80fd\u7684\u81ea\u52a8\u5ba0\u7269\u5582\u98df\u5668"},"content":{"rendered":"<div class=\u201cthe_content_wrapper\u201d>\n\u8fd9\u7bc7\u6587\u7ae0\u6765\u6e90\u4e8e<a href=\"https:\/\/www.deviceplus.com\/\">DevicePlus.com<\/a>\u82f1\u8bed\u7f51\u7ad9\u7684\u7ffb\u8bd1\u7a3f\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5245\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image04-2.jpg\" alt=\"automatic pet feeder\" width=\"700\" height=\"463\" srcset=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image04-2.jpg 700w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image04-2-300x198.jpg 300w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image04-2-221x146.jpg 221w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image04-2-50x33.jpg 50w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image04-2-113x75.jpg 113w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">\u4f60\u66fe\u61d2\u5f97\u5582\u4f60\u5bb6\u5ba0\u7269\u5417?\u6211\u4eec\u7231\u6211\u4eec\u7684\u5ba0\u7269\uff0c\u4f46\u6709\u65f6\u6211\u4eec\u4e5f\u5e0c\u671b\u80fd\u8ba9\u5582\u5ba0\u7269\u8fd9\u4ef6\u4e8b\u53d8\u5f97\u81ea\u52a8\u5316\u4e00\u70b9\u3002\u4eca\u5929\u6211\u4eec\u5c06\u4f7f\u7528Arduino Uno\u505a\u4e00\u4e2a\u667a\u80fd\u81ea\u52a8\u5ba0\u7269\u5582\u98df\u5668!\u8be5\u9879\u76ee\u7684\u4e3b\u8981\u7ec4\u4ef6\u5305\u62ec\u4e00\u4e2a\u7528\u6765\u8ffd\u8e2a\u65f6\u95f4\u3001\u7ba1\u7406\u5582\u517b\u8ba1\u5212\u7684RTC\u6a21\u5757\uff0c\u4e00\u4e2a\u7528\u6765\u76d1\u63a7\u98df\u7269\u6c34\u5e73\u7684\u8ddd\u79bb\u4f20\u611f\u5668\uff0c\u4e00\u4e2a\u7528\u6765\u533a\u5206\u767d\u5929\u9ed1\u591c\u7684\u5149\u654f\u4f20\u611f\u5668\uff0c\u4e00\u4e2a\u7528\u6765\u8bc6\u522b\u5ba0\u7269\u7684RFID\u3002\u597d\u4e86\uff01\u8ba9\u6211\u4eec\u5f00\u59cb\u5427!<\/span><\/p>\n<h2><b>\u786c\u4ef6<\/b><\/h2>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Arduino Uno<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">TEMT6000 \u5149\u654f\u4f20\u611f\u5668<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">GP2Y0A21YK \u590f\u666e\u8ddd\u79bb\u4f20\u611f\u5668<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">RFID MFRC522<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">\u8702\u9e23\u5668<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">SG90 \u7535\u673a<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">RTC DS1307<\/span><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h2><b>\u8f6f\u4ef6<\/b><\/h2>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Arduino IDE<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\"><a href=\"https:\/\/github.com\/todeilatiberia\/AutomaticFeeder\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/github.com\/todeilatiberia\/AutomaticFeeder<\/a><\/span><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h2><b>\u5de5\u5177<\/b><\/h2>\n<ul>\n<li><span style=\"font-weight: 400;\">\u74f6\u5b50(\u6216\u4efb\u4f55\u98df\u7269\u5bb9\u5668)<\/span><\/li>\n<li><span style=\"font-weight: 400;\">\u91d1\u5c5e\u677f 35&#215;25 \u5398\u7c73<\/span><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h2><b>\u7b2c1\u6b65:\u8fde\u63a5\u5149\u654f\u4f20\u611f\u5668<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">\u6211\u4eec\u4f7f\u7528SparkFun\u5149\u654f\u4f20\u611f\u5668TEMT6000\u6765\u68c0\u6d4b\u767d\u5929\u548c\u9ed1\u591c\u3002\u4e4b\u6240\u4ee5\u9700\u8981\u533a\u5206\u8fd9\u4e24\u8005\uff0c\u4e3b\u8981\u539f\u56e0\u662f\u56e0\u4e3a\u6211\u4eec\u8981\u786e\u5b9a\u4f55\u65f6\u9700\u8981\u6295\u653e\u98df\u7269\uff0c\u4e24\u6b21\u98df\u7269\u6295\u653e\u4e4b\u95f4\u9700\u8981\u95f4\u9694\u591a\u4e45\u3002TEMT6000\u5149\u654f\u4f20\u611f\u5668\u67093\u4e2a\u5f15\u811a:SIG,GND,VCC\u3002\u5c06\u8fd9\u4e2a\u4f20\u611f\u5668\u63a5\u5230Arduino\u677f\u4e0a\u7684\u6b65\u9aa4\u975e\u5e38\u7b80\u5355:VCC\u8fde\u63a5\u52305V\u5f15\u811a;GND\u5230\u677f\u4e0a\u7684GND\u5f15\u811a\uff0c\u7136\u540eSIG\u9700\u8981\u63a5\u5230\u6a21\u62df\u8f93\u5165\u4e0a\u3002\u6211\u9009\u62e9\u4e86A0\u5f15\u811a\u3002\u8f93\u51fa\u5f15\u811aSIG\u7684\u4f5c\u7528\u5c31\u597d\u50cf\u4e00\u4e2a\u6676\u4f53\u7ba1\uff0c\u56e0\u6b64\u5728\u4f20\u611f\u5668\u9644\u8fd1\u7684\u5149\u8d8a\u4eae\uff0c\u5f15\u811a\u8f93\u51fa\u7684\u7535\u538b\u5c31\u8d8a\u9ad8\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u4e0b\u56fe\u663e\u793a\u4e86TEMT6000\u611f\u77e5\u5230\u7684\u7535\u6d41\u548c\u7167\u5ea6\u4e4b\u95f4\u7684\u5173\u7cfb\u3002\u7167\u5ea6\u662f\u603b\u5149\u901a\u91cf(\u5373\u5149\u6e90\u53d1\u51fa\u7684\u53ef\u89c1\u5149,\u4ee5lm\u4e3a\u5355\u4f4d)\u9664\u4ee5\u9762\u79ef\uff08m\u00b2\uff09\u7684\u91cf\u5ea6\u3002\u4e00\u822c\u6765\u8bf4,1\u7167\u5ea6(Ix) = 1 \/ m\u00b2\u3002TEMT6000\u53ef\u4ee5\u8bc6\u522b\u5178\u578b\u7684\u4eba\u7c7b\u53ef\u89c1\u5149\u5149\u8c31\uff0c\u6ce2\u957f\u5728390-700\u7eb3\u7c73\u4e4b\u95f4\u3002<\/p>\n<p><span style=\"font-weight: 400;\">TEMT6000\u6280\u672f\u89c4\u683c\u4e66: <\/span><a href=\"https:\/\/www.sparkfun.com\/datasheets\/Sensors\/Imaging\/TEMT6000.pdf\" target=\"_blank\" rel=\"noopener noreferrer\"><span style=\"font-weight: 400;\">https:\/\/www.sparkfun.com\/datasheets\/Sensors\/Imaging\/TEMT6000.pdf<\/span><\/a><\/p>\n<div id=\"attachment_5246\" style=\"width: 683px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5246\" class=\"size-full wp-image-5246\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image05-2.jpg\" alt=\"automatic pet feeder\" width=\"673\" height=\"535\" srcset=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image05-2.jpg 673w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image05-2-300x238.jpg 300w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image05-2-184x146.jpg 184w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image05-2-50x40.jpg 50w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image05-2-94x75.jpg 94w\" sizes=\"auto, (max-width: 673px) 100vw, 673px\" \/><\/p>\n<p id=\"caption-attachment-5246\" class=\"wp-caption-text\">\u56fe1:\u96c6\u7535\u6781\u7535\u6d41vs\u7167\u5ea6\/\u00a9Sparkfun<\/p>\n<\/div>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<div id=\"attachment_5248\" style=\"width: 709px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5248\" class=\"size-full wp-image-5248\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image08-2-e1483204232773.jpg\" alt=\"automatic pet feeder\" width=\"699\" height=\"474\" srcset=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image08-2-e1483204232773.jpg 699w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image08-2-e1483204232773-300x203.jpg 300w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image08-2-e1483204232773-215x146.jpg 215w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image08-2-e1483204232773-50x34.jpg 50w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image08-2-e1483204232773-111x75.jpg 111w\" sizes=\"auto, (max-width: 699px) 100vw, 699px\" \/><\/p>\n<p id=\"caption-attachment-5248\" class=\"wp-caption-text\">\u56fe2:TEMT6000\u5149\u654f\u4f20\u611f\u5668\u4e0eArduino Uno\u7684\u63a5\u7ebf\u56fe<\/p>\n<\/div>\n<p>&nbsp;<\/p>\n<div id=\"attachment_5247\" style=\"width: 710px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5247\" class=\"size-full wp-image-5247\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image07-2.jpg\" alt=\"automatic pet feeder\" width=\"700\" height=\"525\" srcset=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image07-2.jpg 700w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image07-2-300x225.jpg 300w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image07-2-195x146.jpg 195w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image07-2-50x38.jpg 50w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image07-2-100x75.jpg 100w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/p>\n<p id=\"caption-attachment-5247\" class=\"wp-caption-text\">\u56fe3:TEMT6000\u548cArduino Uno\u4e4b\u95f4\u7684\u63a5\u7ebf\u56fe<\/p>\n<\/div>\n<p><span style=\"font-weight: 400;\">\u7531\u4e8e\u8be5\u4f20\u611f\u5668\u8fde\u63a5\u5728\u6a21\u62df\u5f15\u811a\u4e0a\uff0c\u800c\u6a21\u6570\u8f6c\u6362\u5668\u7684\u5206\u8fa8\u7387\u662f10\u4f4d\u7684\uff0c\u6240\u4ee5\u5176\u6700\u5927\u503c\u4e3a1023\u3002\u4f8b\u5982\uff0c\u5f53\u4f20\u611f\u5668\u63a5\u6536\u5230\u6765\u81ea\u6211\u624b\u673a\u95ea\u5149\u706f\u7684\u6700\u4eae\u7167\u5c04\u65f6\uff0c\u4ece\u4f20\u611f\u5668\u8bfb\u51fa\u7684\u503c\u5927\u7ea6\u662f1023\u3002<\/span><\/p>\n<div id=\"attachment_5250\" style=\"width: 656px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5250\" class=\"size-full wp-image-5250\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image10-1.jpg\" alt=\"automatic pet feeder\" width=\"646\" height=\"371\" srcset=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image10-1.jpg 646w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image10-1-300x172.jpg 300w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image10-1-254x146.jpg 254w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image10-1-50x29.jpg 50w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image10-1-131x75.jpg 131w\" sizes=\"auto, (max-width: 646px) 100vw, 646px\" \/><\/p>\n<p id=\"caption-attachment-5250\" class=\"wp-caption-text\">\u56fe4:Arduino\u663e\u793a\u4f20\u611f\u5668\u6700\u5927\u503c\u7684\u4e32\u53e3\u76d1\u89c6\u5668<\/p>\n<\/div>\n<p><b>\u5149\u654f\u4f20\u611f\u5668\u7684\u4ee3\u7801:<\/b><\/p>\n<p><!-- Crayon Syntax Highlighter v_2.7.2_beta --><\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism undefined-numbers lang-c\" data-lang=\"C\"><code>int lightSensor = 0;\r\n\r\nvoid setup() {\r\n\r\n&amp;nbsp;Serial.begin(9600);\r\n\r\n}\r\n\r\n\r\n\r\nvoid loop() {\r\n\r\n&amp;nbsp;int valueFromLightSensor = analogRead(lightSensor);\r\n\r\n&amp;nbsp;Serial.println(valueFromLightSensor);\r\n\r\n\r\n\r\n&amp;nbsp;delay(1000);\r\n\r\n}\r\n<\/code><\/pre>\n<\/div>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h2><b>\u7b2c2\u6b65:\u6dfb\u52a0\u8ddd\u79bb\u4f20\u611f\u5668<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">\u4e3a\u4e86\u6d4b\u91cf\u8ddd\u79bb\uff0c\u6211\u9009\u62e9\u4e86\u4e00\u4e2a\u6a21\u62df\u4f20\u611f\u5668(Sharp GP2Y0A21YK)\uff0c\u56e0\u4e3a\u4e0e\u5176\u4ed6\u8ddd\u79bb\u4f20\u611f\u5668\u76f8\u6bd4\uff0c\u5b83\u7684\u6548\u679c\u6700\u597d\u3002\u5176\u5de5\u4f5c\u539f\u7406\u5982\u4e0b:\u9996\u5148\u53d1\u51fa\u4e00\u4e2a\u4fe1\u53f7\uff0c\u5f53\u5b83\u53d1\u73b0\u8def\u4e0a\u6709\u969c\u788d\u7269\u65f6\uff0c\u5b83\u4e5f\u4f1a\u53d1\u56de\u4e00\u4e2a\u4fe1\u53f7(\u4e00\u4e2a\u7535\u538b\u503c\uff0c\u8be5\u7535\u538b\u503c\u968f\u969c\u788d\u7269\u7684\u8fdc\u8fd1\u800c\u53d8\u5316)\uff0c\u8fd9\u4e2a\u7535\u538b\u4f1a\u8f6c\u6362\u6210\u8ddd\u79bb\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">GP2Y0A21YK\u5c06\u88ab\u5b89\u7f6e\u5728\u98df\u7269\u5bb9\u5668\u4e0a\u65b9\uff0c\u5728\u5f00\u542f\u81ea\u52a8\u5582\u98df\u529f\u80fd\u524d\uff0c\u9700\u8981\u5148\u6d4b\u91cf\u74f6\u5b50\u91cc\u7684\u5269\u4f59\u7a7a\u95f4(\u5373\u98df\u7269\u7684\u591a\u5c11)\u3002\u6709\u4e86\u8fd9\u4e2a\u8ddd\u79bb\u4f20\u611f\u5668\uff0c\u7cfb\u7edf\u5c06\u68c0\u6d4b\u98df\u7269\u5bb9\u5668(\u6216\u74f6\u5b50)\u662f\u6ee1\u7684\u8fd8\u662f\u7a7a\u7684\u3002\u5177\u4f53\u5de5\u4f5c\u65b9\u5f0f\u5982\u4e0b:<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\"><b>\u8ddd\u79bb\u8f83\u5c0f:<\/b><span style=\"font-weight: 400;\"> \u81ea\u52a8\u7cfb\u7edf\u53ea\u4f1a\u589e\u52a0\u4e00\u5c0f\u90e8\u5206\u98df\u7269;<\/span><\/li>\n<li style=\"font-weight: 400;\"><b>\u4e2d\u7b49\u8ddd\u79bb:<\/b><span style=\"font-weight: 400;\"> \u60a8\u7684\u5ba0\u7269\u5c06\u83b7\u5f97\u4e00\u534a\u98df\u7269;<\/span><\/li>\n<li style=\"font-weight: 400;\"><b>\u8ddd\u79bb\u8f83\u5927:<\/b><span style=\"font-weight: 400;\"> \u81ea\u52a8\u7cfb\u7edf\u5c06\u6295\u5582\u5168\u90e8\u98df\u7269\u3002<\/span><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">\u8fd9\u91cc\u7684\u8ddd\u79bb\u8868\u793a\u4ece\u5b89\u88c5\u8ddd\u79bb\u4f20\u611f\u5668\u7684\u4f4d\u7f6e\u5230\u98df\u54c1\u5bb9\u5668\u5e95\u90e8\u7684\u8ddd\u79bb\u3002\u7531\u4e8e\u4f20\u611f\u5668\u7684\u91cf\u7a0b\u4e3a10-80 cm\uff0c\u6240\u4ee5\u4f20\u611f\u5668\u9700\u8981\u5728\u98df\u54c1\u5bb9\u5668\u9876\u90e8\u4ee5\u4e0a10cm\u5904\u624d\u80fd\u8bfb\u53d6\u6b63\u786e\u7684\u8ddd\u79bb\u503c\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u5982\u4f55\u786e\u5b9a\u4f20\u611f\u5668\u7684\u6700\u4f73\u62df\u5408\u7ebf:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u6458\u81ea <\/span><i><span style=\"font-weight: 400;\">Pololu.com<\/span><\/i><\/p>\n<p><span style=\"font-weight: 400;\">\u4f20\u611f\u5668\u7684\u8f93\u51fa\u7535\u538b\u4e0e\u6d4b\u91cf\u8ddd\u79bb\u7684\u5012\u6570\u4e4b\u95f4\u7684\u5173\u7cfb\u5728\u4f20\u611f\u5668\u7684\u53ef\u7528\u8303\u56f4\u5185\u8fd1\u4f3c\u7ebf\u6027\u3002\u60a8\u53ef\u4ee5\u4f7f\u7528\u6b64\u56fe\u5c06\u4f20\u611f\u5668\u8f93\u51fa\u7535\u538b\u8f6c\u6362\u4e3a\u4e00\u4e2a\u8fd1\u4f3c\u7684\u8ddd\u79bb\uff0c\u65b9\u6cd5\u662f\u521b\u5efa\u4e00\u6761\u6700\u4f73\u62df\u5408\u7ebf\uff0c\u5c06\u8f93\u51fa\u7535\u538b(V)\u7684\u5012\u6570\u4e0e\u8ddd\u79bb(cm)\u8054\u7cfb\u8d77\u6765\u3002\u7ebf\u6027\u5316\u65b9\u7a0b\u7684\u6700\u7b80\u5f62\u5f0f\u53ef\u4ee5\u8868\u8ff0\u4e3a\u5230\u53cd\u5c04\u7269\u4f53\u7684\u8ddd\u79bb\u7ea6\u7b49\u4e8e\u4e00\u4e2a\u5e38\u6570\u5c3a\u5ea6\u56e0\u5b50(~ 27v *cm)\u9664\u4ee5\u4f20\u611f\u5668\u7684\u8f93\u51fa\u7535\u538b\u4e4b\u540e\u7684\u6570\u503c\u3002\u56e0\u6b64\u589e\u52a0\u4e00\u4e2a\u6052\u5b9a\u7684\u8ddd\u79bb\u504f\u79fb\u91cf\u5e76\u4fee\u6539\u7f29\u653e\u56e0\u5b50\u53ef\u4ee5\u6539\u5584\u8fd9\u6761\u7ebf\u7684\u62df\u5408\u3002<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<div id=\"attachment_5249\" style=\"width: 310px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5249\" class=\"size-full wp-image-5249\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image09-2.jpg\" alt=\"automatic pet feeder\" width=\"300\" height=\"290\" srcset=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image09-2.jpg 300w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image09-2-151x146.jpg 151w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image09-2-50x48.jpg 50w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image09-2-78x75.jpg 78w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p id=\"caption-attachment-5249\" class=\"wp-caption-text\">\u56fe5:\u8ddd\u79bb\u4f20\u611f\u5668\u7684\u7279\u6027 \/ \u00a9Pololu.com<\/p>\n<\/div>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">\u6458\u81ea <\/span><i><span style=\"font-weight: 400;\">Phidgets.com<\/span><\/i><\/p>\n<p><span style=\"font-weight: 400;\">\u57fa\u4e8e\u590f\u666e\u7684\u201c\u5178\u578b\u503c\u201d\uff0c\u5c06\u4f20\u611f\u5668\u503c\u8f6c\u6362\u4e3a\u8ddd\u79bb\u7684\u516c\u5f0f(\u516c\u5f0f\u4ec5\u9002\u7528\u4e8e\u4f20\u611f\u5668\u503c\u572880 &#8211; 500\u4e4b\u95f4)\u4e3a:<\/span><\/p>\n<p><b>\u8ddd\u79bb (cm) = 4800\/(\u4f20\u611f\u5668\u503c &#8211; 20)<\/b><\/p>\n<p><span style=\"font-weight: 400;\">\u8fd9\u79cd\u4f20\u611f\u5668\u53ef\u4ee5\u627e\u5230\u79bb\u7269\u4f53\u7684\u8ddd\u79bb\uff0c\u8fd9\u4e9b\u7269\u4f53\u5448\u73b0\u51fa\u975e\u5e38\u7a84\u7684\u8fb9\u7f18\uff0c\u6bd4\u5982\u89d2\u5ea6\u975e\u5e38\u5c16\u9510\u7684\u5899\u58c1\u3002<\/span><\/p>\n<p><b>\u6ce8: <\/b><span style=\"font-weight: 400;\">\u8be5\u4f20\u611f\u5668\u7684\u8f93\u51fa\u56e0\u5355\u5143\u800c\u5f02\uff0c\u5e76\u53d6\u51b3\u4e8e\u76ee\u6807\u7684\u7279\u6027(\u53cd\u5c04\u7387\u3001\u5c3a\u5bf8\u3001\u8fd0\u52a8\u65b9\u5411\u3001\u76ee\u6807\u5bf9\u51c6)\u3002<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<div id=\"attachment_5252\" style=\"width: 710px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5252\" class=\"size-full wp-image-5252\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image12-2.jpg\" alt=\"automatic pet feeder\" width=\"700\" height=\"352\" srcset=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image12-2.jpg 700w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image12-2-300x151.jpg 300w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image12-2-260x131.jpg 260w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image12-2-50x25.jpg 50w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image12-2-150x75.jpg 150w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/p>\n<p id=\"caption-attachment-5252\" class=\"wp-caption-text\">\u56fe6:\u590f\u666eGP2Y0A21YK\u4e0eUno\u4e4b\u95f4\u7684\u63a5\u7ebf\u56fe<\/p>\n<\/div>\n<p>&nbsp;<\/p>\n<div id=\"attachment_5251\" style=\"width: 710px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5251\" class=\"size-full wp-image-5251\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image11-2.jpg\" alt=\"automatic pet feeder\" width=\"700\" height=\"525\" srcset=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image11-2.jpg 700w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image11-2-300x225.jpg 300w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image11-2-195x146.jpg 195w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image11-2-50x38.jpg 50w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image11-2-100x75.jpg 100w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/p>\n<p id=\"caption-attachment-5251\" class=\"wp-caption-text\">\u56fe7:\u590f\u666e\u8ddd\u79bb\u4f20\u611f\u5668\u3001TEMT6000\u3001Uno\u4e4b\u95f4\u7684\u63a5\u7ebf\u56fe<\/p>\n<\/div>\n<p>&nbsp;<\/p>\n<p><b>\u4ee3\u7801:<\/b><\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism undefined-numbers lang-c\" data-lang=\"C\"><code>int lightSensor = 0;\r\n\r\nint distanceSensor=1;\r\n\r\n\r\n\r\nvoid setup() {\r\n\r\n Serial.begin(9600);\r\n\r\n}\r\n\r\n\r\n\r\nvoid loop() {\r\n\r\n int valueFromLightSensor = analogRead(lightSensor);\r\n\r\n Serial.print(\"Light Value= \");\r\n\r\n Serial.print(valueFromLightSensor);\r\n\r\n Serial.println(\"\");\r\n\r\n Serial.print(\"Distance Value= \");\r\n\r\n int valueFromDistanceSensor = analogRead(distanceSensor);\r\n\r\n int distance= 4800\/(valueFromDistanceSensor - 20);\r\n\r\n Serial.print(distance);\r\n\r\n\r\n\r\n delay(1000);\r\n\r\n}\r\n<\/code><\/pre>\n<\/div>\n<p>&nbsp;<\/p>\n<h2><b>\u7b2c3\u6b65: \u786e\u5b9a\u65f6\u95f4<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">RTC DS1307\u6a21\u578b\u5c06\u88ab\u7528\u6765\u786e\u5b9a\u65f6\u95f4\u3002\u4e00\u4e2a\u5b9e\u65f6\u7684\u65f6\u949f\u7cfb\u7edf\u627f\u62c5\u4e86\u786e\u5b9a\u65f6\u95f4\u7684\u529f\u80fd\u3002\u8be5\u7535\u8def\u57fa\u4e8e\u4e00\u4e2a\u9891\u7387\u4e3a32.768 kHz\u7684\u6676\u4f53\u632f\u8361\u5668\u5c55\u5f00\u5de5\u4f5c\u3002\u5176\u539f\u7406\u4e0e\u624b\u8868\u7c7b\u4f3c\u3002\u4e00\u4e2a\u57fa\u4e8e\u6676\u4f53\u632f\u52a8\u7684\u673a\u68b0\u5171\u632f\u7684\u7535\u5b50\u632f\u8361\u5668\u80fd\u4ea7\u751f\u7cbe\u786e\u7684\u9891\u7387\u3002\u6b64\u9891\u7387\u7528\u6765\u8ffd\u8e2a\u6e90\u81ea\u8ba1\u7b97\u673a\u7684\u65e5\u671f\u548c\u65f6\u95f4\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u8fd9\u662f\u4e00\u4e2a\u5b9e\u7528\u6a21\u5757\uff0c\u5373\u4f7f\u5728\u7cfb\u7edf\u5173\u95ed\u65f6\uff0c\u4e0a\u9762\u6240\u914d\u5907\u7684\u7535\u6c60\u4e5f\u80fd\u4fdd\u8bc1\u7cfb\u7edf\u5de5\u4f5c\u7684\u8fde\u7eed\u6027\u3002<\/span><\/p>\n<p>&nbsp;<\/p>\n<div id=\"attachment_5255\" style=\"width: 710px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5255\" class=\"size-full wp-image-5255\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image15-1.jpg\" alt=\"automatic pet feeder\" width=\"700\" height=\"418\" srcset=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image15-1.jpg 700w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image15-1-300x179.jpg 300w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image15-1-244x146.jpg 244w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image15-1-50x30.jpg 50w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image15-1-126x75.jpg 126w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/p>\n<p id=\"caption-attachment-5255\" class=\"wp-caption-text\">\u56fe8:RTC\u6a21\u5757\u63a5\u7ebf\u56fe<\/p>\n<\/div>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<div id=\"attachment_5253\" style=\"width: 710px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5253\" class=\"size-full wp-image-5253\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image13-2.jpg\" alt=\"automatic pet feeder\" width=\"700\" height=\"525\" srcset=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image13-2.jpg 700w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image13-2-300x225.jpg 300w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image13-2-195x146.jpg 195w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image13-2-50x38.jpg 50w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image13-2-100x75.jpg 100w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/p>\n<p id=\"caption-attachment-5253\" class=\"wp-caption-text\">\u56fe9:RTC\u3001\u590f\u666e\u8ddd\u79bb\u4f20\u611f\u5668\u3001TEMT6000\u3001Uno\u4e4b\u95f4\u7684\u63a5\u7ebf\u56fe<\/p>\n<\/div>\n<p><span style=\"font-weight: 400;\">\u4e3a\u4e86\u83b7\u5f97\u6700\u4f73\u7684\u4f7f\u7528\u6548\u679c\uff0c\u9700\u8981\u4e3a\u6a21\u5757\u6dfb\u52a0\u4e24\u4e2a\u5e93\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u8fd9\u4e24\u4e2a\u5e93\u53ef\u4ee5\u5728\u6211\u7684\u7f51\u5740 <\/span><a href=\"https:\/\/github.com\/todeilatiberia\/AutomaticFeeder\" target=\"_blank\" rel=\"noopener noreferrer\"><span style=\"font-weight: 400;\">https:\/\/github.com\/todeilatiberia\/AutomaticFeeder<\/span><\/a><span style=\"font-weight: 400;\">\u4e0a\u627e\u5230:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">DS1307RTC<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">\u65f6\u95f4<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">\u8fde\u63a5\u7ebf(\u8fd9\u4e2a\u5e93\u5df2\u7ecf\u5305\u542b\u5728Arduino IDE\u4e2d\uff0c\u56e0\u6b64\u6dfb\u52a0\u8d77\u6765\u5f88\u5bb9\u6613)<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">\u6211\u4eec\u5c06\u8fd0\u884c\u4e00\u4e2a\u6d4b\u8bd5\u4ee3\u7801\u6765\u68c0\u6d4b\u6a21\u5757\u3002\u5f53\u6211\u4eec\u5c06\u7a0b\u5e8f\u4e0a\u4f20\u5230Arduino board\u65f6\uff0c\u4e32\u53e3\u76d1\u89c6\u5668\u4f1a\u663e\u793a\u5f53\u524d\u7684\u65e5\u671f\u548c\u65f6\u95f4\u3002\u8fd9\u4e24\u4e2a\u5e93\u6709\u4e00\u4e2a\u7528\u4e8e\u67e5\u627e\u65e5\u671f\u548c\u65f6\u95f4\u7684\u793a\u4f8b\u4ee3\u7801\uff0c\u79f0\u4e3a <\/span><b>\u201cSetTime\u201d\u3002 <\/b><\/p>\n<p><span style=\"font-weight: 400;\">\u627e\u51fa\u8bbe\u7f6e\u65f6\u95f4:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u70b9\u51fb Arduino IDE \u2192 \u6587\u4ef6 \u2192 \u793a\u4f8b \u2192 DS1307RTC \u2192 \u8bbe\u7f6e\u65f6\u95f4<\/span><\/p>\n<div id=\"attachment_5254\" style=\"width: 710px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5254\" class=\"size-full wp-image-5254\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image14-1.jpg\" alt=\"automatic pet feeder\" width=\"700\" height=\"536\" srcset=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image14-1.jpg 700w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image14-1-300x230.jpg 300w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image14-1-191x146.jpg 191w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image14-1-50x38.jpg 50w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image14-1-98x75.jpg 98w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/p>\n<p id=\"caption-attachment-5254\" class=\"wp-caption-text\">\u56fe10:\u5728Arduino IDE\u4e0a\u67e5\u627e\u8bbe\u7f6e\u65f6\u95f4<\/p>\n<\/div>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">\u5728\u56fe11\u4e2d\uff0c\u60a8\u5c06\u770b\u5230\u6a21\u5757\u5728\u663e\u793a\u5f53\u524d\u65e5\u671f\u548c\u65f6\u95f4\u65f6\u6b63\u5e38\u5de5\u4f5c\u3002<\/span><\/p>\n<div id=\"attachment_5256\" style=\"width: 710px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5256\" class=\"size-full wp-image-5256\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image16-1.jpg\" alt=\"automatic pet feeder\" width=\"700\" height=\"394\" srcset=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image16-1.jpg 700w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image16-1-300x169.jpg 300w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image16-1-260x146.jpg 260w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image16-1-50x28.jpg 50w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image16-1-133x75.jpg 133w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/p>\n<p id=\"caption-attachment-5256\" class=\"wp-caption-text\">\u56fe11: \u6b63\u786e\u663e\u793a\u5f53\u524d\u7684\u65e5\u671f\u548c\u65f6\u95f4<\/p>\n<\/div>\n<p><span style=\"font-weight: 400;\">\u5728\u8fd9\u91cc\uff0c\u6211\u4eec\u5c06\u53ea\u6d4b\u91cf\u5c0f\u65f6\u7684\u8fd0\u884c\u60c5\u51b5\u3002\u4e3a\u6b64\uff0c\u6211\u4eec\u9700\u8981\u4eceRTC\u6a21\u5757\u4e2d\u63d0\u53d6\u786e\u5207\u7684\u65f6\u95f4\u3002\u8fd9\u5c06\u901a\u8fc7\u540d\u4e3a<\/span><b>\u201csetSyncProvider(RTC.get)\u201d<\/b><span style=\"font-weight: 400;\">\u7684RTC\u7b80\u5355\u51fd\u6570\u6765\u5b8c\u6210\u3002\u5728\u5b9e\u73b0\u6b64\u529f\u80fd\u540e\uff0c\u60a8\u5c06\u80fd\u591f\u540c\u65f6\u770b\u5230\u4e32\u53e3\u76d1\u89c6\u5668\u4e0a\u7684\u5c0f\u65f6\u6570\u4ee5\u53ca\u8ddd\u79bb\u4f20\u611f\u5668\u548c\u5149\u654f\u4f20\u611f\u5668\u4e0a\u7684\u6570\u503c\u3002<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><b>\u4ee3\u7801:<\/b><\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism undefined-numbers lang-c\" data-lang=\"C\"><code>#include &lt;Time.h&gt;\r\n\r\n#include &lt;Wire.h&gt;\r\n\r\n#include &lt;DS1307RTC.h&gt;\r\n\r\n\r\n\r\nint lightSensor = 0;\r\n\r\nint distanceSensor=1;\r\n\r\n\r\n\r\nvoid setup() {\r\n\r\n Serial.begin(9600);\r\n\r\n setSyncProvider(RTC.get);\r\n\r\n}\r\n\r\n\r\n\r\n\r\n\r\nvoid loop() {\r\n\r\n int valueFromLightSensor = analogRead(lightSensor);\r\n\r\n Serial.print(\"Light Value= \");\r\n\r\n Serial.print(valueFromLightSensor);\r\n\r\n Serial.println(\"\");\r\n\r\n Serial.print(\"Distance Value= \");\r\n\r\n int valueFromDistanceSensor = analogRead(distanceSensor);\r\n\r\n int distance= 4800\/(valueFromDistanceSensor - 20);\r\n\r\n Serial.println(distance);\r\n\r\n \r\n\r\n Serial.print(\"Hour= \");\r\n\r\n Serial.println(hour());\r\n\r\n delay(1000);\r\n\r\n \r\n\r\n}\r\n<\/code><\/pre>\n<\/div>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<div id=\"attachment_5257\" style=\"width: 662px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5257\" class=\"size-full wp-image-5257\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image17-1.jpg\" alt=\"Figure 12: Hour displayed\" width=\"652\" height=\"343\" srcset=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image17-1.jpg 652w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image17-1-300x158.jpg 300w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image17-1-260x137.jpg 260w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image17-1-50x26.jpg 50w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2016\/12\/image17-1-143x75.jpg 143w\" sizes=\"auto, (max-width: 652px) 100vw, 652px\" \/><\/p>\n<p id=\"caption-attachment-5257\" class=\"wp-caption-text\">\u56fe12:\u6240\u663e\u793a\u7684\u5c0f\u65f6<\/p>\n<\/div>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/techclass.wfjydl.com\/knowledge\/deviceplus\/how-tos\/arduino\/make-a-smart-automatic-pet-feeder-with-arduino-uno-cont\"><strong>\u7ee7\u7eed\u9605\u8bfb &gt;<\/strong><\/a><\/p>\n<div class=\"author-box-wrapper\">\n<div class=\"avatar-wrapper\">\n\t\t<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/micro.wfjydl.com\/deviceplus\/wp-content\/uploads\/2019\/03\/Tiberia-Todeila_avatar_1496261149-64x64.jpg\" width=\"64\" height=\"64\" alt=\"DevicePlus \u7f16\u8f91\u56e2\u961f\">\n\t<\/div>\n<div class=\"desc-wrapper\">\n<h5>Tiberia Todeila<\/h5>\n<div class=\"desc\">\n<p>Tiberia\u76ee\u524d\u662f\u5e03\u52a0\u52d2\u65af\u7279\u7406\u5de5\u5927\u5b66\u7535\u6c14\u5de5\u7a0b\u5b66\u9662\u7684\u5927\u56db\u5b66\u751f\u3002\u5979\u975e\u5e38\u70ed\u8877\u4e8e\u667a\u80fd\u5bb6\u5c45\u8bbe\u5907\u7684\u8bbe\u8ba1\u548c\u5f00\u53d1\uff0c\u65e8\u5728\u8ba9\u6211\u4eec\u7684\u65e5\u5e38\u751f\u6d3b\u66f4\u52a0\u8f7b\u677e\u3002<\/p>\n<\/div><\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"\u8fd9\u7bc7\u6587\u7ae0\u6765\u6e90\u4e8eDevicePlus.com\u82f1\u8bed\u7f51\u7ad9\u7684\u7ffb\u8bd1\u7a3f\u3002 &nbsp; \u4f60\u66fe\u61d2\u5f97\u5582\u4f60\u5bb6\u5ba0\u7269\u5417?\u6211\u4eec\u7231\u6211\u4eec\u7684\u5ba0\u7269\uff0c\u4f46\u6709\u65f6\u6211\u4eec\u4e5f\u5e0c\u671b\u80fd\u8ba9\u5582\u5ba0\u7269\u8fd9\u4ef6\u4e8b\u53d8\u5f97\u81ea\u52a8\u5316\u4e00\u70b9\u3002\u4eca\u5929\u6211\u4eec\u5c06\u4f7f\u7528Arduino Uno\u505a\u4e00\u4e2a\u667a\u80fd\u81ea\u52a8\u5ba0\u7269\u5582 [&hellip;]","protected":false},"author":3,"featured_media":16948,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1130],"tags":[],"class_list":["post-6898","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-arduino"],"acf":[],"wps_subtitle":"","_links":{"self":[{"href":"https:\/\/techclass.wfjydl.com\/wp-json\/wp\/v2\/posts\/6898","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techclass.wfjydl.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techclass.wfjydl.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techclass.wfjydl.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/techclass.wfjydl.com\/wp-json\/wp\/v2\/comments?post=6898"}],"version-history":[{"count":9,"href":"https:\/\/techclass.wfjydl.com\/wp-json\/wp\/v2\/posts\/6898\/revisions"}],"predecessor-version":[{"id":16946,"href":"https:\/\/techclass.wfjydl.com\/wp-json\/wp\/v2\/posts\/6898\/revisions\/16946"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techclass.wfjydl.com\/wp-json\/wp\/v2\/media\/16948"}],"wp:attachment":[{"href":"https:\/\/techclass.wfjydl.com\/wp-json\/wp\/v2\/media?parent=6898"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techclass.wfjydl.com\/wp-json\/wp\/v2\/categories?post=6898"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techclass.wfjydl.com\/wp-json\/wp\/v2\/tags?post=6898"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}