{"id":118,"date":"2011-12-05T09:39:12","date_gmt":"2011-12-05T09:39:12","guid":{"rendered":"https:\/\/howiem.org\/wordpress\/?p=118"},"modified":"2011-12-05T09:39:12","modified_gmt":"2011-12-05T09:39:12","slug":"diy-atmega-programming-clip","status":"publish","type":"post","link":"https:\/\/howiem.org\/wordpress\/2011\/12\/05\/diy-atmega-programming-clip\/","title":{"rendered":"DIY Atmega programming clip"},"content":{"rendered":"<p>Picked up one of these IC test clips on eBay for a few quid. It makes a spectacularly convenient programming clip.<br \/>\n<!--more--><\/p>\n<p><a title=\"IMG_1154 by howiemnet, on Flickr\" href=\"http:\/\/www.flickr.com\/photos\/howiemnet\/6458660827\/\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/farm8.staticflickr.com\/7159\/6458660827_451d114f6a.jpg\" alt=\"IMG_1154\" width=\"500\" height=\"375\" \/><\/a><br \/>\n&nbsp;<br \/>\n<a title=\"IMG_1155 by howiemnet, on Flickr\" href=\"http:\/\/www.flickr.com\/photos\/howiemnet\/6458661385\/\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/farm8.staticflickr.com\/7147\/6458661385_87355697c9.jpg\" alt=\"IMG_1155\" width=\"500\" height=\"375\" \/><\/a><br \/>\n&nbsp;<br \/>\nThe idea is that you clip it to a chip on a circuit board so you have easy access to the connections for use with test probes.<br \/>\n&nbsp;<br \/>\n<a title=\"IMG_1158 by howiemnet, on Flickr\" href=\"http:\/\/www.flickr.com\/photos\/howiemnet\/6458661977\/\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/farm8.staticflickr.com\/7153\/6458661977_f79a2355e1.jpg\" alt=\"IMG_1158\" width=\"500\" height=\"375\" \/><\/a><br \/>\n&nbsp;<br \/>\n<a title=\"IMG_1161 by howiemnet, on Flickr\" href=\"http:\/\/www.flickr.com\/photos\/howiemnet\/6458662577\/\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/farm8.staticflickr.com\/7029\/6458662577_849b40e8ee.jpg\" alt=\"IMG_1161\" width=\"500\" height=\"375\" \/><\/a><br \/>\n&nbsp;<br \/>\nI&#8217;ve got a different use for it though. If you develop a circuit using an Atmega chip (like, say, a circuit you developed with an Arduino but have now moved to a custom board), reprogramming the chip is fiddly. The best way to make your circuit easily re-programmable is to build an ISP header onto your board &#8211; it&#8217;s just a 6-pin connector that lets you blast new programming onto the chip without removing it from the circuit.<br \/>\n&nbsp;<br \/>\n<a title=\"IMG_1168 by howiemnet, on Flickr\" href=\"http:\/\/www.flickr.com\/photos\/howiemnet\/6458663623\/\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/farm8.staticflickr.com\/7145\/6458663623_bfb457eb42.jpg\" alt=\"IMG_1168\" width=\"500\" height=\"375\" \/><\/a><br \/>\n&nbsp;<br \/>\nMost of my little circuits don&#8217;t have room for the 6 pin connector though, and it&#8217;s a hassle to hook up the 6-pin programming connections when you&#8217;ll hopefully never have to reprogram the things anyway.<br \/>\n&nbsp;<br \/>\n<a title=\"IMG_1185 by howiemnet, on Flickr\" href=\"http:\/\/www.flickr.com\/photos\/howiemnet\/6458666787\/\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/farm8.staticflickr.com\/7170\/6458666787_8f3110cfde.jpg\" alt=\"IMG_1185\" width=\"500\" height=\"375\" \/><\/a><br \/>\n&nbsp;<br \/>\nTo program the chips on these boards you have to lever the chip out, stick it in a programmer and then stuff it back into the circuit board again. Not the most difficult thing to do, but it can get a bit fiddly, and it&#8217;s always a bit dangerous trying to lever the chip out without damaging the chip or the board. The test clip fits over all the pins you need access to for programming though &#8211; this clip doesn&#8217;t reach the bottom four pins on the chip:<br \/>\n&nbsp;<br \/>\n<a title=\"IMG_1166 by howiemnet, on Flickr\" href=\"http:\/\/www.flickr.com\/photos\/howiemnet\/6458663101\/\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/farm8.staticflickr.com\/7148\/6458663101_cec79bd3ab.jpg\" alt=\"IMG_1166\" width=\"500\" height=\"375\" \/><\/a><br \/>\n&nbsp;<br \/>\n&#8230;but it turns out you don&#8217;t need to use those pins for programming. So: I dug out a bit of ribbon cable with a 6-way pin header on the end:<br \/>\n&nbsp;<br \/>\n<a title=\"IMG_1171 by howiemnet, on Flickr\" href=\"http:\/\/www.flickr.com\/photos\/howiemnet\/6458664079\/\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/farm8.staticflickr.com\/7146\/6458664079_e195b450cf.jpg\" alt=\"IMG_1171\" width=\"500\" height=\"375\" \/><\/a><br \/>\n&nbsp;<br \/>\nStripped the wires (carefully &#8211; they&#8217;re bloody thin conductors in ribbon cable):<br \/>\n&nbsp;<br \/>\n<a title=\"IMG_1174 by howiemnet, on Flickr\" href=\"http:\/\/www.flickr.com\/photos\/howiemnet\/6458664571\/\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/farm8.staticflickr.com\/7146\/6458664571_6ce7056466.jpg\" alt=\"IMG_1174\" width=\"500\" height=\"375\" \/><\/a><br \/>\n&nbsp;<br \/>\n&#8230; and soldered the wires to the right places on the test clip:<br \/>\n&nbsp;<br \/>\n<a title=\"IMG_1176 by howiemnet, on Flickr\" href=\"http:\/\/www.flickr.com\/photos\/howiemnet\/6458665127\/\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/farm8.staticflickr.com\/7025\/6458665127_02af87efed.jpg\" alt=\"IMG_1176\" width=\"500\" height=\"375\" \/><\/a><br \/>\n&nbsp;<br \/>\nA bit of heatshrink tubing makes it all look slightly more perfeshional:<br \/>\n&nbsp;<br \/>\n<a title=\"IMG_1178 by howiemnet, on Flickr\" href=\"http:\/\/www.flickr.com\/photos\/howiemnet\/6458665623\/\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/farm8.staticflickr.com\/7028\/6458665623_382382ab0a.jpg\" alt=\"IMG_1178\" width=\"500\" height=\"375\" \/><\/a><br \/>\n&nbsp;<br \/>\nAnd lo &#8211; it&#8217;s now a programming clip, letting you reprogram the chip without having to pull the chip.<br \/>\n&nbsp;<br \/>\n<a title=\"IMG_1184 by howiemnet, on Flickr\" href=\"http:\/\/www.flickr.com\/photos\/howiemnet\/6458666217\/\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/farm8.staticflickr.com\/7175\/6458666217_7dcd01ca89.jpg\" alt=\"IMG_1184\" width=\"500\" height=\"375\" \/><\/a><br \/>\n&nbsp;<br \/>\n<a title=\"IMG_1188 by howiemnet, on Flickr\" href=\"http:\/\/www.flickr.com\/photos\/howiemnet\/6458667353\/\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/farm8.staticflickr.com\/7035\/6458667353_b7b9a145b3.jpg\" alt=\"IMG_1188\" width=\"500\" height=\"375\" \/><\/a><br \/>\n&nbsp;<br \/>\nHandy.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Picked up one of these IC test clips on eBay for a few quid. It makes a spectacularly convenient programming clip.<\/p>\n","protected":false},"author":2,"featured_media":108,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":{"0":"post-118","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-electronics-and-hackery"},"_links":{"self":[{"href":"https:\/\/howiem.org\/wordpress\/wp-json\/wp\/v2\/posts\/118","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/howiem.org\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/howiem.org\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/howiem.org\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/howiem.org\/wordpress\/wp-json\/wp\/v2\/comments?post=118"}],"version-history":[{"count":0,"href":"https:\/\/howiem.org\/wordpress\/wp-json\/wp\/v2\/posts\/118\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/howiem.org\/wordpress\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/howiem.org\/wordpress\/wp-json\/wp\/v2\/media?parent=118"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/howiem.org\/wordpress\/wp-json\/wp\/v2\/categories?post=118"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/howiem.org\/wordpress\/wp-json\/wp\/v2\/tags?post=118"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}