
{"id":5166,"date":"2016-10-26T18:07:51","date_gmt":"2016-10-26T09:07:51","guid":{"rendered":"https:\/\/okiraku-camera.tokyo\/blog\/?p=5166"},"modified":"2016-10-27T11:59:12","modified_gmt":"2016-10-27T02:59:12","slug":"arduino-pro-mini-led%e3%82%92%e5%a4%96%e3%81%97%e3%81%a6%e7%9c%81%e9%9b%bb%e5%8a%9b%e5%8c%96","status":"publish","type":"post","link":"https:\/\/okiraku-camera.tokyo\/blog\/?p=5166","title":{"rendered":"Arduino PRO MINI LED\u3092\u5916\u3057\u3066\u7701\u96fb\u529b\u5316"},"content":{"rendered":"<h2>\u6982\u8981<\/h2>\n<p>\u3061\u3087\u3063\u3068\u524d\u306b\u3001\u300c<a href=\"https:\/\/okiraku-camera.tokyo\/blog\/?p=5105\">Arduino PRO MINI \u30b9\u30ea\u30fc\u30d7\u30e2\u30fc\u30c9\u3068\u6d88\u8cbb\u96fb\u6d41<\/a>\u300d\u3068\u3044\u3046\u8a71\u3067 PRO MINI\u306ePower On LED\u304c\u6570\u767e\u03bc\uff5e\u6570mA\u6d88\u8cbb\u3057\u3066\u3044\u308b\u3053\u3068\u304c\u6e2c\u5b9a\u3057\u3066\u5206\u304b\u3063\u305f\u306e\u3060\u3051\u3069\u3001\u7279\u306b\u6d88\u8cbb\u96fb\u529b\u304c\u5927\u304d\u304b\u3063\u305f\u65b9\u306e\u4e2d\u83ef\u30dc\u30fc\u30c9 \u306e The Simple (Arduino PRO MINI\u3067\u3042\u308b\u3053\u3068\u306b\u5909\u308f\u308a\u306f\u306a\u3044\uff09\u304b\u3089PON LED\u306e\u76f4\u5217\u62b5\u6297\u3092\u5916\u3057LED\u304c\u70b9\u304b\u306a\u3044\u3088\u3046\u306b\u3057\u305f\u3002<\/p>\n<figure id=\"attachment_5136\" aria-describedby=\"caption-attachment-5136\" style=\"width: 552px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2016\/10\/8ba500034dcebf26a6124baf47bf6bdd.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-5136\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2016\/10\/8ba500034dcebf26a6124baf47bf6bdd-552x414.jpg\" alt=\"Arduino PRO MINI\" width=\"552\" height=\"414\" \/><\/a><figcaption id=\"caption-attachment-5136\" class=\"wp-caption-text\">The Simple<\/figcaption><\/figure>\n<p>\u4e2d\u592e\u5de6\u5074\u3067\u5149\u3063\u3066\u3044\u308b\u306e\u304cPower On LED\u306b\u306a\u308b\u3002\u53f3\u7aef\u306eLED\u306f\u3001I\/O\u30dd\u30fc\u30c8\u306eD13\u306b\u63a5\u7d9a\u3055\u308c\u3066\u3044\u308b\u30aa\u30f3\u30dc\u30fc\u30c9LED\u3002<br \/>\n\u30a2\u30de\u30be\u30f3\u3092\u898b\u3066\u307f\u305f\u3089\u3001\u73fe\u5728\u306e\u4fa1\u683c\u306f336\u5186\uff08\u9001\u6599\u8fbc\uff09\u306b\u306a\u3063\u3066\u3044\u305f\u3002\u3069\u3046\u306a\u3063\u3066\u3044\u308b\u3093\u3060\u308d\u3046\u304b\u3002<\/p>\n<h3>Power On LED\u90e8\u5206<\/h3>\n<p>\u4ee5\u4e0b\u306e2\u679a\u306e\u5199\u771f\u306f\u3001Olympus AIR A01\u3068MZD60mm\u30de\u30af\u30ed\u30ec\u30f3\u30ba\u3092\u4f7f\u3063\u3066\u307b\u307c\u7b49\u500d\u3067\u64ae\u5f71\u3057\u3001\u540c\u3058\u4f4d\u7f6e\u306b\u306a\u308b\u3088\u3046\u306b\u5207\u308a\u51fa\u3057\u305f\u3082\u306e\u3002<\/p>\n<figure id=\"attachment_5167\" aria-describedby=\"caption-attachment-5167\" style=\"width: 552px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2016\/10\/8410d76bd4dffd367c577a52d30b320a.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-5167\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2016\/10\/8410d76bd4dffd367c577a52d30b320a-552x414.jpg\" alt=\"A PRO MINI The Simple\" width=\"552\" height=\"414\" \/><\/a><figcaption id=\"caption-attachment-5167\" class=\"wp-caption-text\">PON LED\u3092\u5916\u3059\u524d<\/figcaption><\/figure>\n<p>\u4e2d\u592e\u90e8\u306e\u767d\u3044\u9577\u65b9\u5f62\u306e\u90e8\u6750\u304cPON LED\u3067\u3001\u96fb\u6d41\u3092\u901a\u3059\u3068\u8d64\u304f\u307e\u3076\u3057\u304f\u5149\u308b\u3002\u305d\u306e\u4e0b\u306e <em>102<\/em>\u00a0\u3068\u66f8\u304b\u308c\u3066\u3044\u308b\u30c1\u30c3\u30d7\u62b5\u6297\u304cLED\u306e\u76f4\u5217\u62b5\u6297\u3060\u308d\u3046\u3002SparkFun\u793e\u304c\u516c\u958b\u3057\u3066\u3044\u308b\u56de\u8def\u56f3\u3067\u306f10k\u03a9\u306a\u306e\u3060\u304c\u3001The Simple\u306b\u306f 1k\u03a9\u304c\u3064\u3044\u3066\u3044\u308b\u3002<\/p>\n<figure id=\"attachment_5168\" aria-describedby=\"caption-attachment-5168\" style=\"width: 552px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2016\/10\/523d4ba938a235ca48a70ac70de743a2.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-5168\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2016\/10\/523d4ba938a235ca48a70ac70de743a2-552x414.jpg\" alt=\"A PRO MINI The Simple\" width=\"552\" height=\"414\" \/><\/a><figcaption id=\"caption-attachment-5168\" class=\"wp-caption-text\">PON LED\u3092\u5916\u3057\u305f\u5f8c<\/figcaption><\/figure>\n<p>\u8a72\u5f53\u306e\u62b5\u6297\u3092\u30d4\u30f3\u30bb\u30c3\u30c8\u3067\u62bc\u3057\u306a\u304c\u3089\u30cf\u30f3\u30c0\u30b4\u30c6\u3092\u3042\u3066\u3001\u76f4\u5217\u62b5\u6297\u3092\u5916\u3057\u305f\u3002\u5916\u3057\u305f\u3001\u3068\u3044\u3046\u3088\u308a\u5272\u3063\u305f\u3068\u3044\u3046\u3079\u304d\u304b\u3002\u82e5\u5e72\u50b7\u304c\u3064\u3044\u305f\u304c\u75db\u304f\u3082\u304b\u3086\u304f\u3082\u306a\u3044\u7a0b\u5ea6\u3002\u4e0b\u306e\u65b9\u306e\u3001\u9ec4\u8272\u3044\u30b3\u30f3\u30c7\u30f3\u30b5\u306e\u4e0b\u306b\u308f\u305a\u304b\u306b\u898b\u3048\u3066\u3044\u308b\u7834\u7247\u306f\u9664\u53bb\u3057\u305f\u3002<\/p>\n<h2>\u6d88\u8cbb\u96fb\u6d41\u306e\u6e2c\u5b9a<\/h2>\n<p>PRO MINI\u306b\u306f\u3001\u6700\u8fd1\u51fa\u756a\u306e\u306a\u3044Arduino ADK\u304b\u3089\u30c6\u30b9\u30bf\u30fc\u3092\u4ecb\u3057\u3066+5V\u3092\u4e0e\u3048\u3001\u96fb\u6d41\u5024\u3092\u8aad\u3081\u308b\u3088\u3046\u306b\u3057\u305f\u3002\u305d\u3057\u3066\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u7c21\u5358\u306a\u30b9\u30b1\u30c3\u30c1\u3092\u4f7f\u3063\u305f\u3002<\/p>\n<pre class=\"lang:c++ decode:true\">#include &lt;avr\/sleep.h&gt;\r\n#define START_MSG String(__FILE__) + \" start.\"\r\n#define RED_LED 13\r\n\r\nvoid setup() {\r\n Serial.begin(115200);\r\n Serial.println(START_MSG);\r\n pinMode(13, OUTPUT);\r\n digitalWrite(13, 0);\r\n set_sleep_mode(SLEEP_MODE_PWR_DOWN);\r\n sleep_mode();\r\n}\r\nvoid loop() {\r\n  delay(1000);\r\n}\r\n<\/pre>\n<p>9\u884c\u76ee\u306e\u30aa\u30f3\u30dc\u30fc\u30c9LED\u3092\u3064\u3051\u305f\u307e\u307e\u306b\u3057\u305f\u308a\u300111\u884c\u76ee\u306esleep_mode(); \u3092\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3057\u305f\u308a\u3057\u306a\u304c\u3089\u3001\u4f55\u5ea6\u304b\u96fb\u6d41\u5024\u3092\u8aad\u3093\u3067\u307f\u305f\u3002<\/p>\n<h3>\u6e2c\u5b9a\u7d50\u679c<\/h3>\n<ul>\n<li>\u901a\u5e38\u52d5\u4f5c\u6642\uff1a17.2mA<\/li>\n<li>SLEEP_MODE_PWR_DOWN : 0.27mA<\/li>\n<li>SLEEP_MODE_PWR_DOWN : 3.33mA\u00a0(\u30aa\u30f3\u30dc\u30fc\u30c9LED ON)<\/li>\n<\/ul>\n<p>\u30b9\u30ea\u30fc\u30d7\u6642\u306b\u6d41\u308c\u308b\u96fb\u6d41\u306f\u3001\u308f\u305a\u304b270\u03bcA\u306b\u306a\u3063\u305f\u3002\u30aa\u30f3\u30dc\u30fc\u30c9LED\u3092ON\u306b\u3057\u305f\u3068\u304d\u3068\u306e\u96fb\u6d41\u5dee\u3092\u898b\u308c\u3070\u3001\u5e38\u6642\u70b9\u706f\u3059\u308bPON LED\u3092\u5916\u3057\u305f\u3053\u3068\u306b\u3088\u308b\u7bc0\u96fb\u52b9\u679c\u306f\u660e\u3089\u304b\u3002<br \/>\n\u306a\u304a\u3001\u524d\u56de\uff08PON LED\u304c\u3042\u3063\u305f\u3068\u304d\uff09\u306e\u7d50\u679c\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u305f\u3002<\/p>\n<ul>\n<li>\u901a\u5e38\u52d5\u4f5c\u6642\uff1a22.4mA<\/li>\n<li>SLEEP_MODE_PWR_DOWN : 3.6mA<\/li>\n<li>SLEEP_MODE_PWR_DOWN : 6.8mA\u00a0(LED ON)<\/li>\n<\/ul>\n<p>\u524d\u56de\u306f\u3001PON LED\u3092\u5916\u3059\u3053\u3068\u30673.2mA\u6539\u5584\u3059\u308b\u3068\u4e88\u60f3\u3057\u3001\u30b9\u30ea\u30fc\u30d7\u6642\u306b\u306f0.4mA\u7a0b\u5ea6\u3060\u308d\u3046\u3068\u4e88\u60f3\u3057\u3066\u3044\u305f\u3002\u5b9f\u969b\u306b\u5916\u3057\u3066\u307f\u308b\u30680.27mA\u3068\u306a\u308a\u4e88\u60f3\u3092\u4e0a\u56de\u3063\u305f\u3002\u5b89\u7269\u306e\u30c6\u30b9\u30bf\u30fc\u3092\u631f\u3093\u3060\u3060\u3051\u306a\u306e\u3067\u3001\u3042\u307e\u308a\u6b63\u78ba\u3068\u306f\u601d\u3048\u306a\u3044\u304c\u3002<\/p>\n<h2>\u64ae\u5f71\u98a8\u666f<\/h2>\n<p>\u4eca\u56de\u306f\u6c17\u304c\u5411\u3044\u3066Olympus AIR A01\u3092\u4f7f\u3063\u305f\u3002<\/p>\n<figure id=\"attachment_5172\" aria-describedby=\"caption-attachment-5172\" style=\"width: 414px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2016\/10\/7a7eb6247ddfb441a181f69e56d15b88.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-5172\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2016\/10\/7a7eb6247ddfb441a181f69e56d15b88-414x552.jpg\" alt=\"AIR A01\" width=\"414\" height=\"552\" \/><\/a><figcaption id=\"caption-attachment-5172\" class=\"wp-caption-text\">AIR A01 + MZD60mm F2.8<\/figcaption><\/figure>\n<p>AIR A01\u7528\u306e\u30a2\u30d7\u30ea\u3068\u3057\u3066\u306f\u3001<a href=\"https:\/\/okiraku-camera.tokyo\/blog\/?p=2334\">\u30de\u30cb\u30e5\u30a2\u30eb\u30d5\u30a9\u30fc\u30ab\u30b9\u6642\u306b14\u500d\u62e1\u5927\u8868\u793a\u304c\u3067\u304d\u308b\u81ea\u4f5c\u30a2\u30d7\u30ea<\/a>\u3092\u4f7f\u3063\u305f\u3002\u3082\u3046\u53bb\u5e74\u306e8\u6708\u306e\u8a71\u306a\u3093\u3067\u3059\u306d\u3002<br \/>\n\u6700\u5927\u64ae\u5f71\u500d\u7387\uff08\u3053\u306e\u30ec\u30f3\u30ba\u3067\u306f\u7b49\u500d\uff09\u3067\u306e\u64ae\u5f71\u6642\u306f\u3001\u30ec\u30f3\u30ba\u306e\u30d5\u30a9\u30fc\u30ab\u30b9\u30ea\u30f3\u30b0\u3092\u56de\u3057\u3066\u30d4\u30f3\u30c8\u5408\u308f\u305b\u304c\u3067\u304d\u306a\u3044\uff08\u7b49\u500d\u3067\u306f\u306a\u304f\u306a\u308b\uff09\u304b\u3089\u3001\u3042\u3089\u304b\u3058\u3081\u30ec\u30f3\u30ba\u306e\u30d4\u30f3\u30c8\u4f4d\u7f6e\u3092\u7b49\u500d\u306b\u3057\u3066\u304a\u304d\u3001\u30b9\u30de\u30db\u753b\u9762\u3092\u306b\u3089\u307f\u306a\u304c\u3089A01\u3092\u8f09\u305b\u3066\u3044\u308b\u5fae\u52d5\u30b9\u30e9\u30a4\u30c0\u30fc\u3092\u4e0a\u4e0b\u3055\u305b\u305f\u3002\u30ec\u30f3\u30ba\u3092\u7b49\u500d\u306b\u7dad\u6301\u3059\u308b\u306b\u306f\u3001MF\u306b\u3057\u3066\u304a\u304f\u3053\u3068\u3068\u3001\u30ec\u30f3\u30ba\u30ea\u30bb\u30c3\u30c8\u30aa\u30d5\u304c\u5fc5\u9808\u3002<\/p>\n<p>\u4eca\u5f8c\u3053\u3046\u3044\u3046\u64ae\u5f71\u306f\u3001\u305d\u308d\u305d\u308d\u51fa\u8377\u3055\u308c\u308b\u3068\u671f\u5f85\u3057\u3066\u3044\u308bMZD30mm\/F3.5\u3092\u4f7f\u3046\u3053\u3068\u306b\u306a\u308b\u3068\u601d\u3046\u3002\u65b0\u3057\u3044\u30ec\u30f3\u30ba\u3067\u306f\u30ef\u30fc\u30ad\u30f3\u30b0\u30c7\u30a3\u30b9\u30bf\u30f3\u30b9\u3082\u7e2e\u307e\u308b\u306f\u305a\u306a\u306e\u3067\u3001\u7b49\u500d\u30841.2\u500d\u3067\u64ae\u5f71\u3059\u308b\u3068\u304d\u306b\u90fd\u5408\u306e\u3044\u3044\u3001\u53f0\u3068\u3044\u3046\u304b\u30d5\u30ec\u30fc\u30e0\u3068\u3044\u3046\u304b\u3001\u305d\u3046\u3044\u3046\u3082\u306e\u304c\u3042\u308b\u3068\u4fbf\u5229\u305d\u3046\u3067\u3042\u308b\u3002AIR A01\u306e\u30aa\u30b7\u30ea\u306b\u30ac\u30c3\u30c1\u30e3\u30f3\u30b3\u3067\u304d\u3066\u3001\u91d1\u5c5e\u677f\u3084\u30c1\u30e3\u30cd\u30eb\u6750\u306b\u30cd\u30b8\u6b62\u3081\u3067\u304d\u308b\u304f\u3089\u3044\u306e\u5f37\u5ea6\u304c\u3042\u308b\u30de\u30a6\u30f3\u30bf\u30fc\u3060\u3051\u3042\u308c\u3070\u3001\u3042\u3068\u306f\u7c21\u5358\u3060\u308d\u3046\u3002<\/p>\n<p>\u30ec\u30f3\u30b8\u30d5\u30a1\u30a4\u30f3\u30c0\u30fc\u98a8\u306e\u30ac\u30ef\u3068\u304b\u8170\u306b\u3076\u3089\u4e0b\u3052\u308b\u30a2\u30c0\u30d7\u30bf\u3068\u304b\u3001\u30aa\u30b7\u30e3\u30ec\u7528\u54c1\u306f\u51fa\u3066\u304d\u3066\u3044\u308b\u3088\u3046\u3060\u304c\u3001\u5f79\u306b\u7acb\u3061\u305d\u3046\u306a\u30e2\u30ce\u306f\u81ea\u5206\u3067\u4f5c\u308b\u3057\u304b\u306a\u3044\u306e\u304b\u306a\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6982\u8981 \u3061\u3087\u3063\u3068\u524d\u306b\u3001\u300cArduino PRO MINI \u30b9\u30ea\u30fc\u30d7\u30e2\u30fc\u30c9\u3068\u6d88\u8cbb\u96fb\u6d41\u300d\u3068\u3044\u3046\u8a71\u3067 PRO MINI\u306ePower On LED\u304c\u6570\u767e\u03bc\uff5e\u6570mA\u6d88\u8cbb\u3057\u3066\u3044\u308b\u3053\u3068\u304c\u6e2c\u5b9a\u3057\u3066\u5206\u304b\u3063\u305f\u306e\u3060\u3051\u3069\u3001\u7279\u306b\u6d88\u8cbb\u96fb\u529b\u304c\u5927\u304d\u304b\u3063\u305f &hellip; <a href=\"https:\/\/okiraku-camera.tokyo\/blog\/?p=5166\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">Arduino PRO MINI LED\u3092\u5916\u3057\u3066\u7701\u96fb\u529b\u5316<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10,69],"tags":[46,65],"class_list":["post-5166","post","type-post","status-publish","format-standard","hentry","category-camera","category-programming","tag-air-a01","tag-arduino"],"_links":{"self":[{"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=\/wp\/v2\/posts\/5166","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5166"}],"version-history":[{"count":0,"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=\/wp\/v2\/posts\/5166\/revisions"}],"wp:attachment":[{"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5166"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5166"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5166"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}