{"id":622,"date":"2016-07-01T11:29:30","date_gmt":"2016-07-01T02:29:30","guid":{"rendered":"http:\/\/anatomy.med.gunma-u.ac.jp\/protocols\/?p=622"},"modified":"2021-01-15T15:19:20","modified_gmt":"2021-01-15T06:19:20","slug":"arduinouno%e3%81%a7attiny85%e3%81%ab%e6%9b%b8%e3%81%8d%e8%be%bc%e3%82%80","status":"publish","type":"post","link":"https:\/\/anatomy.med.gunma-u.ac.jp\/protocols\/?p=622","title":{"rendered":"ArduinoUNO\u3067ATtiny85\u306b\u66f8\u304d\u8fbc\u3080"},"content":{"rendered":"<p><strong>\u6e96\u5099\u7269<\/strong><\/p>\n<p style=\"padding-left: 30px;\">Arduino UNO R3<br \/>\nATtiny85<br \/>\n10\u00b5F\u30b3\u30f3\u30c7\u30f3\u30b5<br \/>\n\u30b8\u30e3\u30f3\u30d1\u30fc\u30b1\u30fc\u30d6\u30eb<br \/>\nLED\u3068\u62b5\u6297\uff08\u78ba\u8a8d\u7528\uff09<\/p>\n<p><!--more--><\/p>\n<p><strong>\u53c2\u8003\uff1aMIT\u30e1\u30c7\u30a3\u30a2\u30e9\u30dc<\/strong><br \/>\n<a href=\"http:\/\/highlowtech.org\/?p=1706\">Arduino\u3092\u66f8\u304d\u8fbc\u307f\u88c5\u7f6e\u306b<\/a><br \/>\n<a href=\"http:\/\/highlowtech.org\/?p=1695\">ATtiny\u306b\u66f8\u304d\u8fbc\u3080<\/a><\/p>\n<p><strong>\u53c2\u8003\uff1aATtiny85<\/strong><\/p>\n<p style=\"padding-left: 30px;\">\u30de\u30eb\u30dd\u30c1\u304b\u3089\u53cd\u6642\u8a08\u56de\u308a\u306b\u3001\uff081,2,3,4,5,6,7,8\uff09\uff1d\uff08Reset, Pin3, Pin4, GND, Pin0, Pin1, Pin2, Vcc\uff09<\/p>\n<p style=\"padding-left: 50px;\">Pin0: PWM<br \/>\nPin1: PWM<br \/>\nPin2: Analog Input 1<br \/>\nPin3: Analog Input 2<br \/>\nPin4: Analog Input 3<\/p>\n<hr \/>\n<p><strong>\u624b\u9806<\/strong><\/p>\n<p><strong>\uff11\uff09Arduino 1.6.9\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/strong><\/p>\n<p style=\"padding-left: 30px;\">\uff081.6.0\u3067\u306f\u3001\u624b\u52d5\u3067ATtiny\u3092\u767b\u9332\u3059\u308b\u30021.6.9\u4ee5\u964d\u3067\u306f\u3001\u30a2\u30c9\u30ec\u30b9\u3092\u6307\u5b9a\u3059\u308b\u3068\u81ea\u52d5\u767b\u9332\u3002\uff09<br \/>\n\/Arduino\/Preference\/\u8ffd\u52a0\u306e\u30dc\u30fc\u30c9\u30de\u30cd\u30fc\u30b8\u30e3\u3000\u306e\u6b04\u306b\u4e0b\u8a18\u306e\u30a2\u30c9\u30ec\u30b9\u3092\u30b3\u30d4\u30da\u3002<br \/>\n<del>https:\/\/raw.githubusercontent.com\/damellis\/attiny\/ide-1.6.x-boards-manager\/package_damellis_attiny_index.json<\/del><\/p>\n<p>\uff082021.1\u4fee\u6b63\uff1a\u4e0a\u8a18\u3067\u306f\u3001tone\u304c\u3064\u304b\u3048\u306a\u3044\u3002tone\u304c\u3064\u304b\u3048\u308b\u306e\u306f\u3001\u4e0b\u8a18\u3002\uff09http:\/\/drazzy.com\/package_drazzy.com_index.json<\/p>\n<p style=\"padding-left: 30px;\">\u30a2\u30d7\u30ea\u3092\u518d\u8d77\u52d5<\/p>\n<p style=\"padding-left: 30px;\">\/\u30c4\u30fc\u30eb\/\u30dc\u30fc\u30c9\/\u3000\u3000<del>ATtiny<\/del> AttinyCore\u304c\u8ffd\u52a0\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b\u3002\u307e\u305f\u306f\u3001<br \/>\n\/\u30c4\u30fc\u30eb\/\u30dc\u30fc\u30c9\/\u30dc\u30fc\u30c9\u30de\u30cd\u30fc\u30b8\u30e3\u3000\u3000<del>\u4e00\u89a7\u304b\u3089\u9078\u3093\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002v1.01<\/del><\/p>\n<p><strong>\uff12\uff09Arduino UNO R3\u3092\u66f8\u304d\u8fbc\u307f\u88c5\u7f6e\uff08\u30d7\u30ed\u30b0\u30e9\u30de\u30fc\uff09\u306b\u4ed5\u7acb\u3066\u308b<\/strong><\/p>\n<p style=\"padding-left: 30px;\">ArduinoUNO\u3068PC\u3092USB\u3067\u63a5\u7d9a\u3059\u308b\u3002<br \/>\n\/\u30d5\u30a1\u30a4\u30eb\/\u30b9\u30b1\u30c3\u30c1\u4f8b\/11.Arduino ISP\u3088\u308a\u3001Arduino ISP\u3092\u3001Arduino\u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u3002<\/p>\n<p><strong>\uff13\uff09ATtiny\u306b\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u66f8\u304d\u8fbc\u3080\u3002<\/strong><\/p>\n<p>\u6e96\u5099\u3000\/\u30c4\u30fc\u30eb\u3000\u3067\u3001\u5404\u7a2e\u8a2d\u5b9a\u3002<\/p>\n<p style=\"padding-left: 30px;\">\u30dc\u30fc\u30c9\uff1aATtiny<br \/>\n\u30d7\u30ed\u30bb\u30c3\u30b5\uff1aATtiny85,<br \/>\nClock\uff1a<del>8Hz internal<\/del>\u00a0Internal 1MHz<br \/>\n\u30b7\u30ea\u30a2\u30eb\u30dd\u30fc\u30c8\uff1a\uff08Uno\u3001\u9069\u5207\u306b\u3002\uff09<br \/>\n\u66f8\u304d\u8fbc\u307f\u88c5\u7f6e\uff1aArduino as ISP<\/p>\n<p>\u914d\u7dda\u3059\u308b\uff08Arduino Uno\u3068ATtiny85\uff09<\/p>\n<p style=\"padding-left: 30px;\">\u96fb\u6e902\u672c\uff08Arduino 5V, GND\uff09\uff1d\uff08ATtiny 8, 4\uff09<br \/>\n\u30d4\u30f34\u672c\uff08Arduino 10, 11, 12, 13\uff09=\uff08ATtiny 1, 5, 6, 7\uff09<br \/>\n10\u00b5F\u30b3\u30f3\u30c7\u30f3\u30b5\uff08Arduino\u306e\u3001Reset\u3068GND\u3002\u3044\u3061\u3069\u5fd8\u308c\u305f\u3051\u3069\u5927\u4e08\u592b\u3060\u3063\u305f\uff09<\/p>\n<p>\u78ba\u8a8d\u7528\u30b9\u30b1\u30c3\u30c1\u3000Blink\u3092\u6539\u5909\u3057\u3066\u5229\u7528\u3002<\/p>\n<p style=\"padding-left: 30px;\">pin 13\u3068\u3042\u308b\u306e\u3092\u3001\u3059\u3079\u30660\u306b\u5909\u66f4\u3002ATtiny85\u306e\u30d4\u30f3\u30ca\u30f3\u30d0\u30fc\u306b\u3042\u308f\u305b\u308b\u3002<br \/>\n<del>delay 1000\u3092100\u306b\u3002\u30af\u30ed\u30c3\u30af\u9055\u3044\u3067\u30011000\u306f\u6570\u79d2\u306b\u5024\u3059\u308b\u3002<\/del><br \/>\n\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9<\/p>\n<p><strong>\uff14\uff09\u78ba\u8a8d\u7528\u306bLED\u3092\u914d\u7dda<\/strong><\/p>\n<p style=\"padding-left: 30px;\">LED\u3068\u62b5\u6297\u3092\u3001ATtiny85\u306e\u30d4\u30f30\u306b\u3064\u306a\u3044\u3067\u307f\u308b\u3002\u30c1\u30ab\u30c1\u30ab\u3059\u308c\u3070OK\u3002<\/p>\n<hr \/>\n<p>ATtiny85\u306e\u30d4\u30f3\u914d\u5217<\/p>\n<p><img data-recalc-dims=\"1\" decoding=\"async\" class=\"alignnone wp-image-695 size-full\" src=\"https:\/\/i0.wp.com\/anatomy.med.gunma-u.ac.jp\/protocols\/wp-content\/uploads\/2016\/07\/gpt63-1.png?resize=840%2C243\" alt=\"gpt63\" width=\"840\" height=\"243\" srcset=\"https:\/\/i0.wp.com\/anatomy.med.gunma-u.ac.jp\/protocols\/wp-content\/uploads\/2016\/07\/gpt63-1.png?w=1136&amp;ssl=1 1136w, https:\/\/i0.wp.com\/anatomy.med.gunma-u.ac.jp\/protocols\/wp-content\/uploads\/2016\/07\/gpt63-1.png?resize=300%2C87&amp;ssl=1 300w, https:\/\/i0.wp.com\/anatomy.med.gunma-u.ac.jp\/protocols\/wp-content\/uploads\/2016\/07\/gpt63-1.png?resize=768%2C222&amp;ssl=1 768w, https:\/\/i0.wp.com\/anatomy.med.gunma-u.ac.jp\/protocols\/wp-content\/uploads\/2016\/07\/gpt63-1.png?resize=1024%2C296&amp;ssl=1 1024w\" sizes=\"(max-width: 840px) 100vw, 840px\" \/><\/p>\n<p>\u66f8\u304d\u8fbc\u307f\u88c5\u7f6e\u306e\u5b9f\u88c5\u4f8b<\/p>\n<figure id=\"attachment_697\" aria-describedby=\"caption-attachment-697\" style=\"width: 2048px\" class=\"wp-caption alignnone\"><img data-recalc-dims=\"1\" decoding=\"async\" class=\"wp-image-697 size-full\" src=\"https:\/\/i0.wp.com\/anatomy.med.gunma-u.ac.jp\/protocols\/wp-content\/uploads\/2016\/07\/IMG_3952.jpg?resize=840%2C630\" alt=\"IMG_3952\" width=\"840\" height=\"630\" srcset=\"https:\/\/i0.wp.com\/anatomy.med.gunma-u.ac.jp\/protocols\/wp-content\/uploads\/2016\/07\/IMG_3952.jpg?w=1920&amp;ssl=1 1920w, https:\/\/i0.wp.com\/anatomy.med.gunma-u.ac.jp\/protocols\/wp-content\/uploads\/2016\/07\/IMG_3952.jpg?resize=300%2C225&amp;ssl=1 300w, https:\/\/i0.wp.com\/anatomy.med.gunma-u.ac.jp\/protocols\/wp-content\/uploads\/2016\/07\/IMG_3952.jpg?resize=768%2C576&amp;ssl=1 768w, https:\/\/i0.wp.com\/anatomy.med.gunma-u.ac.jp\/protocols\/wp-content\/uploads\/2016\/07\/IMG_3952.jpg?resize=1024%2C768&amp;ssl=1 1024w, https:\/\/i0.wp.com\/anatomy.med.gunma-u.ac.jp\/protocols\/wp-content\/uploads\/2016\/07\/IMG_3952.jpg?resize=1200%2C900&amp;ssl=1 1200w\" sizes=\"(max-width: 840px) 100vw, 840px\" \/><figcaption id=\"caption-attachment-697\" class=\"wp-caption-text\"><a href=\"http:\/\/www.dfrobot.com\/wiki\/index.php\/Prototyping_Shield_For_Arduino_(SKU:_DFR0019)\" target=\"_blank\" rel=\"noopener\">Prototyping Shield<\/a>\u3092\u4f7f\u3063\u3066\u5b9f\u88c5\u3002ATtiny\u306e\u5dee\u3057\u3066\u3042\u308b\u90e8\u5206\u304c\u66f8\u304d\u8fbc\u307f\u7528\u3001TST\u3068\u3042\u308b\u90e8\u5206\u304cBlink\u306e\u30c6\u30b9\u30c8\u7528\uff08LED1\u304c\u70b9\u6ec5\uff09<\/figcaption><\/figure>\n<p style=\"text-align: right;\">\uff08\u3053\u306e\u9805\u3001\u6751\u4e0a\u304c\u8ffd\u8a18\uff09<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6e96\u5099\u7269 Arduino UNO R3 ATtiny85 10\u00b5F\u30b3\u30f3\u30c7\u30f3\u30b5 \u30b8\u30e3\u30f3\u30d1\u30fc\u30b1\u30fc\u30d6\u30eb LED\u3068\u62b5\u6297\uff08\u78ba\u8a8d\u7528\uff09<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[7,25,6],"tags":[21,56],"class_list":["post-622","post","type-post","status-publish","format-standard","hentry","category-computer-internet","category-diy","category-markers","tag-arduino","tag-attiny"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4fFyn-a2","jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/anatomy.med.gunma-u.ac.jp\/protocols\/index.php?rest_route=\/wp\/v2\/posts\/622","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/anatomy.med.gunma-u.ac.jp\/protocols\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/anatomy.med.gunma-u.ac.jp\/protocols\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/anatomy.med.gunma-u.ac.jp\/protocols\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/anatomy.med.gunma-u.ac.jp\/protocols\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=622"}],"version-history":[{"count":19,"href":"https:\/\/anatomy.med.gunma-u.ac.jp\/protocols\/index.php?rest_route=\/wp\/v2\/posts\/622\/revisions"}],"predecessor-version":[{"id":1321,"href":"https:\/\/anatomy.med.gunma-u.ac.jp\/protocols\/index.php?rest_route=\/wp\/v2\/posts\/622\/revisions\/1321"}],"wp:attachment":[{"href":"https:\/\/anatomy.med.gunma-u.ac.jp\/protocols\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=622"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/anatomy.med.gunma-u.ac.jp\/protocols\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=622"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/anatomy.med.gunma-u.ac.jp\/protocols\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=622"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}