{"id":22919,"date":"2023-04-20T00:00:03","date_gmt":"2023-04-19T16:00:03","guid":{"rendered":"https:\/\/techclass.wfjydl.com\/?p=22919"},"modified":"2026-04-22T11:12:23","modified_gmt":"2026-04-22T03:12:23","slug":"%e4%bd%bf%e7%94%a8raspberry-pi%e5%88%b6%e4%bd%9c%e5%92%96%e5%95%a1%e6%9c%ba%e6%8e%a7%e5%88%b6%e8%a3%85%e7%bd%ae-%e7%ac%ac2%e9%83%a8%e5%88%86%ef%bc%9a%e7%a1%ac%e4%bb%b6%e5%88%b6%e4%bd%9c","status":"publish","type":"post","link":"https:\/\/techclass.wfjydl.com\/knowledge\/tech-info\/raspberry\/coffee-maker-with-raspberry-pi-02","title":{"rendered":"\u4f7f\u7528Raspberry Pi\u5236\u4f5c\u5496\u5561\u673a\u63a7\u5236\u88c5\u7f6e  \u7b2c2\u90e8\u5206\uff1a\u786c\u4ef6\u5236\u4f5c"},"content":{"rendered":"<p>\u7b2c1\u90e8\u5206\uff1a<a href=\"https:\/\/techclass.wfjydl.com\/knowledge\/tech-info\/raspberry\/coffee-maker-with-raspberry-pi-01\/\">\u88c5\u7f6e\u6982\u51b5\u548c\u5496\u5561\u8403\u53d6<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>\u5230\u76ee\u524d\u4e3a\u6b62\uff0cDevice Plus\u5df2\u7ecf\u4ecb\u7ecd\u8fc7\u5f88\u591a\u79cd\u4f7f\u7528Raspberry Pi\u7684\u7535\u5b50\u5236\u4f5c\uff0c\u672c\u7cfb\u5217\u4e5f\u540c\u6837\u662f\u975e\u5e38\u72ec\u7279\u7684\u3001\u800c\u4e14\u662f\u8f7b\u677e\u6109\u5feb\u7684\u7535\u5b50\u5236\u4f5c\u8fde\u8f7d\u3002\u8fd9\u6b21\u4e3a\u6211\u4eec\u5206\u4eab\u7684\u5609\u5bbe\u662f\u963f\u77e2\u8c37\u5145\u5148\u751f\uff0c\u4ed6\u8fc4\u4eca\u4e3a\u6b62\u5728\u5404\u79cd\u5a92\u4f53\u4e0a\uff0c\u9762\u5411\u559c\u6b22\u81ea\u5df1\u52a8\u624b\u5236\u4f5c\u7684\u7fa4\u4f53\u53d1\u8868\u8fc7\u5f88\u591a\u7535\u5b50\u4f5c\u54c1\u5236\u4f5c\u7c7b\u7684\u6587\u7ae0\u3002\u5728\u672c\u7cfb\u5217\u8fde\u8f7d\u7684<a href=\"https:\/\/techclass.wfjydl.com\/knowledge\/tech-info\/raspberry\/coffee-maker-with-raspberry-pi-01\/\">\u7b2c1\u90e8\u5206<\/a>\u4e2d\uff0c\u4ecb\u7ecd\u4e86\u4f5c\u54c1\u6982\u51b5\uff0c\u5728\u7b2c2\u90e8\u5206\u4e2d\uff0c\u5c06\u4e3a\u5927\u5bb6\u4ecb\u7ecd\u786c\u4ef6\u5236\u4f5c\u65b9\u6cd5\uff0c\u5176\u4e2d\u5305\u62ec\u5177\u4f53\u7535\u8def\u53ca\u5176\u5236\u4f5c\u548c\u5b89\u88c5\u65b9\u6cd5\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-28294\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/04\/coffee-maker-with-raspberry-pi-02-00.jpg\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" srcset=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/04\/coffee-maker-with-raspberry-pi-02-00.jpg 750w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/04\/coffee-maker-with-raspberry-pi-02-00.jpg 300w\" alt=\"coffee-maker-with-raspberry-pi-02-00\" width=\"750\" height=\"457\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2>\u76ee\u5f55<\/h2>\n<ol>\n<li><a href=\"#01\">\u7535\u8def\u7ed3\u6784<\/a><\/li>\n<li><a href=\"#02\">\u6240\u7528\u96f6\u90e8\u4ef6<\/a><\/li>\n<li><a href=\"#03\">\u58f3\u4f53\u5b89\u88c5\u65b9\u6cd5<\/a><\/li>\n<li><a href=\"#04\">\u5728\u4e07\u7528\u677f\u4e0a\u7684\u5b89\u88c5\u65b9\u6cd5<\/a><\/li>\n<li><a href=\"#05\">SSR\u7535\u8def\u677f\u548cAC100V\u7cfb\u7edf\u7684\u63a5\u7ebf<\/a><\/li>\n<li><a href=\"#06\">\u58f3\u4f53\u9762\u677f\u90e8\u5206\u7684\u52a0\u5de5<\/a><\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<h2 id=\"01\">1. \u7535\u8def\u7ed3\u6784<\/h2>\n<p>\u9996\u5148\uff0c\u8bf7\u770b\u672c\u88c5\u7f6e\u7684\u6574\u4f53\u7535\u8def\u56fe\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-28295\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/04\/coffee-maker-with-raspberry-pi-02-01.png\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" srcset=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/04\/coffee-maker-with-raspberry-pi-02-01.png 750w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/04\/coffee-maker-with-raspberry-pi-02-01.png 300w\" alt=\"coffee-maker-with-raspberry-pi-02-01\" width=\"750\" height=\"513\" \/><\/p>\n<p class=\"wp-caption-text\">\u672c\u88c5\u7f6e\u7684\u7535\u8def\u56fe<\/p>\n<p>&nbsp;<\/p>\n<p>\u7535\u8def\u7684\u5de6\u4fa7\u7531\u63a7\u5236\u5668\uff08Raspberry Pi 3A+\uff09\u548c\u4e0e\u5176\u76f8\u8fde\u7684\u4e09\u4e2a\u6a21\u5757\u7ec4\u6210\u3002\u53f3\u4e0b\u65b9\u662f\u63a7\u5236\u5496\u5561\u673aON\/OFF\u7684SSR\uff08\u56fa\u6001\u7ee7\u7535\u5668\uff09\u5355\u5143\uff0c\u53f3\u4fa7\u4e2d\u592e\u662fLCD\uff08\u6db2\u6676\u663e\u793a\u5668\uff09\u5355\u5143\uff0c\u53f3\u4e0a\u65b9\u662f\u5f00\u5173\u548cLED\u7684\u7528\u6237\u63a5\u5165\u5355\u5143\u3002<br \/>\n\u5728\u63a5\u5165Raspberry Pi\u7684GPIO\u7aef\u53e3\u4e0a\uff0c\u6807\u6709\u7269\u7406\u5f15\u811a\u7f16\u53f7\u548cBCM\u5f15\u811a\u7f16\u53f7\uff08\u4f8b\uff1a11 GPIO-17\u8868\u793a\u7269\u7406\u5f15\u811a\u7f16\u53f7=11\uff0cBCM\u5f15\u811a\u7f16\u53f7=17\uff09\u3002\u4e0b\u9762\u4e3a\u5927\u5bb6\u5206\u522b\u4ecb\u7ecd\u4e00\u4e0b\u6240\u4f7f\u7528\u7684\u96f6\u90e8\u4ef6\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2 id=\"02\">2. \u6240\u7528\u96f6\u90e8\u4ef6<\/h2>\n<h3>Raspberry Pi 3 A+\u63a7\u5236\u5668<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-28296\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/04\/coffee-maker-with-raspberry-pi-02-02.jpg\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" srcset=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/04\/coffee-maker-with-raspberry-pi-02-02.jpg 300w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/04\/coffee-maker-with-raspberry-pi-02-02.jpg 150w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/04\/coffee-maker-with-raspberry-pi-02-02.jpg 500w\" alt=\"coffee-maker-with-raspberry-pi-02-02\" width=\"300\" height=\"300\" \/><\/p>\n<p>Raspberry Pi 3 A+\u6bd4\u6d41\u884c\u76843 B+\u8981\u5c0f\uff0c\u6ca1\u6709USB\/Ether\u63a5\u53e3\u3002CPU\u89c4\u683c\u76f8\u540c\uff0c\u4e5f\u914d\u5907\u4e86Wi-Fi\u548c\u84dd\u7259\u529f\u80fd\uff0c\u4ef7\u683c\u66f4\u4f4e\u5ec9\u3002\u6b64\u6b21\u7684\u8f6f\u4ef6\u5e76\u4e0d\u4f1a\u4f7f\u7528\u8fc7\u591a\u7684CPU\u8d44\u6e90\uff0c\u4f46\u7531\u4e8e\u4f7f\u7528Wi-Fi\u548cWeb\u670d\u52a1\u5668\u529f\u80fd\uff0c\u6240\u4ee5\u8fd9\u6b3eRaspberry Pi 3 A+\u7684\u6027\u80fd\u6b63\u5408\u9002\u3002\u53e6\u5916\uff0c\u8fd9\u6b3e\u63a7\u5236\u5668\u7684\u5916\u5f62\u5c3a\u5bf8\u4e0e\u7528\u6765\u5b89\u88c5\u96f6\u90e8\u4ef6\u7684\u4e07\u7528\u677f\u5c3a\u5bf8\u76f8\u540c\uff0c\u6613\u4e8e\u4f7f\u7528\uff0c\u8fd9\u4e5f\u662f\u5b83\u7684\u4eae\u70b9\u3002<\/p>\n<p>\u9700\u8981\u5c06+5V\u7684AC\u9002\u914d\u5668\u7b49\u4e0e\u63a7\u5236\u5668USB\u5f15\u811a\u8fde\u63a5\u6765\u4e3aRaspberry Pi\u4f9b\u7535\u3002Raspberry Pi 3 A+\u7684\u6700\u5927\u6d88\u8017\u7535\u6d41\u662f2.5A\uff0c\u6240\u4ee5\u6700\u597d\u662f\u80fd\u591f\u63d0\u4f9b3A\u4ee5\u4e0a\u7535\u6d41\u7684\u9002\u914d\u5668\u3002<\/p>\n<h3>SSR\uff08\u56fa\u6001\u7ee7\u7535\u5668\uff09<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-28297\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/04\/coffee-maker-with-raspberry-pi-02-03.jpg\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" srcset=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/04\/coffee-maker-with-raspberry-pi-02-03.jpg 300w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/04\/coffee-maker-with-raspberry-pi-02-03.jpg 500w\" alt=\"coffee-maker-with-raspberry-pi-02-03\" width=\"300\" height=\"225\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>\u672c\u88c5\u7f6e\u53ef\u4ee5\u76f4\u63a5\u63a7\u5236\u5916\u63a5\u5496\u5561\u673a\u7684AC\u7535\u6e90\u7684ON\/OFF\u3002\u5496\u5561\u673a\u7684\u529f\u8017\u5927\u7ea6\u662f500W\uff0c\u56e0\u6b64AC\u7ebf\u8def\u4e2d\u4f1a\u6d41\u8fc75A\u4ee5\u4e0a\u7684\u7535\u6d41\u3002\u56e0\u6b64\uff0c\u6211\u4eec\u9700\u8981\u4f7f\u7528\u89e6\u70b9\u53ef\u4ee5\u627f\u53d7\u8fd9\u4e48\u5927\u7684\u7535\u6d41\u7684\u7ee7\u7535\u5668\u7ec4\u4ef6\uff0c\u5e76\u901a\u8fc7Raspberry Pi\u6765\u63a7\u5236\u8be5\u7ee7\u7535\u5668\u7ec4\u4ef6\u3002<\/p>\n<p>\u89e6\u70b9\u548c\u7535\u78c1\u673a\u6784\u76f8\u7ed3\u5408\u7684\u673a\u68b0\u5f0f\u7ee7\u7535\u5668\u6bd4\u8f83\u5e38\u7528\uff0cSSR\u662f\u7528\u534a\u5bfc\u4f53\u53d6\u4ee3\u4e86\u89e6\u70b9\u548c\u7535\u78c1\u673a\u6784\u7684\u4ea7\u54c1\u3002\u7531\u4e8e\u6ca1\u6709\u673a\u68b0\u7684\u53ef\u52a8\u90e8\u4ef6\uff0c\u6240\u4ee5\u4f7f\u7528\u5bff\u547d\u66f4\u957f\uff0c\u800c\u4e14\u53ef\u4ee5\u9ad8\u901f\u5de5\u4f5c\u3002\u6b64\u5916\uff0c\u7531\u4e8e\u65e0\u9700\u9a71\u52a8\u7535\u78c1\u4f53\uff0c\u56e0\u6b64\u5bfc\u901a\u671f\u95f4\u7684\u529f\u8017\u4e5f\u66f4\u4f4e\u3002\u53ea\u662f\u7531\u4e8e\u662f\u534a\u5bfc\u4f53\u800c\u4f1a\u4ea7\u751f\u635f\u8017\u5e76\u4ea7\u751f\u70ed\u91cf\uff0c\u56e0\u6b64\u9700\u8981\u6563\u70ed\u5668\u3002<\/p>\n<p>\u8fd9\u672c\u88c5\u7f6e\u4e2d\uff0c\u6211\u4f7f\u7528\u4e86\u79cb\u6708\u7535\u5b50\u9500\u552e\u7684\u201c\u56fa\u6001\u7ee7\u7535\u5668\uff08SSR\uff09\u5957\u4ef6 8A\u578b\u201d\u4ea7\u54c1\u3002\u5176\u7535\u6d41\u5bb9\u91cf\u4e3a8A\uff0c\u76f8\u5bf9\u4e8e\u672c\u6b21\u4f7f\u7528\u7684\u5496\u5561\u673aET-102\u76845A\u989d\u5b9a\u7535\u6d41\u800c\u8a00\uff0c\u5df2\u7ecf\u8db3\u591f\u4e86\u3002\u53e6\u5916\uff0c\u5b83\u8fd8\u914d\u6709\u7531\u6676\u4f53\u7ba1\u7ec4\u6210\u7684\u7535\u6d41\u7f13\u51b2\u5668\uff0c\u53ef\u4ee5\u76f4\u63a5\u7531Raspberry Pi\u7684GPIO\u903b\u8f91\u8f93\u51fa+3.3V\u9a71\u52a8\uff0c\u975e\u5e38\u6613\u7528\u3002\u4ece\u7535\u8def\u56fe\u4e2d\u53ef\u4ee5\u770b\u51fa\uff0cRaspberry Pi\u53ea\u9700\u8981\u8fde\u63a55V\u7535\u6e90\u3001GND\u548cGPIO\u3002<br \/>\n\u5728AC\u7ebf\u8def\u4e2d\u9700\u8981\u914d\u7f6e\u4fdd\u9669\u4e1d\u3002\u8fd9\u6b21\u6211\u4f7f\u7528\u4e86\u5c0f\u578b\u73bb\u7483\u7ba1\u4fdd\u9669\u4e1d\u548c\u9762\u677f\u5b89\u88c5\u578b\u4fdd\u9669\u4e1d\u5ea7\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-28313\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/04\/coffee-maker-with-raspberry-pi-02-19.jpg\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" srcset=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/04\/coffee-maker-with-raspberry-pi-02-19.jpg 300w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/04\/coffee-maker-with-raspberry-pi-02-19.jpg 500w\" alt=\"coffee-maker-with-raspberry-pi-02-19\" width=\"300\" height=\"225\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>SSR\u7684\u6700\u5927\u5bb9\u8bb8\u7535\u6d41\u662f8A\uff0c\u6240\u4ee5\u4fdd\u9669\u4e1d\u4f7f\u75288A\u7684\u4ea7\u54c1\u3002<\/p>\n<h3>LCD\u6db2\u6676\u663e\u793a\u5668<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-28299\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/04\/coffee-maker-with-raspberry-pi-02-05.jpg\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" srcset=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/04\/coffee-maker-with-raspberry-pi-02-05.jpg 500w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/04\/coffee-maker-with-raspberry-pi-02-05.jpg 300w\" alt=\"coffee-maker-with-raspberry-pi-02-05\" width=\"500\" height=\"375\" \/><\/p>\n<p>LCD\u6db2\u6676\u663e\u793a\u5668\u662f\u7528\u6765\u663e\u793a\u5de5\u4f5c\u72b6\u6001\u548c\u8bbe\u7f6e\u7684\uff0c\u662f\u4e00\u79cd\u7531I2C\u63a5\u53e3\u63a7\u5236\u7684\u663e\u793a\u5668\u3002\u5b9e\u9645\u4e0a\uff0cRaspberry Pi\u7684I2C\u63a5\u53e3\u7684\u4e0a\u62c9\u7535\u963b\u4e3a1.8k\u03a9\uff08\u901a\u5e38\u572810k\u03a9\u5de6\u53f3\uff09\u7684\u56fa\u5b9a\u4f4e\u7535\u963b\u503c\uff0c\u56e0\u6b64\uff0c\u5b58\u5728\u7740\u56e0\u6db2\u6676\u5355\u5143\u4e2d\u4f4e\u529f\u8017\u7684\u5668\u4ef6\u7535\u6d41\u6c72\u53d6\u80fd\u529b\u4e0d\u8db3\u800c\u65e0\u6cd5\u663e\u793a\u7684\u517c\u5bb9\u6027\u95ee\u9898\u3002<\/p>\n<p>\u6b64\u6b21\u6211\u4f7f\u7528\u7684\u79cb\u6708\u7535\u5b50\u7684LED\u5355\u5143\uff08Raspberry Pi\u5b57\u7b26\u578b\u6db2\u6676\u663e\u793a\u6a21\u5757\u6210\u54c1\uff09\u662f\u4e00\u6b3e\u51fa\u8272\u7684\u4ea7\u54c1\uff0c\u7535\u8def\u677f\u4e0a\u5df2\u7ecf\u5b89\u88c5\u4e86I2C\u4e2d\u7ee7\u5668\uff0c\u4e0d\u4f1a\u51fa\u73b0\u8fd9\u4e2a\u95ee\u9898\u3002\u6211\u9009\u7684\u662f\u4e0d\u9700\u8981\u7cbe\u7ec6\u710a\u63a5\u7684\u6210\u54c1\u3002<\/p>\n<p>\u63a5\u7ebf\u67093.3V\u7535\u6e90\u3001GND\u3001I2C\u7684SDA\u548cSCL\u5171\u56db\u5904\u3002\u7535\u8def\u677f\u4e0a\u7684RST\uff08\u590d\u4f4d\uff09\u548cLED\uff08\u80cc\u5149\uff09\u6ca1\u6709\u4f7f\u7528\uff0c\u6240\u4ee5\u4e0d\u8fde\u63a5\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-28300\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/04\/coffee-maker-with-raspberry-pi-02-06.jpg\" sizes=\"auto, (max-width: 320px) 100vw, 320px\" srcset=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/04\/coffee-maker-with-raspberry-pi-02-06.jpg 320w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/04\/coffee-maker-with-raspberry-pi-02-06.jpg 300w\" alt=\"coffee-maker-with-raspberry-pi-02-06\" width=\"320\" height=\"240\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3>\u5fae\u52a8\u5f00\u5173\u548cLED<\/h3>\n<p>\u8fd9\u4e9b\u662fLED\u95ea\u70c1\u9879\u76ee\u4e2d\u5e38\u7528\u7684\u5668\u4ef6\u3002\u9996\u5148\uff0c\u5fae\u52a8\u5f00\u5173\u6211\u9009\u7528\u7684\u662f\u79cb\u6708\u7535\u5b50\u9500\u552e\u7684\u65cb\u94ae\u957f10mm\u7684\u957f\u6b3e\u5f00\u5173\u3002\u8fd9\u662f\u4e3a\u4e86\u4f7f\u65cb\u94ae\u5728\u5b89\u88c5\u5230\u58f3\u4f53\u4e2d\u4e4b\u540e\u80fd\u591f\u9762\u677f\u4e2d\u4f38\u51fa\u6765\u3002\u6211\u51b3\u5b9a\u7528\u9ed1\u8272\u5f00\u5173\u6765\u786e\u5b9a\u8403\u53d6\u676f\u6570\uff0c\u7528\u7ea2\u8272\u5f00\u5173\u6765\u5f00\u59cb\u8403\u53d6\u3002<br \/>\n\u7531\u4e8eGPIO\u5f15\u811a\u8981\u5728INPUT\u6a21\u5f0f\u4e0b\u8bbe\u7f6e\u4e3a\u4e0b\u62c9\u72b6\u6001\u4f7f\u7528\uff0c\u56e0\u6b64\u5f00\u5173\u7684\u4e00\u7aef\u9700\u8981\u8fde\u63a53.3V\uff08\u903b\u8f91\u9ad8\u7535\u5e73\uff09\u3002\u6309\u4e0b\u5f00\u5173\u4f1a\u4f7fGPIO\u5f15\u811a\u53d8\u4e3a\u903b\u8f91\u9ad8\u7535\u5e73\u3002<\/p>\n<p>\u5173\u4e8eLED\uff0c\u6211\u4f7f\u7528\u7684\u4e5f\u662f\u79cb\u6708\u7535\u5b50\u9500\u552e\u7684\u4ea7\u54c1\uff0c\u662f\u201c\u5185\u7f6e\u7535\u963b\u5668\u76845mmLED\uff085V\u7528\uff09\u201d\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-28301\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/04\/coffee-maker-with-raspberry-pi-02-07.jpg\" sizes=\"auto, (max-width: 200px) 100vw, 200px\" srcset=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/04\/coffee-maker-with-raspberry-pi-02-07.jpg 320w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/04\/coffee-maker-with-raspberry-pi-02-07.jpg 300w\" alt=\"coffee-maker-with-raspberry-pi-02-07\" width=\"200\" height=\"150\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>\u901a\u5e38\uff0c\u8981\u60f3\u5c06LED\u8fde\u63a5GPIO\u5f15\u811a\u5e76\u4f7f\u4e4b\u70b9\u4eae\uff0c\u662f\u9700\u8981\u9650\u6d41\u7535\u963b\u7684\u3002\u6b64\u6b21\u4f7f\u7528\u7684LED\u5185\u7f6e\u6709\u8fd9\u79cd\u9650\u6d41\u7535\u963b\uff0c\u53ef\u4ee5\u76f4\u63a5\u8fde\u63a5GPIO\u5f15\u811a\u3002\u7535\u963b\u503c\u9002\u7528\u4e8e5V\u8fde\u63a5\uff0c\u4e0d\u8fc7\u5728\u4e0eRaspberry Pi\u76843.3V\u8f93\u51fa\u914d\u5408\u4f7f\u7528\u65f6\u4e5f\u80fd\u786e\u4fdd\u8db3\u591f\u7684\u4eae\u5ea6\u3002\u672c\u88c5\u7f6e\u4f7f\u7528\u7ea2\u8272LED\u8868\u793a\u201c\u5f00\u59cb\u8403\u53d6\uff5e\u5de5\u4f5c\u4e2d\u201d\uff0c\u7528\u9ec4\u8272LED\u8868\u793a\u201c\u901a\u7535\u4e2d\u201d\u3002<br \/>\n&nbsp;<\/p>\n<h2 id=\"03\">3. \u58f3\u4f53\u5b89\u88c5\u65b9\u6cd5<\/h2>\n<p>\u63a5\u4e0b\u6765\uff0c\u6211\u6765\u4e3a\u5927\u5bb6\u4ecb\u7ecd\u7535\u8def\u7684\u5b89\u88c5\u65b9\u6cd5\u3002\u5728\u5b9e\u9645\u7ec4\u88c5\u8bbe\u5907\u65f6\uff0c\u6211\u5efa\u8bae\u7ed9\u7535\u5b50\u7535\u8def\u914d\u4e0a\u5916\u58f3\uff0c\u5c06\u7535\u8def\u6536\u7eb3\u5728\u5176\u4e2d\u3002\u5c24\u5176\u662f\u672c\u88c5\u7f6e\uff0c\u4f7f\u7528\u7684\u662fAC100V\uff0c\u56e0\u6b64\u5982\u679c\u63a5\u7ebf\u66b4\u9732\u5728\u5916\uff0c\u5c31\u4f1a\u6709\u89e6\u7535\u7684\u5371\u9669\u3002<\/p>\n<p>\u53e6\u5916\uff0c\u7535\u5b50\u7535\u8def\u9700\u8981\u901a\u8fc7\u710a\u63a5\u6765\u5b89\u88c5\u3002\u5bf9\u4e8e\u975e\u8bd5\u5236\u7c7b\u7684\u3001\u8981\u5b9e\u9645\u4f7f\u7528\u7684\u8bbe\u5907\u800c\u8a00\uff0c\u901a\u8fc7\u710a\u63a5\u5b89\u88c5\u6bd4\u8f83\u53ef\u9760\u3002\u56e0\u6b64\uff0c\u672c\u88c5\u7f6e\u7684\u5236\u4f5c\u548c\u5b89\u88c5\uff0c\u9700\u8981\u5177\u5907\u710a\u63a5\u548c\u5916\u58f3\u52a0\u5de5\u6280\u80fd\u3002\u5982\u679c\u60a8\u5bf9\u710a\u63a5\u6ca1\u6709\u4fe1\u5fc3\uff0c\u6211\u5efa\u8bae\u60a8\u901a\u8fc7\u5c1d\u8bd5\u7ec4\u88c5\u5e02\u552e\u7684\u4e00\u4e9b\u5957\u4ef6\u6765\u7ec3\u4e60\u4e00\u4e0b\u3002<\/p>\n<p>\u81f3\u4e8e\u5916\u58f3\u52a0\u5de5\uff0c\u5982\u679c\u60a8\u4f7f\u7528\u7684\u662f\u5851\u6599\u5916\u58f3\uff0c\u90a3\u4e48\u52a0\u5de5\u96be\u5ea6\u4f1a\u4f4e\u5f88\u591a\u3002\u7531\u4e8e\u6211\u4eec\u4e0d\u9700\u8981\u8fbe\u5230\u5236\u9020\u5546\u7ea7\u522b\u7684\u7cbe\u5ea6\uff0c\u6240\u4ee5\u6211\u8ba4\u4e3a\u7c97\u7565\u52a0\u5de5\u4e00\u4e0b\u5c31\u8db3\u591f\u4e86\uff08\u8fd9\u4e2a\u7a0b\u5ea6\u4e5f\u6bd4\u8f83\u9002\u5408\u8fdb\u884c\u7535\u5b50\u5236\u4f5c\uff09\u3002<\/p>\n<p>\u4e0d\u8fc7\u6211\u5efa\u8bae\u60a8\u8fd8\u662f\u8981\u7ec3\u5c31\u710a\u63a5\u548c\u5916\u58f3\u52a0\u5de5\u7684\u80fd\u529b\uff0c\u4ee5\u4fbf\u672a\u6765\u80fd\u66f4\u597d\u5730\u957f\u671f\u4ece\u4e8b\u7535\u5b50\u5236\u4f5c\uff08\u672c\u7cfb\u5217\u8fde\u8f7d\u4e2d\u5c06\u7701\u7565\u4e0e\u6b64\u76f8\u5173\u7684\u7ec6\u8282\u77e5\u8bc6\u4ecb\u7ecd\uff09\u3002<br \/>\n\u9996\u5148\uff0c\u5173\u4e8e\u5b89\u88c5\u672c\u88c5\u7f6e\u7684\u5916\u58f3\uff0c\u6211\u4f7f\u7528\u7684\u662fTAKACHI\u7684SS-125B\u5851\u6599\u5916\u58f3\uff0c\u5176\u5c3a\u5bf8\u4e3a\uff08125mm x 80mm x 32mm\uff09\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-28302\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/04\/coffee-maker-with-raspberry-pi-02-08.jpg\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" srcset=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/04\/coffee-maker-with-raspberry-pi-02-08.jpg 500w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/04\/coffee-maker-with-raspberry-pi-02-08.jpg 300w\" alt=\"coffee-maker-with-raspberry-pi-02-08\" width=\"500\" height=\"299\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>\u4f7f\u7528\u8fd9\u4e2a\u5916\u58f3\u6b63\u597d\u53ef\u4ee5\u6536\u7eb3\u4e3b\u8981\u90e8\u4ef6Raspberry Pi 3 A+\uff08\u653e\u5728\u5de6\u534a\u90e8\u5206\uff09\u548cSSR\uff08\u653e\u5728\u53f3\u4e0a\u65b9\uff09\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-28303\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/04\/coffee-maker-with-raspberry-pi-02-09.jpg\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" srcset=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/04\/coffee-maker-with-raspberry-pi-02-09.jpg 750w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/04\/coffee-maker-with-raspberry-pi-02-09.jpg 300w\" alt=\"coffee-maker-with-raspberry-pi-02-09\" width=\"750\" height=\"417\" \/><\/p>\n<p>&nbsp;<br \/>\n\u8981\u56fa\u5b9aRaspberry Pi\uff0c\u9700\u8981\u4e0e\u7535\u8def\u677f\u56db\u89d2\u7684\u5b89\u88c5\u5b54\u76f8\u5339\u914d\u7684\u76f4\u5f84\u4e3a2.6mm\u7684\u87ba\u9489\u548c\u57ab\u7247\u3002\u57ab\u7247\u957f11mm\uff0c\u5c06\u5e95\u5ea7\u5b89\u88c5\u5728Raspberry Pi\u4e0a\u65b9\u65f6\u6b63\u597d\u591f\u7528\u3002\u8be5\u4ea7\u54c1\u5728\u5343\u77f3\u7535\u5546\u548cSwitchScience\u4e0a\u4f5c\u4e3a\u4e13\u7528\u4ea7\u54c1\u6709\u552e\u3002<\/p>\n<p><a href=\"https:\/\/www.sengoku.co.jp\/mod\/sgk_cart\/detail.php?code=EEHD-4UUR\" target=\"_blank\" rel=\"noopener\">https:\/\/www.sengoku.co.jp\/mod\/sgk_cart\/detail.php?code=EEHD-4UUR<\/a><\/p>\n<p>\u5728\u653e\u5165Raspberry Pi\u5e95\u5ea7\u65f6\uff0c\u5916\u58f3\u5185\u90e8\u7684\u87ba\u4e1d\u67f1\u4f1a\u6709\u90e8\u5206\u5e72\u6d89\uff0c\u53ef\u4ee5\u7528\u94b3\u5b50\u4e4b\u7c7b\u7684\u5de5\u5177\u5c06\u5176\u526a\u65ad\u3002\u8fd8\u9700\u8981\u5f00\u4e00\u4e2a\u8db3\u591f\u5927\u7684\u957f\u65b9\u5f62\u5b54\uff0c\u4ee5\u4fbf\u5c06\u8fde\u63a5\u5668\u63d2\u5165\u8fde\u63a5\u7535\u6e90\u9002\u914d\u5668\u7684USB\u7aef\u53e3\u3002\u8fd8\u6709\uff0c\u867d\u7136\u8fd9\u6b21\u6ca1\u6709\u4f7f\u7528\uff0c\u4f46\u662f\u6211\u8fd8\u662f\u5728\u5de6\u4fa7\u6253\u4e86\u5b54\u4ee5\u4fbf\u53ef\u4ee5\u63a5\u5165USB\u63a5\u53e3\u3002<\/p>\n<p>\u63a5\u4e0b\u6765\u662fSSR\u7535\u8def\u677f\u7684\u5b89\u88c5\u3002\u9700\u8981\u5728\u82af\u7247\u4e0a\u5b89\u88c5\u6563\u70ed\u5668\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-28304\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/04\/coffee-maker-with-raspberry-pi-02-10.jpg\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" srcset=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/04\/coffee-maker-with-raspberry-pi-02-10.jpg 500w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/04\/coffee-maker-with-raspberry-pi-02-10.jpg 300w\" alt=\"coffee-maker-with-raspberry-pi-02-10\" width=\"500\" height=\"375\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>\u6211\u4f7f\u7528\u7684\u662f\u53ef\u4ee5\u5728\u79cb\u6708\u7535\u5b50\u8d2d\u4e70\u7684\u201c46\u00d725\u00d717mm\u201d\u7684\u6563\u70ed\u5668\u3002SSR\u7535\u8def\u677f\u4f7f\u7528\u7684\u82af\u7247\u662f\u5851\u6599\u6210\u578b\u7684\uff0c\u4e0d\u9700\u8981\u7edd\u7f18\uff0c\u6240\u4ee5\u53ef\u4ee5\u76f4\u63a5\u7528\u666e\u901a\u76843mm\u91d1\u5c5e\u87ba\u4e1d\u56fa\u5b9a\u3002\u5f53\u4e0e\u5496\u5561\u673aET-102\u8fde\u63a5\u5e76\u5b9e\u9645\u5de5\u4f5c\u65f6\uff0c\u6563\u70ed\u5668\u4f1a\u53d1\u70ed\uff0c\u4f46\u4e0d\u4f1a\u70ed\u5230\u65e0\u6cd5\u7528\u624b\u78b0\u89e6\u7684\u7a0b\u5ea6\u3002\u5982\u679c\u60a8\u62c5\u5fc3\u8fd9\u4e00\u70b9\uff0c\u6700\u597d\u5728\u5916\u58f3\u7684\u9876\u90e8\u548c\u5e95\u90e8\u5f00\u5b54\u8ba9\u7a7a\u6c14\u4e0a\u4e0b\u6d41\u901a\u3002<\/p>\n<p>SSR\u7535\u8def\u677f\u7528\u87ba\u4e1d\u548c3mm\u9ad8\u7684\u57ab\u7247\u56fa\u5b9a\u5728\u5916\u58f3\u4e0a\u3002\u8fd9\u6837\uff0c\u53ef\u4ee5\u5728\u5b89\u88c5\u4e86\u6563\u70ed\u5668\u7684\u72b6\u6001\u4e0b\uff0c\u6b63\u597d\u628a\u7535\u8def\u677f\u653e\u8fdb\u53bb\u3002<\/p>\n<p>\u6700\u540e\u662f\u8fde\u63a5\u5496\u5561\u673a\u7684AC100V\u7ebf\u7684\u5904\u7406\u3002\u4e0b\u56fe\u662f\u5b89\u88c5\u4e86\u7535\u7ebf\u540e\u7684\u6837\u5b50\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-28305\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/04\/coffee-maker-with-raspberry-pi-02-11.jpg\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" srcset=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/04\/coffee-maker-with-raspberry-pi-02-11.jpg 750w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/04\/coffee-maker-with-raspberry-pi-02-11.jpg 300w\" alt=\"coffee-maker-with-raspberry-pi-02-11\" width=\"750\" height=\"392\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>\u662f\u4f7f\u7528\u4e86\u4ee5\u524d\u7559\u4e0b\u6765\u7684\u5e26\u6709AC100V\u63d2\u5934\u7684\u7535\u7ebf\u3002\u8fde\u63a5\u5496\u5561\u673a\u7684\u9002\u914d\u5668\u6211\u4f7f\u7528\u7684\u662f\u5e02\u552e\u9002\u914d\u5668\uff08\u4e0b\u56fe\u4e2d\u7684Panasonic WH 4615HP\uff09\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-28306\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/04\/coffee-maker-with-raspberry-pi-02-12.jpg\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" srcset=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/04\/coffee-maker-with-raspberry-pi-02-12.jpg 300w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/04\/coffee-maker-with-raspberry-pi-02-12.jpg 500w\" alt=\"coffee-maker-with-raspberry-pi-02-12\" width=\"300\" height=\"225\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>\u9700\u8981\u6ce8\u610f\u7535\u7ebf\u7684\u7535\u6d41\u5bb9\u91cf\u3002\u5496\u5561\u673aET-102\u7684\u89c4\u683c\u4e3a500W\u3001\u989d\u5b9a\u7535\u6d415A\uff0c\u6240\u4ee5\u8bf7\u4f7f\u7528\u5bb9\u91cf\u5145\u8db3\u7684\u7535\u7ebf\u3002\u4e0a\u56fe\u6240\u7528\u7535\u7ebf\u7684\u7535\u6d41\u5bb9\u91cf\u4e3a12A\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2 id=\"04\">4. \u5728\u4e07\u7528\u677f\u4e0a\u7684\u5b89\u88c5\u65b9\u6cd5<\/h2>\n<p>\u4e0b\u9762\u4e3a\u60a8\u4ecb\u7ecd\u5982\u4f55\u5c06\u7535\u8def\u5143\u5668\u4ef6\u5b89\u88c5\u5728\u4e07\u7528\u677f\u4e0a\u3002\u5e02\u573a\u4e0a\u6709\u5404\u79cd\u5f88\u65b9\u4fbf\u7684\u4e07\u7528\u7535\u8def\u677f\uff0c\u53ef\u4ee5\u63a5\u5165Raspberry Pi\u7684GPIO\u5f15\u811a\u5e76\u5b89\u88c5\u7535\u5b50\u5143\u5668\u4ef6\u3002\u6b64\u6b21\u6211\u4f7f\u7528\u7684\u662f\u79cb\u6708\u7535\u5b50\u9500\u552e\u7684\u201cRaspberry Pi\u7528\u7684\u4e07\u7528\u677f\u201d\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-28307\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/04\/coffee-maker-with-raspberry-pi-02-13.jpg\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" srcset=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/04\/coffee-maker-with-raspberry-pi-02-13.jpg 500w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/04\/coffee-maker-with-raspberry-pi-02-13.jpg 300w\" alt=\"coffee-maker-with-raspberry-pi-02-13\" width=\"500\" height=\"375\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>\u5728\u8fd9\u79cd\u4e07\u7528\u677f\u7684\u4e0a\u65b9\uff0c\u8bbe\u6709\u4e0eRaspberry Pi\u768440pin GPIO\u6392\u9488\u5bf9\u5e94\u7684\u9488\u5ea7\u3002\u5176\u4e0b\u65b9\u4e5f\u540c\u6837\u8bbe\u670940pin\u7684\u9488\u5ea7\uff0c\u7531\u4e8eGPIO\u6392\u9488\u5df2\u7ecf\u5b89\u88c5\u5728\u4e0a\u65b9\u9488\u5ea7\uff0c\u6240\u4ee5\u4e0b\u65b9\u9488\u5ea7\u53ef\u4ee5\u7528\u6765\u710a\u63a5\u7535\u7f06\u548c\u5143\u5668\u4ef6\u3002\u4e07\u7528\u677f\u7684\u5de6\u8fb9\u8bbe\u6709\u53ef\u4ee5\u63a5\u5165GND\u548c5V\u30013.3V\u7535\u6e90\u7ebf\u7684\u56fe\u6848\uff08\u767d\u6846\u5305\u56f4\u7684\u7ad6\u7ebf\uff09\u3002\u8fd9\u4e09\u5904\u662f\u6700\u5e38\u7528\u7684\uff0c\u800c\u4e14\u53ef\u4ee5\u591a\u6b21\u63d2\u62d4\uff0c\u975e\u5e38\u65b9\u4fbf\u3002\u4e07\u7528\u677f\u7684\u901a\u5b54\u5747\u5df2\u7535\u9540\uff0c\u56e0\u6b64\u5143\u5668\u4ef6\u548c\u5bfc\u7ebf\u7684\u710a\u63a5\u90fd\u975e\u5e38\u5bb9\u6613\u3002\u53e6\u5916\uff0c\u867d\u7136\u662f\u54c1\u8d28\u975e\u5e38\u597d\u7684\u4ea7\u54c1\uff0c\u4ef7\u683c\u5374\u53ea\u6709150\u65e5\u5143\u5de6\u53f3\uff0c\u5f88\u4fbf\u5b9c\u3002<\/p>\n<p>\u9996\u5148\uff0c\u8bf7\u770b\u4e0b\u56fe\uff0c\u56fe\u4e2d\u662f\u4e07\u7528\u7535\u8def\u677f\u8868\u9762\u7684\u5143\u5668\u4ef6\u914d\u7f6e\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-28308\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2023\/04\/coffee-maker-with-raspberry-pi-02-14.png\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" srcset=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2023\/04\/coffee-maker-with-raspberry-pi-02-14.png 750w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2023\/04\/coffee-maker-with-raspberry-pi-02-14-300x169.png 300w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2023\/04\/coffee-maker-with-raspberry-pi-02-14-640x360.png 640w\" alt=\"coffee-maker-with-raspberry-pi-02-14\" width=\"750\" height=\"422\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>\u4e3a\u4e86\u4f7fLED\u7684\u4f4d\u7f6e\u4e0e\u524d\u9762\u5236\u4f5c\u7684\u9762\u677f\u4e00\u81f4\uff0c\u6211\u662f\u5c06\u5f15\u811a\u5f2f\u66f2\u540e\u5b89\u88c5\u7684\u3002\u60a8\u5728\u5236\u4f5c\u7684\u65f6\u5019\uff0c\u6700\u597d\u5c06LED\u7684\u4f4d\u7f6e\u79fb\u5230\u4e07\u7528\u677f\u7684\u5de6\u4fa7\uff0c\u8fd9\u6837\u5c31\u4e0d\u5fc5\u5f2f\u66f2\u5f15\u811a\u4e86\uff0c\u603b\u4e4b\uff0c\u60a8\u53ef\u4ee5\u6839\u636e\u81ea\u5df1\u7684\u8bbe\u8ba1\u6765\u6539\u53d8LED\u7684\u4f4d\u7f6e\u3002<\/p>\n<p>LCD\u663e\u793a\u5668\u7684\u5b89\u88c5\u662f\u901a\u8fc7\u5728\u4e07\u7528\u677f\u4e0a\u5b89\u88c5\u4e00\u4e2a6P\u7684\u9488\u5ea7\uff0c\u7136\u540e\u5c06L\u578b\u6392\u9488\uff08\u5f2f\u6392\u9488\uff09\u63d2\u5165LCD\u7535\u8def\u677f\u6765\u8fde\u63a5\u7684\u3002\u4e3a\u4e86\u4f7fLCD\u663e\u793a\u5668\u7684\u4e0a\u90e8\u4e0d\u4e0b\u6c89\uff0c\u6211\u7528\u53cc\u9762\u80f6\u5728\u4e07\u7528\u677f\u4e0a\u7c98\u4e86\u4e00\u5757\u6d77\u7ef5\u6765\u8c03\u6574\u9ad8\u5ea6\uff0c\u7136\u540e\u5c06LCD\u5355\u5143\u653e\u5728\u4e0a\u9762\u3002<br \/>\n\u4e07\u7528\u677f\u80cc\u9762\u7684\u7167\u7247\u548c\u63a5\u7ebf\u56fe\u5982\u4e0b\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-28307\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2023\/04\/coffee-maker-with-raspberry-pi-02-15.jpg\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" srcset=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2023\/04\/coffee-maker-with-raspberry-pi-02-15.jpg 500w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2023\/04\/coffee-maker-with-raspberry-pi-02-15-300x225.jpg 300w\" alt=\"coffee-maker-with-raspberry-pi-02-13\" width=\"500\" height=\"375\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-28311\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2023\/04\/coffee-maker-with-raspberry-pi-02-16.png\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" srcset=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2023\/04\/coffee-maker-with-raspberry-pi-02-16.png 750w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2023\/04\/coffee-maker-with-raspberry-pi-02-16-300x93.png 300w\" alt=\"coffee-maker-with-raspberry-pi-02-17\" width=\"750\" height=\"233\" \/><\/p>\n<p>&nbsp;<br \/>\n\u4ece\u4e07\u7528\u677f\u80cc\u9762\u770b40P\u8fde\u63a5\u5668\u7684\u89c6\u56fe\u5982\u4e0b\u3002\u63a5\u7ebf\u65f6\u53ef\u4ee5\u7528\u5b83\u6765\u786e\u8ba4\u5f15\u811a\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-28311\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/04\/coffee-maker-with-raspberry-pi-02-17.png\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" srcset=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/04\/coffee-maker-with-raspberry-pi-02-17.png 750w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/04\/coffee-maker-with-raspberry-pi-02-17.png 300w\" alt=\"coffee-maker-with-raspberry-pi-02-17\" width=\"750\" height=\"233\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>\u63a5\u7ebf\u6211\u7528\u7684\u662f\u4e59\u70ef\u57fa\u7edd\u7f18\u7ebf\uff0c\u5bfc\u7ebf\u9009\u62e9\u7684\u5173\u952e\u5728\u4e8e\u201c\u8010\u70ed\u7edd\u7f18\u7ebf\u201d\u3002\u8010\u70ed\u578b\u5bfc\u7ebf\u4e0d\u4f1a\u56e0\u710a\u63a5\u8fc7\u7a0b\u4e2d\u7684\u70ed\u91cf\u800c\u4f7f\u7edd\u7f18\u5c42\u7194\u5316\u6216\u6536\u7f29\u3002\u6bd4\u5982\u5728\u79cb\u6708\u7535\u5b50\u548c\u5343\u77f3\u7535\u5546\u7b49\u96f6\u90e8\u4ef6\u5546\u5e97\u53ef\u4ee5\u4e70\u5230\u4e0b\u56fe\u4e2d\u7684\u5bfc\u7ebf\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-28312\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/04\/coffee-maker-with-raspberry-pi-02-18.jpg\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" srcset=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/04\/coffee-maker-with-raspberry-pi-02-18.jpg 500w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/04\/coffee-maker-with-raspberry-pi-02-18.jpg 300w\" alt=\"coffee-maker-with-raspberry-pi-02-18\" width=\"500\" height=\"375\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>\u63a5\u7ebf\u56fe\u4e2d\u7684\u5bfc\u7ebf\u989c\u8272\u4e0d\u540c\u53ea\u662f\u4e3a\u4e86\u66f4\u65b9\u4fbf\u67e5\u770b\uff0c\u60a8\u5728\u5b9e\u9645\u5236\u4f5c\u8fc7\u7a0b\u4e2d\u53ef\u4ee5\u9002\u5f53\u6539\u53d8\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2 id=\"05\">5. SSR\u7535\u8def\u677f\u548cAC100V\u7cfb\u7edf\u7684\u63a5\u7ebf<\/h2>\n<p>\u6700\u540e\uff0c\u6211\u6765\u4e3a\u5927\u5bb6\u4ecb\u7ecdSSR\u7535\u8def\u677f\u4e0eAC100V\u7cfb\u7edf\u7684\u63a5\u7ebf\u3002\u4e0b\u9762\u7684\u7167\u7247\u662f\u8fd9\u90e8\u5206\u7684\u653e\u5927\u56fe\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-28298\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2023\/04\/coffee-maker-with-raspberry-pi-02-04.jpg\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" srcset=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2023\/04\/coffee-maker-with-raspberry-pi-02-04.jpg 750w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2023\/04\/coffee-maker-with-raspberry-pi-02-04-300x169.jpg 300w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2023\/04\/coffee-maker-with-raspberry-pi-02-04-640x360.jpg 640w\" alt=\"coffee-maker-with-raspberry-pi-02-04\" width=\"750\" height=\"422\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>100VAC\u7cfb\u7edf\u7528\u7684\u7535\u7ebf\u7528\u624e\u5e26\u56fa\u5b9a\uff0c\u4ee5\u514d\u4ece\u58f3\u4f53\u4e2d\u62d4\u51fa\u6765\u3002\u4e3a\u4e86\u8ba9\u8d70\u7ebf\u770b\u8d77\u6765\u66f4\u6574\u9f50\uff0c\u6211\u7528\u4e86\u201c\u5f2f\u89d2\u63a5\u7ebf\u7247\u201d\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-28314\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/04\/coffee-maker-with-raspberry-pi-02-20.jpg\" sizes=\"auto, (max-width: 320px) 100vw, 320px\" srcset=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/04\/coffee-maker-with-raspberry-pi-02-20.jpg 320w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/04\/coffee-maker-with-raspberry-pi-02-20.jpg 300w\" alt=\"coffee-maker-with-raspberry-pi-02-20\" width=\"320\" height=\"240\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>\u7167\u7247\u4e2d\u662f4P\u7684\uff0c\u4f46\u7531\u4e8e\u6211\u53ea\u4f7f\u75281P\uff0c\u6240\u4ee5\u6211\u7528\u94b3\u5b50\u526a\u65ad\u4e86\u4e0d\u7528\u7684\u90e8\u5206\u3002\u58f3\u4f53\u4e0a\u6709\u53ef\u4ee5\u62e7\u87ba\u4e1d\u7684\u87ba\u67f1\uff0c\u53ef\u7528\u81ea\u653b\u87ba\u4e1d\u56fa\u5b9a\u3002\u5c06AC\u7535\u6e90\u7ebf\u710a\u63a5\u5728\u63a5\u7ebf\u7247\u7684\u4e0a\u5b54\u548c\u4e0b\u5b54\u4e0a\uff0c\u7528\u4f5c\u8fde\u63a5\u70b9\u3002\u7531\u4e8eAC100V\u90e8\u5206\u4f1a\u6d41\u8fc7\u8f83\u5927\u7535\u6d41\uff0c\u6240\u4ee5\u8bf7\u52a1\u5fc5\u5207\u5b9e\u53ef\u9760\u5730\u8fdb\u884c\u710a\u63a5\u548c\u63a5\u7ebf\u3002\u5728\u5916\u58f3\u6253\u5f00\u7684\u72b6\u6001\u4e0b\u901a\u7535\u65f6\u6709\u89e6\u7535\u7684\u5371\u9669\uff0c\u6240\u4ee5\u8bf7\u683c\u5916\u5c0f\u5fc3\u64cd\u4f5c\u3002<\/p>\n<p>SSR\u63a7\u5236\u5355\u5143\u548cRaspberry Pi\u7535\u8def\u677f\u4e4b\u95f4\u7684\u63a5\u7ebf\u9700\u8981\u4f7f\u7528\u9488\u5ea7\u3002\u6211\u7ecf\u5e38\u4f7f\u7528\u9488\u5ea7\u4f5c\u4e3a\u7b80\u5355\u7684\u63d2\u62d4\u8fde\u63a5\u5668\uff0c\u53ef\u4ee5\u5207\u5272\u6210\u6240\u9700\u9488\u6570\u7684\u201c\u53ef\u5206\u5272\u5f0f\u957f\u6b3e\u9488\u5ea7\u201d\u4f7f\u7528\u8d77\u6765\u975e\u5e38\u65b9\u4fbf\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-28315\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/04\/coffee-maker-with-raspberry-pi-02-21.jpg\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" srcset=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/04\/coffee-maker-with-raspberry-pi-02-21.jpg 500w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/04\/coffee-maker-with-raspberry-pi-02-21.jpg 300w\" alt=\"coffee-maker-with-raspberry-pi-02-21\" width=\"500\" height=\"375\" \/><\/p>\n<p>&nbsp;<\/p>\n<p> \u81f3\u4e8e\u4e07\u7528\u677f\uff0c\u5982\u672c\u6587\u5f00\u5934\u6240\u8ff0\uff0c\u8fd9\u5757\u4e07\u7528\u677f\u4e0a\u8bbe\u6709+5V\u548cGND\u7b49\u7ebf\u8def\u56fe\u6848\uff0c\u53ea\u8981\u5c06\u6392\u9488\u710a\u63a5\u5230\u76f8\u5e94\u7684\u56fe\u6848\u5373\u53ef\u8f7b\u677e\u83b7\u53d6\u76f8\u5e94\u7684\u4fe1\u53f7\u3002\u8fd9\u4e9b\u4e5f\u662f\u8fd9\u79cd\u4e07\u7528\u677f\u7684\u6613\u7528\u4eae\u70b9\u4e4b\u4e00\u3002<br \/>\n&nbsp;<\/p>\n<h2 id=\"06\">6. \u58f3\u4f53\u9762\u677f\u90e8\u5206\u7684\u52a0\u5de5<\/h2>\n<p>\u5728\u5916\u58f3\u7684\u76d6\u677f\u4e0a\uff0c\u6253\u4e86LCD\u6db2\u6676\u5355\u5143\u3001\u5fae\u52a8\u5f00\u5173\u548cLED\u7528\u7684\u5b54\u3002\u8fd9\u90e8\u5206\u4f1a\u6839\u636e\u5b89\u88c5\u5728\u5916\u58f3\u4e0a\u7684Raspberry Pi\u7684\u4f4d\u7f6e\u4ee5\u53ca\u5b89\u88c5\u5728\u4e07\u7528\u677f\u4e0a\u7684\u96f6\u90e8\u4ef6\u7684\u4f4d\u7f6e\u800c\u6709\u6240\u4e0d\u540c\u3002\u56e0\u6b64\uff0c\u6bd4\u8f83\u53ef\u9760\u7684\u505a\u6cd5\u662f\uff0c\u5728\u6240\u6709\u96f6\u90e8\u4ef6\u5b89\u88c5\u5b8c\u6bd5\u540e\uff0c\u518d\u6d4b\u91cf\u5b9e\u9645\u5c3a\u5bf8\u5e76\u786e\u5b9a\u6253\u5b54\u4f4d\u7f6e\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-28316\" src=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/04\/coffee-maker-with-raspberry-pi-02-22.jpg\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" srcset=\"https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/04\/coffee-maker-with-raspberry-pi-02-22.jpg 500w, https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/04\/coffee-maker-with-raspberry-pi-02-22.jpg 267w\" alt=\"coffee-maker-with-raspberry-pi-02-22\" width=\"500\" height=\"562\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>\u6b64\u5916\uff0c\u5916\u58f3\u80cc\u9762\u5e26\u6709\u9632\u6ed1\u6a61\u80f6\u811a\u57ab\u3002\u6700\u597d\u9009\u7528\u53ef\u4ee5\u7528\u53cc\u9762\u80f6\u7c98\u8d34\u7684\u811a\u57ab\u7c7b\u578b\uff0c\u8fd9\u6837\u6bd4\u8f83\u65b9\u4fbf\u3002<br \/>\n\u786c\u4ef6\u5b89\u88c5\u5230\u6b64\u7ed3\u675f\u3002\u53e6\u5916\uff0c\u5916\u58f3\u7b49\u7684\u9009\u62e9\u662f\u7075\u6d3b\u7684\uff0c\u6211\u4ecb\u7ecd\u7684\u53ea\u662f\u5176\u4e2d\u4e00\u4e2a\u4f8b\u5b50\u3002\u5e0c\u671b\u60a8\u4f7f\u7528\u81ea\u5df1\u559c\u6b22\u7684\u5916\u58f3\u4e0d\u53d7\u62d8\u675f\u5730\u5236\u4f5c\u5c5e\u4e8e\u81ea\u5df1\u7684\u4f5c\u54c1\u3002<\/p>\n<p>\u8fd9\u6b21\u6211\u4f7f\u7528\u7684\u96f6\u90e8\u4ef6\u6e05\u5355\u53ef\u4ee5\u70b9\u51fb\u4ee5\u4e0b\u94fe\u63a5\u4e0b\u8f7d\uff1a<\/p>\n<p><a href=\"https:\/\/deviceplus.jp\/wp-content\/uploads\/2021\/03\/coffee-maker-with-raspberrypi-02-parts-list.xlsx\" target=\"_blank\" rel=\"noopener\">\u4e0b\u8f7d\u6b64\u6b21\u4f7f\u7528\u7684\u96f6\u90e8\u4ef6\u6e05\u5355\uff0817KB\uff09<\/a><\/p>\n<p>\u5728\u4e0b\u4e00\u90e8\u5206\uff0c\u5c06\u4e3a\u60a8\u4ecb\u7ecd\u4f7f\u7528Python\u7f16\u5199\u7684\u88c5\u7f6e\u63a7\u5236\u7a0b\u5e8f\uff0c\u656c\u8bf7\u671f\u5f85\uff01<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 14pt;\"><strong>\u672c\u7cfb\u5217\u8fde\u8f7d\u7684\u5185\u5bb9<\/strong><\/span><\/p>\n<p>\u7b2c1\u90e8\u5206\uff1a<a href=\"https:\/\/techclass.wfjydl.com\/knowledge\/tech-info\/raspberry\/coffee-maker-with-raspberry-pi-01\/\">\u88c5\u7f6e\u6982\u51b5\u548c\u5496\u5561\u8403\u53d6<\/a><br \/>\n\u7b2c2\u90e8\u5206\uff1a\u786c\u4ef6\u5236\u4f5c\uff08\u672c\u6587\uff09<br \/>\n\u7b2c3\u90e8\u5206\uff1a\u4f7f\u7528Python\u5b8c\u6210\u63a7\u5236\u8f6f\u4ef6<br \/>\n\u7b2c4\u90e8\u5206\uff1a\u8fdc\u7a0b\u8bbe\u7f6e\u8f6f\u4ef6<\/p>\n<p><!-- single__author --><\/p>\n<div class=\"single__author\">\n<div class=\"single__author__avatar\">\n\t\t\t\t\t\t\t<img alt='' src='https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/04\/profile-ayatani-90x90-1.png' srcset='https:\/\/techclass.wfjydl.com\/wp-content\/uploads\/2026\/04\/profile-ayatani-90x90-1.png 2x' class='avatar avatar-90 photo' height='90' width='90' loading='lazy'\/>\t\t\t\t\t\t<\/div>\n<div class=\"single__author__description\">\n<h2><a itemprop=\"author\" href=\"https:\/\/deviceplus.jp\/author\/m-ayatani\/\">\u963f\u77e2\u8c37\u5145<\/a><\/h2>\n<p>\u5728\u4e00\u5bb6\u6d4b\u91cf\u4eea\u5668\u516c\u53f8\uff08\u7f51\u7edc\u8bbe\u5907\u4f9b\u5e94\u5546\uff09\u62c5\u4efb\u7cfb\u7edf\u5de5\u7a0b\u5e08\u3002\u76ee\u524d\u5728\u5404\u5a92\u4f53\u4e0a\uff0c\u9762\u5411\u559c\u6b22\u81ea\u5df1\u52a8\u624b\u5236\u4f5c\u7684\u7fa4\u4f53\u64b0\u5199\u548c\u53d1\u8868\u7535\u5b50\u4f5c\u54c1\u5236\u4f5c\u7c7b\u7684\u6587\u7ae0\u3002\u7231\u597d\u662f\u6f14\u594f\u53e4\u4e50\u5668\u548c\u7409\u7279\u7434\u3002\u73b0\u4efb\u65e5\u672c\u7409\u7279\u7434\u534f\u4f1a\u7406\u4e8b\u3002<\/p>\n<p><a href=\"http:\/\/lute.penne.jp\/thumbunder\/\" target=\"_blank\" rel=\"noopener\">http:\/\/lute.penne.jp\/thumbunder\/<\/a><\/p>\n<\/p><\/div>\n<\/p><\/div>\n<p>\t\t\t\t\t<!-- \/single__author --><\/p>\n","protected":false},"excerpt":{"rendered":"\u7b2c1\u90e8\u5206\uff1a\u88c5\u7f6e\u6982\u51b5\u548c\u5496\u5561\u8403\u53d6 &nbsp; \u5230\u76ee\u524d\u4e3a\u6b62\uff0cDevice Plus\u5df2\u7ecf\u4ecb\u7ecd\u8fc7\u5f88\u591a\u79cd\u4f7f\u7528Raspberry Pi\u7684\u7535\u5b50\u5236\u4f5c\uff0c\u672c\u7cfb\u5217\u4e5f\u540c\u6837\u662f\u975e\u5e38\u72ec\u7279\u7684\u3001\u800c\u4e14\u662f\u8f7b\u677e\u6109\u5feb\u7684\u7535\u5b50\u5236\u4f5c\u8fde\u8f7d\u3002\u8fd9\u6b21\u4e3a\u6211\u4eec\u5206\u4eab\u7684\u5609\u5bbe\u662f\u963f\u77e2\u8c37\u5145 [&hellip;]","protected":false},"author":4,"featured_media":22939,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1132],"tags":[],"class_list":["post-22919","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-raspberry"],"acf":[],"wps_subtitle":"","_links":{"self":[{"href":"https:\/\/techclass.wfjydl.com\/wp-json\/wp\/v2\/posts\/22919","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\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/techclass.wfjydl.com\/wp-json\/wp\/v2\/comments?post=22919"}],"version-history":[{"count":8,"href":"https:\/\/techclass.wfjydl.com\/wp-json\/wp\/v2\/posts\/22919\/revisions"}],"predecessor-version":[{"id":29392,"href":"https:\/\/techclass.wfjydl.com\/wp-json\/wp\/v2\/posts\/22919\/revisions\/29392"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techclass.wfjydl.com\/wp-json\/wp\/v2\/media\/22939"}],"wp:attachment":[{"href":"https:\/\/techclass.wfjydl.com\/wp-json\/wp\/v2\/media?parent=22919"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techclass.wfjydl.com\/wp-json\/wp\/v2\/categories?post=22919"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techclass.wfjydl.com\/wp-json\/wp\/v2\/tags?post=22919"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}