{"id":749,"date":"2020-08-14T02:35:39","date_gmt":"2020-08-13T18:35:39","guid":{"rendered":"https:\/\/aichh.com\/?p=749"},"modified":"2020-08-22T03:55:54","modified_gmt":"2020-08-21T19:55:54","slug":"%e6%a0%91%e8%8e%93%e6%b4%beraspberry-pi-zero-w%e4%b8%8a%e6%89%8b","status":"publish","type":"post","link":"https:\/\/aichh.com\/749.html","title":{"rendered":"\u6811\u8393\u6d3eraspberry pi zero w\u4e0a\u624b"},"content":{"rendered":"<!--wp-compress-html--><!--wp-compress-html no compression--><div>\n<p>raspberry pi zero w\u662fraspberry pi zero\u7684\u5347\u7ea7\u6b3e\uff0c\u4e24\u8005\u914d\u7f6e\u51e0\u4e4e\u4e00\u6a21\u4e00\u6837\u3002\u6240\u4e0d\u540c\u7684\u662f\uff0c<strong>w\u4ee3\u6307wireless\uff0c\u524d\u8005\u4e0d\u4ec5\u591a\u4e86wifi\u6a21\u5757\uff0c\u8fd8\u591a\u4e86\u84dd\u72594.1\u6a21\u5757\uff0c\u5927\u5927\u589e\u5f3a\u4e86\u4e92\u8054\u4e92\u901a\u7684\u80fd\u529b\u3002<\/strong>\u521d\u4ee3zero\u592a\u5751\uff0c\u8054\u7f51\u5de8\u9ebb\u70e6\uff0c\u56e0\u6b64\u65b0\u6b3ewireless\u7248\u752b\u4e00\u95ee\u4e16\uff0c\u5c31\u9500\u552e\u4e00\u7a7a\uff0c10\u7f8e\u5143\u7684\u539f\u4ef7\u6dd8\u5b9d\u5df2\u7ecf\u7092\u5230200+\uff0c\u8fd8\u9650\u8d2d\u2026\u2026zero w\u7684\u53d7\u6b22\u8fce\u7a0b\u5ea6\u53ef\u89c1\u4e00\u6591\u3002<br \/>\n\u5148\u770b\u4e00\u4e0bzero w\u7684<a href=\"https:\/\/link.jianshu.com?t=https:\/\/www.raspberrypi.org\/products\/pi-zero-w\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\u786c\u4ef6\u914d\u7f6e<\/a>\uff1a<\/p>\n<div class=\"image-package\">\n<div class=\"image-container\"><\/div>\n<div class=\"image-caption\"><\/div>\n<\/div>\n<h3>1\u3001\u5236\u4f5c\u542f\u52a8\u7cfb\u7edf<\/h3>\n<p>\u7cfb\u7edf\u53ef\u4ee5\u5728raspberry<a href=\"https:\/\/link.jianshu.com?t=https:\/\/www.raspberrypi.org\/downloads\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\u5b98\u7f51<\/a>\u4e0a\u4e0b\u8f7d\uff0c\u6709\u597d\u591a\u53ef\u4ee5\u9009\u62e9\u3002<\/p>\n<p>\u4e2a\u4eba\u5efa\u8bae\u5c31\u9009raspbian\u5c31\u53ef\u4ee5\uff0c\u8fd9\u6b3e\u7cfb\u7edf\u53c8\u6709\u4e24\u4e2a\u7248\u672c\u201cRASPBIAN JESSIE WITH PIXEL\u201d\u548c\u201cRASPBIAN JESSIE LITE\u201d\u3002\u540e\u8005\u662f\u524d\u8005\u7684\u7cbe\u7b80\u7248\uff0c\u8981\u662f\u6ca1\u6709\u8fde\u63a5\u663e\u793a\u5668\u7684\u8981\u6c42\uff0c\u8bf7\u5b89\u88c5\u540e\u8005\u3002zero w\u786c\u4ef6\u914d\u7f6e\u4e0d\u9ad8\uff0c\u5efa\u8bae\u9009\u62e9\u540e\u8005\u3002<br \/>\n\u503c\u5f97\u8bf4\u660e\u7684\u662f\uff0c\u4e0b\u8f7d\u65f6\u6700\u597d\u9009\u62e9utorrent\u4e0b\u8f7d\uff0c\u8fd9\u6837\u4e0b\u8f7d\u901f\u5ea6\u4f1a\u5feb\u4e00\u4e9b\u3002<\/p>\n<p>\u6811\u8393\u6d3e\u4f9d\u9760SD\u5361\u5185\u7684\u7cfb\u7edf\u542f\u52a8\uff0c\u5982\u679c\u4e0d\u63d2\u5165SD\u5361\uff0c\u4e0a\u7535\u4e4b\u540e\uff0c\u4ec0\u4e48\u53cd\u5e94\u90fd\u6ca1\u6709\u2026\u2026<br \/>\nwindows\u4e0b\u5c06\u7cfb\u7edf\u5199\u5165SD\u5361\u8981\u7528\u5230<a href=\"https:\/\/link.jianshu.com?t=https:\/\/sourceforge.net\/projects\/win32diskimager\/files\/Archive\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Win32DiskImager<\/a>\u3002<\/p>\n<p>1\u3001\u89e3\u538b\u4e0b\u8f7d\u7684\u7cfb\u7edf\uff0c\u5e94\u8be5\u4f1a\u51fa\u73b0\u4e00\u4e2axxxx.img\u7684\u6587\u4ef6\uff0c\u5c06\u5176\u79fb\u52a8\u5230\u4e0d\u5e26\u4e2d\u6587\u7684\u8def\u5f84\u4e0b<\/p>\n<p>2\u3001\u6253\u5f00Win32DiskImager\u9009\u62e9\u6b64img\u6587\u4ef6\uff0c\u5e76\u9009\u62e9\u9700\u8981\u5199\u5165\u7684SD\u5361<\/p>\n<p>3\u3001\u70b9\u51fbwrite\uff0c\u7b49\u5f85\u5199\u5165\u5b8c\u6210<\/p>\n<\/div>\n<p>&nbsp;<\/p>\n<h3>2\u3001\u914d\u7f6ewifi\u548cSSH<\/h3>\n<p>1\u3001\u5728SD\u5361\u4e2d\u65b0\u5efa\u6587\u4ef6\uff0c\u547d\u540d\u4e3awpa_supplicant.conf\uff0c\u8f93\u5165\u5982\u4e0b\u5185\u5bb9\u5e76\u4fdd\u5b58\u3002<\/p>\n<pre>country=CN\r\nctrl_interface=DIR=\/var\/run\/wpa_supplicant GROUP=netdev\r\nupdate_config=1\r\n\r\nnetwork={\r\n        ssid=\"guest\"\r\n        psk=\"88888888\"\r\n        key_mgmt=WPA-PSK\r\n        priority=1\r\n}<\/pre>\n<p>2\u3001\u5728SD\u5361\u4e2d\u65b0\u5efa\u6587\u4ef6\uff0c\u547d\u540d\u4e3assh\uff0c\u5185\u5bb9\u4e3a\u7a7a\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>3\u3001\u5c06SD\u5361\u63d2\u5165RPI\uff0c\u8fde\u63a5\u7535\u6e90\u7ebf\u3002<\/p>\n<p>4\u3001\u767b\u5f55\u8def\u7531\u5668\u627e\u5230raspberry\u7684IP\u5730\u5740<\/p>\n<div>\n<h3>3\u3001\u4f7f\u80fd\u4e32\u53e3\u8c03\u8bd5<\/h3>\n<p><strong>\u521d\u6b21\u4f7f\u7528\u6811\u8393\u6d3e\uff0c\u662f\u65e0\u6cd5\u76f4\u63a5\u8054\u7f51\u7684\uff0c\u56e0\u6b64\u5982\u679c\u4e0d\u60f3\u8fde\u63a5\u663e\u793a\u5668\u8fdb\u884c\u8bbe\u7f6e\uff0c\u53ef\u4ee5\u5f00\u542f\u4e32\u53e3\u8c03\u8bd5\uff0c\u6548\u679c\u548cssh\u662f\u4e00\u6837\u7684\u3002<\/strong><br \/>\n\u5bf9\u65b0\u5199\u5165\u7684\u7cfb\u7edf\uff0c\u9700\u8981\u5728config.txt \u5185\u6700\u540e\u4e00\u884c\u52a0\u5165\u5f00\u542f\u4e32\u53e3\u8c03\u8bd5\u7684\u547d\u4ee4<\/p>\n<pre>enable_uart=1<\/pre>\n<p>\u6811\u8393\u6d3ezero w\u7684\u7ba1\u811a\u5982\u56fe\u6240\u793a\uff0c\u9760\u8fd1SD\u5361\u7684\u4e3a\u7b2c1\u811a\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/aichh.com\/wp-content\/uploads\/2019\/09\/1570675137-2074-gpio.png\" alt=\"\u6811\u8393\u6d3eraspberry pi zero w\u4e0a\u624b \u7ecf\u9a8c\u6559\u7a0b \u7b2c1\u5f20\" title=\"\u6811\u8393\u6d3eraspberry pi zero w\u4e0a\u624b \u7ecf\u9a8c\u6559\u7a0b \u7b2c1\u5f20-AiCHH Ideas\" ><\/p>\n<p>\u89c2\u5bdf\u6b64\u56fe\u53ef\u77e5\uff0c\u53f3\u5217\u7684\u7b2c3\u30014\u30015\u4e2a\u7aef\u53e3\u5206\u522b\u4e3aGND\u3001TxD\u3001RxD\u3002<\/p>\n<\/div>\n<div><strong>\u914d\u7f6eWIF \u7f16\u8f91\u6587\u4ef6\uff1a<\/strong>\/etc\/wpa_supplicant\/wpa_supplicant.conf \uff0c\u8f93\u5165\u4ee5\u4e0b\u5185\u5bb9<\/div>\n<div>\n<pre>country=CN\r\nctrl_interface=DIR=\/var\/run\/wpa_supplicant GROUP=netdev\r\nupdate_config=1\r\n\r\nnetwork={\r\n        ssid=\"ACT\"\r\n        psk=\"12345678987654321\"\r\n        key_mgmt=WPA-PSK\r\n        priority=5\r\n}<\/pre>\n<\/div>\n<div>\n<h3>\u5f00\u542fSSH<\/h3>\n<p>raspberry pi\u7684\u7cfb\u7edf\u8bbe\u7f6e\u53ef\u5f00\u542fssh\uff0c\u547d\u4ee4\u662f<a href=\"https:\/\/link.jianshu.com?t=https:\/\/www.raspberrypi.org\/documentation\/configuration\/raspi-config.md\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">raspi-config<\/a>\uff0c\u9700\u8981\u4ee5\u7ba1\u7406\u5458\u6743\u9650\u8fd0\u884c\u3002<br \/>\nraspbian\u662f\u4ee5Debian\u4e3a\u57fa\u7840\u7684Linux\uff0c\u56e0\u6b64\u64cd\u4f5c\u8d77\u6765\u548cUbuntu\u6bd4\u8f83\u50cf\uff0croot\u6743\u9650\u8fd0\u884c\u9700\u8981\u5728\u524d\u9762\u52a0sudo\u3002<\/p>\n<pre>sudo raspi-config<\/pre>\n<div class=\"image-package\">\n<div class=\"image-container\">\n<div class=\"image-view\" data-width=\"642\" data-height=\"263\"><img decoding=\"async\" src=\"https:\/\/aichh.com\/wp-content\/uploads\/2020\/08\/4042504-2093d440bb1a2851.webp\" alt=\"\u6811\u8393\u6d3eraspberry pi zero w\u4e0a\u624b \u7ecf\u9a8c\u6559\u7a0b \u7b2c2\u5f20\" title=\"\u6811\u8393\u6d3eraspberry pi zero w\u4e0a\u624b \u7ecf\u9a8c\u6559\u7a0b \u7b2c2\u5f20-AiCHH Ideas\" ><\/div>\n<\/div>\n<\/div>\n<div class=\"image-package\">\n<div class=\"image-container\">\n<div class=\"image-view\" data-width=\"622\" data-height=\"361\"><img decoding=\"async\" src=\"https:\/\/aichh.com\/wp-content\/uploads\/2020\/08\/4042504-eb9dfb6af24eb3a8.webp\" alt=\"\u6811\u8393\u6d3eraspberry pi zero w\u4e0a\u624b \u7ecf\u9a8c\u6559\u7a0b \u7b2c3\u5f20\" title=\"\u6811\u8393\u6d3eraspberry pi zero w\u4e0a\u624b \u7ecf\u9a8c\u6559\u7a0b \u7b2c3\u5f20-AiCHH Ideas\" ><\/div>\n<div data-width=\"622\" data-height=\"361\"><img decoding=\"async\" src=\"https:\/\/aichh.com\/wp-content\/uploads\/2020\/08\/4042504-6e393f2b4051a2aa.webp\" alt=\"\u6811\u8393\u6d3eraspberry pi zero w\u4e0a\u624b \u7ecf\u9a8c\u6559\u7a0b \u7b2c4\u5f20\" title=\"\u6811\u8393\u6d3eraspberry pi zero w\u4e0a\u624b \u7ecf\u9a8c\u6559\u7a0b \u7b2c4\u5f20-AiCHH Ideas\" ><\/div>\n<\/div>\n<\/div>\n<\/div>\n<!--wp-compress-html no compression--><!--wp-compress-html-->","protected":false},"excerpt":{"rendered":"raspberry pi zero w\u662fraspberry pi zero\u7684\u5347\u7ea7\u6b3e\uff0c\u4e24\u8005\u914d\u7f6e\u51e0\u4e4e\u4e00\u6a21\u4e00\u6837\u3002\u6240\u4e0d\u540c\u7684\u662f\uff0cw\u4ee3\u6307wireless\uff0c\u524d\u8005\u4e0d\u4ec5\u591a\u4e86wifi\u6a21\u5757\uff0c\u8fd8\u591a\u4e86\u84dd\u72594.1\u6a21\u5757\uff0c\u5927\u5927\u589e\u5f3a\u4e86 \u00b7\u00b7\u00b7","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[175,174,176],"class_list":["post-749","post","type-post","status-publish","format-standard","hentry","category-jiaocheng","tag-pi","tag-raspberry","tag-zero"],"views":454,"_links":{"self":[{"href":"https:\/\/aichh.com\/api\/wp\/v2\/posts\/749","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aichh.com\/api\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aichh.com\/api\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aichh.com\/api\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aichh.com\/api\/wp\/v2\/comments?post=749"}],"version-history":[{"count":5,"href":"https:\/\/aichh.com\/api\/wp\/v2\/posts\/749\/revisions"}],"predecessor-version":[{"id":763,"href":"https:\/\/aichh.com\/api\/wp\/v2\/posts\/749\/revisions\/763"}],"wp:attachment":[{"href":"https:\/\/aichh.com\/api\/wp\/v2\/media?parent=749"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aichh.com\/api\/wp\/v2\/categories?post=749"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aichh.com\/api\/wp\/v2\/tags?post=749"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}