{"id":12237,"date":"2021-09-10T16:56:59","date_gmt":"2021-09-10T08:56:59","guid":{"rendered":"https:\/\/www.circuspi.com\/?p=12237"},"modified":"2023-03-25T10:11:06","modified_gmt":"2023-03-25T02:11:06","slug":"arduino-variable-resistance","status":"publish","type":"post","link":"https:\/\/www.circuspi.com\/index.php\/2021\/09\/10\/arduino-variable-resistance\/","title":{"rendered":"Arduino \u8abf\u7bc0&#038;\u63a7\u5236\u5c08\u6848- \u53ef\u8b8a\u96fb\u963b\u6a21\u7d44(\u9644\u7bc4\u4f8b\u7a0b\u5f0f)"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1500\" height=\"790\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2021\/09\/20210414-\u53ef\u8b8a\u96fb\u963b_o.jpg\" alt=\"\" class=\"wp-image-12239\"\/><\/figure>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;p>&lt;style>\r\n\/* ###\u5be6\u9a57\u4e0b\u4e00\u5217### *\/\r\n\r\na:link {color:#0695e4\r\n;}    \/* \u8a2d\u5b9a\u5c1a\u672a\u9ede\u95b1\u904e\u7684\u9023\u7d50\u6a23\u5f0f *\/\r\na:visited {color:#0695e4\r\n;} \/* \u8a2d\u5b9a\u904e\u53bb\u66fe\u7d93\u95b1\u904e\u7684\u9023\u7d50 *\/\r\na:hover {color:#0695e4\r\n;}   \/* \u8a2d\u5b9a\u6ed1\u9f20\u6e38\u6a19\u6307\u5728\u9023\u7d50\u4f4d\u7f6e\u4e0a\u7684\u6a23\u5f0f *\/\r\na:active {color:#0000BB;}  \/* \u8a2d\u5b9a\u4e0a\u9ede\u64ca\u904e\u7684\u9023\u7d50\u6a23\u5f0f *\/\r\n&lt;\/style>&lt;\/p><\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u53ef\u8b8a\u96fb\u963b\u6a21\u7d44\u5546\u54c1\u7c21\u4ecb<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"936\" height=\"936\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2021\/09\/368112100101-\u53ef\u8b8a\u96fb\u963b.jpg\" alt=\"\" class=\"wp-image-12240\"\/><\/figure>\n\n\n\n<p>\u6b64\u6a21\u7d44\u70ba10K\u6b50\u59c6\u7684\u53ef\u8b8a\u96fb\u963b\uff0c\u65cb\u8f49\u89d2\u5ea6\u662f270\u5ea6\uff0c\u53ef\u7576\u4f5c\u624b\u52d5\u53ef\u8abf\u8a0a\u865f\u3002\u900f\u904e\u65cb\u8f49\u6539\u8b8a\u96fb\u963b\u503c\uff0c\u7d93\u7531\u7a0b\u5f0f\u8f49\u63db\uff0c\u53ef\u7528\u65bc\u63a7\u5236\u88dd\u7f6e\u8f38\u51fa\u91cf\u7684\u8abf\u7bc0\u6216\u662f\u63a7\u5236\u4f4d\u7f6e\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u7bc4\u4f8b\u8aaa\u660e<\/strong><\/h2>\n\n\n\n<p>\u672c\u7bc4\u4f8b\u4f7f\u7528 Arduino Uno Rev3(\u539f\u88dd) \uff0c\u9023\u63a5 Circus\u53ef\u8abf\u96fb\u963b\u6a21\u7d44\uff0c\u6bcf 500 \u6beb\u79d2\u53ef\u5f9e\u5e8f\u5217\u57e0\u76e3\u63a7\u8996\u7a97\u5370\u51fa\u53ef\u8abf\u96fb\u963b\u7684\u6578\u503c\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u4f7f\u7528\u8a2d\u5099<\/strong><\/h2>\n\n\n\n<ol type=\"1\"><li><a href=\"https:\/\/www.icshop.com.tw\/product-page.php?20369\" target=\"_blank\" rel=\"noreferrer noopener\">Arduino Uno Rev3(\u539f\u88dd)<\/a><\/li><\/ol>\n\n\n\n<p>2. <a href=\"https:\/\/www.icshop.com.tw\/product-page.php?28308\" target=\"_blank\" rel=\"noreferrer noopener\">Circus \u53ef\u8b8a\u96fb\u963b\u6a21\u7d44-\u55ae\u677f _\u6392\u91dd<\/a><br>\u53ef\u8abf\u96fb\u963b\u8b80\u53d6\u51fa\u4f86\u7684\u6578\u503c\u70ba\u985e\u6bd4\u6578\u503c\uff0c\u56e0\u6b64\u9700\u8981\u63a5\u5728 Ardiono \u7684\u985e\u6bd4\u8a0a\u865f\u8173\u4f4d(A0 ~ A5)\u3002\u672c\u7bc4\u4f8b\u4e2d\u7684\u985e\u6bd4\u8a0a\u865f\u8173\u4f4d\u8a2d\u70ba \u300cA0\u300d \u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u63a5\u7dda\u5716<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"554\" height=\"554\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2021\/09\/image-5.png\" alt=\"\" class=\"wp-image-12241\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><br><strong>Arduino&nbsp;\u7a0b\u5f0f\u64b0\u5beb\u7bc4\u4f8b<\/strong><\/h2>\n\n\n\n<p>\u672c\u64b0\u5beb\u7bc4\u4f8b\u5c07\u6703\u6709\u5169\u500b\u6b65\u9a5f<br>1. \u7a0b\u5f0f\u78bc\u64b0\u5beb<br>2. \u986f\u793a\u53ef\u8abf\u96fb\u963b\u6578\u503c<\/p>\n\n\n\n<p><strong>1.&nbsp;\u7a0b\u5f0f\u78bc\u64b0\u5beb<\/strong><br><a href=\"https:\/\/github.com\/CIRCUSPi\/CIRCUSPi_module\/blob\/master\/%E5%8F%AF%E8%AA%BF%E9%9B%BB%E9%98%BB\/VR\/VR.ino\" target=\"_blank\" rel=\"noreferrer noopener\">\u76f8\u95dc\u7a0b\u5f0f\u78bc\u8acb\u9ede\u64ca\u6b64\u9023\u7d50<\/a><br><strong>2.&nbsp;\u8b80\u53d6\u53ef\u8abf\u96fb\u963b\u6578\u503c<\/strong><br>2-1. \u958b\u555f Arduino \u5e8f\u5217\u90e8\u76e3\u63a7\u8996\u7a97( \u9ede\u64ca\u7d05\u6846\u8655 )<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"519\" height=\"272\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2021\/09\/image-6.png\" alt=\"\" class=\"wp-image-12242\"\/><\/figure>\n\n\n\n<p>2-2. \u78ba\u8a8d\u5e8f\u5217\u90e8\u76e3\u63a7\u8996\u7a97\u7684 baud(\u7d05\u6846\u8655) \u662f\u5426\u8207\u7a0b\u5f0f\u78bc\u8a2d\u5b9a\u7684 baud\u76f8\u540c\u3002\u82e5\u5169\u8005\u7686\u76f8\u540c\u5373\u53ef\u958b\u59cb\u76e3\u63a7\u53ef\u8abf\u96fb\u963b\u7684\u6578\u503c\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"348\" height=\"335\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2021\/09\/image-7.png\" alt=\"\" class=\"wp-image-12243\"\/><\/figure>\n\n\n\n<p><strong>\u5546\u54c1\u898f\u683c<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table is-style-stripes\"><table><tbody><tr><td class=\"has-text-align-center\" data-align=\"center\"><strong>\u4f9b\u96fb\u96fb\u58d3<\/strong><\/td><td class=\"has-text-align-center\" data-align=\"center\">3.3 ~ 5V DC<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\"><strong>\u96fb\u963b<\/strong><\/td><td class=\"has-text-align-center\" data-align=\"center\">10K Ohm<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\"><strong>\u8f38\u51fa<\/strong><\/td><td class=\"has-text-align-center\" data-align=\"center\">\u985e\u6bd4\u4fe1\u865f<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Arduino&nbsp;\u7a0b\u5f0f\u64b0\u5beb\u7bc4\u4f8b<\/strong><\/h2>\n\n\n\n<div style=\"overflow: auto; height: 500px; background-color: #0000;\"><script src=\"https:\/\/gist.github.com\/CIRCUSPi\/f4f0eb06c92ef87a2e34e43c8313fce0.js\"><\/script>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u53ef\u8b8a\u96fb\u963b\u6a21\u7d44\u5546\u54c1\u7c21\u4ecb \u6b64\u6a21\u7d44\u70ba10K\u6b50\u59c6\u7684\u53ef\u8b8a\u96fb\u963b\uff0c\u65cb\u8f49\u89d2\u5ea6\u662f270\u5ea6\uff0c\u53ef\u7576\u4f5c\u624b\u52d5\u53ef\u8abf\u8a0a\u865f\u3002\u900f\u904e\u65cb\u8f49\u6539\u8b8a\u96fb\u963b\u503c [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":12239,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20,238,55],"tags":[23],"table_tags":[],"_links":{"self":[{"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/posts\/12237"}],"collection":[{"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/comments?post=12237"}],"version-history":[{"count":2,"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/posts\/12237\/revisions"}],"predecessor-version":[{"id":12249,"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/posts\/12237\/revisions\/12249"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/media\/12239"}],"wp:attachment":[{"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/media?parent=12237"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/categories?post=12237"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/tags?post=12237"},{"taxonomy":"table_tags","embeddable":true,"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/table_tags?post=12237"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}