
{"id":7369,"date":"2018-06-14T18:34:17","date_gmt":"2018-06-14T09:34:17","guid":{"rendered":"https:\/\/okiraku-camera.tokyo\/blog\/?p=7369"},"modified":"2018-10-31T17:08:04","modified_gmt":"2018-10-31T08:08:04","slug":"attiny85-45%e3%81%ae%e3%81%9f%e3%82%81%e3%81%ae%e6%ba%96%e5%82%99","status":"publish","type":"post","link":"https:\/\/okiraku-camera.tokyo\/blog\/?p=7369","title":{"rendered":"ATtiny85\/45\u306e\u305f\u3081\u306e\u6e96\u5099"},"content":{"rendered":"<h1>\u6982\u8981<\/h1>\n<p>\u5c0f\u3055\u306a\u8d64\u5916\u7dda\u30ea\u30e2\u30b3\u30f3\u3092\u4f5c\u308d\u3046\u3068\u601d\u3063\u305f\u306e\u3060\u3051\u3069\u3001\u4eca\u307e\u3067\u4f7f\u3063\u3066\u304d\u305fArduino PRO MINI\u3067\u306f\u5834\u6240\u3092\u3068\u308a\u3059\u304e\u308b\u3057\u96fb\u6c60\u30822\u672c\u3044\u308b\u306e\u3067\u3001\u5c0f\u3055\u3044AVR\u30de\u30a4\u30b3\u30f3\u306eATtiny85\u3042\u308b\u3044\u306f45\u3092\u4f7f\u3063\u3066\u307f\u308b\u3053\u3068\u306b\u3057\u305f\u30028\u30d4\u30f3DIP\u30d1\u30c3\u30b1\u30fc\u30b8\u3067\u5468\u8fba\u7d20\u5b50\u3082\u307b\u3068\u3093\u3069\u8981\u3089\u306a\u3044\u304b\u3089\u3001\u305a\u3044\u3076\u3093\u3068\u5834\u6240\u304c\u7bc0\u7d04\u3067\u304d\u308b\u3057\u30b3\u30a4\u30f3\u96fb\u6c60\u3067\u52d5\u304b\u305b\u308b\u304b\u3082\u3057\u308c\u306a\u3044\u3002\u3060\u3093\u3060\u3093\u3068\u5de5\u4f5c\u3067\u4f7f\u3046\u30d7\u30ed\u30bb\u30c3\u30b5\u304c\u5c0f\u3055\u304f\u306a\u3063\u3066\u304d\u305f\u3088\u3046\u306a\u6c17\u3082\u3059\u308b\u3002<\/p>\n<figure id=\"attachment_7412\" aria-describedby=\"caption-attachment-7412\" style=\"width: 552px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2018\/06\/7c1317f1a87cb247bf70e02311e7e8fb.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-7412\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2018\/06\/7c1317f1a87cb247bf70e02311e7e8fb-552x414.jpg\" alt=\"\" width=\"552\" height=\"414\" \/><\/a><figcaption id=\"caption-attachment-7412\" class=\"wp-caption-text\">Arduino PRO MINI\u3068ATtiny85<\/figcaption><\/figure>\n<p>Arduino PRO MINI\u3082\u5c0f\u3055\u3044\u306e\u3060\u3051\u3069\u30018\u30d4\u30f3DIP\u306e\u65b9\u304c\u5f53\u7136\u5c0f\u3055\u3044\u3002<\/p>\n<p>\u524d\u56de\u3001\u6a5f\u80fd\u306e\u5c11\u306a\u3044\u8d64\u5916\u7dda\u30ea\u30e2\u30b3\u30f3(\u30a8\u30a2\u30b3\u30f3\u7528\u306a\u3069)\u3092\u4f5c\u3063\u305f\u3068\u304d\u306b\u306fArduino PRO MINI(3.3V\u30018MHz\u7248)\u3092\u4f7f\u3063\u305f\u304c\u3001\u5b9f\u73fe\u3067\u304d\u305f\u30e2\u30ce\u306b\u5bfe\u3057\u3066\u30de\u30a4\u30b3\u30f3\u3084\u96fb\u6e90\u304c\u30aa\u30fc\u30d0\u30fc\u30b9\u30da\u30c3\u30af\u306b\u611f\u3058\u305f\u3002\u3088\u308a\u5c0f\u3055\u3044\u306aAVR\u3068\u5c0f\u5bb9\u91cf\u306e\u96fb\u6c60\u3092\u4f7f\u3046\u3053\u3068\u3067\u3001\u30b3\u30f3\u30d1\u30af\u30c8\u306a\u8d64\u5916\u7dda\u30ea\u30e2\u30b3\u30f3\u3092\u4f5c\u3063\u3066\u307f\u305f\u3044\u3002<\/p>\n<figure id=\"attachment_7380\" aria-describedby=\"caption-attachment-7380\" style=\"width: 552px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2018\/05\/5a506c78a26c7fea65b3546dc14e8219.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-7380\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2018\/05\/5a506c78a26c7fea65b3546dc14e8219-552x414.jpg\" alt=\"\" width=\"552\" height=\"414\" \/><\/a><figcaption id=\"caption-attachment-7380\" class=\"wp-caption-text\">ATtiny85\u306845V\u3002IC\u306e\u8db3\u306f\u4e21\u7aef\u304c\u7d30\u3044\u3002<\/figcaption><\/figure>\n<p>\u4eca\u56de\u5165\u624b\u3067\u304d\u305f\u306e\u304cATtiny85\u3068ATtiny45V\u306e2\u7a2e\u985e\u3060\u3063\u305f\u306e\u3067\u3001\u958b\u767a\u3084\u5b9f\u9a13\u306f85\u3067\u3001\u5b9f\u6a5f\u306f45V\u3092\u4f7f\u3063\u3066\u307f\u305f\u3044\u3068\u601d\u3063\u3066\u3044\u308b\u3002<\/p>\n<p>\u306a\u304a\u300125\/45\u306e\u3042\u3068\u306e&#8221;V&#8221;\u306f\u4f4e\u52d5\u4f5c\u96fb\u5727\u7248\u3092\u8868\u3057\u3066\u307f\u308a\u30013\u884c\u76ee\u306b\u3042\u308b&#8221;20PU&#8221;\u3068&#8221;10PU&#8221;\u306f\u3001\u6700\u9ad8\u52d5\u4f5c\u5468\u6ce2\u6570(20MHz\u306810MHz)\u3001\u30d1\u30c3\u30b1\u30fc\u30b8\u30f3\u30b0(P : \u30d7\u30e9\u30b9\u30c1\u30c3\u30afDIP)\u3001\u304a\u3088\u3073\u3001\u7aef\u5b50\u306e\u4ed5\u4e0a\u3052(U : \u30b9\u30ba\u30e1\u30c3\u30ad)\u3092\u8868\u3057\u3066\u3044\u308b\u3088\u3046\u3060\u3002<\/p>\n<p>\u307e\u305a\u306f\u3001ATtiny\u306e\u30b9\u30da\u30c3\u30af\u3092\u8abf\u3079\u305f\u308a\u30d5\u30e9\u30c3\u30b7\u30e5\u3078\u306e\u66f8\u8fbc\u307f\u306e\u305f\u3081\u306b\u5fc5\u8981\u306aISP (<em><strong>In-System Programmer<\/strong><\/em>) \u3092\u7528\u610f\u3057\u305f\u308a\u3001Arduino IDE\u3067\u30d3\u30eb\u30c9\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u3068\u3044\u3063\u305f\u6e96\u5099\u304b\u3089\u59cb\u3081\u305f\u3002ATtiny85\/45\u306e\u30b9\u30da\u30c3\u30af\u306b\u3064\u3044\u3066\u306f\u3001<a href=\"http:\/\/akizukidenshi.com\/catalog\/g\/gI-09574\/\" target=\"_blank\" rel=\"noopener\">\u79cb\u6708\u96fb\u5b50\u306e\u5546\u54c1\u30da\u30fc\u30b8<\/a>\u306b\u30ea\u30f3\u30af\u3055\u308c\u3066\u3044\u308b\u30c7\u30fc\u30bf\u30b7\u30fc\u30c8(<a href=\"http:\/\/akizukidenshi.com\/download\/ds\/atmel\/attiny25_attiny45_attiny85.pdf\" target=\"_blank\" rel=\"noopener\">ATtiny25\/45\/85 [DATASHEET]<\/a>) \u3092\u53c2\u8003\u306b\u3057\u305f\u3002<\/p>\n<h1>ATtiny85\/45\/25\u306e\u7279\u5fb4<\/h1>\n<p>ATtiny85\/45\/25\u306fATtiny\u30b7\u30ea\u30fc\u30ba\u306e\u7b2c\u4e09\u6bb5\u3068\u3057\u30662005\u5e74\u306b\u767a\u8868\u3055\u308c\u305f\u3082\u306e\u3089\u3057\u3044 (\u00a0<a href=\"https:\/\/en.wikipedia.org\/wiki\/Atmel_AVR_ATtiny_comparison_chart\">Atmel AVR ATtiny comparison chart<\/a> \u3092\u53c2\u7167 ) \u3002Arduino\u3067\u4f7f\u308f\u308c\u3066\u3044\u308bATmega8\u30b7\u30ea\u30fc\u30ba\u3068\u307b\u307c\u540c\u3058\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u3092\u3082\u3064AVR\u30de\u30a4\u30b3\u30f3\u3067\u540c\u3058\u30d3\u30eb\u30c9\u30b7\u30b9\u30c6\u30e0\u3067\u958b\u767a\u53ef\u80fd\u3002\u5927\u304d\u3055\u3084\u672c\u6570\u306f\u7570\u306a\u308b\u304c\u3001\u30d5\u30e9\u30c3\u30b7\u30e5\u30e1\u30e2\u30ea\u3084SRAM\u3001\u30af\u30ed\u30c3\u30af\u30aa\u30b7\u30ec\u30fc\u30bf\u3001\u30bf\u30a4\u30de\u30fc\u3001PWM\u6a5f\u80fd\u3001A\/D\u30b3\u30f3\u30d0\u30fc\u30bf\u3001\u6c4e\u7528I\/O(GPIO)\u306a\u3069\u306e\u5468\u8fba\u304c\u8f09\u3063\u3066\u3044\u308b\u306e\u3082\u540c\u69d8\u3002SPI\u3092\u4f7f\u3063\u305fISP\u306b\u3082\u5bfe\u5fdc\u3057\u3066\u3044\u308b\u304b\u3089\u7279\u5225\u306a\u88c5\u7f6e\u304c\u306a\u304f\u3066\u3082(Arduino\u306a\u3069\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u3067)\u30d5\u30e9\u30c3\u30b7\u30e5\u30e1\u30e2\u30ea\u306b\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u66f8\u304d\u8fbc\u3081\u308b\u3002ATmega\u3068\u6bd4\u3079\u308b\u3068\u30d4\u30f3\u6570\u304c\u5c11\u306a\u3044\u5206\u3060\u3051\u5229\u7528\u3067\u304d\u308b\u5468\u8fba\u306f\u5c0f\u898f\u6a21\u306b\u306a\u308b\u3057\u3001\u30d5\u30e9\u30c3\u30b7\u30e5\u30e1\u30e2\u30ea\u3084SRAM\u306e\u5bb9\u91cf\u3082\u5c0f\u3055\u3044\u3002\u3057\u304b\u3057\u306a\u304c\u3089\u3001\u305d\u306e\u5206\u6d88\u8cbb\u96fb\u6d41\u304c\u5c11\u306a\u3044\u3002\u5468\u8fba\u306e\u99c6\u52d5\u3092\u8003\u3048\u306a\u3051\u308c\u3070\u3001\u52d5\u4f5c\u6642\u3067300\u03bcA\u3001\u30b9\u30ea\u30fc\u30d7\u6642\u306f\u306a\u3093\u30680.1\u03bcA\u3068\u306e\u3053\u3068(@1.8V, 1MHz)\u3002<\/p>\n<h6>ATtiny5\u30b7\u30ea\u30fc\u30ba\u306e\u5171\u901a\u70b9<\/h6>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>8\u30d4\u30f3DIP\u30d1\u30c3\u30b1\u30fc\u30b8\u3042\u308a\u3067\u5de5\u4f5c\u306b\u4f7f\u3044\u3084\u3059\u3044\u3002<\/li>\n<li>GPIO\u306f6\u672c(PB0-PB5)\u3002\u305f\u3060\u3057\u3001Arduino ISP\u3092\u4f7f\u3046\u3068\u304d\u306b\u306fPB5\u306fRESET\u3068\u3057\u3066\u4f7f\u3046\u3053\u3068\u306b\u306a\u308b\u3002<\/li>\n<li>4\u30c1\u30e3\u30cd\u30eb(\u30b7\u30f3\u30b0\u30eb\u30a8\u30f3\u30c9)\u306e10\u30d3\u30c3\u30c8A\/D\u30b3\u30f3\u30d0\u30fc\u30bf\u5185\u8535\u3002<\/li>\n<li>8\u30d3\u30c3\u30c8\u30bf\u30a4\u30de(2\u30c1\u30e3\u30cd\u30eb\u306ePWM\u51fa\u529b\u4ed8)\u3002<\/li>\n<li>8MHz\u767a\u632f\u306eRC\u30aa\u30b7\u30ec\u30fc\u30bf\u5185\u8535\u3002<\/li>\n<li>\u6c34\u6676\u767a\u632f\u5668\u3092\u5916\u4ed8\u3051\u3059\u308c\u3070\u6700\u592720MHz(V\u4ed8\u306f10MHz)\u3002\u305f\u3060\u3057\u6c34\u6676\u3092\u4f7f\u3046\u3068GPIO\u306f\u66f4\u306b2\u672c\u6e1b\u308b\u3002<\/li>\n<li>\u52d5\u4f5c\u96fb\u5727\u306f\u3001\u7121\u5370\u304c2.7-5.5V\u3001V\u4ed8\u304c1.8-5.5V\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h6>\u76f8\u9055\u70b9<\/h6>\n<p>\u30c7\u30fc\u30bf\u30b7\u30fc\u30c8\u3092\u8aad\u3080\u304b\u304e\u308a\u3001\u76f8\u9055\u70b9\u306f\u5185\u8535\u3057\u3066\u3044\u308b\u30e1\u30e2\u30ea\u5bb9\u91cf\u3060\u3051\u306e\u3088\u3046\u3060\u3063\u305f\u3002<\/p>\n<table>\n<tbody>\n<tr>\n<td><\/td>\n<td>\u30d5\u30e9\u30c3\u30b7\u30e5\u30e1\u30e2\u30ea<\/td>\n<td>EEPROM<\/td>\n<td>SRAM<\/td>\n<\/tr>\n<tr>\n<td>ATtiny85<\/td>\n<td>8192Bytes<\/td>\n<td>512Bytes<\/td>\n<td>512Bytes<\/td>\n<\/tr>\n<tr>\n<td>ATtiny45<\/td>\n<td>4096Bytes<\/td>\n<td>256Bytes<\/td>\n<td>256Bytes<\/td>\n<\/tr>\n<tr>\n<td>ATtiny25<\/td>\n<td>2048Bytes<\/td>\n<td>128Bytes<\/td>\n<td>128Bytes<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h6>\u30d4\u30f3\u306e\u69cb\u6210<\/h6>\n<p>ATtiny\u306f\u5c11\u306a\u3044\u30d4\u30f3\u6570\u306e\u4e2d\u306b\u6570\u591a\u304f\u306e\u6a5f\u80fd\u304c\u8a70\u3081\u8fbc\u307e\u308c\u3066\u3044\u3066\u3084\u3084\u3053\u3057\u3044\u3002\u305f\u3073\u305f\u3073\u30c7\u30fc\u30bf\u30b7\u30fc\u30c8\u3092\u898b\u76f4\u3059\u3053\u3068\u306b\u306a\u308b\u306e\u3067\u4f7f\u3044\u305d\u3046\u306a\u6a5f\u80fd\u306b\u3057\u307c\u3063\u3066\u4ee5\u4e0b\u306b\u307e\u3068\u3081\u305f(\u30d4\u30f3\u756a\u53f7\u306f8\u30d4\u30f3DIP\u306e\u5834\u5408)\u3002<\/p>\n<ul>\n<li>PB0(#5) = MOSI, AIN0, OC0A, \/OC1A, AREF, PCINT0<\/li>\n<li>PB1(#6) = MISO, AIN1, OC0B, OC1A, PCINT1<\/li>\n<li>PB2(#7) = SCK, ADC1, INT0, PCINT2<\/li>\n<li>PB3(#2) = ADC3, \/OC1B, PCINT3,CLKI,XTAL1<\/li>\n<li>PB4(#3) = ADC2, OC1B, PCINT4,CLKO,XTAL2<\/li>\n<li>PB5(#1) = ADC0, \/RESET, PCINT5<\/li>\n<\/ul>\n<p>\u6a5f\u80fd\u5225\u306b\u898b\u308b\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308b\u3002<\/p>\n<ul>\n<li><strong>SPI\u95a2\u4fc2<\/strong><br \/>\nMOSI, MISO, SCK<\/li>\n<li><strong>A\/D\u5165\u529b\u30c1\u30e3\u30cd\u30eb<\/strong><br \/>\nADC0, ADC1,ADC2, ADC3, (AREF : \u5916\u90e8\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\u96fb\u5727)<\/li>\n<li><strong>\u30a2\u30ca\u30ed\u30b0\u30b3\u30f3\u30d1\u30ec\u30fc\u30bf\u5165\u529b<\/strong><br \/>\nAIN0, AIN1<\/li>\n<li><strong>PWM\u51fa\u529b<\/strong><br \/>\nOC0A, OC0B, OC1A, \/OC1A, OC1B, \/OC1B<\/li>\n<li><strong>\u30d4\u30f3\u30c1\u30a7\u30f3\u30b8\u5272\u8fbc\u307f\u6e90<\/strong><br \/>\nPCINT0, PCINT1, PCINT2, PCINT3, PCINT4<\/li>\n<li><strong>\u5916\u90e8\u30af\u30ed\u30c3\u30af\u5165\u529b\/\u5185\u90e8\u30af\u30ed\u30c3\u30af\u51fa\u529b<\/strong><br \/>\nCLKI, CLKO<\/li>\n<li><strong>\u5916\u4ed8\u3051\u6c34\u6676\u767a\u632f\u5668\u63a5\u7d9a<\/strong><br \/>\nXTAL1, XTAL2<\/li>\n<\/ul>\n<h1>Arduino ISP<\/h1>\n<p>ATtiny85\/45\u306b\u306f\u3001\u3075\u3064\u3046\u306eArduino\u306e\u30de\u30a4\u30b3\u30f3(ATmega328P)\u306b\u66f8\u304d\u8fbc\u307e\u308c\u3066\u3044\u308b\u3088\u3046\u306a\u30d6\u30fc\u30c8\u30ed\u30fc\u30c0\u304c\u5165\u3063\u3066\u3044\u306a\u3044\u3057\u3001\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u306b\u3088\u308b\u30b7\u30ea\u30a2\u30eb\u5165\u51fa\u529b\u6a5f\u80fd(UART)\u3082\u306a\u3044\u3002\u30b9\u30b1\u30c3\u30c1\u3092ATtiny\u5185\u306e\u30d5\u30e9\u30c3\u30b7\u30e5\u30e1\u30e2\u30ea\u306b\u66f8\u304d\u8fbc\u3080\u305f\u3081\u306b\u306f\u3001ISP (In-System Programmer)\u3092\u4f7f\u3046\u5fc5\u8981\u304c\u3042\u308b\u3002\u307e\u305f\u3001\u52d5\u4f5c\u5468\u6ce2\u6570\u305d\u306e\u4ed6\u3092\u8a2d\u5b9a\u3059\u308b\u305f\u3081\u306eFUSE\u3092\u66f8\u304d\u63db\u3048\u308b\u969b\u306b\u3082ISP\u304c\u5fc5\u8981\u306b\u306a\u308b\u3002\u4ee5\u524d<a href=\"https:\/\/okiraku-camera.tokyo\/blog\/?p=6381\" target=\"_blank\" rel=\"noopener\">ATMega328P\u306eBODLEVEL FUSE\u3092\u66f8\u304d\u63db\u3048\u305f<\/a>\u3068\u304d\u3068\u540c\u3058\u3088\u3046\u306b\u3001Arduino PRO MINI\u3092\u4f7f\u3063\u305fISP\u3092\u69cb\u6210\u3059\u308b\u3068\u3053\u308d\u304b\u3089\u59cb\u3081\u305f\u3002<\/p>\n<figure id=\"attachment_7374\" aria-describedby=\"caption-attachment-7374\" style=\"width: 552px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2018\/05\/A_PROMINI_TINY_ISP.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-7374\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2018\/05\/A_PROMINI_TINY_ISP-552x394.png\" alt=\"\" width=\"552\" height=\"394\" \/><\/a><figcaption id=\"caption-attachment-7374\" class=\"wp-caption-text\">A_PROMINI_TINY_ISP<\/figcaption><\/figure>\n<p>Arduino\u306e\u30b5\u30f3\u30d7\u30eb\u306b\u5165\u3063\u3066\u3044\u308b<a href=\"https:\/\/github.com\/rsbohn\/ArduinoISP\" target=\"_blank\" rel=\"noopener\"><em>ArduinoISP\u30b9\u30b1\u30c3\u30c1<\/em><\/a>\u3092\u52d5\u304b\u3059\u305f\u3081\u3001\u4e0a\u8a18\u306e\u3088\u3046\u306a\u56de\u8def\u3092\u30d6\u30ec\u30c3\u30c9\u30dc\u30fc\u30c9\u4e0a\u306b\u7d44\u3093\u3060\u3002Arduino PRO MINI (5V\u300116MHz\u52d5\u4f5c)\u306eSPI\u7aef\u5b50(<em>D13=SCK,D12=MISO, D11=MOSI<\/em>)\u3092ATtiny\u306b\u63a5\u7d9a\u3057\u3001\u30ea\u30bb\u30c3\u30c8\u7528\u306bD10\u3092\u30d4\u30f3#1\u306eRESET(PB5)\u306b\u63a5\u7d9a\u3059\u308b\u3002PC\u3068Arduino PRO MINI\u306e\u63a5\u7d9a\u306f\u3001USB-\u30b7\u30ea\u30a2\u30eb\u5909\u63db\u7528\u306eAE-FT231X\u3092\u4ecb\u3057\u3066\u884c\u3046\u3053\u3068\u306b\u3057\u305f\u3002<\/p>\n<figure id=\"attachment_7408\" aria-describedby=\"caption-attachment-7408\" style=\"width: 552px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2018\/06\/a38624f945eeafb36798755e4d3583fb.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-7408\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2018\/06\/a38624f945eeafb36798755e4d3583fb-552x414.jpg\" alt=\"\" width=\"552\" height=\"414\" \/><\/a><figcaption id=\"caption-attachment-7408\" class=\"wp-caption-text\">Arduino ISP + ATtiny<\/figcaption><\/figure>\n<figure id=\"attachment_7407\" aria-describedby=\"caption-attachment-7407\" style=\"width: 552px\" class=\"wp-caption alignnone\"><a style=\"font-weight: bold; background-color: transparent;\" href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2018\/06\/2916492bc96d3728d5175487ffe44751.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-7407 size-large\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2018\/06\/2916492bc96d3728d5175487ffe44751-552x414.jpg\" alt=\"Arduino ISP + ATtiny\" width=\"552\" height=\"414\" \/><\/a><figcaption id=\"caption-attachment-7407\" class=\"wp-caption-text\">Arduino ISP + ATtiny<\/figcaption><\/figure>\n<p>\u624b\u524d\u306e8\u30d4\u30f3DIP\u306eIC\u304cATtiny85\u3067\u5965\u304cArduino PRO MINI\u3002\u30b9\u30b1\u30c3\u30c1\u3092\u66f8\u304d\u8fbc\u3080\u3054\u3068\u306bISP\u7528\u306e\u30d6\u30ec\u30c3\u30c9\u30dc\u30fc\u30c9\u304b\u3089\u5b9f\u9a13\u56de\u8def\u7528\u306e\u30d6\u30ec\u30c3\u30c9\u30dc\u30fc\u30c9\u306bATtiny\u3092\u79fb\u52d5\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u306e\u3060\u3051\u3069\u3001\u30d6\u30ec\u30c3\u30c9\u30dc\u30fc\u30c9\u3068\u306e\u629c\u304d\u633f\u3057\u306f\u4e38\u30d4\u30f3\u30bd\u30b1\u30c3\u30c8\u3054\u3068\u884c\u3063\u3066\u3044\u308b\u3002\u304a\u306e\u304a\u306e\u306e\u30dc\u30fc\u30c9\u306b\u30bd\u30b1\u30c3\u30c8\u3092\u30bb\u30c3\u30c8\u3057\u3066\u304a\u3044\u3066ATtiny\u3060\u3051\u3092\u633f\u3057\u66ff\u3048\u3088\u3046\u3068\u3059\u308b\u3068\u3001\u3059\u3050\u306bIC\u306e\u8db3\u3092\u66f2\u3052\u3066\u3057\u307e\u3046\u306e\u3067\u3002<\/p>\n<p>ISP\u306e\u8a73\u7d30\u3084\u4f7f\u3044\u65b9\u306b\u3064\u3044\u3066\u306f\u3001<em><a href=\"https:\/\/www.arduino.cc\/en\/Tutorial\/ArduinoISP\" target=\"_blank\" rel=\"noopener\">Using an Arduino as an AVR ISP (In-System Programmer)<\/a><\/em>\u00a0\u3092\u53c2\u7167\u3002\u3053\u306e\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\u8a18\u4e8b\u306fArduino IDE\u304b\u3089Arduino\u306b\u30d6\u30fc\u30c8\u30ed\u30fc\u30c0\u3092\u66f8\u304d\u8fbc\u3080\u65b9\u6cd5\u3068\u3057\u3066\u66f8\u304b\u308c\u3066\u3044\u308b\u304c\u3001ATtiny\u306eFUSE\u306e\u5909\u66f4\u3084\u30b9\u30b1\u30c3\u30c1\u306e\u66f8\u304d\u8fbc\u307f\u306b\u3082\u305d\u306e\u307e\u307e\u4f7f\u3048\u308b\u3002<br \/>\nArduinoISP\u30b9\u30b1\u30c3\u30c1\u306b\u306f\u30b7\u30ea\u30a2\u30eb\u8ee2\u9001\u901f\u5ea6\u3068\u3057\u306619200bps\u3068\u66f8\u3044\u3066\u3042\u308b\u306e\u3067\u3001avrdude\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3063\u305f\u64cd\u4f5c\u6642\u306b\u3082\u3053\u306e\u901a\u4fe1\u901f\u5ea6\u3092\u6307\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002<\/p>\n<h2>avrdude\u306b\u3088\u308bFUSE\u5185\u5bb9\u306e\u78ba\u8a8d<\/h2>\n<p>ArduinoISP\u304c\u3061\u3083\u3093\u3068\u52d5\u304f\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b\u305f\u3081\u306b<em><strong>avrdude<\/strong><\/em>\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3063\u305f\u3002ISP\u3068\u3057\u3066\u306eArduino PRO MINI\u3067ArduinoISP\u30b9\u30b1\u30c3\u30c1\u304c\u52d5\u4f5c\u3057\u3066\u3044\u308b\u72b6\u614b\u3067\u3001Windows\u306e\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u304b\u3089\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5165\u529b\u3059\u308b\u3068\u3001ATtiny\u306eFUSE\u5185\u5bb9\u3092\u8aad\u307f\u51fa\u3059\u3053\u3068\u304c\u3067\u304d\u308b\u3002\u3053\u306e\u3068\u304d\u3001\u30aa\u30d7\u30b7\u30e7\u30f3<strong>\u00a0<em>-p t85<\/em><\/strong> \u306b\u3088\u308a\u3001\u30bf\u30fc\u30b2\u30c3\u30c8\u306e\u30d7\u30ed\u30bb\u30c3\u30b5\u3068\u3057\u3066ATtiny85\u3092\u6307\u5b9a\u3057\u3066\u3044\u308b\u3002<\/p>\n<pre class=\"lang:default decode:true\">c:\\...\\hardware\\tools\\avr\\bin&gt;avrdude -C ..\\etc\\avrdude.conf -p t85 -P COM4 -b 19200 -c avrisp\r\n\r\navrdude: AVR device initialized and ready to accept instructions\r\nReading | ################################################## | 100% 0.08s\r\navrdude: Device signature = 0x1e930b (probably t85)\r\navrdude: safemode: Fuses OK (E:FF, H:DF, L:62)\r\navrdude done.  Thank you.\r\n\r\n(\u884c\u9593\u306e\u7a7a\u884c\u3092\u524a\u9664)<\/pre>\n<p>avrdude\u30b3\u30de\u30f3\u30c9\u306e\u4f7f\u3044\u65b9\u306b\u3064\u3044\u3066\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>\u00a0\u3092\u53c2\u7167\u3002\u3053\u3053\u3067\u306f\u3001<br \/>\n<span class=\"lang:default decode:true crayon-inline \">avrdude: safemode: Fuses OK (E:FF, H:DF, L:62)<\/span><br \/>\n\u3068\u3044\u3046\u884c\u304cFUSE\u306e\u5185\u5bb9\u3092\u793a\u3057\u3066\u3044\u308b\u3002<\/p>\n<h3>\u51fa\u8377\u6642\u306eFUSE\u5185\u5bb9<\/h3>\n<p>avrdude\u3067\u8aad\u307f\u51fa\u3057\u305fFUSE\u306e\u5185\u5bb9\u304c\u3069\u3046\u3044\u3046\u610f\u5473\u3092\u3082\u3064\u306e\u304b\u8abf\u3079\u3066\u307f\u305f\u3002\u8cb7\u3063\u305f\u3070\u304b\u308a\u3060\u304b\u3089\u3001\u304a\u305d\u3089\u304f\u30e1\u30fc\u30ab\u30fc\u51fa\u8377\u6642\u3068\u540c\u3058\u3060\u308d\u3046\u3002\u8a73\u3057\u304f\u306f\u30c7\u30fc\u30bf\u30b7\u30fc\u30c8\u306e\u00a0<strong><em>20.2 Fuse Bytes\u00a0<\/em><\/strong>\u306e\u9805\u3092\u53c2\u7167\u3002FUSE\u306e\u5834\u5408\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u3055\u308c\u3066\u3044\u308b\u30d3\u30c3\u30c8\u306f&#8221;0&#8243;\u3068\u306a\u308a\u3001\u305d\u3046\u3067\u306a\u3044\u30d3\u30c3\u30c8\u306f&#8221;1&#8243;\u3068\u306a\u308b\u3002<\/p>\n<h6>\u62e1\u5f35FUSE\u30d0\u30a4\u30c8 = E:FF<\/h6>\n<p>\u62e1\u5f35FUSE\u30d0\u30a4\u30c8 (Fuse Extended Byte = E:FF)\u306f\u3001LSB\u306e\u307f\u306b\u6a5f\u80fd\u304c\u5272\u308a\u5f53\u3066\u3089\u308c\u3066\u304a\u308a\u3001&#8221;1&#8243;\u306e\u3068\u304d\u30d5\u30e9\u30c3\u30b7\u30e5\u306e\u30bb\u30eb\u30d5\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306f\u7981\u6b62\u3068\u3044\u3046\u610f\u5473\u3092\u3082\u3064\u3002\u3053\u3053\u306f\u89e6\u308b\u5fc5\u8981\u304c\u306a\u3044\u3002<\/p>\n<h6>FUSE\u30cf\u30a4\u30d0\u30a4\u30c8 = H:DF<\/h6>\n<pre class=\"nums:false lang:default decode:true\">(MSB)1 1 0 1 1 1 1 1 (LSB)\r\n     | | | | | + + +- BOD LEVEL = B111 = BOD\u52d5\u4f5c\u7981\u6b62\u3002\r\n     | | | | +------- \u30c1\u30c3\u30d7\u30a4\u30ec\u30fc\u30b9\u6642\u306bEEPROM\u5185\u5bb9\u3082\u6d88\u53bb\r\n     | | | +--------- \u30a6\u30a9\u30c3\u30c1\u30c9\u30c3\u30b0\u30bf\u30a4\u30de\u30fc\u306f\u5e38\u6642\u30aa\u30f3\u3067\u306f\u306a\u3044\u3002\r\n     | | +----------- SPI\u7d4c\u7531\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306f\u8a31\u53ef\u3002\r\n     | +------------- DebugWIRE\u6a5f\u80fd\u306f\u7981\u6b62\u3002\r\n     +--------------- PB5\u306f\/RESET\u3068\u3057\u3066\u6a5f\u80fd\u3059\u308b\u3002<\/pre>\n<p>\u6700\u4e0a\u4f4d\u30d3\u30c3\u30c8\u304c&#8221;1&#8243;\u306a\u3089\u3070\u3001PB5(\u30d4\u30f3#1)\u306f\/RESET\u3068\u3057\u3066\u6a5f\u80fd\u3057\u3001&#8221;0&#8243;\u306a\u3089\u3070GPIO\u3068\u3057\u3066\u6a5f\u80fd\u3059\u308b\u3002&#8221;0&#8243;\u306b\u3057\u3066\u3057\u307e\u3046\u3068\u3001\u5916\u90e8\u304b\u3089\u30ea\u30bb\u30c3\u30c8\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u306a\u304f\u306a\u308b\u306e\u3067\u3001Arduino ISP\u306b\u3088\u308b\u30d5\u30e9\u30c3\u30b7\u30e5\u3084FUSE\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u304c\u3067\u304d\u306a\u304f\u306a\u3063\u3066\u3057\u307e\u3046\u3002\u9ad8\u96fb\u5727\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30e2\u30fc\u30c9\u306a\u3089\u3070\u30d5\u30e9\u30c3\u30b7\u30e5\u306e\u66f8\u304d\u8fbc\u307f\u3084FUSE\u306e\u5909\u66f4\u3082\u53ef\u80fd\u3068\u306e\u3053\u3068\u3060\u304c\u6301\u3063\u3066\u3044\u306a\u3044\u306e\u3067\u3053\u3053\u306f\u89e6\u308c\u306a\u3044\u3002<\/p>\n<h6>FUSE\u30ed\u30fc\u30d0\u30a4\u30c8 = L:62<\/h6>\n<pre class=\"nums:false lang:default decode:true\">(MSB)0 1 1 0 0 0 1 0 (LSB)\r\n     | | | | + + + +- \u30af\u30ed\u30c3\u30af\u30bd\u30fc\u30b9\u306fB0010 = \u5185\u90e8RC\u30aa\u30b7\u30ec\u30fc\u30bf(8MHz)\u3002\r\n     | | +-+--------- SUT\u306f2(B10)\r\n     | +------------- \u30af\u30ed\u30c3\u30af\u51fa\u529b\u306f\u7981\u6b62\u3002\r\n     +--------------- CLKDIV8\u306f\u6709\u52b9\u3002 \u30b7\u30b9\u30c6\u30e0\u30af\u30ed\u30c3\u30af\u306f\u30aa\u30b7\u30ec\u30fc\u30bf\u5468\u6ce2\u6570\u306e1\/8\u3002<\/pre>\n<p>\u30ed\u30fc\u30d0\u30a4\u30c8\u306f\u30af\u30ed\u30c3\u30af\u95a2\u4fc2\u306e\u8a2d\u5b9a\u306b\u4f7f\u308f\u308c\u3066\u3044\u308b\u3002\u5916\u90e8\u304b\u3089\u30af\u30ed\u30c3\u30af\u3092\u4e0e\u3048\u308b\u5834\u5408\u3084\u5916\u4ed8\u3051\u306e\u6c34\u6676\u767a\u632f\u5668\u3092\u63a5\u7d9a\u3059\u308b\u3088\u3046\u306a\u3068\u304d\u306b\u306f\u3053\u3053\u3092\u5909\u66f4\u3059\u308b\u3053\u3068\u306b\u306a\u308b\u3002\u305f\u3060\u3001\u5229\u7528\u3067\u304d\u308bGPIO\u304c\u6e1b\u3063\u3066\u3057\u307e\u3046\u306e\u3067\u5185\u90e8\u30aa\u30b7\u30ec\u30fc\u30bf\u3092\u305d\u306e\u307e\u307e\u4f7f\u3046\u3053\u3068\u304c\u591a\u3044\u3060\u308d\u3046\u3002<\/p>\n<p>\u30af\u30ed\u30c3\u30af\u30bd\u30fc\u30b9\u3068\u3057\u3066\u5185\u90e8RC\u30aa\u30b7\u30ec\u30fc\u30bf\u3092\u4f7f\u3046\u5834\u5408\u3001\u30b7\u30b9\u30c6\u30e0\u30af\u30ed\u30c3\u30af\u306f\u767a\u632f\u5468\u6ce2\u65708MHz\u3092<em>CLKPR<\/em>(\u30af\u30ed\u30c3\u30af\u30d7\u30ea\u30b9\u30b1\u30fc\u30e9\u30ec\u30b8\u30b9\u30bf)\u5185\u306e4\u30d3\u30c3\u30c8(<em>CLKPS3-CLKPS0<\/em>)\u3067\u8868\u73fe\u3055\u308c\u308b\u5206\u5468\u6bd4\u3067\u5272\u3063\u305f\u5024\u306b\u306a\u308b\u3002<br \/>\nFUSE\u30ed\u30fc\u30d0\u30a4\u30c8\u306eMSB(<em>CLKDIV8\u30d3\u30c3\u30c8)<\/em>\u304c\u6709\u52b9(&#8220;0&#8221;)\u306a\u5834\u5408\u3001\u30ea\u30b9\u30bf\u30fc\u30c8\u6642\u306b<em>CLKPR<\/em>\u5185\u306e\u5206\u5468\u6bd4\u306f8(<em>CLKPS = B0011<\/em>)\u3068\u306a\u308a\u3001<em>CLKDIV8<\/em>\u304c\u7121\u52b9(&#8220;1&#8221;)\u306a\u3089\u30701(<em>CLKPS = B0000<\/em>)\u306b\u306a\u308b\u3002\u3064\u307e\u308a<em>CLKDIV8<\/em>\u304c&#8221;0&#8243;\u306a\u3089\u3070\u30b7\u30b9\u30c6\u30e0\u30af\u30ed\u30c3\u30af\u306f1MHz\u3001&#8221;1&#8243;\u306a\u3089\u30708MHz\u3068\u3044\u3046\u3053\u3068\u306b\u306a\u308b\u3002CLKPR\u306e\u5185\u5bb9\u306f\u30b9\u30b1\u30c3\u30c1\u306b\u3088\u3063\u3066\u52d5\u4f5c\u4e2d\u306b\u5909\u66f4\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3002<\/p>\n<p>FUSE\u30ed\u30fc\u30d0\u30a4\u30c8\u3092\u66f8\u304d\u63db\u3048\u3066\u30af\u30ed\u30c3\u30af\u30bd\u30fc\u30b9\u3092\u5916\u90e8\u30af\u30ed\u30c3\u30af\u3084\u5916\u4ed8\u3051\u306e\u6c34\u6676\u767a\u632f\u5668\u306b\u3057\u305f\u5834\u5408\u3001\u305d\u308c\u3089\u3092\u63a5\u7d9a\u3057\u306a\u3051\u308c\u3070ATtiny\u306f\u52d5\u4f5c\u3057\u306a\u3044\u3057SPI\u306b\u3088\u308bFUSE\u306e\u66f8\u304d\u63db\u3048\u3082\u3067\u304d\u306a\u3044\u3088\u3046\u306b\u601d\u3048\u308b\u3002\u8a66\u3057\u3066\u307f\u308b\u6c17\u306f\u3057\u306a\u3044\u304c\u3002<\/p>\n<p><em>SUT\u306e2\u30d3\u30c3\u30c8<\/em>\u306f\u3001\u30d1\u30ef\u30fc\u30c0\u30a6\u30f3\u304b\u3089\u306e\u5fa9\u5e30\u6642\u306e\u30b7\u30b9\u30c6\u30e0\u30af\u30ed\u30c3\u30af\u306e\u958b\u59cb\u9045\u5ef6\u6642\u9593(<em>Start-Up Time<\/em>)\u3092\u8a2d\u5b9a\u3059\u308b\u305f\u3081\u30d3\u30c3\u30c8\u3067\u3001\u521d\u671f\u5024\u306f6\u30af\u30ed\u30c3\u30af\u3068\u306a\u3063\u3066\u3044\u308b\u3002\u5916\u90e8\u30ea\u30bb\u30c3\u30c8\u306e\u5834\u5408\u306f\u3001\u66f4\u306b\u9577\u3044\u9045\u5ef6\u6642\u9593(14\u30af\u30ed\u30c3\u30af + 64msec)\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u3002\u96fb\u6e90\u96fb\u5727\u306e\u7acb\u3061\u4e0a\u304c\u308a\u3068\u30af\u30ed\u30c3\u30af\u306e\u5b89\u5b9a\u3092\u8003\u616e\u3057\u305f\u3082\u306e\u3068\u8003\u3048\u3089\u308c\u308b\u304c\u3001\u5185\u90e8\u30aa\u30b7\u30ec\u30fc\u30bf\u3092\u4f7f\u3046\u969b\u306b\u306f\u3053\u308c\u307b\u3069\u9577\u3044\u5fc5\u8981\u306f\u306a\u3044\u3088\u3046\u306b\u601d\u3048\u308b\u3002<\/p>\n<h3>\u3068\u308a\u3042\u3048\u305a\u66f8\u304d\u63db\u3048\u306a\u3044<\/h3>\n<p>\u3042\u3048\u3066FUSE\u3092\u66f8\u304d\u63db\u3048\u308b\u3053\u3068\u304c\u3042\u308b\u3068\u3059\u308c\u3070\u3001<em>CLKDIV8<\/em>\u30d3\u30c3\u30c8\u3060\u308d\u3046\u3002\u3057\u304b\u3057\u30011MHz\u52d5\u4f5c\u306e\u65b9\u304c\u6d88\u8cbb\u96fb\u6d41\u304c\u5c0f\u3055\u3044\u3053\u3068\u306f\u9593\u9055\u3044\u306a\u3044\u306e\u3067\u3001\u3068\u308a\u305f\u3066\u3066\u5909\u66f4\u304c\u5fc5\u8981\u306a\u9805\u76ee\u306f\u306a\u3044\u3088\u3046\u3060\u3002<\/p>\n<h1>Arduino IDE\u3078\u306eATtiny\u30b5\u30dd\u30fc\u30c8\u306e\u8ffd\u52a0<\/h1>\n<p>ISP\u306f\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u306e\u3067\u3001\u6b21\u306f\u30b9\u30b1\u30c3\u30c1\u3092\u66f8\u3044\u3066\u30d3\u30eb\u30c9\u3059\u308b\u305f\u3081\u306eArdiuno IDE\u306b\u3001github\u306e <a href=\"https:\/\/github.com\/damellis\/attiny\" target=\"_blank\" rel=\"noopener\">ATtiny microcontroller support for the Arduino IDE<\/a> \u3092\u5c0e\u5165\u3057\u3066ATtiny\u306e\u958b\u767a\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u305f\u3002\u5177\u4f53\u7684\u306a\u5c0e\u5165\u65b9\u6cd5\u306f\u3001<a href=\"http:\/\/highlowtech.org\/?p=1695\" target=\"_blank\" rel=\"noopener\">http:\/\/highlowtech.org\/?p=1695<\/a> \u3092\u53c2\u7167\u3057\u305f\u3002\u3053\u306e\u30da\u30fc\u30b8\u306b\u306fArduino IDE 1.6\u304a\u3088\u30731.0\u3078\u306e\u5c0e\u5165\u65b9\u6cd5\u304c\u66f8\u3044\u3066\u3042\u308b\u304c\u3001\u3046\u3061\u3067\u4f7f\u3063\u3066\u3044\u308b1.8.3\u306b\u3082\u540c\u3058\u3088\u3046\u306b\u5c0e\u5165\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u305f\u3002\u65b9\u6cd5\u3092\u7c21\u5358\u306b\u307e\u3068\u3081\u308b\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308b\u3002<\/p>\n<ol>\n<li>Arduino IDE\u306e<strong>\u30d5\u30a1\u30a4\u30eb\/\u74b0\u5883\u8a2d\u5b9a\/\u8ffd\u52a0\u306e\u30dc\u30fc\u30c9\u30de\u30cd\u30fc\u30b8\u30e3URL<\/strong> \u306b\u3001\u4ee5\u4e0b\u306eURL\u3092\u5165\u529b\u3057OK\u3092\u30af\u30ea\u30c3\u30af\u3002<br \/>\n<em>https:\/\/raw.githubusercontent.com\/damellis\/attiny\/ide-1.6.x-boards-manager\/package_damellis_attiny_index.json<\/em><\/li>\n<li><strong>\u30c4\u30fc\u30eb\/\u30dc\u30fc\u30c9: &#8230;<\/strong> \u3092\u9078\u629e\u3057\u3066\u5bfe\u5fdc\u30dc\u30fc\u30c9\u30ea\u30b9\u30c8\u3092\u958b\u304d\u3001\u4e00\u756a\u4e0a\u306e<strong>\u30dc\u30fc\u30c9\u30de\u30cd\u30fc\u30b8\u30e3&#8230;<\/strong>\u3092\u9078\u629e\u3059\u308b\u3002\u30ea\u30b9\u30c8\u306e\u4e0b\u306e\u65b9\u306b<strong>attiny by David A.mellis<\/strong> \u304c\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u3053\u306e\u9805\u76ee\u3092\u9078\u629e\u3057\u3066\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3(1.0.2)\u3092\u9078\u3093\u3067 install \u3057\u3001\u30dc\u30fc\u30c9\u30de\u30cd\u30fc\u30b8\u30e3\u3092\u9589\u3058\u308b\u3002<\/li>\n<li>Arduino IDE\u3092\u7acb\u3061\u4e0a\u3052\u76f4\u3057\u3066<strong>\u30c4\u30fc\u30eb\/\u30dc\u30fc\u30c9: &#8230;<\/strong> \u3092\u958b\u304f\u3068\u3001<strong>ATtiny Microcontrollers<\/strong> \u3068\u3057\u3066ATtiny25\/45\/85\u304a\u3088\u3073ATtiny 24\/44\/84 \u304c\u8ffd\u52a0\u3055\u308c\u3066\u3044\u308b\u3002<\/li>\n<\/ol>\n<p>\u4e0a\u306e\u5c0e\u5165\u4f5c\u696d\u306b\u3088\u308a\u3001\u3046\u3061\u306eWindows PC\u3067\u306f\u3001<em>C:\\users\\..\\AppData\\Local\\Arduino15\\packages<\/em> \u5185\u306b\u3001<em>esp8266<\/em>\u3068\u4e26\u3093\u3067<em>attiny<\/em> \u3068\u3044\u3046\u30d5\u30a9\u30eb\u30c0\u304c\u8ffd\u52a0\u3055\u308c\u305f(esp8266\u7528\u306e\u8ffd\u52a0\u3082\u30dc\u30fc\u30c9\u30de\u30cd\u30fc\u30b8\u30e3\u3067\u884c\u3063\u305f)\u3002\u3055\u3089\u306b\u30d5\u30a9\u30eb\u30c0\u3092\u4e0b\u308a\u3066\u3044\u304f\u3068\u3001\u9078\u629e\u53ef\u80fd\u306a\u30d7\u30ed\u30bb\u30c3\u30b5\u3001\u30d7\u30ed\u30bb\u30c3\u30b5\u3054\u3068\u306e\u30af\u30ed\u30c3\u30af(\u30b9\u30d4\u30fc\u30c9\u3068\u7a2e\u985e)\u3001\u30af\u30ed\u30c3\u30af\u306b\u5bfe\u5fdc\u3059\u308bFUSE\u306e\u5024\u304c\u66f8\u304b\u308c\u305fboards.txt \u304c\u683c\u7d0d\u3055\u308c\u3066\u3044\u305f\u3002<\/p>\n<figure id=\"attachment_7378\" aria-describedby=\"caption-attachment-7378\" style=\"width: 552px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2018\/05\/0d40a5e4a645fc6b96e767d64ac0878e.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-7378\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2018\/05\/0d40a5e4a645fc6b96e767d64ac0878e-552x442.png\" alt=\"\" width=\"552\" height=\"442\" \/><\/a><figcaption id=\"caption-attachment-7378\" class=\"wp-caption-text\">ATtiny\u30b5\u30dd\u30fc\u30c8\u8ffd\u52a0<\/figcaption><\/figure>\n<p><strong>\u30c4\u30fc\u30eb\/\u30dc\u30fc\u30c9:<\/strong> \u3067ATtiny25\/45\/85\u3092\u9078\u3076\u3068\u3001\u30bf\u30fc\u30b2\u30c3\u30c8\u306e\u30af\u30ed\u30c3\u30af\u306e\u7a2e\u985e(\u5185\u90e8\u3001\u5916\u90e8)\u3068\u5468\u6ce2\u6570\u304c\u9078\u629e\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u3002\u5916\u90e8\u30af\u30ed\u30c3\u30af(External) \u3092\u9078\u3076\u3068\u3001\u30b9\u30b1\u30c3\u30c1\u306e\u66f8\u304d\u8fbc\u307f\u6642\u306bFUSE\u3082\u66f8\u304d\u63db\u3048\u3089\u308c\u3066\u3057\u307e\u3046\u306e\u3067\u3001Arduino ISP\u3067\u306f\u624b\u3082\u8db3\u3082\u51fa\u306a\u304f\u306a\u308b\u3053\u3068\u306b\u6ce8\u610f\u304c\u5fc5\u8981\u3002\u3044\u3063\u305d\u3001boards.txt\u304b\u3089\u524a\u9664\u3057\u3066\u3057\u307e\u3063\u305f\u307b\u3046\u304c\u3044\u3044\u306e\u304b\u3082\u3057\u308c\u306a\u3044\u3002<\/p>\n<h2>ATtiny\u306e\u30ea\u30d3\u30b8\u30e7\u30f3\u306b\u3064\u3044\u3066<\/h2>\n<p>\u30c7\u30fc\u30bf\u30b7\u30fc\u30c8\u3092\u898b\u3066\u3044\u308b\u3068\u3001\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u304b\u3089\u306eBOD\u52d5\u4f5c\u306e\u7981\u6b62\u3084\u30d1\u30ef\u30fc\u30aa\u30f3\u30ea\u30bb\u30c3\u30c8\u52d5\u4f5c\u306b\u3064\u3044\u3066\u3001\u3042\u308b\u3044\u306f\u3001\u30c7\u30d0\u30a4\u30b9\u81ea\u4f53\u306e\u30d0\u30b0\u306b\u3042\u305f\u308b\u30a8\u30e9\u30c3\u30bf\u306b\u3064\u3044\u3066\u30ea\u30d3\u30b8\u30e7\u30f3\u3054\u3068\u306b\u8a18\u8ff0\u3055\u308c\u3066\u3044\u308b\u3002\u3067\u306f\u30ea\u30d3\u30b8\u30e7\u30f3\u3092\u77e5\u308b\u306b\u306f\u3069\u3046\u3059\u308b\u306e\u304b\u3068\u3044\u3046\u3068\u3001\u4eca\u56de\u4f7f\u3063\u3066\u3044\u308b\u30d7\u30e9\u30b9\u30c1\u30c3\u30af\u30e2\u30fc\u30eb\u30c9\u306e8\u30d4\u30f3DIP\u7248(8P3\u30d1\u30c3\u30b1\u30fc\u30b8)\u3067\u306f\u88cf\u9762\u306b\u30de\u30fc\u30ad\u30f3\u30b0\u3055\u308c\u3066\u3044\u308b\u3068\u66f8\u3044\u3066\u3042\u3063\u305f\u3002\u3055\u3063\u305d\u304f\u88cf\u5074\u3082\u30de\u30af\u30ed\u30ec\u30f3\u30ba\u3067\u64ae\u5f71\u3057\u3066\u307f\u305f\u3002<\/p>\n<figure id=\"attachment_7381\" aria-describedby=\"caption-attachment-7381\" style=\"width: 552px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2018\/05\/1cc59fc333d822bb99a2de4f132fad26.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-7381\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2018\/05\/1cc59fc333d822bb99a2de4f132fad26-552x414.jpg\" alt=\"\" width=\"552\" height=\"414\" \/><\/a><figcaption id=\"caption-attachment-7381\" class=\"wp-caption-text\">ATtiny85\u306845V\u306e\u88cf\u9762\u3002\u5de6\u304c85\u3067\u53f3\u304c45V<\/figcaption><\/figure>\n<p>\u30ea\u30d3\u30b8\u30e7\u30f3\u30de\u30fc\u30ad\u30f3\u30b0\u306b\u3064\u3044\u3066\u306e\u8a71\u984c\u306f\u3001avr\u30de\u30a4\u30b3\u30f3\u306b\u95a2\u3059\u308b\u30d5\u30a9\u30fc\u30e9\u30e0(<a href=\"https:\/\/www.avrfreaks.net\/\" target=\"_blank\" rel=\"noopener\">AVRfreaks<\/a>)\u3067\u3082\u305f\u307e\u306b\u51fa\u3066\u304d\u3066\u3044\u305f\u306e\u3060\u3051\u3069\u3001ATtiny\u306e\u305d\u308c\u306b\u3064\u3044\u3066\u306e\u6c7a\u5b9a\u7684\u306a\u8a71\u306f\u898b\u3064\u304b\u3089\u306a\u304b\u3063\u305f\u3002\u4e0a\u306e\u5199\u771f\u3092\u898b\u3066\u60f3\u50cf\u3057\u3066\u307f\u308b\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u611f\u3058\u304b\u3002<\/p>\n<ul>\n<li>A8N-GDA\u304a\u3088\u30732XN-572\u306f\u88fd\u9020\u30ed\u30c3\u30c8\u3042\u308b\u3044\u306f\u30c8\u30ec\u30fc\u30b9\u30b3\u30fc\u30c9\uff1f<\/li>\n<li>B\u304a\u3088\u3073G4\u304c\u30ea\u30d3\u30b8\u30e7\u30f3\uff1f<\/li>\n<li>1P\u306f\u30d1\u30c3\u30b1\u30fc\u30b8\uff1f<\/li>\n<li>1644\u304a\u3088\u30731303\u306f\u88fd\u9020\u9031(YYWW\u5f62\u5f0f)\u30022016\u5e7444\u9031\u304a\u3088\u30732013\u5e743\u9031\u3002\u8868\u9762\u306b\u3082\u8868\u8a18\u3002<\/li>\n<\/ul>\n<p>\u307e\u3063\u305f\u304f\u306e\u60f3\u50cf\u306b\u904e\u304e\u306a\u3044\u304c\u3001ATtiny85\u304cB\u3001ATtiny45V\u304cG\u3068\u3059\u308b\u3068\u3001\u4eca\u306e\u3068\u3053\u308d\u30a8\u30e9\u30c3\u30bf\u7121\u3057\u3068\u601d\u308f\u308c\u308b\u306e\u3067\u4e00\u5b89\u5fc3(?)\u3067\u3042\u308b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6982\u8981 \u5c0f\u3055\u306a\u8d64\u5916\u7dda\u30ea\u30e2\u30b3\u30f3\u3092\u4f5c\u308d\u3046\u3068\u601d\u3063\u305f\u306e\u3060\u3051\u3069\u3001\u4eca\u307e\u3067\u4f7f\u3063\u3066\u304d\u305fArduino PRO MINI\u3067\u306f\u5834\u6240\u3092\u3068\u308a\u3059\u304e\u308b\u3057\u96fb\u6c60\u30822\u672c\u3044\u308b\u306e\u3067\u3001\u5c0f\u3055\u3044AVR\u30de\u30a4\u30b3\u30f3\u306eATtiny85\u3042\u308b\u3044\u306f45\u3092\u4f7f\u3063\u3066\u307f\u308b\u3053\u3068\u306b\u3057\u305f\u30028\u30d4 &hellip; <a href=\"https:\/\/okiraku-camera.tokyo\/blog\/?p=7369\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">ATtiny85\/45\u306e\u305f\u3081\u306e\u6e96\u5099<\/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,95],"class_list":["post-7369","post","type-post","status-publish","format-standard","hentry","category-programming","tag-arduino","tag-attiny"],"_links":{"self":[{"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=\/wp\/v2\/posts\/7369","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=7369"}],"version-history":[{"count":0,"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=\/wp\/v2\/posts\/7369\/revisions"}],"wp:attachment":[{"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7369"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7369"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7369"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}