{"id":147,"date":"2018-11-28T15:31:51","date_gmt":"2018-11-28T06:31:51","guid":{"rendered":"https:\/\/clouds.ddo.jp\/wordpress\/?p=147"},"modified":"2018-11-28T15:31:51","modified_gmt":"2018-11-28T06:31:51","slug":"raspberry-pi%e3%81%ab%e3%83%aa%e3%83%ac%e3%83%bc%e3%83%9c%e3%83%bc%e3%83%89%e8%bf%bd%e5%8a%a0","status":"publish","type":"post","link":"https:\/\/clouds.ddo.jp\/wordpress\/?p=147","title":{"rendered":"Raspberry Pi\u306b\u30ea\u30ec\u30fc\u30dc\u30fc\u30c9\u8ffd\u52a0"},"content":{"rendered":"\n<p>Raspberry pi\u7528\u306e\u30ea\u30ec\u30fc\u30dc\u30fc\u30c9\u3092\u898b\u3064\u3051\u305f\u306e\u3067\u8cfc\u5165\u3057\u305f\u3002\u8cfc\u5165\u52d5\u6a5f\u306f\u5e38\u591c\u706f\u3092AM2:00\u307e\u3067\u70b9\u706f\u3057\u3066\u3044\u308b\u304cAM2:00\u4ee5\u964d\u306f\u771f\u3063\u6697\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u305f\u3081\u4e0d\u4fbf\u306b\u601d\u3063\u3066\u3044\u305f\u3053\u3068\u3060\u3002Raspberry Pi\u7528\u306eMyPi\u3068\u3044\u3046\u30b9\u30de\u30d5\u30a9\u30a2\u30d7\u30ea\u30b9\u30de\u30d5\u30a9\u30a2\u30d7\u30ea\u304c\u3042\u308a\u7c21\u5358\u306bRaspberry Pi\u306eGPIO\u3092ON\/OFF\u3067\u304d\u308b\u306e\u3067\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3067\u304d\u308b\u30ea\u30ec\u30fc\u304c\u3042\u308c\u3070\u30b9\u30de\u30d5\u30a9\u304b\u3089\u30e9\u30f3\u30d7\u306eON\/OFF\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308b\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"667\" src=\"https:\/\/clouds.ddo.jp\/wordpress\/wp-content\/uploads\/2018\/11\/Image1-1024x667.jpg\" alt=\"\" class=\"wp-image-148\" srcset=\"https:\/\/clouds.ddo.jp\/wordpress\/wp-content\/uploads\/2018\/11\/Image1.jpg 1024w, https:\/\/clouds.ddo.jp\/wordpress\/wp-content\/uploads\/2018\/11\/Image1-300x195.jpg 300w, https:\/\/clouds.ddo.jp\/wordpress\/wp-content\/uploads\/2018\/11\/Image1-768x500.jpg 768w, https:\/\/clouds.ddo.jp\/wordpress\/wp-content\/uploads\/2018\/11\/Image1-730x475.jpg 730w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>\u30ea\u30ec\u30fc\u30dc\u30fc\u30c9\u3092\u88c5\u7740\u3057\u305fRaspberry Pi<\/figcaption><\/figure>\n\n\n\n<p>Raspberry pi\u306bMyPi\u7528\u306e\u30b5\u30fc\u30d0\u30fc\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3001mypi.cfg\u3092\u30ea\u30ec\u30fc\u30dc\u30fc\u30c9\u306b\u5408\u308f\u305b\u8a2d\u5b9a\u3057\u305f\u3002OUT1\u306b\u9023\u52d5\u3059\u308bpin\u309235,2\u306f37,3\u306f38,4\u306f40\u306b\u8a2d\u5b9a\u3057\u3001INIT_LEVEL\u30921\u306b\u5909\u66f4\u3057\u305f\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u307e\u307e\u3060\u3068\u8d77\u52d5\u3057\u305f\u6642\u306b\u30ea\u30ec\u30fc\u304cON\u3057\u3066\u3057\u307e\u3046\u3002\u307e\u305fInput pins index\u306epin\u304c\u30c0\u30d6\u3089\u306a\u3044\u3088\u3046\u306b\u30c1\u30a7\u30c3\u30af\u3057\u305f\u3002\u30ab\u30e1\u30e9\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u7528\u306e\u30b5\u30fc\u30dc\u309212,33pin\u306b\u8a2d\u5b9a\u3057\u3066\u3044\u305f\u306e\u306740pin\u304c\u52dd\u624b\u306bON\/OFF\u3092\u7e70\u308a\u8fd4\u3059\u30c8\u30e9\u30d6\u30eb\u306b\u30cf\u30de\u3063\u305f\u304cmypi.cfg\u306e\u8a2d\u5b9a\u3092\u898b\u76f4\u3059\u3053\u3068\u3067\u89e3\u6c7a\u3067\u304d\u305f\u3002\u30ea\u30ec\u30fc\u3067\u52d5\u4f5c\u3055\u305b\u308b\u6a5f\u5668\u306f\u96fb\u6c60\u5185\u8535\u306eLED\u30e9\u30f3\u30d7\u3092\u4f7f\u3046\u3053\u3068\u306b\u3057\u305f\u3002\u30b9\u30de\u30d5\u30a9\u3067MyPi\u3092\u7acb\u3061\u4e0a\u3052Raspberry pi\u306b\u63a5\u7d9a\u3057\u3066Relay1\u3092ON\u306b\u3059\u308b\u3068LED\u30e9\u30f3\u30d7\u304cON\u3059\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3002VPN Server\u3082\u8a2d\u7f6e\u3057\u3066\u3044\u308b\u306e\u3067\u51fa\u5148\u304b\u3089\u3067\u3082ON\/OFF\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3002\u307e\u3060\uff12\u3064\u30ea\u30ec\u30fc\u304c\u7a7a\u3044\u3066\u3044\u308b\u306e\u3067\u4f55\u304b\u3092\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u305f\u3044\u3068\u601d\u3046\u3002node-red\u3092\u4f7f\u3063\u305f\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3082\u53ef\u80fd\u306a\u306e\u3067\u5f53\u5206\u904a\u3079\u308b\u3002<br><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" src=\"https:\/\/clouds.ddo.jp\/wordpress\/wp-content\/uploads\/2018\/11\/2018-11-28-15.00-1024x768.jpg\" alt=\"\" class=\"wp-image-149\" srcset=\"https:\/\/clouds.ddo.jp\/wordpress\/wp-content\/uploads\/2018\/11\/2018-11-28-15.00.jpg 1024w, https:\/\/clouds.ddo.jp\/wordpress\/wp-content\/uploads\/2018\/11\/2018-11-28-15.00-300x225.jpg 300w, https:\/\/clouds.ddo.jp\/wordpress\/wp-content\/uploads\/2018\/11\/2018-11-28-15.00-768x576.jpg 768w, https:\/\/clouds.ddo.jp\/wordpress\/wp-content\/uploads\/2018\/11\/2018-11-28-15.00-730x548.jpg 730w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>\u5185\u90e8\u304b\u3089\u30ea\u30ec\u30fc\u3067ON\/OFF\u3067\u304d\u308b\u3088\u3046\u306b\u7dda\u3092\u51fa\u3057\u305f\u3002<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"577\" height=\"1024\" src=\"https:\/\/clouds.ddo.jp\/wordpress\/wp-content\/uploads\/2018\/11\/2018-11-28-14.32.30-577x1024.png\" alt=\"\" class=\"wp-image-150\" srcset=\"https:\/\/clouds.ddo.jp\/wordpress\/wp-content\/uploads\/2018\/11\/2018-11-28-14.32.30-577x1024.png 577w, https:\/\/clouds.ddo.jp\/wordpress\/wp-content\/uploads\/2018\/11\/2018-11-28-14.32.30-169x300.png 169w, https:\/\/clouds.ddo.jp\/wordpress\/wp-content\/uploads\/2018\/11\/2018-11-28-14.32.30.png 640w\" sizes=\"auto, (max-width: 577px) 100vw, 577px\" \/><figcaption>MyPi\u3000Connect\u3059\u308c\u3070Relay1,2,3,4\u304c\u30ea\u30ec\u30fc\u30dc\u30fc\u30c9\u306eRelayCH1\uff5eCH4\u306b\u5bfe\u5fdc\u3059\u308b\u3002<\/figcaption><\/figure>\n\n\n\n<p><br><\/p>\n\n\n\n<p><br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Raspberry pi\u7528\u306e\u30ea\u30ec\u30fc\u30dc\u30fc\u30c9\u3092\u898b\u3064\u3051\u305f\u306e\u3067\u8cfc\u5165\u3057\u305f\u3002\u8cfc\u5165\u52d5\u6a5f\u306f\u5e38\u591c\u706f\u3092AM2:00\u307e\u3067\u70b9\u706f\u3057\u3066\u3044\u308b\u304cAM2:00\u4ee5\u964d\u306f\u771f\u3063\u6697\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u305f\u3081\u4e0d\u4fbf\u306b\u601d\u3063\u3066\u3044\u305f\u3053\u3068\u3060\u3002Raspberry Pi\u7528\u306eMyPi\u3068\u3044\u3046 &#8230;<\/p>\n<p><a href=\"https:\/\/clouds.ddo.jp\/wordpress\/?p=147\" class=\"more-link\">Continue reading &lsquo;Raspberry Pi\u306b\u30ea\u30ec\u30fc\u30dc\u30fc\u30c9\u8ffd\u52a0&rsquo; &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-147","post","type-post","status-publish","format-standard","hentry","category-2"],"_links":{"self":[{"href":"https:\/\/clouds.ddo.jp\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/147","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/clouds.ddo.jp\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/clouds.ddo.jp\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/clouds.ddo.jp\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/clouds.ddo.jp\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=147"}],"version-history":[{"count":1,"href":"https:\/\/clouds.ddo.jp\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/147\/revisions"}],"predecessor-version":[{"id":151,"href":"https:\/\/clouds.ddo.jp\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/147\/revisions\/151"}],"wp:attachment":[{"href":"https:\/\/clouds.ddo.jp\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=147"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/clouds.ddo.jp\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=147"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/clouds.ddo.jp\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=147"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}