{"id":1,"date":"2015-04-07T08:57:11","date_gmt":"2015-04-07T08:57:11","guid":{"rendered":"http:\/\/127.0.0.1\/artscience\/wordpress\/?p=1"},"modified":"2015-09-30T17:01:06","modified_gmt":"2015-09-30T11:31:06","slug":"hello-world","status":"publish","type":"post","link":"https:\/\/artscienceblr.org\/index.php\/hello-world\/","title":{"rendered":"Attiny85 workshop by dusjagr"},"content":{"rendered":"<p><a href=\"http:\/\/artscienceblr.org\/wp-content\/uploads\/2015\/04\/attiny.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-49 size-full\" src=\"http:\/\/artscienceblr.org\/wp-content\/uploads\/2015\/04\/attiny.jpg\" alt=\"attiny\" width=\"496\" height=\"190\" srcset=\"https:\/\/artscienceblr.org\/wp-content\/uploads\/2015\/04\/attiny.jpg 496w, https:\/\/artscienceblr.org\/wp-content\/uploads\/2015\/04\/attiny-300x114.jpg 300w\" sizes=\"auto, (max-width: 496px) 100vw, 496px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/www.atmel.com\/devices\/attiny85.aspx\">Attiny 85<\/a> is a small programmable microcontroller by Atmel. The Attiny 85 can be programmed using an arduino board. The first part of the workshop comprised of building the attiny programming shield to be used with the Arduino uno.<\/p>\n<p><a href=\"http:\/\/artscienceblr.org\/wp-content\/uploads\/2015\/04\/attiny-presentation.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-41\" src=\"http:\/\/artscienceblr.org\/wp-content\/uploads\/2015\/04\/attiny-presentation.jpg\" alt=\"attiny presentation\" width=\"999\" height=\"747\" srcset=\"https:\/\/artscienceblr.org\/wp-content\/uploads\/2015\/04\/attiny-presentation.jpg 999w, https:\/\/artscienceblr.org\/wp-content\/uploads\/2015\/04\/attiny-presentation-300x224.jpg 300w\" sizes=\"auto, (max-width: 999px) 100vw, 999px\" \/><\/a><em>Introduction to the Attiny85 microcontroller by dusjagr\u00a0<\/em><\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/artscienceblr.org\/wp-content\/uploads\/2015\/04\/attiny-programmer.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-46\" src=\"http:\/\/artscienceblr.org\/wp-content\/uploads\/2015\/04\/attiny-programmer.jpg\" alt=\"attiny programmer\" width=\"744\" height=\"996\" srcset=\"https:\/\/artscienceblr.org\/wp-content\/uploads\/2015\/04\/attiny-programmer.jpg 744w, https:\/\/artscienceblr.org\/wp-content\/uploads\/2015\/04\/attiny-programmer-224x300.jpg 224w\" sizes=\"auto, (max-width: 744px) 100vw, 744px\" \/><\/a> <em>Schematic for the shield. The Shield used pins 7-13 and\u00a0<em>+5V &#8211; ground of<\/em> of the arduino.<br \/>\n<\/em><\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/artscienceblr.org\/wp-content\/uploads\/2015\/04\/attiny-soldering.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-43\" src=\"http:\/\/artscienceblr.org\/wp-content\/uploads\/2015\/04\/attiny-soldering.jpg\" alt=\"attiny soldering\" width=\"999\" height=\"750\" srcset=\"https:\/\/artscienceblr.org\/wp-content\/uploads\/2015\/04\/attiny-soldering.jpg 999w, https:\/\/artscienceblr.org\/wp-content\/uploads\/2015\/04\/attiny-soldering-300x225.jpg 300w\" sizes=\"auto, (max-width: 999px) 100vw, 999px\" \/><\/a><\/p>\n<p><em>Soldering the shield <\/em><\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/artscienceblr.org\/wp-content\/uploads\/2015\/04\/attiny-finished.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-39\" src=\"http:\/\/artscienceblr.org\/wp-content\/uploads\/2015\/04\/attiny-finished.jpg\" alt=\"attiny finished\" width=\"1002\" height=\"747\" srcset=\"https:\/\/artscienceblr.org\/wp-content\/uploads\/2015\/04\/attiny-finished.jpg 1002w, https:\/\/artscienceblr.org\/wp-content\/uploads\/2015\/04\/attiny-finished-300x223.jpg 300w\" sizes=\"auto, (max-width: 1002px) 100vw, 1002px\" \/><\/a><\/p>\n<p><em>Completed shield to fit on the uno.<\/em><\/p>\n<p>The next part of the workshop focused on using the attiny through simple programs.<\/p>\n<p>To use the attiny, the first step was to install attiny support for arduino softeware.<\/p>\n<p>The installation files can be found <a href=\"here%20- http:\/\/highlowtech.org\/?p=1695\">here &#8211; http:\/\/highlowtech.org\/?p=1695<\/a> and <a href=\"https:\/\/github.com\/damellis\/attiny\/archive\/master.zip\">here &#8211;<\/a> <a href=\"https:\/\/github.com\/damellis\/attiny\/archive\/master.zip\" rel=\"nofollow\">https:\/\/github.com\/damellis\/attiny\/archive\/master.zip<\/a><\/p>\n<p>After copying the files in the folder, the software should give the option of Attiny 85\/45\/etc under boards.<\/p>\n<p>After installing the support for attiny, the next step is to program the arduino uno to be used as an isp programmer.<\/p>\n<p><a href=\"http:\/\/artscienceblr.org\/wp-content\/uploads\/2015\/04\/arduino-isp.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-47\" src=\"http:\/\/artscienceblr.org\/wp-content\/uploads\/2015\/04\/arduino-isp.png\" alt=\"arduino isp\" width=\"842\" height=\"899\" srcset=\"https:\/\/artscienceblr.org\/wp-content\/uploads\/2015\/04\/arduino-isp.png 842w, https:\/\/artscienceblr.org\/wp-content\/uploads\/2015\/04\/arduino-isp-280x300.png 280w\" sizes=\"auto, (max-width: 842px) 100vw, 842px\" \/><\/a><\/p>\n<p>Once this programme is uploaded, with the shield in place, the attiny 85 can be programmed.<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/artscienceblr.org\/wp-content\/uploads\/2015\/04\/attiny-questions.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-42\" src=\"http:\/\/artscienceblr.org\/wp-content\/uploads\/2015\/04\/attiny-questions.jpg\" alt=\"attiny questions\" width=\"999\" height=\"753\" srcset=\"https:\/\/artscienceblr.org\/wp-content\/uploads\/2015\/04\/attiny-questions.jpg 999w, https:\/\/artscienceblr.org\/wp-content\/uploads\/2015\/04\/attiny-questions-300x226.jpg 300w\" sizes=\"auto, (max-width: 999px) 100vw, 999px\" \/><\/a><\/p>\n<p>Dusjagr&#8217;s guide with sample codes can be found <a href=\"https:\/\/github.com\/dusjagr\/arttiny85-BLR\">here &#8211; https:\/\/github.com\/dusjagr\/arttiny85-BLR<\/a><\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/artscienceblr.org\/wp-content\/uploads\/2015\/04\/attiny-blink-and-fade.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-38\" src=\"http:\/\/artscienceblr.org\/wp-content\/uploads\/2015\/04\/attiny-blink-and-fade.jpg\" alt=\"attiny blink and fade\" width=\"1004\" height=\"822\" srcset=\"https:\/\/artscienceblr.org\/wp-content\/uploads\/2015\/04\/attiny-blink-and-fade.jpg 1004w, https:\/\/artscienceblr.org\/wp-content\/uploads\/2015\/04\/attiny-blink-and-fade-300x245.jpg 300w\" sizes=\"auto, (max-width: 1004px) 100vw, 1004px\" \/><\/a><\/p>\n<p><em>Simple blink and fade program.<\/em><\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/artscienceblr.org\/wp-content\/uploads\/2015\/04\/attiny-pov-crop.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-40\" src=\"http:\/\/artscienceblr.org\/wp-content\/uploads\/2015\/04\/attiny-pov-crop.jpg\" alt=\"attiny pov crop\" width=\"1728\" height=\"1144\" srcset=\"https:\/\/artscienceblr.org\/wp-content\/uploads\/2015\/04\/attiny-pov-crop.jpg 1728w, https:\/\/artscienceblr.org\/wp-content\/uploads\/2015\/04\/attiny-pov-crop-300x198.jpg 300w, https:\/\/artscienceblr.org\/wp-content\/uploads\/2015\/04\/attiny-pov-crop-1024x677.jpg 1024w\" sizes=\"auto, (max-width: 1728px) 100vw, 1728px\" \/><\/a><\/p>\n<p><em>5 LED persistence of vision (POV)\u00a0 programmed with the attiny 85<\/em><\/p>\n<p><a href=\"http:\/\/www.instructables.com\/id\/ATtiny8545-POV-Display\/?ALLSTEPS\">http:\/\/www.instructables.com\/id\/ATtiny8545-POV-Display\/?ALLSTEPS<\/a><\/p>\n<p>Other interesting attiny 85 project resources online<\/p>\n<p>https:\/\/hackaday.io\/projects\/tag\/attiny<\/p>\n<p><iframe loading=\"lazy\" title=\"Attiny85 thermometer and other projects\" width=\"600\" height=\"338\" src=\"https:\/\/www.youtube.com\/embed\/8JVga3GDt58?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<p>http:\/\/dangerousprototypes.com\/tag\/attiny\/<\/p>\n<p>http:\/\/www.instructables.com\/id\/ATtiny854525-LED-dice-Super-simple-and-CHEAP\/<\/p>\n<p>http:\/\/www.instructables.com\/howto\/attiny85\/<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Attiny 85 is a small programmable microcontroller by Atmel. The Attiny 85 can be programmed using an arduino board. The first part of the workshop comprised of building the attiny programming shield to be used with the Arduino uno. Introduction to the Attiny85 microcontroller by dusjagr\u00a0 &nbsp; Schematic for the shield. The Shield used pins [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":39,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"footnotes":""},"categories":[15,4],"tags":[],"class_list":["bg-stuff"],"_links":{"self":[{"href":"https:\/\/artscienceblr.org\/index.php\/wp-json\/wp\/v2\/posts\/1","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/artscienceblr.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/artscienceblr.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/artscienceblr.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/artscienceblr.org\/index.php\/wp-json\/wp\/v2\/comments?post=1"}],"version-history":[{"count":9,"href":"https:\/\/artscienceblr.org\/index.php\/wp-json\/wp\/v2\/posts\/1\/revisions"}],"predecessor-version":[{"id":359,"href":"https:\/\/artscienceblr.org\/index.php\/wp-json\/wp\/v2\/posts\/1\/revisions\/359"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/artscienceblr.org\/index.php\/wp-json\/wp\/v2\/media\/39"}],"wp:attachment":[{"href":"https:\/\/artscienceblr.org\/index.php\/wp-json\/wp\/v2\/media?parent=1"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/artscienceblr.org\/index.php\/wp-json\/wp\/v2\/categories?post=1"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/artscienceblr.org\/index.php\/wp-json\/wp\/v2\/tags?post=1"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}