
{"id":6381,"date":"2017-09-09T17:12:09","date_gmt":"2017-09-09T08:12:09","guid":{"rendered":"https:\/\/okiraku-camera.tokyo\/blog\/?p=6381"},"modified":"2017-09-13T05:01:37","modified_gmt":"2017-09-12T20:01:37","slug":"arduino-pro-mini%e3%81%aebodlevel%e3%83%92%e3%83%a5%e3%83%bc%e3%82%ba%e3%81%ae%e6%9b%b8%e3%81%8d%e6%8f%9b%e3%81%88","status":"publish","type":"post","link":"https:\/\/okiraku-camera.tokyo\/blog\/?p=6381","title":{"rendered":"Arduino PRO MINI\u306eBODLEVEL\u30d2\u30e5\u30fc\u30ba\u306e\u66f8\u304d\u63db\u3048"},"content":{"rendered":"<h1>\u6982\u8981<\/h1>\n<p>\u3061\u3087\u3063\u3068\u524d\u306b<a href=\"https:\/\/okiraku-camera.tokyo\/blog\/?p=6352\">\u5c0f\u3055\u306a\u8d64\u5916\u7dda\u30ea\u30e2\u30b3\u30f3\u3092\u4f5c\u308b<\/a>\u306b\u3042\u305f\u3063\u3066Arduino PRO MINI\u3092\u4f7f\u3044\u3001\u3044\u308d\u3044\u308d\u3068\u7701\u96fb\u529b\u5316\u306e\u305f\u3081\u306e\u5de5\u592b\u3092\u3057\u3066\u307f\u305f\u3002\u305f\u3060\u3001Arduino PRO MINI\u306f\u96fb\u6e90\u96fb\u5727\u304c\u7d042.7V\u3092\u4e0b\u56de\u3063\u305f\u3053\u3068\u3092\u691c\u51fa\u3059\u308b\u3068\u30ea\u30bb\u30c3\u30c8\u304c\u304b\u304b\u3063\u3066\u3057\u307e\u3046\u3053\u3068\u304c\u5206\u304b\u3063\u305f\u3002<\/p>\n<p>\u3053\u306e\u3053\u3068\u306b\u6c17\u304c\u4ed8\u304b\u306a\u3044\u3067PRO MINI\u3092\u57fa\u677f\u306b\u30cf\u30f3\u30c0\u4ed8\u3051\u3057\u3066\u3057\u307e\u3063\u305f\u306e\u3067\u3001\u30a2\u30eb\u30ab\u30ea\u4e7e\u96fb\u6c60\u306e\u5bff\u547d\u304c\u5c3d\u304d\u308b\u524d\u3069\u3053\u308d\u304b\u3001\u5341\u5206\u306b\u4f59\u88d5\u304c\u3042\u308b\u72b6\u614b\u3067\u4f7f\u7528\u4e0d\u80fd\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u3053\u3068\u304c\u660e\u3089\u304b\u306b\u306a\u3063\u305f\u3002<\/p>\n<p>\u4eca\u56de\u306f\u3001\u3053\u306e\u539f\u56e0\u3068\u56de\u907f\u306e\u305f\u3081\u306e\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306e\u8a71\u3002<\/p>\n<h1>\u52d5\u4f5c\u78ba\u8a8d\u306e\u305f\u3081\u306e\u4ed5\u7d44\u307f<\/h1>\n<p>\u51fa\u529b\u96fb\u5727\u3092\u8abf\u6574\u53ef\u80fd\u306a\u964d\u5727\u578b\u96fb\u6e90\u30e2\u30b8\u30e5\u30fc\u30eb\u304c\u624b\u306b\u5165\u3063\u305f\u306e\u3067\u3001\u3053\u308c\u3092\u4f7f\u3063\u3066\u96fb\u6e90\u96fb\u5727\u3092\u4e0b\u3052\u3066\u78ba\u8a8d\u3057\u305f\u3002\u4e2d\u56fd\u304b\u3089\u306e\u9001\u6599\u8fbc\u307f\u3067280\u5186\u3060\u3063\u305f\u3002\u767a\u6ce8\u3057\u3066\u304b\u3089\u5230\u7740\u3059\u308b\u307e\u3067\u306e\u671f\u9593\u304c\u3001\u3075\u3060\u3093\u306f3\u9031\u9593\u3067\u30824\u9031\u9593\u3067\u3082\u6c17\u306b\u306a\u3089\u306a\u3044\u306e\u3060\u304c\u3001\u4eca\u56de\u3060\u3051\u306f\u3082\u3046\u3061\u3087\u3063\u3068\u65e9\u304f\u6765\u3066\u308c\u3070\u306a\u3068\u306f\u601d\u3063\u305f\u3002<\/p>\n<h3 id=\"title\" class=\"a-size-large a-spacing-none\"><span id=\"productTitle\" class=\"a-size-large\">LM2596 3A \u964d\u5727\u96fb\u6e90\u30e2\u30b8\u30e5\u30fc\u30eb<\/span><\/h3>\n<p>\u30d7\u30e9\u30b9\u30c1\u30c3\u30af\u306e\u30b9\u30da\u30fc\u30b5\u30fc\u3092\u811a\u306b\u3057\u3066\u30019V 2.5A\u51fa\u529b\u306eAC\u30a2\u30c0\u30d7\u30bf\u3092\u3064\u306a\u3044\u3067\u4f7f\u3063\u305f\u3002\u5165\u529b\u96fb\u5727\u3084\u51fa\u529b\u96fb\u5727\u3092\u30d7\u30c3\u30b7\u30e5\u30b9\u30a4\u30c3\u30c1\u3067\u5207\u308a\u66ff\u3048\u3066\u30c7\u30b8\u30bf\u30eb\u8868\u793a\u3067\u304d\u308b\u306e\u304c\u3088\u3044\u3068\u3053\u308d\u3002<\/p>\n<figure id=\"attachment_6399\" aria-describedby=\"caption-attachment-6399\" style=\"width: 552px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2017\/09\/ceaa2b9797c931d0a68b9ad00080fef8.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-6399\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2017\/09\/ceaa2b9797c931d0a68b9ad00080fef8-552x414.jpg\" alt=\"\" width=\"552\" height=\"414\" \/><\/a><figcaption id=\"caption-attachment-6399\" class=\"wp-caption-text\">\u51fa\u529b\u8abf\u6574\u53ef\u80fd\u964d\u5727\u96fb\u6e90\u30e2\u30b8\u30e5\u30fc\u30eb<\/figcaption><\/figure>\n<p>\u6700\u521d\u3001\u8abf\u6574\u7528\u306e\u30dc\u30ea\u30e5\u30fc\u30e0\u3092\u56de\u3057\u3066\u3082\u306a\u304b\u306a\u304b\u51fa\u529b\u96fb\u5727\u304c\u4e0b\u304c\u3089\u306a\u3044\u306e\u3067\u7126\u3063\u305f\u304c\u3001\u6642\u8a08\u306e\u53cd\u5bfe\u56de\u308a\u306b10\u56de\u307b\u3069\u56de\u3059\u3068\u3044\u304d\u306a\u308a\u4e0b\u304c\u308a\u59cb\u3081\u305f\u3002\u305d\u306e\u5f8c\u306f\u96fb\u6e90\u6295\u5165\u3067\u6700\u5f8c\u306e\u8a2d\u5b9a\u96fb\u5727\u304c\u51fa\u3066\u304f\u308c\u308b\u3057\u3001\u305d\u306e\u5468\u8fba\u306e\u5fae\u8abf\u6574\u3082\u3067\u304d\u308b\u306e\u3067\u3068\u3066\u3082\u4fbf\u5229\u3002<\/p>\n<h6>\u96fb\u5727\u8868\u793a\u306e\u8abf\u6574\u65b9\u6cd5<\/h6>\n<p>\u51fa\u529b\u3092\u30c6\u30b9\u30bf\u30fc\u306b\u3064\u306a\u3044\u3067\u898b\u305f\u3068\u3053\u308d\u3001\u30e2\u30b8\u30e5\u30fc\u30eb\u4e0a\u306e\u8868\u793a\u96fb\u5727\u3068\u30c6\u30b9\u30bf\u30fc\u306e\u8868\u793a\u3068\u304c0.5V\u4ee5\u4e0a\u305a\u308c\u3066\u3044\u305f\u3002\u8abf\u6574\u65b9\u6cd5\u3092\u63a2\u3057\u305f\u3068\u3053\u308d\u4ee5\u4e0b\u306e\u8a18\u8ff0\u3092\u767a\u898b\u3057\u305f\u306e\u3067\u8f09\u305b\u3066\u304a\u304d\u307e\u3059\u3002\u51fa\u529b\u3060\u3051\u3067\u306a\u304f\u5165\u529b\u96fb\u5727\u8868\u793a\u3082\u8abf\u6574\u53ef\u80fd\u3067\u3001\u304a\u306e\u304a\u306e\u8abf\u6574\u7d50\u679c\u304c\u8a18\u61b6\u3055\u308c\u308b\u3002<\/p>\n<ol>\n<li><em>When the voltmeter shows output voltage, long press the right button for 2 seconds, then release, voltmeter and &#8220;OUT&#8221; LED flash in synchronization. Now the voltmeter enters into output voltage calibration mode. Similarly, when the voltmeter shows input voltage, long press the right button for 2 seconds, then release, voltmeter and &#8220;IN&#8221; LED flash in synchronization, now the voltmeter enters into input voltage calibration mode.<\/em><\/li>\n<li><em>Touch the right button, the voltage rises a unit; Touch the left button, the voltage drops a unit. Due to a unit is less than 0.1 V, so you need to continuously press 5 times to see that the voltmeter changes 0.1 V.<\/em><\/li>\n<li><em>After calibration, long press the right button for 2 seconds, then release. Now the voltmeter exits the voltage calibration mode. All the parameters will be saved automatically.<\/em><\/li>\n<\/ol>\n<p>(<a href=\"http:\/\/a.co\/7aEBB4m\">http:\/\/a.co\/7aEBB4m<\/a> \u3088\u308a\u629c\u7c8b\u3002\u65e5\u672c\u8a9e\u306b\u4f3c\u305b\u305f\u8a00\u8449\u304c\u66f8\u3044\u3066\u3042\u308b\u30b5\u30a4\u30c8\u3088\u308a\u5206\u304b\u308a\u3084\u3059\u3044)\u3002<\/p>\n<figure id=\"attachment_6391\" aria-describedby=\"caption-attachment-6391\" style=\"width: 414px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2017\/09\/3e4f52916604c473e5182b26ca415d58.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-6391 size-large\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2017\/09\/3e4f52916604c473e5182b26ca415d58-414x552.jpg\" alt=\"\" width=\"414\" height=\"552\" \/><\/a><figcaption id=\"caption-attachment-6391\" class=\"wp-caption-text\">\u51fa\u529b\u8abf\u6574\u53ef\u80fd\u96fb\u6e90\u30e2\u30b8\u30e5\u30fc\u30eb\u3002 \u51fa\u529b\u5074\u96fb\u5727\u3092\u8868\u793a\u4e2d<\/figcaption><\/figure>\n<p>PRO MINI\u306e\u52d5\u4f5c\u306e\u78ba\u8a8d\u3092\u3059\u308b\u3068\u304d\u306b\u306f\u30013.3V\u52d5\u4f5c\u306eArduino PRO MINI\u306eVCC\u3068GND\u306b\u51fa\u529b\u3092\u63a5\u7d9a\u3057\u3066\u4f7f\u3063\u305f\u3002<\/p>\n<figure id=\"attachment_6392\" aria-describedby=\"caption-attachment-6392\" style=\"width: 552px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2017\/09\/35fcae289c97091e49a5ab526483596f.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-6392\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2017\/09\/35fcae289c97091e49a5ab526483596f-552x414.jpg\" alt=\"\" width=\"552\" height=\"414\" \/><\/a><figcaption id=\"caption-attachment-6392\" class=\"wp-caption-text\">PRO MINI\u3068\u96fb\u6e90\u30e2\u30b8\u30e5\u30fc\u30eb<\/figcaption><\/figure>\n<h3>\u30c6\u30b9\u30c8\u56de\u8def<\/h3>\n<p>\u30c6\u30b9\u30c8\u7528\u306ePRO MINI (3.3V, 8MHz\u7248)\u5468\u308a\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u56de\u8def\u3068\u3057\u3001\u77ed\u3044\u30b9\u30b1\u30c3\u30c1\u3092\u5165\u308c\u305f\u3002\u4e0a\u306e\u5199\u771f\u304c\u5b9f\u88c5\u3057\u305f\u3068\u3053\u308d\u3002<\/p>\n<p><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2017\/09\/A_PRO_MINI_TEST1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-6389\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2017\/09\/A_PRO_MINI_TEST1-552x345.png\" alt=\"\" width=\"552\" height=\"345\" \/><\/a><\/p>\n<h3>\u30b9\u30b1\u30c3\u30c1<\/h3>\n<pre class=\"lang:c++ decode:true\">#include &lt;avr\/sleep.h&gt;\r\n#include &lt;avr\/wdt.h&gt;\r\n#define LED 13\r\nvoid setup() {\r\n\/\/  Serial.begin(115200);\r\n  delay(100);\r\n  byte save_SREG = SREG;\r\n  cli();\r\n#if 1\r\n  CLKPR = 0x80; \r\n  CLKPR = 1;\r\n#endif\r\n  ADCSRA &amp;= 0x7f;  \/\/ ADC\u7981\u6b62\u3002MSB \u3092 0\u306b\u3002\r\n  ACSR |= 0x80;    \/\/ \u30a2\u30ca\u30ed\u30b0\u30b3\u30f3\u30d1\u30ec\u30fc\u30bf\u7981\u6b62\r\n  SREG = save_SREG;\r\n  pinMode(2, INPUT);\r\n  pinMode(3, INPUT);\r\n  for(int i = 4; i &lt; 17; i++) \/\/ INPUT_PULLUP\r\n    pinMode(i, INPUT_PULLUP);\r\n  pinMode(LED, OUTPUT);\r\n  digitalWrite(LED, 0);\r\n  wdt_disable();\r\n}\r\n\r\nvoid flicker(int count) {\r\n  for(int i = 0; i &lt; count; i++) {\r\n    delay(500);\r\n    digitalWrite(LED, 1);\r\n    delay(500);\r\n    digitalWrite(LED, 0);\r\n  }\r\n}\r\n\r\nvoid isr() { }\r\nvoid loop() {\r\n  delay(10);\r\n  attachInterrupt(0, isr, RISING );\r\n  set_sleep_mode(SLEEP_MODE_PWR_DOWN);\r\n  sleep_enable();\r\n  \/\/sleep_bod_disable();\r\n  MCUCR |= 0x60;\r\n  MCUCR = (MCUCR &amp; 0xdf) | 0x40;\r\n  sleep_cpu();  \r\n  detachInterrupt(0);\r\n  flicker(4);\r\n}<\/pre>\n<p>\u56de\u8def\u304a\u3088\u3073\u30b9\u30b1\u30c3\u30c1\u306e\u610f\u56f3\u306f\u4ee5\u4e0b\u306e\u3068\u304a\u308a\u3002<\/p>\n<ul>\n<li>setup()\u304c\u7d42\u308f\u308b\u3068\u3059\u3050\u306b\u30b9\u30ea\u30fc\u30d7\u72b6\u614b(SLEEP_MODE_PWR_DOWN)\u306b\u5165\u308b\u3002<\/li>\n<li>SW\u3092\u62bc\u3059\u3068\u30b9\u30ea\u30fc\u30d7\u304b\u3089\u5fa9\u5e30\u3057LED\u3092\u70b9\u6ec5\u3055\u305b\u308b\u3002<\/li>\n<li>\u305d\u3057\u3066\u3001\u518d\u5ea6\u30b9\u30ea\u30fc\u30d7\u306b\u5165\u308b\u3002<\/li>\n<li>\u30b9\u30ea\u30fc\u30d7\u4e2d\u306b\u96fb\u6e90\u96fb\u5727\u3092\u4e0b\u3052\u3066\u3084\u308a\u3001SW\u3092\u62bc\u3057\u305f\u3068\u304d\u306bLED\u304c\u70b9\u6ec5\u3059\u308b\u304b\u3069\u3046\u304b\u3067\u52d5\u4f5c\u3057\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u3092\u5224\u65ad\u3059\u308b\u3002<\/li>\n<\/ul>\n<p>\u30b9\u30ea\u30fc\u30d7\u6642\u306bBOD\u3092\u7981\u6b62\u3057\u305f\u65b9\u304c\u3088\u308a\u96fb\u6d41\u3092\u7bc0\u7d04\u3067\u304d\u308b\u3068\u3044\u3046\u3053\u3068\u306a\u306e\u3067MCUCR\u30ec\u30b8\u30b9\u30bf\u3092\u64cd\u4f5c\u3057\u3066\u3044\u308b\u3002\u307e\u305f\u3001MCUCR\u30ec\u30b8\u30b9\u30bf\u306eBODS\u30d3\u30c3\u30c8\u64cd\u4f5c\u6642\u306e\u30bf\u30a4\u30df\u30f3\u30b0\u3092\u610f\u8b58\u3057\u3066\u3001\u30b9\u30ea\u30fc\u30d7\u306b\u5165\u308b\u90e8\u5206\u3082 &#8220;<em>avr\/sleep.h<\/em>&#8221; \u306b\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\u30de\u30af\u30ed\u3092\u547c\u3076\u3053\u3068\u306b\u3057\u305f\u3002\u30c7\u30fc\u30bf\u30b7\u30fc\u30c8\u306e\u00a0<em><strong>14.12.2. MCU Control Register<\/strong><\/em> \u3092\u53c2\u7167\u3002\u679c\u305f\u3057\u3066\u52b9\u679c\u304c\u3042\u308b\u306e\u304b\u3069\u3046\u304b\u3001\u3046\u3061\u306e\u5b89\u3044\u30c6\u30b9\u30bf\u30fc\u3067\u306f\u5224\u65ad\u3067\u304d\u306a\u304b\u3063\u305f\u3002<\/p>\n<p>\u3053\u306e\u4ed5\u7d44\u307f\u306b\u3088\u308a\u3001BODLEVEL\u3092\u5909\u66f4\u3059\u308b\u524d\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u306eArduino PRO MINI\u306f\u30012.7V\u3092\u4e0b\u56de\u3063\u305f\u3042\u305f\u308a\u3067\u52d5\u4f5c\u3057\u306a\u304f\u306a\u308b\u3053\u3068\u304c\u78ba\u8a8d\u3067\u304d\u305f\u3002<\/p>\n<h1>BODLEVEL\u306e\u5909\u66f4<\/h1>\n<p>ATmega\u306e<em><strong>BOD (Brown Out Detection)<\/strong><\/em>\u00a0\u306f\u3001\u52d5\u4f5c\u4e2d\u307e\u305f\u306f\u30b9\u30ea\u30fc\u30d7\u4e2d\u306b\u96fb\u6e90\u96fb\u5727\u304c\u898f\u5b9a\u96fb\u5727<strong>(VBOT: Brown-Out Reset Threahold<\/strong>)\u3092\u4e0b\u56de\u3063\u305f\u3068\u304d\u3001\u30de\u30a4\u30b3\u30f3\u304c\u304a\u304b\u3057\u306a\u6319\u52d5\u3092\u3057\u306a\u3044\u3088\u3046\u5185\u90e8\u30ea\u30bb\u30c3\u30c8\u3092\u304b\u3051\u308b\u3002\u305d\u306e\u305f\u3081\u306b\u5e38\u306b\u96fb\u5727\u306e\u6bd4\u8f03\u3092\u884c\u3063\u3066\u3044\u308b\u3053\u3068\u306b\u306a\u308b\u3002<br \/>\n\u307e\u305f\u3001\u30ea\u30bb\u30c3\u30c8\u56de\u8def\u3082\u96fb\u6e90\u96fb\u5727\u304c\u898f\u5b9a(<strong>VPOT : Power-on Reset Threahold<\/strong>)\u3092\u4e0b\u56de\u3063\u305f\u3068\u304d\u306b\u30de\u30a4\u30b3\u30f3\u3092\u30ea\u30bb\u30c3\u30c8\u3057\u3066\u304f\u308c\u308b\u3002<\/p>\n<p>2\u3064\u306e\u898f\u5b9a\u96fb\u5727\u306f VBOT &gt; VPOT \u306e\u95a2\u4fc2\u306b\u3042\u308a\u3001VPOT \u306e\u4ee3\u8868\u5024\u306f1.5V(\u96fb\u5727\u4e0a\u6607\u6642)\u307e\u305f\u306f1.0V(\u4e0b\u964d\u6642)\u3068\u6c7a\u307e\u3063\u3066\u3044\u308b\u304c\u3001VBOT\u306fBODLEVEL Fuse\u306e\u8a2d\u5b9a\u306b\u3088\u3063\u3066\u5909\u66f4\u53ef\u80fd\u3067\u30014.3V\u3001 2.7V\u3001 1.8V\u3001BOD\u52d5\u4f5c\u7981\u6b62\u306e4\u7a2e\u985e\u304b\u3089\u9078\u629e\u3067\u304d\u308b(\u96fb\u5727\u306f\u4ee3\u8868\u5024)\u3002<\/p>\n<p>\u4eca\u56de\u8d64\u5916\u7dda\u30ea\u30e2\u30b3\u30f3\u3092\u4f5c\u308b\u306b\u3042\u305f\u3063\u3066\u306f\u3001Arduino PRO MINI\u306b\u8f09\u3063\u3066\u3044\u308b\u30de\u30a4\u30b3\u30f3\u3067\u306fBOD\u52d5\u4f5c\u7981\u6b62\u306b\u306a\u3063\u3066\u3044\u308b\u3068\u601d\u3044\u3053\u3093\u3067\u3044\u305f\u3002\u305d\u306e\u305f\u3081\u30b9\u30ea\u30fc\u30d7\u6642\u306bBOD\u56de\u8def\u304c\u6d88\u8cbb\u3059\u308b\u96fb\u6d41\u306b\u3064\u3044\u3066\u3082\u8003\u616e\u3057\u3066\u3044\u306a\u304b\u3063\u305f\u3002<br \/>\n\u73fe\u5b9f\u306b\u306f2.7V\u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u30b7\u30b9\u30c6\u30e0\u30af\u30ed\u30c3\u30af\u30d7\u30ea\u30b9\u30b1\u30fc\u30e9\u3092\u4f7f\u304a\u3046\u304c\u30af\u30ed\u30c3\u30af\u30921MHz\u306b\u843d\u3068\u305d\u3046\u304c\u30012.7V\u4ee5\u4e0b\u306e\u96fb\u6e90\u96fb\u5727\u3067\u306f\u52d5\u4f5c\u3057\u306a\u3044\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u305f\u3002<\/p>\n<p>\u306a\u304a\u3001<em><strong>Brown-out<\/strong><\/em>\u3068\u3044\u3046\u8a00\u8449\u306f<em><strong>Black-out<\/strong><\/em>\u306b\u985e\u4f3c\u306e\u8a00\u8449\u306e\u3088\u3046\u3067\u3001\u5b8c\u5168\u306a\u96fb\u529b\u65ad\u306e\u3061\u3087\u3063\u3068\u524d\u3001\u771f\u3063\u6697\u3067\u306f\u306a\u304f\u8584\u6697\u3044\u72b6\u614b\u3001\u3068\u3044\u3063\u305f\u610f\u5473\u306e\u3088\u3046\u3067\u3042\u308b\u3002<\/p>\n<h2>Arduino PRO MINI\u306eBODLEVEL<\/h2>\n<p>Arduino IDE\u3092PC\u306b\u5c0e\u5165\u3059\u308b\u3068\u3001\u5c0e\u5165\u5148\u30d5\u30a9\u30eb\u30c0( <em>{Arduino}<\/em> \u3068\u8a18\u8f09\u3002\u3046\u3061\u306e\u5834\u5408\u306f\u00a0<em>C:\\Program Files (x86)\\Arduino<\/em> )\u306e\u4e2d\u306e\u3001<em>{Arduino}\\hardware\\arduino\\avr \u306e\u4e2d\u306b\u3001boards.txt <\/em>\u3068\u3044\u3046\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u304c\u66f8\u304b\u308c\u308b\u3002\u3053\u308c\u3092\u958b\u3051\u3066PRO MINI 3.3V, 8MHz\u306b\u5bfe\u5fdc\u3059\u308b\u9805\u76ee\u3092\u63a2\u3059\u3068\u3001<\/p>\n<pre class=\"nums:false lang:default decode:true\">## Arduino Pro or Pro Mini (3.3V, 8 MHz) w\/ ATmega328\r\n## --------------------------------------------------\r\npro.menu.cpu.8MHzatmega328=ATmega328 (3.3V, 8 MHz)\r\npro.menu.cpu.8MHzatmega328.upload.maximum_size=30720\r\npro.menu.cpu.8MHzatmega328.upload.maximum_data_size=2048\r\npro.menu.cpu.8MHzatmega328.upload.speed=57600\r\npro.menu.cpu.8MHzatmega328.bootloader.low_fuses=0xFF\r\npro.menu.cpu.8MHzatmega328.bootloader.high_fuses=0xDA\r\npro.menu.cpu.8MHzatmega328.bootloader.extended_fuses=0xFD\r\npro.menu.cpu.8MHzatmega328.bootloader.file=atmega\/ATmegaBOOT_168_atmega328_pro_8MHz.hex\r\n<\/pre>\n<p>\u3068\u66f8\u3044\u3066\u3042\u308b\u3002\u3053\u306e\u4e2d\u306b\u3042\u308b\u3001<\/p>\n<p style=\"padding-left: 30px;\"><em>pro.menu.cpu.8MHzatmega328.bootloader.extended_fuses=0xFD<\/em><\/p>\n<p>\u306e\u3001extended_fuses \u306e\u5024 0xFD (\u5b9f\u969b\u306f\u305d\u306e\u4e0b\u4f4d3\u30d3\u30c3\u30c8) \u304cBODLEVEL Fuse\u306e\u5024\u3092\u8868\u3057\u3066\u3044\u308b\u3088\u3046\u3067\u3042\u308b\u3002\u30c7\u30fc\u30bf\u30b7\u30fc\u30c8\u306e\u3001<em><strong>Table 32-8. BODLEVEL Fuse Coding<\/strong><\/em>\u00a0\u3092\u5f15\u304d\u5199\u3059\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u3063\u3044\u308b\u3002<\/p>\n<table border=\"1\">\n<tbody>\n<tr>\n<th>BODLEVEL [2:0] Fuses<\/th>\n<th>Min. VBOT<\/th>\n<th>Typ. VBOT<\/th>\n<th>Max VBOT<\/th>\n<th>Units<\/th>\n<\/tr>\n<tr>\n<td>111<\/td>\n<td colspan=\"4\">BOD Disabled<\/td>\n<\/tr>\n<tr>\n<td>110<\/td>\n<td>1.7<\/td>\n<td>1.8<\/td>\n<td>2.0<\/td>\n<td rowspan=\"3\" align=\"cetner\">V<\/td>\n<\/tr>\n<tr>\n<td>101<\/td>\n<td>2.5<\/td>\n<td>2.7<\/td>\n<td>2.9<\/td>\n<\/tr>\n<tr>\n<td>100<\/td>\n<td>4.1<\/td>\n<td>4.3<\/td>\n<td>4.5<\/td>\n<\/tr>\n<tr>\n<td>011<\/td>\n<td colspan=\"4\">Reserved<\/td>\n<\/tr>\n<tr>\n<td>010<\/td>\n<td colspan=\"4\">Reserved<\/td>\n<\/tr>\n<tr>\n<td>001<\/td>\n<td colspan=\"4\">Reserved<\/td>\n<\/tr>\n<tr>\n<td>000<\/td>\n<td colspan=\"4\">Reserved<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>(<em>Atmel-42735B-ATmega328\/P_Datasheet_Complete-11\/2016<\/em> \u3088\u308a\u629c\u7c8b)<\/p>\n<p>0xFD\u306e\u4e0b\u4f4d3\u30d3\u30c3\u30c8\u306f<strong>101<\/strong> \u306a\u306e\u3067\u30012.7V typ. \u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u304c\u5206\u304b\u308b\u3002\u3053\u308c\u3067\u3001\u53ef\u5909\u96fb\u5727\u30ec\u30ae\u30e5\u30ec\u30fc\u30bf\u3092\u4f7f\u3063\u3066\u96fb\u5727\u3092\u4e0b\u3052\u305f\u3068\u304d\u30012.7V\u8fd1\u8fba\u3067\u30ea\u30bb\u30c3\u30c8\u304c\u304b\u304b\u308b\u7406\u7531\u304c\u306f\u3063\u304d\u308a\u3057\u305f\u3002\u8d64\u5916\u7dda\u30ea\u30e2\u30b3\u30f3\u306b\u7d44\u307f\u8fbc\u3093\u3060 PRO MINI\u306eBODLEVEL\u3092\u5909\u66f4\u3057\u306a\u3044\u3053\u3068\u306b\u306f\u96fb\u6c60\u304c\u307e\u3060\u5143\u6c17\u306a\u3046\u3061\u306b\u6b62\u307e\u3063\u3066\u3057\u307e\u3046\u304b\u3089\u3001BODLEVEL Fuse\u3092\u5909\u66f4\u3059\u308b\u3053\u3068\u306b\u3057\u305f\u3002<\/p>\n<h2>Arduino ISP\u3068avrdude\u306e\u5229\u7528<\/h2>\n<p>\u5148\u306b\u6319\u3052\u305fboards.txt \u306e\u4e2d\u3067\u3001\u540d\u524d(\u30ad\u30fc\u540d)\u306b\u00a0<em><strong>.bootloader.<\/strong><\/em>\u00a0\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u884c\u306f\u3001ISP (In-System Programmer) \u3092\u4f7f\u3063\u3066\u30d6\u30fc\u30c8\u30ed\u30fc\u30c0\u30fc\u3092\u66f8\u304d\u8fbc\u3080\u3068\u304d\u540c\u6642\u306b\u30de\u30a4\u30b3\u30f3\u306b\u53cd\u6620\u3055\u308c\u308b\u3088\u3046\u3067\u3042\u308b\u3002\u3064\u307e\u308a\u3001\u30d6\u30fc\u30c8\u30ed\u30fc\u30c0\u30fc\u304c\u66f8\u3051\u308b\u4ed5\u7d44\u307f(ISP)\u306a\u3089\u3070fuse\u3082\u5909\u66f4\u3067\u304d\u308b\u3068\u3044\u3046\u3053\u3068\u3002\u4eca\u56de\u306f\u3001Arduino IDE\u306e\u30b5\u30f3\u30d7\u30eb\u3068\u3057\u3066\u4ed8\u5c5e\u3057\u3066\u3044\u308bArduinoISP\u30b9\u30b1\u30c3\u30c1\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u306b\u3057\u305f\u3002\u4ee5\u524d\u306b\u3082\u4f7f\u3063\u305f\u304c\u30013.3V\u52d5\u4f5c\u306ePRO MINI\u3092\u30bf\u30fc\u30b2\u30c3\u30c8\u306b\u3059\u308b\u306e\u3067\u3001\u3084\u306f\u308a3.3V\u52d5\u4f5c\u306ePRO MINI\u306bArduinoISP\u30b9\u30b1\u30c3\u30c1\u3092\u4ed5\u8fbc\u3080\u3053\u3068\u306b\u3057\u305f\u3002<\/p>\n<h3>Arduino as ISP<\/h3>\n<figure id=\"attachment_6393\" aria-describedby=\"caption-attachment-6393\" style=\"width: 552px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2017\/09\/e11ab6b1420e70dbe677a381bfbfc6ea.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-6393\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2017\/09\/e11ab6b1420e70dbe677a381bfbfc6ea-552x414.jpg\" alt=\"\" width=\"552\" height=\"414\" \/><\/a><figcaption id=\"caption-attachment-6393\" class=\"wp-caption-text\">Arduino as ISP<\/figcaption><\/figure>\n<p>\u5199\u771f\u3067\u306f\u3001\u5de6\u5074\u304cISP\u3068\u3057\u3066\u3075\u308b\u307e\u3046PRO MINI\u3067\u3001USB\u30b7\u30ea\u30a2\u30eb\u5909\u63db\u30c7\u30d0\u30a4\u30b9\u306eAE-FT231X\u306b\u63a5\u7d9a\u3057\u3066\u304a\u308aAMS1117-3.3\u304b\u30893.3V\u96fb\u6e90\u3092\u3082\u3089\u3063\u3066\u3044\u308b\u3002\u53f3\u5074\u304c\u30bf\u30fc\u30b2\u30c3\u30c8\u306ePRO MINI\u3002ISP\u5074\u3068\u30bf\u30fc\u30b2\u30c3\u30c8\u306e\u63a5\u7d9a\u306b\u3064\u3044\u3066\u306f\u3001<em><a href=\"https:\/\/www.arduino.cc\/en\/Tutorial\/ArduinoISP\">Using an Arduino as an AVR ISP (In-System Programmer)<\/a><\/em> \u306b\u3057\u305f\u304c\u3063\u305f\u3002<\/p>\n<p>\u4ee5\u4e0b\u306f\u30015V\u306ePRO MINI\u306e\u30b9\u30b1\u30c3\u30c1\u3092\u6d88\u3057\u305f\u308a\u30d6\u30fc\u30c8\u30ed\u30fc\u30c0\u3092\u66f8\u3044\u305f\u308a\u3057\u305f\u3068\u304d\u3001\u30d6\u30ec\u30c3\u30c9\u30dc\u30fc\u30c9\u306e\u5b9f\u4f53\u914d\u7dda\u56f3\u304c\u306a\u3093\u3068\u3082\u99b4\u67d3\u3081\u306a\u304f\u3066\u66f8\u3044\u305f\u53c2\u8003\u56de\u8def\u56f3\u3002<\/p>\n<figure id=\"attachment_6421\" aria-describedby=\"caption-attachment-6421\" style=\"width: 552px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2017\/09\/A_PRO_MINI-ISP.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-6421\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2017\/09\/A_PRO_MINI-ISP-552x380.png\" alt=\"\" width=\"552\" height=\"380\" \/><\/a><figcaption id=\"caption-attachment-6421\" class=\"wp-caption-text\">Arduino as ISP. \u53f3\u304cISP,\u5de6\u304c\u30bf\u30fc\u30b2\u30c3\u30c8<\/figcaption><\/figure>\n<p>Arduino as ISP \u3092\u4f7f\u3046\u3068\u304d\u306e\u6ce8\u610f\u70b9\u306f\u3001PC\u3068ISP\u9593\u306e\u901a\u4fe1\u901f\u5ea6\u309219200bps\u306b\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u306b\u5c3d\u304d\u308b\u3068\u601d\u3046\u3002\u305d\u306e\u4ed6\u306f\u7279\u306b\u5de5\u592b\u3057\u306a\u304f\u3082\u3001\u4e0a\u306b\u30ea\u30f3\u30af\u3092\u8f09\u305b\u305fArduino.cc \u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u306b\u5f93\u3048\u3070\u52d5\u3044\u3066\u304f\u308c\u308b\u3002<\/p>\n<h3>avrdude\u3092\u4f7f\u3046<\/h3>\n<p>Arduino IDE\u306b\u306f\u30d6\u30fc\u30c8\u30ed\u30fc\u30c0\u30fc\u3092\u66f8\u304d\u8fbc\u3080\u4ed5\u7d44\u307f\u304c\u3042\u308b\u3082\u306e\u306e\u3001fuse\u3060\u3051\u3092\u660e\u793a\u7684\u306b\u66f8\u304d\u63db\u3048\u308b\u4ed5\u7d44\u307f\u306f\u306a\u3044\u3002fuse\u306e\u8aad\u51fa\u3057\u3084\u66f8\u8fbc\u307f\u306e\u305f\u3081\u306b\u306f\u3001Arduino IDE\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3068\u540c\u6642\u306bPC\u306b\u5c0e\u5165\u3055\u308c\u308b<em><strong>avrdude.exe<\/strong> <\/em>\u3068\u3044\u3046\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u7528\u3044\u308b\u3002<\/p>\n<p>avrdude.exe\u306f\u3001<em>{Arduino}\\hardware\\tools\\avr\\bin<\/em> \u306b\u683c\u7d0d\u3055\u308c\u3066\u3044\u305f\u3002Arduino IDE 1.8.3 \u306eWindows\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u7248\u3092\u5c0e\u5165\u3057\u305f\u304c\u3001avrdude.exe\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306f 6.3 \u3060\u3063\u305f\u3002avrdude.exe\u306e\u4f7f\u3044\u65b9\u306f\u3001<a href=\"http:\/\/download.savannah.gnu.org\/releases\/avrdude\/avrdude-doc-6.3.pdf\">http:\/\/download.savannah.gnu.org\/releases\/avrdude\/avrdude-doc-6.3.pdf<\/a> \u3092\u53c2\u7167\u3057\u305f\u3002<\/p>\n<p>\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u958b\u304d\u3001\u3053\u3053\u304c\u30ab\u30ec\u30f3\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u306a\u308b\u3088\u3046\u306b cd \u3057\u305f\u3042\u3068\u3067\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5b9f\u884c\u3059\u308b\u3002<\/p>\n<p><span class=\"lang:default decode:true crayon-inline \">avrdude -C ..\\etc\\avrdude.conf -p m328p -P COM4 -b 19200 -c avrisp <\/span><\/p>\n<p>\u5404\u30d1\u30e9\u30e1\u30fc\u30bf\u306e\u610f\u5473\u306b\u3064\u3044\u3066\u306f\u3001avrdude.exe\u3092\u30d1\u30e9\u30e1\u30fc\u30bf\u7121\u3057\u3067\u5b9f\u884c\u3057\u305f\u3068\u304d\u306b\u8868\u793a\u3055\u308c\u308b usage \u306e\u5185\u5bb9\u3092\u53c2\u7167\u306e\u3053\u3068\u3002<br \/>\n\u306a\u304a\u3001<strong>&#8220;-C&#8221;<\/strong> \u3067\u6307\u5b9a\u3059\u308b\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3082Arduino IDE\u3068\u5171\u306b\u5c0e\u5165\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u5185\u5bb9\u3092\u5909\u66f4\u3059\u308b\u3053\u3068\u306a\u304f\u305d\u306e\u307e\u307e\u4f7f\u3063\u3066\u3044\u308b\u3002<br \/>\n<strong>&#8220;-P&#8221;<\/strong>\u3067\u6307\u5b9a\u3059\u308bCOM\u30dd\u30fc\u30c8\u306b\u3064\u3044\u3066\u306f\u3001USB-\u30b7\u30ea\u30a2\u30eb\u5909\u63db\u30c7\u30d0\u30a4\u30b9\u7528\u306e\u30c9\u30e9\u30a4\u30d0\u306b\u5272\u308a\u5f53\u3066\u3089\u308c\u305fCOM\u30dd\u30fc\u30c8\u3092\u6307\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002<br \/>\n<strong>&#8220;-b&#8221;<\/strong>\u3067\u6307\u5b9a\u3059\u308b\u901a\u4fe1\u901f\u5ea6\u306f\u3001ArduinoISP\u30b9\u30b1\u30c3\u30c1\u5185\u306b\u3082 19200bps\u3068\u66f8\u304b\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u540c\u3058\u5024\u3092\u6307\u5b9a\u3059\u308b\u3002<\/p>\n<p>\u5b9f\u884c\u3059\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8868\u793a\u3055\u308c\u305f\u3002<\/p>\n<pre class=\"nums:false lang:default decode:true\">avrdude: AVR device initialized and ready to accept instructions\r\n\r\nReading | ################################################## | 100% 0.06s\r\n\r\navrdude: Device signature = 0x1e950f (probably m328p)\r\n\r\navrdude: safemode: Fuses OK (E:FD, H:DA, L:FF)\r\n\r\navrdude done. Thank you.<\/pre>\n<p>Fuses OK\u306e\u3042\u3068\u306bavrdude\u304c\u8aad\u307f\u53d6\u3063\u305ffuse\u306e\u5185\u5bb9\u304c\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u3002E: \u306b\u5f15\u304d\u7d9a\u304f\u5024\u304c\u3001BODLEVEL\u3092\u542b\u3080Extended Fuse\u306e\u73fe\u5728\u306e\u5185\u5bb9\u306b\u3042\u305f\u308b\u3002Arduino PRO MINI\u306a\u306e\u3067\u3001\u4e88\u5b9a\u901a\u308a FD \u3068\u3044\u3046\u5024\u304c\u5f97\u3089\u308c\u3066\u3044\u308b\u3002<\/p>\n<p>\u4eca\u56de\u306fBODLEVEL \u3068\u3057\u3066 1.8V typ. \u306b\u5bfe\u5fdc\u3059\u308b Bxxxxx110 \u3092\u66f8\u304d\u8fbc\u3080\u3053\u3068\u306b\u3057\u305f\u3002\u3053\u308c\u306f4MHz\u52d5\u4f5c\u304c\u4fdd\u8a3c\u3055\u308c\u3066\u3044\u308b\u6700\u5c0f\u96fb\u5727\u306b\u3042\u305f\u308b\u3002BODLEVEL Fuse\u306e\u4e0a\u4f4d5\u30d3\u30c3\u30c8\u306b\u3064\u3044\u3066\u306f\u7279\u306b\u898f\u5b9a\u304c\u306a\u3044\u304c\u3001\u4f59\u8a08\u306a\u30d3\u30c3\u30c8\u306b\u5f71\u97ff\u3092\u4e0e\u3048\u306a\u3044\u3088\u30460xFE\u3068\u3044\u3046\u5024\u306b\u66f8\u304d\u63db\u3048\u308b\u3002\u305d\u306e\u969b\u306b\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3059\u308b\u3002<\/p>\n<pre class=\"nums:false lang:default decode:true\">avrdude -C ..\\etc\\avrdude.conf -p m328p -P COM4 -b 19200 -c avrisp -U efuse:w:0xFE:m<\/pre>\n<p>\u6700\u5f8c\u306e\u30d1\u30e9\u30e1\u30fc\u30bf &#8220;-U&#8221; \u304b\u3089\u59cb\u307e\u308b\u90e8\u5206\u304cextended fuse\u306e\u66f8\u304d\u63db\u3048\u3092\u6307\u793a\u3059\u308b\u90e8\u5206\u306b\u3042\u305f\u308a\u3001&#8221;:&#8221;\u3067\u533a\u5207\u3089\u308c\u305f\u5404\u90e8\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u610f\u5473\u304c\u3042\u308b\u3002<\/p>\n<ul>\n<li><strong>-U<\/strong> \u306f\u5185\u90e8\u30e1\u30e2\u30ea\u64cd\u4f5c\u6307\u793a<\/li>\n<li><strong>efuse<\/strong> \u304c\u5bfe\u8c61\u304cextented fuse\u3067\u3042\u308b\u3053\u3068<\/li>\n<li><strong>w<\/strong> \u304c\u76f4\u5f8c\u306e\u30c7\u30fc\u30bf\u3092\u30de\u30a4\u30b3\u30f3\u306b\u66f8\u8fbc\u3080\u3053\u3068\u306e\u6307\u5b9a<\/li>\n<li><strong>0xFE<\/strong> \u304c\u66f8\u304d\u8fbc\u3080\u5024<\/li>\n<li><strong>m\u00a0<\/strong>\u306f\u3001w \u306e\u76f4\u5f8c\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u304c\u30d5\u30a1\u30a4\u30eb\u540d\u3067\u306f\u306a\u304f16\u9032\u6570\u306e\u5024\u305d\u306e\u3082\u306e\u3067\u3042\u308b\u3053\u3068<\/li>\n<\/ul>\n<p>\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8868\u793a\u3055\u308c\u305f\u3002<\/p>\n<pre class=\"nums:false lang:default decode:true\">avrdude: AVR device initialized and ready to accept instructions\r\n\r\nReading | ################################################## | 100% 0.06s\r\n\r\navrdude: Device signature = 0x1e950f (probably m328p)\r\navrdude: reading input file \"0xFE\"\r\navrdude: writing efuse (1 bytes):\r\n\r\nWriting | ################################################## | 100% 0.05s\r\n\r\navrdude: 1 bytes of efuse written\r\navrdude: verifying efuse memory against 0xFE:\r\navrdude: load data efuse data from input file 0xFE:\r\navrdude: input file 0xFE contains 1 bytes\r\navrdude: reading on-chip efuse data:\r\n\r\nReading | ################################################## | 100% 0.02s\r\n\r\navrdude: verifying ...\r\navrdude: 1 bytes of efuse verified\r\n\r\navrdude: safemode: Fuses OK (E:FE, H:DA, L:FF)\r\n\r\navrdude done. Thank you.<\/pre>\n<p>Fuses \u3092\u898b\u308b\u3068\u3001\u305f\u3057\u304b\u306b Extended fuse\u306e\u5185\u5bb9\u306f\u66f8\u304d\u63db\u308f\u3063\u305f\u3088\u3046\u3067\u3042\u308b\u3002Arduino as ISP \u3092\u69cb\u6210\u3057\u3066\u3044\u308bPRO MINI\u306e\u96fb\u6e90\u3092\u30aa\u30d5\u306b\u3057\u3001\u3082\u3046\u4e00\u5ea6\u30aa\u30f3\u306b\u3057\u3066\u304b\u3089 avrdude \u3092\u5b9f\u884c\u3057\u3066\u3082\u3001\u66f8\u304d\u63db\u308f\u3063\u305f\u3042\u3068\u306e\u5185\u5bb9\u304c\u8868\u793a\u3055\u308c\u305f\u3002<\/p>\n<p>\u305d\u3057\u3066\u3001Extended fuse\u3092\u66f8\u304d\u63db\u3048\u305f Arduino PRO MINI\u3092\u6700\u521d\u306b\u8f09\u305b\u305f\u30c6\u30b9\u30c8\u56de\u8def\u306b\u30bb\u30c3\u30c8\u3057\u3066\u4f7f\u3063\u305f\u3068\u3053\u308d\u3001\u30b9\u30ea\u30fc\u30d7\u4e2d\u306b1.8V\u307e\u3067\u96fb\u6e90\u3092\u4e0b\u3052\u3066\u3082\u3061\u3083\u3093\u3068\u52d5\u4f5c\u3057\u305f\u30021.8V\u306e\u72b6\u614b\u3067\u624b\u52d5\u3067\u30ea\u30bb\u30c3\u30c8\u3057\u3066\u3082\u4e0d\u601d\u8b70\u306a\u3053\u3068\u306b\u3001\u3042\u308b\u3044\u306f\u3001\u904b\u826f\u304f\u3061\u3083\u3093\u3068\u52d5\u3044\u3066\u3044\u305f\u3002\u305f\u3060\u3001\u96fb\u6e90\u96fb\u5727\u304cPRO MINI\u4e0a\u306eLED\u306eVF\u5024\u306b\u8fd1\u3044\u305b\u3044\u304b\u3001\u3068\u3066\u3082\u983c\u308a\u306a\u304f\u70b9\u6ec5\u3059\u308b\u3002<\/p>\n<p>fuse\u3092\u66f8\u304d\u63db\u3048\u308b\u306b\u306f\u4f55\u304b\u3061\u3083\u3093\u3068\u3057\u305f\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u3092\u8cb7\u3046\u5fc5\u8981\u304c\u3042\u308b\u306e\u304b\u3068\u601d\u3063\u3066\u3044\u305f\u304c\u3001Arduino PRO MINI\u304c2\u679a\u3068\u30d6\u30ec\u30c3\u30c9\u30dc\u30fc\u30c9\u4ed6\u3067\u3046\u307e\u304f\u3044\u3063\u305f\u3002\u305f\u3060\u3001\u66f8\u304d\u63db\u3048\u308b\u5bfe\u8c61\u306b\u3088\u3063\u3066\u306f\u4eca\u56de\u306e\u3088\u3046\u306a\u30b7\u30ea\u30a2\u30eb\u65b9\u5f0f\u3067\u306f\u4e0d\u53ef\u80fd\u306a\u3082\u306e\u3082\u3042\u308b\u3088\u3046\u3060\u3002<\/p>\n<h1>\u8d64\u5916\u7dda\u30ea\u30e2\u30b3\u30f3\u306ePRO MINI\u306e\u6539\u4fee<\/h1>\n<p>\u3059\u3067\u306b\u57fa\u677f\u306b\u30cf\u30f3\u30c0\u4ed8\u3051\u3057\u3066\u3057\u307e\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u30d6\u30ec\u30c3\u30c9\u30dc\u30fc\u30c9\u306b\u4e57\u305b\u3066fuse\u3092\u66f8\u304d\u63db\u3048\u308b\u308f\u3051\u306b\u3082\u3044\u304b\u306a\u3044\u3002\u3055\u3044\u308f\u3044\u3001\u63a5\u7d9a\u304c\u5fc5\u8981\u306a\u7aef\u5b50(D11,D12,D13\u304a\u3088\u3073RESET)\u306f\u4f7f\u7528\u3057\u3066\u3044\u306a\u3044\u306e\u3067\u3001\u30ea\u30fc\u30c9\u7dda\u3092\u30cf\u30f3\u30c0\u4ed8\u3051\u3057\u3066\u5f15\u304d\u51fa\u3059\u3053\u3068\u306b\u3057\u305f\u30024\u672c\u5fc5\u8981\u306a\u306e\u3067\u3001\u30d6\u30ec\u30c3\u30c9\u30dc\u30fc\u30c9\u7528\u306e\u9577\u3081\u306e\u30b8\u30e3\u30f3\u30d1\u30ef\u30a4\u30e4(\u30aa\u30b9-\u30aa\u30b9)\u30922\u672c\u3001\u771f\u3093\u4e2d\u3067\u5207\u65ad\u3057\u3066\u4f7f\u3063\u305f\u3002\u3082\u3063\u305f\u3044\u306a\u3044\u6c17\u3082\u3059\u308b\u304c\u3001\u307e\u305f\u4f7f\u3046\u6a5f\u4f1a\u3082\u3042\u308b\u3060\u308d\u3046\u3002<\/p>\n<figure id=\"attachment_6403\" aria-describedby=\"caption-attachment-6403\" style=\"width: 552px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2017\/09\/72be4bf990d1eacd03e585d10b2e589e.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-6403\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2017\/09\/72be4bf990d1eacd03e585d10b2e589e-552x414.jpg\" alt=\"\" width=\"552\" height=\"414\" \/><\/a><figcaption id=\"caption-attachment-6403\" class=\"wp-caption-text\">\u8d64\u5916\u7dda\u30ea\u30e2\u30b3\u30f3\u3092\u624b\u8853\u4e2d<\/figcaption><\/figure>\n<p>\u30ea\u30e2\u30b3\u30f3\u5185\u90e8\u306e\u4e7e\u96fb\u6c60\u3092\u96fb\u6c60\u30dc\u30c3\u30af\u30b9\u304b\u3089\u5916\u3057\u3001\u30ea\u30e2\u30b3\u30f3\u5074\u304b\u3089\u5f15\u304d\u51fa\u3057\u305f\u30ea\u30fc\u30c9\u7dda\u306f\u5148\u306b\u4f7f\u3063\u305fArduino as ISP\u30d6\u30ec\u30c3\u30c9\u30dc\u30fc\u30c9\u306b\u5dee\u3057\u8fbc\u3093\u3067\u63a5\u7d9a\u3057\u305f\u3002\u30ea\u30e2\u30b3\u30f3\u5074\u306e\u96fb\u6e90\u3082\u30d6\u30ec\u30c3\u30c9\u30dc\u30fc\u30c9\u304b\u3089\u3082\u3089\u3063\u3066\u3044\u308b\u3002<\/p>\n<p>BODLEVEL fuse\u306e\u66f8\u304d\u63db\u3048\u5f8c\u3001\u30b9\u30b1\u30c3\u30c1\u3082\u82e5\u5e72\u4fee\u6b63\u3057\u3066\u66f8\u304d\u8fbc\u3093\u3060\u3002\u30b9\u30b1\u30c3\u30c1\u306e\u66f8\u8fbc\u307f\u306fAE-FT231X\u3092\u30ea\u30e2\u30b3\u30f3\u5185\u306ePRO MINI\u306b\u63a5\u7d9a\u3057\u3066\u884c\u3063\u305f\u3002<br \/>\n\u30b9\u30b1\u30c3\u30c1\u306e\u5185\u5bb9\u306b\u3064\u3044\u3066\u306f\u3001\u4eca\u56de\u306e\u30c6\u30b9\u30c8\u3067\u3082\u4f7f\u3063\u305f\u30b9\u30ea\u30fc\u30d7\u6642\u306eBOD\u7981\u6b62\u3092\u8ffd\u52a0\u3057\u3001\u30b9\u30ea\u30fc\u30d7\u958b\u59cb\u3092\u5b9a\u7fa9\u6e08\u30de\u30af\u30ed\u306b\u5909\u66f4\u3057\u3066\u3044\u308b\u3002\u5909\u66f4\u7b87\u6240\u306f\u00a0<em><strong>void loop()<\/strong><\/em> \u5185\u306e\u4ee5\u4e0b\u306b\u793a\u3059\u90e8\u5206\u3060\u3051\u306b\u3057\u305f\u3002<\/p>\n<pre class=\"lang:c++ decode:true \">....\r\n  attachInterrupt(0, isr, RISING );\r\n  set_sleep_mode(SLEEP_MODE_PWR_DOWN);\r\n#if 0\r\n  sleep_mode();\r\n#else\r\n  sleep_enable();\r\n  MCUCR |= 0x60;\r\n  MCUCR = (MCUCR &amp; 0xdf) | 0x40;\r\n  sleep_cpu();  \r\n#endif\r\n  detachInterrupt(0);\r\n....<\/pre>\n<p>\u30b9\u30ea\u30fc\u30d7\u6642\u306eBOD\u7981\u6b62\u306b\u3088\u308b\u52b9\u679c\u306f\u5206\u304b\u3089\u306a\u3044\u304c\u3001\u307e\u3042\u5168\u4f53\u3068\u3057\u3066\u540c\u3058\u3088\u3046\u306b\u52d5\u304f\u306e\u3067\u554f\u984c\u306f\u306a\u3044\u3060\u308d\u3046\u3002<\/p>\n<h1>\u304d\u3087\u3046\u306e\u307e\u3068\u3081<\/h1>\n<ul>\n<li>Arduino \u3092\u4f7f\u3063\u305f\u96fb\u5b50\u5de5\u4f5c\u3092\u3059\u308b\u306b\u3042\u305f\u3063\u3066\u3001ATmega\u306e\u30c7\u30fc\u30bf\u30b7\u30fc\u30c8\u306f\u8aad\u3080\u3088\u3046\u306b\u3057\u3066\u3044\u305f\u304c\u3001Arduino\u305d\u306e\u3082\u306e\u306b\u95a2\u3057\u3066\u306f\u3042\u307e\u308a\u8abf\u3079\u3066\u3044\u306a\u304b\u3063\u305f\u3002\u6b21\u306b\u4f55\u304b\u4f5c\u308b\u3068\u304d\u306f\u3001\u3082\u3046\u3061\u3087\u3063\u3068\u4e8b\u4f8b\u3092\u3042\u305f\u3063\u305f\u308a\u3057\u3066\u304b\u3089\u306b\u3057\u3088\u3046\u3068\u601d\u3063\u3066\u3044\u308b\u3002<\/li>\n<li>\u51fa\u529b\u96fb\u5727\u3092\u8abf\u6574\u53ef\u80fd\u306a\u96fb\u5727\u30ec\u30ae\u30e5\u30ec\u30fc\u30bf\u30e6\u30cb\u30c3\u30c8\u306b\u3088\u308a\u3001\u8d64\u5916\u7dda\u30ea\u30e2\u30b3\u30f3\u306e\u554f\u984c\u306e\u691c\u51fa\u3084\u4fee\u6b63\u5f8c\u306e\u78ba\u8a8d\u3082\u3059\u3093\u306a\u308a\u884c\u3048\u305f\u3002\u3053\u3046\u3044\u3046\u9053\u5177\u306f\u4e8b\u524d\u306b\u7528\u610f\u3057\u3066\u304a\u3044\u3066\u3057\u304b\u308b\u3079\u304d\u3082\u306e\u306a\u306e\u3060\u304c\u3001\u6301\u3063\u3066\u3044\u306a\u304b\u3063\u305f\u306e\u3060\u304b\u3089\u3057\u3087\u3046\u304c\u306a\u3044\u3002\u305d\u308c\u306b\u3057\u3066\u3082\u3001\u73cd\u3057\u304f\u3044\u3044\u8cb7\u3044\u7269\u3057\u305f\u6c17\u5206\u306b\u306a\u3063\u305f\u3002<\/li>\n<li>\u4eca\u56de\u30ea\u30e2\u30b3\u30f3\u304b\u3089\u96fb\u6c60\u3092\u5916\u3059\u3068\u304d\u306b\u96fb\u5727\u3092\u6e2c\u308b\u3068\u7d043.1V\u3060\u3063\u305f\u3002\u7a3c\u50cd\u3057\u59cb\u3081\u304c3.15V\u7a0b\u5ea6\u3060\u3063\u305f\u306e\u3067\u300110\u65e5\u9593\u3061\u3087\u3063\u3068\u30670.05V\u4e0b\u304c\u3063\u3066\u3044\u305f\u3002\u3053\u306e\u307e\u307e\u30ea\u30cb\u30a2\u306b\u4e0b\u304c\u308a\u7d9a\u3051\u308b\u3068\u3059\u308b\u3068\u3001\u3042\u3068220\u65e5\u9593\u30672.0V\u306b\u9054\u3059\u308b\u3053\u3068\u306b\u306a\u308b\u3002\u679c\u305f\u3057\u3066\u3044\u3064\u307e\u3067\u52d5\u3044\u3066\u304f\u308c\u308b\u306e\u304b\u3002<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u6982\u8981 \u3061\u3087\u3063\u3068\u524d\u306b\u5c0f\u3055\u306a\u8d64\u5916\u7dda\u30ea\u30e2\u30b3\u30f3\u3092\u4f5c\u308b\u306b\u3042\u305f\u3063\u3066Arduino PRO MINI\u3092\u4f7f\u3044\u3001\u3044\u308d\u3044\u308d\u3068\u7701\u96fb\u529b\u5316\u306e\u305f\u3081\u306e\u5de5\u592b\u3092\u3057\u3066\u307f\u305f\u3002\u305f\u3060\u3001Arduino PRO MINI\u306f\u96fb\u6e90\u96fb\u5727\u304c\u7d042.7V\u3092\u4e0b\u56de\u3063\u305f\u3053\u3068\u3092\u691c\u51fa\u3059\u308b &hellip; <a href=\"https:\/\/okiraku-camera.tokyo\/blog\/?p=6381\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">Arduino PRO MINI\u306eBODLEVEL\u30d2\u30e5\u30fc\u30ba\u306e\u66f8\u304d\u63db\u3048<\/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":[69],"tags":[65,86],"class_list":["post-6381","post","type-post","status-publish","format-standard","hentry","category-programming","tag-arduino","tag-remocon"],"_links":{"self":[{"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6381","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=6381"}],"version-history":[{"count":0,"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6381\/revisions"}],"wp:attachment":[{"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6381"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6381"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6381"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}