{"id":1229,"date":"2019-06-14T22:14:08","date_gmt":"2019-06-14T14:14:08","guid":{"rendered":"http:\/\/chou-dan.com\/?p=1229"},"modified":"2026-01-13T10:08:53","modified_gmt":"2026-01-13T02:08:53","slug":"s17_reed_switch%e7%a3%81%e7%b0%a7%e9%96%8b%e9%97%9c","status":"publish","type":"post","link":"https:\/\/cfnavi.org\/aitech\/s17_reed_switch%e7%a3%81%e7%b0%a7%e9%96%8b%e9%97%9c\/","title":{"rendered":"S17_Reed_Switch(\u78c1\u7c27\u958b\u95dc)"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">\u3010\u8aaa\u660e\u3011<\/h3>\n\n\n\n<p>\u793a\u7bc4\u78c1\u7c27\u611f\u6e2c\u958b\u95dc\u6a21\u7d44 (Reed Switch Module) \u7684\u61c9\u7528<br>\u7576\u78c1\u9435\u63a5\u8fd1\u78c1\u7c27\u611f\u6e2c\u958b\u95dc\u6a21\u7d44\u6642\uff0cDO \u56de\u50b3 1 \u958b\u555f LED\uff0c<br>\u7576\u78c1\u9435\u9054\u96e2\u78c1\u7c27\u611f\u6e2c\u958b\u95dc\u6a21\u7d44\u6642\uff0cDO \u56de\u50b3 0 \u958b\u9589 LED\u3002\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u3010\u96f6\u4ef6\u8868\u3011<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>No.<\/strong><\/td><td><strong>\u96f6\u4ef6\u540d\u7a31<\/strong><\/td><td><strong>\u6578\u91cf<\/strong><\/td><\/tr><tr><td><strong>1<\/strong><\/td><td>LCD1602_I2C<\/td><td>1<\/td><\/tr><tr><td><strong>2<\/strong><\/td><td>S17_Reed_Switch<\/td><td>1<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">\u3010\u96f6\u4ef6\u63a5\u8173\u3011<\/h3>\n\n\n\n<p>\u8acb\u53c3\u8003 \u300c<a href=\"https:\/\/cfnavi.org\/aitech\/lcd1602_i2c-%e9%a1%af%e7%a4%ba%e5%99%a8\/\" target=\"_blank\" rel=\"noreferrer noopener sponsored nofollow\">LCD1602_I2C \u986f\u793a\u5668<\/a>\u300d \u63a5\u8173\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>No.<\/strong><\/td><td><strong>\u96f6\u4ef6\u63a5\u8173<\/strong><\/td><td><strong>UNO R3 \u63a5\u8173<\/strong><\/td><\/tr><tr><td>1<\/td><td>AO (Analog Output)<\/td><td>\u4e0d\u4f7f\u7528<\/td><\/tr><tr><td>2<\/td><td>G (Ground)<\/td><td>GND<\/td><\/tr><tr><td>3<\/td><td>+ (Vcc)<\/td><td>Vcc<\/td><\/tr><tr><td>4<\/td><td>DO (Digital Output)<\/td><td>D7<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">\u3010\u6309\u7dda\u5716\u3011<\/h3>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1941\" height=\"1209\" src=\"https:\/\/hpcgoblog.wordpress.com\/wp-content\/uploads\/2019\/06\/s17_reed_switch.png?w=1024\" alt=\"\" class=\"wp-image-1230\" srcset=\"https:\/\/cfnavi.org\/aitech\/wp-content\/uploads\/2019\/06\/s17_reed_switch.png 1941w, https:\/\/cfnavi.org\/aitech\/wp-content\/uploads\/2019\/06\/s17_reed_switch-300x187.png 300w, https:\/\/cfnavi.org\/aitech\/wp-content\/uploads\/2019\/06\/s17_reed_switch-1024x638.png 1024w, https:\/\/cfnavi.org\/aitech\/wp-content\/uploads\/2019\/06\/s17_reed_switch-768x478.png 768w, https:\/\/cfnavi.org\/aitech\/wp-content\/uploads\/2019\/06\/s17_reed_switch-1536x957.png 1536w\" sizes=\"auto, (max-width: 1941px) 100vw, 1941px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">\u3010\u7a0b\u5f0f\u78bc\u3011<\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\">\/*<br> * \u793a\u7bc4\u78c1\u7c27\u611f\u6e2c\u958b\u95dc\u6a21\u7d44 (Reed Switch Module) \u7684\u61c9\u7528<br> * \u7576\u78c1\u9435\u63a5\u8fd1\u78c1\u7c27\u611f\u6e2c\u958b\u95dc\u6a21\u7d44\u6642\uff0cDO \u56de\u50b3 1 \u958b\u555f LED\uff0c<br> * \u7576\u78c1\u9435\u9054\u96e2\u78c1\u7c27\u611f\u6e2c\u958b\u95dc\u6a21\u7d44\u6642\uff0cDO \u56de\u50b3 0 \u958b\u9589 LED\u3002<br> *\/<br><br>\/\/ \u4f7f\u7528 LCD1602 I2C \u986f\u793a\u5668\u986f\u793a\u7d50\u679c<br>\/\/ \u5b9a\u7fa9 LCD \u5143\u4ef6(\u4f4d\u7f6e 0x27 \u53ca 16x2 \u7684\u986f\u793a)<br>#include <br>LiquidCrystal_I2C lcd(0x27,16,2); <br><br>\/\/ \u5b9a\u7fa9\u5168\u57df\u8b8a\u6578\u503c<br>byte sensorPinDO = 7;             \/\/ \u5b9a\u7fa9\u611f\u6e2c\u5668\u7684\u63a5\u6536\u8173\u4f4d<br>byte ledPin = 13;                 \/\/ \u5b9a\u7fa9 LED \u7684\u8173\u4f4d<br>byte sensorValueDO = 0;           \/\/ \u5132\u5b58\u611f\u6e2c\u5668\u7684\u503c<br><br>\/\/ \u7a0b\u5f0f\u521d\u5316\u8a2d\u5b9a<br>void setup () <br>{<br>  lcd.begin();                    \/\/ \u958b\u555f LCD \u5143\u4ef6<br>  lcd.backlight();                \/\/ \u958b\u555f LCD \u80cc\u5149<br>  pinMode (sensorPinDO, INPUT);   \/\/ \u8a2d\u5b9a\u611f\u6e2c\u5668\u70ba\u8f38\u5165\u6a21\u5f0f<br>  pinMode (ledPin, OUTPUT);       \/\/ \u8a2d\u5b9a LED \u70ba\u8f38\u51fa\u6a21\u5f0f<br>}<br> <br>\/\/ \u4e3b\u7a0b\u5f0f\u8ff4\u5708<br>void loop () <br>{<br>  sensorValueDO = digitalRead(sensorPinDO);     \/\/ \u8b80\u53d6\u8072\u97f3\u611f\u6e2c\u5668\u7684 DO \u503c<br>  displayValue(sensorValueDO, 0);               \/\/ \u5c07\u611f\u61c9\u5668 DO \u503c\u986f\u793a\u65bc LCD<br>  digitalWrite (ledPin, sensorValueDO);         \/\/ \u7576 DO \u8d85\u904e\u89f8\u767c\u503c\u958b\u555f LED<br>}<br><br>\/\/ \u986f\u793a\u5075\u6e2c\u89f8\u767c\u7684\u503c<br>void displayValue(int value, byte row) {<br>  lcd.setCursor(0, row);                        \/\/ \u8a2d\u5b9a\u6e38\u6a19\u4f4d\u7f6e<br>  lcd.print(\"Value: \");<br>  lcd.print(value);                             \/\/ \u986f\u793a\u5075\u6e2c\u8cc7\u6599\u7684\u503c<br>  lcd.print(\"    \");<br>}<\/pre>\n\n\n\n<div class=\"wp-block-stackable-button-group stk-block-button-group stk-block stk-7dc31fe\" data-block-id=\"7dc31fe\"><div class=\"stk-row stk-inner-blocks stk-block-content stk-button-group\">\n<div class=\"wp-block-stackable-button stk-block-button is-style-ghost stk-block stk-dfe010b\" data-block-id=\"dfe010b\"><style>.stk-dfe010b .stk-button{background:transparent !important;}.stk-dfe010b .stk-button:hover:after{background:transparent !important;opacity:1 !important;}:where(.stk-hover-parent:hover,  .stk-hover-parent.stk--is-hovered) .stk-dfe010b .stk-button:after{background:transparent !important;opacity:1 !important;}.stk-dfe010b .stk-button:before{border-style:solid !important;}<\/style><a class=\"stk-link stk-button stk--hover-effect-darken\" href=\"https:\/\/cfnavi.org\/aitech\/wp-content\/uploads\/2026\/01\/S17_Reed_Switch.zip\" target=\"_blank\" rel=\"noreferrer noopener\"><span class=\"stk-button__inner-text\">\u4e0b\u8f09\u7a0b\u5f0f\u78bc<\/span><\/a><\/div>\n<\/div><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">&nbsp;\u203b &nbsp;\u5206\u4eab\u7d50\u675f &nbsp;\u203b<\/h3>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3010\u8aaa\u660e\u3011 \u793a\u7bc4\u78c1\u7c27\u611f\u6e2c\u958b\u95dc\u6a21\u7d44 (Reed Switch Module) \u7684\u61c9\u7528\u7576\u78c1\u9435\u63a5\u8fd1\u78c1\u7c27\u611f\u6e2c\u958b\u95dc\u6a21\u7d44\u6642\uff0c [&hellip;]<\/p>\n","protected":false},"author":8,"featured_media":1231,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"categories":[86],"tags":[94,97,98,99,101],"class_list":["post-1229","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-arduino","tag-button","tag-lcd","tag-led","tag-sensor","tag-switch"],"blocksy_meta":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>S17_Reed_Switch(\u78c1\u7c27\u958b\u95dc) - \u4e58\u8c50\u9818\u822a-\uff21\uff29\u79d1\u6280<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/cfnavi.org\/aitech\/s17_reed_switch\u78c1\u7c27\u958b\u95dc\/\" \/>\n<meta property=\"og:locale\" content=\"zh_TW\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"S17_Reed_Switch(\u78c1\u7c27\u958b\u95dc) - \u4e58\u8c50\u9818\u822a-\uff21\uff29\u79d1\u6280\" \/>\n<meta property=\"og:description\" content=\"\u3010\u8aaa\u660e\u3011 \u793a\u7bc4\u78c1\u7c27\u611f\u6e2c\u958b\u95dc\u6a21\u7d44 (Reed Switch Module) \u7684\u61c9\u7528\u7576\u78c1\u9435\u63a5\u8fd1\u78c1\u7c27\u611f\u6e2c\u958b\u95dc\u6a21\u7d44\u6642\uff0c [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/cfnavi.org\/aitech\/s17_reed_switch\u78c1\u7c27\u958b\u95dc\/\" \/>\n<meta property=\"og:site_name\" content=\"\u4e58\u8c50\u9818\u822a-\uff21\uff29\u79d1\u6280\" \/>\n<meta property=\"article:published_time\" content=\"2019-06-14T14:14:08+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-01-13T02:08:53+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cfnavi.org\/aitech\/wp-content\/uploads\/2019\/06\/s17_reed_switch-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"813\" \/>\n\t<meta property=\"og:image:height\" content=\"518\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"\u4e58\u8c50\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005:\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u4e58\u8c50\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9810\u4f30\u95b1\u8b80\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\u9418\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/cfnavi.org\/aitech\/s17_reed_switch%e7%a3%81%e7%b0%a7%e9%96%8b%e9%97%9c\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/cfnavi.org\/aitech\/s17_reed_switch%e7%a3%81%e7%b0%a7%e9%96%8b%e9%97%9c\/\"},\"author\":{\"name\":\"\u4e58\u8c50\",\"@id\":\"https:\/\/cfnavi.org\/aitech\/#\/schema\/person\/8372c52e316d60d3fb84637968e786bb\"},\"headline\":\"S17_Reed_Switch(\u78c1\u7c27\u958b\u95dc)\",\"datePublished\":\"2019-06-14T14:14:08+00:00\",\"dateModified\":\"2026-01-13T02:08:53+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/cfnavi.org\/aitech\/s17_reed_switch%e7%a3%81%e7%b0%a7%e9%96%8b%e9%97%9c\/\"},\"wordCount\":38,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/cfnavi.org\/aitech\/#organization\"},\"image\":{\"@id\":\"https:\/\/cfnavi.org\/aitech\/s17_reed_switch%e7%a3%81%e7%b0%a7%e9%96%8b%e9%97%9c\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cfnavi.org\/aitech\/wp-content\/uploads\/2019\/06\/s17_reed_switch-1.png\",\"keywords\":[\"Button\",\"LCD\",\"LED\",\"Sensor\",\"Switch\"],\"articleSection\":[\"Arduino\"],\"inLanguage\":\"zh-TW\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/cfnavi.org\/aitech\/s17_reed_switch%e7%a3%81%e7%b0%a7%e9%96%8b%e9%97%9c\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/cfnavi.org\/aitech\/s17_reed_switch%e7%a3%81%e7%b0%a7%e9%96%8b%e9%97%9c\/\",\"url\":\"https:\/\/cfnavi.org\/aitech\/s17_reed_switch%e7%a3%81%e7%b0%a7%e9%96%8b%e9%97%9c\/\",\"name\":\"S17_Reed_Switch(\u78c1\u7c27\u958b\u95dc) - \u4e58\u8c50\u9818\u822a-\uff21\uff29\u79d1\u6280\",\"isPartOf\":{\"@id\":\"https:\/\/cfnavi.org\/aitech\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/cfnavi.org\/aitech\/s17_reed_switch%e7%a3%81%e7%b0%a7%e9%96%8b%e9%97%9c\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/cfnavi.org\/aitech\/s17_reed_switch%e7%a3%81%e7%b0%a7%e9%96%8b%e9%97%9c\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cfnavi.org\/aitech\/wp-content\/uploads\/2019\/06\/s17_reed_switch-1.png\",\"datePublished\":\"2019-06-14T14:14:08+00:00\",\"dateModified\":\"2026-01-13T02:08:53+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/cfnavi.org\/aitech\/s17_reed_switch%e7%a3%81%e7%b0%a7%e9%96%8b%e9%97%9c\/#breadcrumb\"},\"inLanguage\":\"zh-TW\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/cfnavi.org\/aitech\/s17_reed_switch%e7%a3%81%e7%b0%a7%e9%96%8b%e9%97%9c\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-TW\",\"@id\":\"https:\/\/cfnavi.org\/aitech\/s17_reed_switch%e7%a3%81%e7%b0%a7%e9%96%8b%e9%97%9c\/#primaryimage\",\"url\":\"https:\/\/cfnavi.org\/aitech\/wp-content\/uploads\/2019\/06\/s17_reed_switch-1.png\",\"contentUrl\":\"https:\/\/cfnavi.org\/aitech\/wp-content\/uploads\/2019\/06\/s17_reed_switch-1.png\",\"width\":813,\"height\":518},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/cfnavi.org\/aitech\/s17_reed_switch%e7%a3%81%e7%b0%a7%e9%96%8b%e9%97%9c\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9801\",\"item\":\"https:\/\/cfnavi.org\/aitech\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"S17_Reed_Switch(\u78c1\u7c27\u958b\u95dc)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/cfnavi.org\/aitech\/#website\",\"url\":\"https:\/\/cfnavi.org\/aitech\/\",\"name\":\"\u4e58\u8c50\u9818\u822a-\uff21\uff29\u79d1\u6280\",\"description\":\"\u9019\u662f\u4e58\u8c50\u9818\u822a\u751f\u547d\u8266\u968a\u90e8\u843d\u683c\uff0c\u5206\u4eab\u5404\u5f0f\u7684\u8cc7\u8a0a\uff0c\u5982AI\u3001\u79d1\u629c\u3001\u6295\u8cc7\u7406\u8ca1\u3001\u8b80\u66f8\u5fc3\u5f97\u3001\u9000\u4f11\u751f\u6d3b\u3001 \u65c5\u904a\u2025\u7b49\u8cc7\u8a0a\u3002\",\"publisher\":{\"@id\":\"https:\/\/cfnavi.org\/aitech\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/cfnavi.org\/aitech\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-TW\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/cfnavi.org\/aitech\/#organization\",\"name\":\"\u4e58\u8c50\u9818\u822a-\uff21\uff29\u79d1\u6280\",\"url\":\"https:\/\/cfnavi.org\/aitech\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-TW\",\"@id\":\"https:\/\/cfnavi.org\/aitech\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/cfnavi.org\/aitech\/wp-content\/uploads\/2026\/01\/CFN-R1.png\",\"contentUrl\":\"https:\/\/cfnavi.org\/aitech\/wp-content\/uploads\/2026\/01\/CFN-R1.png\",\"width\":800,\"height\":800,\"caption\":\"\u4e58\u8c50\u9818\u822a-\uff21\uff29\u79d1\u6280\"},\"image\":{\"@id\":\"https:\/\/cfnavi.org\/aitech\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/cfnavi.org\/aitech\/#\/schema\/person\/8372c52e316d60d3fb84637968e786bb\",\"name\":\"\u4e58\u8c50\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-TW\",\"@id\":\"https:\/\/cfnavi.org\/aitech\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/cfnavi.org\/aitech\/wp-content\/uploads\/2026\/01\/CFN-R1-96x96.png\",\"contentUrl\":\"https:\/\/cfnavi.org\/aitech\/wp-content\/uploads\/2026\/01\/CFN-R1-96x96.png\",\"caption\":\"\u4e58\u8c50\"},\"url\":\"https:\/\/cfnavi.org\/aitech\/author\/chengfeng\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"S17_Reed_Switch(\u78c1\u7c27\u958b\u95dc) - \u4e58\u8c50\u9818\u822a-\uff21\uff29\u79d1\u6280","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/cfnavi.org\/aitech\/s17_reed_switch\u78c1\u7c27\u958b\u95dc\/","og_locale":"zh_TW","og_type":"article","og_title":"S17_Reed_Switch(\u78c1\u7c27\u958b\u95dc) - \u4e58\u8c50\u9818\u822a-\uff21\uff29\u79d1\u6280","og_description":"\u3010\u8aaa\u660e\u3011 \u793a\u7bc4\u78c1\u7c27\u611f\u6e2c\u958b\u95dc\u6a21\u7d44 (Reed Switch Module) \u7684\u61c9\u7528\u7576\u78c1\u9435\u63a5\u8fd1\u78c1\u7c27\u611f\u6e2c\u958b\u95dc\u6a21\u7d44\u6642\uff0c [&hellip;]","og_url":"https:\/\/cfnavi.org\/aitech\/s17_reed_switch\u78c1\u7c27\u958b\u95dc\/","og_site_name":"\u4e58\u8c50\u9818\u822a-\uff21\uff29\u79d1\u6280","article_published_time":"2019-06-14T14:14:08+00:00","article_modified_time":"2026-01-13T02:08:53+00:00","og_image":[{"width":813,"height":518,"url":"https:\/\/cfnavi.org\/aitech\/wp-content\/uploads\/2019\/06\/s17_reed_switch-1.png","type":"image\/png"}],"author":"\u4e58\u8c50","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005:":"\u4e58\u8c50","\u9810\u4f30\u95b1\u8b80\u6642\u9593":"1 \u5206\u9418"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/cfnavi.org\/aitech\/s17_reed_switch%e7%a3%81%e7%b0%a7%e9%96%8b%e9%97%9c\/#article","isPartOf":{"@id":"https:\/\/cfnavi.org\/aitech\/s17_reed_switch%e7%a3%81%e7%b0%a7%e9%96%8b%e9%97%9c\/"},"author":{"name":"\u4e58\u8c50","@id":"https:\/\/cfnavi.org\/aitech\/#\/schema\/person\/8372c52e316d60d3fb84637968e786bb"},"headline":"S17_Reed_Switch(\u78c1\u7c27\u958b\u95dc)","datePublished":"2019-06-14T14:14:08+00:00","dateModified":"2026-01-13T02:08:53+00:00","mainEntityOfPage":{"@id":"https:\/\/cfnavi.org\/aitech\/s17_reed_switch%e7%a3%81%e7%b0%a7%e9%96%8b%e9%97%9c\/"},"wordCount":38,"commentCount":0,"publisher":{"@id":"https:\/\/cfnavi.org\/aitech\/#organization"},"image":{"@id":"https:\/\/cfnavi.org\/aitech\/s17_reed_switch%e7%a3%81%e7%b0%a7%e9%96%8b%e9%97%9c\/#primaryimage"},"thumbnailUrl":"https:\/\/cfnavi.org\/aitech\/wp-content\/uploads\/2019\/06\/s17_reed_switch-1.png","keywords":["Button","LCD","LED","Sensor","Switch"],"articleSection":["Arduino"],"inLanguage":"zh-TW","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/cfnavi.org\/aitech\/s17_reed_switch%e7%a3%81%e7%b0%a7%e9%96%8b%e9%97%9c\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/cfnavi.org\/aitech\/s17_reed_switch%e7%a3%81%e7%b0%a7%e9%96%8b%e9%97%9c\/","url":"https:\/\/cfnavi.org\/aitech\/s17_reed_switch%e7%a3%81%e7%b0%a7%e9%96%8b%e9%97%9c\/","name":"S17_Reed_Switch(\u78c1\u7c27\u958b\u95dc) - \u4e58\u8c50\u9818\u822a-\uff21\uff29\u79d1\u6280","isPartOf":{"@id":"https:\/\/cfnavi.org\/aitech\/#website"},"primaryImageOfPage":{"@id":"https:\/\/cfnavi.org\/aitech\/s17_reed_switch%e7%a3%81%e7%b0%a7%e9%96%8b%e9%97%9c\/#primaryimage"},"image":{"@id":"https:\/\/cfnavi.org\/aitech\/s17_reed_switch%e7%a3%81%e7%b0%a7%e9%96%8b%e9%97%9c\/#primaryimage"},"thumbnailUrl":"https:\/\/cfnavi.org\/aitech\/wp-content\/uploads\/2019\/06\/s17_reed_switch-1.png","datePublished":"2019-06-14T14:14:08+00:00","dateModified":"2026-01-13T02:08:53+00:00","breadcrumb":{"@id":"https:\/\/cfnavi.org\/aitech\/s17_reed_switch%e7%a3%81%e7%b0%a7%e9%96%8b%e9%97%9c\/#breadcrumb"},"inLanguage":"zh-TW","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cfnavi.org\/aitech\/s17_reed_switch%e7%a3%81%e7%b0%a7%e9%96%8b%e9%97%9c\/"]}]},{"@type":"ImageObject","inLanguage":"zh-TW","@id":"https:\/\/cfnavi.org\/aitech\/s17_reed_switch%e7%a3%81%e7%b0%a7%e9%96%8b%e9%97%9c\/#primaryimage","url":"https:\/\/cfnavi.org\/aitech\/wp-content\/uploads\/2019\/06\/s17_reed_switch-1.png","contentUrl":"https:\/\/cfnavi.org\/aitech\/wp-content\/uploads\/2019\/06\/s17_reed_switch-1.png","width":813,"height":518},{"@type":"BreadcrumbList","@id":"https:\/\/cfnavi.org\/aitech\/s17_reed_switch%e7%a3%81%e7%b0%a7%e9%96%8b%e9%97%9c\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9801","item":"https:\/\/cfnavi.org\/aitech\/"},{"@type":"ListItem","position":2,"name":"S17_Reed_Switch(\u78c1\u7c27\u958b\u95dc)"}]},{"@type":"WebSite","@id":"https:\/\/cfnavi.org\/aitech\/#website","url":"https:\/\/cfnavi.org\/aitech\/","name":"\u4e58\u8c50\u9818\u822a-\uff21\uff29\u79d1\u6280","description":"\u9019\u662f\u4e58\u8c50\u9818\u822a\u751f\u547d\u8266\u968a\u90e8\u843d\u683c\uff0c\u5206\u4eab\u5404\u5f0f\u7684\u8cc7\u8a0a\uff0c\u5982AI\u3001\u79d1\u629c\u3001\u6295\u8cc7\u7406\u8ca1\u3001\u8b80\u66f8\u5fc3\u5f97\u3001\u9000\u4f11\u751f\u6d3b\u3001 \u65c5\u904a\u2025\u7b49\u8cc7\u8a0a\u3002","publisher":{"@id":"https:\/\/cfnavi.org\/aitech\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cfnavi.org\/aitech\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-TW"},{"@type":"Organization","@id":"https:\/\/cfnavi.org\/aitech\/#organization","name":"\u4e58\u8c50\u9818\u822a-\uff21\uff29\u79d1\u6280","url":"https:\/\/cfnavi.org\/aitech\/","logo":{"@type":"ImageObject","inLanguage":"zh-TW","@id":"https:\/\/cfnavi.org\/aitech\/#\/schema\/logo\/image\/","url":"https:\/\/cfnavi.org\/aitech\/wp-content\/uploads\/2026\/01\/CFN-R1.png","contentUrl":"https:\/\/cfnavi.org\/aitech\/wp-content\/uploads\/2026\/01\/CFN-R1.png","width":800,"height":800,"caption":"\u4e58\u8c50\u9818\u822a-\uff21\uff29\u79d1\u6280"},"image":{"@id":"https:\/\/cfnavi.org\/aitech\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/cfnavi.org\/aitech\/#\/schema\/person\/8372c52e316d60d3fb84637968e786bb","name":"\u4e58\u8c50","image":{"@type":"ImageObject","inLanguage":"zh-TW","@id":"https:\/\/cfnavi.org\/aitech\/#\/schema\/person\/image\/","url":"https:\/\/cfnavi.org\/aitech\/wp-content\/uploads\/2026\/01\/CFN-R1-96x96.png","contentUrl":"https:\/\/cfnavi.org\/aitech\/wp-content\/uploads\/2026\/01\/CFN-R1-96x96.png","caption":"\u4e58\u8c50"},"url":"https:\/\/cfnavi.org\/aitech\/author\/chengfeng\/"}]}},"_links":{"self":[{"href":"https:\/\/cfnavi.org\/aitech\/wp-json\/wp\/v2\/posts\/1229","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cfnavi.org\/aitech\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cfnavi.org\/aitech\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cfnavi.org\/aitech\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/cfnavi.org\/aitech\/wp-json\/wp\/v2\/comments?post=1229"}],"version-history":[{"count":3,"href":"https:\/\/cfnavi.org\/aitech\/wp-json\/wp\/v2\/posts\/1229\/revisions"}],"predecessor-version":[{"id":2983,"href":"https:\/\/cfnavi.org\/aitech\/wp-json\/wp\/v2\/posts\/1229\/revisions\/2983"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cfnavi.org\/aitech\/wp-json\/wp\/v2\/media\/1231"}],"wp:attachment":[{"href":"https:\/\/cfnavi.org\/aitech\/wp-json\/wp\/v2\/media?parent=1229"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cfnavi.org\/aitech\/wp-json\/wp\/v2\/categories?post=1229"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cfnavi.org\/aitech\/wp-json\/wp\/v2\/tags?post=1229"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}