{"id":2879,"date":"2020-02-18T23:39:14","date_gmt":"2020-02-18T14:39:14","guid":{"rendered":"https:\/\/programresource.net\/?p=2879"},"modified":"2020-02-18T23:39:17","modified_gmt":"2020-02-18T14:39:17","slug":"qfp%e3%81%a7%e3%81%84%e3%81%84%e3%81%ae%e3%81%a8oled%e3%83%87%e3%82%a3%e3%82%b9%e3%83%97%e3%83%ac%e3%82%a4%e3%81%a7%e5%8d%98%e4%bd%93bootloader%e6%9b%b8%e3%81%8d%e8%be%bc%e3%81%bf%e6%a9%9f","status":"publish","type":"post","link":"https:\/\/programresource.net\/en\/2020\/02\/18\/2879.html","title":{"rendered":"Stand alone ATMEGA328P-AU blotloader writer"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/programresource.net\/images\/2020\/02\/P_20200218_192544_vHDR_Auto-1024x577.jpg\" alt=\"\" class=\"wp-image-2868\" srcset=\"https:\/\/programresource.net\/images\/2020\/02\/P_20200218_192544_vHDR_Auto-1024x577.jpg 1024w, https:\/\/programresource.net\/images\/2020\/02\/P_20200218_192544_vHDR_Auto-300x169.jpg 300w, https:\/\/programresource.net\/images\/2020\/02\/P_20200218_192544_vHDR_Auto-768x433.jpg 768w, https:\/\/programresource.net\/images\/2020\/02\/P_20200218_192544_vHDR_Auto.jpg 1443w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>ATMEGA328P-AU is small chip used in Arduino Nano, and chip can be purchased and used for own projects.<\/p>\n\n\n\n<p>When designing circuit board, I don&#8217;t want to waste space for pattern just to burn bootloader, which is usually only used once for most of the time.<\/p>\n\n\n\n<p>I use kit sold from aitendo store in Japan to burn bootloader (sorry, not shipped overseas).<\/p>\n\n\n\n<p><a href=\"http:\/\/www.aitendo.com\/product\/15799\">http:\/\/www.aitendo.com\/product\/15799<\/a><\/p>\n\n\n\n<p>This kit comes with socket for ATMEGA328P-AU and circuit board and some parts. After building kit, connect with Arduino with bootloader burn sketch, then place chip on socket and burn bootloader to ATMEGA328P-AU chip.<\/p>\n\n\n\n<p>Since original sketch output result to serial port, I added OLED display so it can run stand alone. Connections from Kit to Arduino Nano is as follows (ICSP pin on Kit).  And I2C connection from Nano to OLED display.<\/p>\n\n\n\n<figure class=\"wp-block-table is-style-stripes\"><table class=\"\"><tbody><tr><td>QFP<\/td><td>Nano<\/td><\/tr><tr><td>5V<\/td><td>5V<\/td><\/tr><tr><td>GND<\/td><td>GND<\/td><\/tr><tr><td>MISO<\/td><td>D12<\/td><\/tr><tr><td>MOSI<\/td><td>D11<\/td><\/tr><tr><td>SCK<\/td><td>D13<\/td><\/tr><tr><td>RST<\/td><td>D10<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/programresource.net\/images\/2020\/02\/P_20191221_023602_vHDR_Auto-scaled.jpg\"><img decoding=\"async\" src=\"https:\/\/programresource.net\/images\/2020\/02\/P_20191221_023602_vHDR_Auto-1024x577.jpg\" alt=\"\" class=\"wp-image-2869\" srcset=\"https:\/\/programresource.net\/images\/2020\/02\/P_20191221_023602_vHDR_Auto-1024x577.jpg 1024w, https:\/\/programresource.net\/images\/2020\/02\/P_20191221_023602_vHDR_Auto-300x169.jpg 300w, https:\/\/programresource.net\/images\/2020\/02\/P_20191221_023602_vHDR_Auto-768x433.jpg 768w, https:\/\/programresource.net\/images\/2020\/02\/P_20191221_023602_vHDR_Auto-1536x866.jpg 1536w, https:\/\/programresource.net\/images\/2020\/02\/P_20191221_023602_vHDR_Auto-2048x1154.jpg 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/programresource.net\/images\/2020\/02\/P_20191221_023609_vHDR_Auto-1024x577.jpg\" alt=\"\" class=\"wp-image-2870\" srcset=\"https:\/\/programresource.net\/images\/2020\/02\/P_20191221_023609_vHDR_Auto-1024x577.jpg 1024w, https:\/\/programresource.net\/images\/2020\/02\/P_20191221_023609_vHDR_Auto-300x169.jpg 300w, https:\/\/programresource.net\/images\/2020\/02\/P_20191221_023609_vHDR_Auto-768x433.jpg 768w, https:\/\/programresource.net\/images\/2020\/02\/P_20191221_023609_vHDR_Auto-1536x866.jpg 1536w, https:\/\/programresource.net\/images\/2020\/02\/P_20191221_023609_vHDR_Auto-2048x1154.jpg 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>OLED display shows burn status. Place chip on socket, close lid, power up Arduino Nano and it will start burn process.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/programresource.net\/images\/2020\/02\/P_20191221_023621_vHDR_Auto-scaled.jpg\"><img decoding=\"async\" src=\"https:\/\/programresource.net\/images\/2020\/02\/P_20191221_023621_vHDR_Auto-1024x577.jpg\" alt=\"\" class=\"wp-image-2871\" srcset=\"https:\/\/programresource.net\/images\/2020\/02\/P_20191221_023621_vHDR_Auto-1024x577.jpg 1024w, https:\/\/programresource.net\/images\/2020\/02\/P_20191221_023621_vHDR_Auto-300x169.jpg 300w, https:\/\/programresource.net\/images\/2020\/02\/P_20191221_023621_vHDR_Auto-768x433.jpg 768w, https:\/\/programresource.net\/images\/2020\/02\/P_20191221_023621_vHDR_Auto-1536x866.jpg 1536w, https:\/\/programresource.net\/images\/2020\/02\/P_20191221_023621_vHDR_Auto-2048x1154.jpg 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/programresource.net\/images\/2020\/02\/P_20191221_023645_vHDR_Auto-scaled.jpg\"><img decoding=\"async\" src=\"https:\/\/programresource.net\/images\/2020\/02\/P_20191221_023645_vHDR_Auto-1024x577.jpg\" alt=\"\" class=\"wp-image-2872\" srcset=\"https:\/\/programresource.net\/images\/2020\/02\/P_20191221_023645_vHDR_Auto-1024x577.jpg 1024w, https:\/\/programresource.net\/images\/2020\/02\/P_20191221_023645_vHDR_Auto-300x169.jpg 300w, https:\/\/programresource.net\/images\/2020\/02\/P_20191221_023645_vHDR_Auto-768x433.jpg 768w, https:\/\/programresource.net\/images\/2020\/02\/P_20191221_023645_vHDR_Auto-1536x866.jpg 1536w, https:\/\/programresource.net\/images\/2020\/02\/P_20191221_023645_vHDR_Auto-2048x1154.jpg 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>Movie in action.<\/p>\n\n\n\n<figure class=\"wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<span class=\"embed-youtube\" style=\"text-align:center; display: block;\"><iframe loading=\"lazy\" class=\"youtube-player\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/UZYmB_AUipg?version=3&#038;rel=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;fs=1&#038;hl=en-US&#038;autohide=2&#038;wmode=transparent\" allowfullscreen=\"true\" style=\"border:0;\" sandbox=\"allow-scripts allow-same-origin allow-popups allow-presentation\"><\/iframe><\/span>\n<\/div><\/figure>\n\n\n\n<p>Below is skech modified to output OLED display. U8glib is used.<\/p>\n\n\n\n<div class=\"wp-block-file\"><a href=\"https:\/\/programresource.net\/images\/2020\/02\/optifix-oled.zip\">optifix-oled.zip<\/a><a href=\"https:\/\/programresource.net\/images\/2020\/02\/optifix-oled.zip\" class=\"wp-block-file__button\" download>Download<\/a><\/div>\n\n\n\n<p>Original sketch is from below page.<\/p>\n\n\n\n<p><a href=\"https:\/\/forum.arduino.cc\/index.php\/topic,28733.0.html\">https:\/\/forum.arduino.cc\/index.php\/topic,28733.0.html<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>ATMEGA328P-AU is small chip used in Arduino Nano, and chip can be purchased and used for own projects. When designing circuit board, I don&#8217;t want to waste space for pattern just to burn bootloader, which is usually only used once for most of the time. I use kit sold from aitendo store in Japan to burn bootloader (sorry, not shipped overseas). http:\/\/www.aitendo.com\/product\/15799 This kit comes with socket for ATMEGA328P-AU and circuit board and some parts. After building kit, connect with Arduino with bootloader burn sketch, then place chip on socket and burn bootloader to ATMEGA328P-AU chip. Since original sketch output result to serial port, I added OLED display so it &#8230;<\/p>\n","protected":false},"author":2,"featured_media":2885,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","footnotes":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[866,868],"tags":[869,862,870,863,872,864,873,874],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/programresource.net\/images\/2020\/02\/P_20191221_023621_vHDR_Auto-scaled.jpg","jetpack_shortlink":"https:\/\/wp.me\/p3pJyQ-Kr","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/programresource.net\/en\/wp-json\/wp\/v2\/posts\/2879"}],"collection":[{"href":"https:\/\/programresource.net\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/programresource.net\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/programresource.net\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/programresource.net\/en\/wp-json\/wp\/v2\/comments?post=2879"}],"version-history":[{"count":2,"href":"https:\/\/programresource.net\/en\/wp-json\/wp\/v2\/posts\/2879\/revisions"}],"predecessor-version":[{"id":2886,"href":"https:\/\/programresource.net\/en\/wp-json\/wp\/v2\/posts\/2879\/revisions\/2886"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/programresource.net\/en\/wp-json\/wp\/v2\/media\/2885"}],"wp:attachment":[{"href":"https:\/\/programresource.net\/en\/wp-json\/wp\/v2\/media?parent=2879"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/programresource.net\/en\/wp-json\/wp\/v2\/categories?post=2879"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/programresource.net\/en\/wp-json\/wp\/v2\/tags?post=2879"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}