{"id":1877,"date":"2016-05-29T00:05:35","date_gmt":"2016-05-28T22:05:35","guid":{"rendered":"http:\/\/www.sciencetronics.com\/greenphotons\/?p=1877"},"modified":"2025-06-16T18:37:52","modified_gmt":"2025-06-16T16:37:52","slug":"deutsch-ein-usbasp-im-neuen-gewand-2","status":"publish","type":"post","link":"https:\/\/www.sciencetronics.com\/greenphotons\/?p=1877","title":{"rendered":"An USBasp in a new design II"},"content":{"rendered":"<p>Most of the time I design and debug my AVR projects on solderless breadboards nowadays. And for that I have been using some different types of programmers by now: starting with the <a href=\"http:\/\/www.sciencetronics.com\/greenphotons\/?p=325\" target=\"_blank\">good old STK500<\/a>, to different versions of <a href=\"http:\/\/www.fischl.de\/usbasp\/\" target=\"_blank\">USBasp<\/a> clones from <a href=\"http:\/\/www.sciencetronics.com\/greenphotons\/?p=938\" target=\"_blank\">Chinese sellers on eBay<\/a>.<\/p>\n<p>In order to connect the programmers to the breadboard I started with loose wires, discovered <a href=\"https:\/\/www.sparkfun.com\/products\/retired\/8508\" target=\"_blank\">a nice breadboard adapter from Sparkfun<\/a> (now retired), before I <a href=\"http:\/\/www.sciencetronics.com\/greenphotons\/?p=1316\" target=\"_blank\">rolled out my own version<\/a> which I also use with my students.<\/p>\n<h3>Why another design for an AVR programmer?<\/h3>\n<p>Starting last year it became necessary to run some projects from batteries or at 3.3 V which is not supported by all Chinese programmer clones, and also the wiring of the supply from the programming adapter to the power lines of the breadboard added to the number of wires &#8211; and sometimes it added clutter to the breadboard. <\/p>\n<p>Having nothing else to do (?) I decided last weekend to design my own circuit board for the USBasp, which attaches to the breadboard much like the MB102 power supply adapter available form your favorite Chinese reseller, directly connecting to the power rails and also including a 3.3 V regulator.<\/p>\n<figure id=\"attachment_1878\" aria-describedby=\"caption-attachment-1878\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.sciencetronics.com\/greenphotons\/wp-content\/uploads\/2016\/05\/MB102.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.sciencetronics.com\/greenphotons\/wp-content\/uploads\/2016\/05\/MB102-300x221.jpg\" alt=\"MB102 power supply adapter for breadboards.\" width=\"300\" height=\"221\" class=\"size-medium wp-image-1878\" srcset=\"https:\/\/www.sciencetronics.com\/greenphotons\/wp-content\/uploads\/2016\/05\/MB102-300x221.jpg 300w, https:\/\/www.sciencetronics.com\/greenphotons\/wp-content\/uploads\/2016\/05\/MB102-150x111.jpg 150w, https:\/\/www.sciencetronics.com\/greenphotons\/wp-content\/uploads\/2016\/05\/MB102-400x295.jpg 400w, https:\/\/www.sciencetronics.com\/greenphotons\/wp-content\/uploads\/2016\/05\/MB102.jpg 570w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-1878\" class=\"wp-caption-text\">MB102 power supply adapter for breadboards.<\/figcaption><\/figure>\n<h3>Design process<\/h3>\n<p>I started with some compromises:<\/p>\n<h4>Single or double?<\/h4>\n<p>As usual I wanted to be able to make the circuit board using <a href=\"http:\/\/www.sciencetronics.com\/greenphotons\/?p=1281\">the toner transfer process<\/a> and therefore it should preferably be a single sided circuit board. But this is difficult with the pinheaders which need to be on the underside, attaching to the breadboard. While it is possible to solder them this way onto a circuit board it&#8217;s usually not a good joint. I decided to start with a design for a single-sided board.<\/p>\n<h4>SMD or through-hole?<\/h4>\n<p>Most of the time I still favor through-hole design for my own projects, probably because of my big stock of through-hole parts. But I also have to acknowledge that not having to drill your own PCBs is a big advantage. When it comes to the pinheaders again, while there are SMD-versions around, I don&#8217;t trust the long-term reliability of the corresponding joints, so these would be through-hole anyway. Like the Chinese manufacturers I also went for a through-hole quartz crystal, while the rest of the board became SMD. <\/p>\n<p>This way the parts and traces would be on the top of the board and the pinheaders would be soldered from the correct side.<\/p>\n<h4>Which USB contact?<\/h4>\n<p>The Chinese USBasp clones normally come with an USB-A contact, allowing them to be used like USB sticks. However, most of the time you might want to have your circuit at a flexible position and distance from your computer, making it necessary to use a USB A-A M\/F extension cable. From the definition of the USB standard it would make more sense to use a B-type contact.<\/p>\n<p>Just recently <a href=\"http:\/\/www.eevblog.com\/\" target=\"_blank\">Dave Jones<\/a> was wondering why someone would still use a mini-B type contact on their gear, not the more modern micro-B. So what should I use:<\/p>\n<figure id=\"attachment_1882\" aria-describedby=\"caption-attachment-1882\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.sciencetronics.com\/greenphotons\/wp-content\/uploads\/2016\/05\/usb_bs_cad_580.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.sciencetronics.com\/greenphotons\/wp-content\/uploads\/2016\/05\/usb_bs_cad_580-300x94.jpg\" alt=\"Three USB B connectors - which to choose?\" width=\"300\" height=\"94\" class=\"size-medium wp-image-1882\" srcset=\"https:\/\/www.sciencetronics.com\/greenphotons\/wp-content\/uploads\/2016\/05\/usb_bs_cad_580-300x94.jpg 300w, https:\/\/www.sciencetronics.com\/greenphotons\/wp-content\/uploads\/2016\/05\/usb_bs_cad_580-150x47.jpg 150w, https:\/\/www.sciencetronics.com\/greenphotons\/wp-content\/uploads\/2016\/05\/usb_bs_cad_580-400x125.jpg 400w, https:\/\/www.sciencetronics.com\/greenphotons\/wp-content\/uploads\/2016\/05\/usb_bs_cad_580.jpg 576w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-1882\" class=\"wp-caption-text\">Three USB B connectors &#8211; which to choose?<\/figcaption><\/figure>\n<ul>\n<li>The full size type-B connector eliminated itself, because I have the feeling that the connector and cable will put too much mechanical load onto the connection to the breadboard.<\/li>\n<li>As on most non-Apple mobile phones I have the micro-B connector on my Samsung smartphone and I don&#8217;t put too much trust into the mechanical strength of the connector.<\/li>\n<li>It remains the mini-B connector. It is a bit stronger than the micro-B, cables are still around for this connector and finally there is little use for the cables for other gadgets, helping to keep them in place&#8230;<\/li>\n<\/ul>\n<h3>First layout<\/h3>\n<p>I still had plans to etch the circuit board myself, when I finished the layout. Since the circuit is quite simple it was no problem to route all traces on the top (component) side of the board. For a single-sided circuit board this would then put some challenge on the mounting of the programming connector and the three jumpers: supply voltage 5 V \/ 3.3 V, self-programming, and fast\/slow.<\/p>\n<p>For the programming connector I chose between the standard 5&#215;2 connector from the STK500, which is also used on the Chinese USBasp clones, the more compact 3&#215;2 connector from Atmel, also used on the STK500, or any other possible layout. For usability reasons I decided for a single row 6&#215;1 connector and kept the pinout compatible with the Sparkfun adapter and my <a href=\"http:\/\/www.sciencetronics.com\/greenphotons\/?p=1316\">own breadboard adapter<\/a>.  <\/p>\n<h3>PCB production<\/h3>\n<p>For my private use I have only once used a professional PCB manufacturer. The Bulgarian company <a href=\"http:\/\/www.bilex-lp.com\/user_d\/\" target=\"_blank\">Bilex<\/a> was recommended in a froum on the internet. Being located in Europe the turn-around time is quite fast, and shipping should be cheaper from Asia.<\/p>\n<p>When designing the circuit board layout I also browsed the web for reviews of PCB manufacturers. Several lists recommended some Chinese manufacturers and I became curious. I finished the design and early Sunday I submitted the design to <a href=\"http:\/\/www.pcbgogo.com\/\" target=\"_blank\">PCBgogo<\/a>. At PCBgogo you can instantly follow the progress of your circuit board online &#8211; and I was really impressed by the speed at which things went ahead. On Tuesday the boards were ready and shipped. On Thursday I could fetch it from a DHL box in Uppsala.<\/p>\n<p>I ordered the boards as follows:<\/p>\n<ul>\n<li>1.6 mm FR4<\/li>\n<li>double sided<\/li>\n<li>1oz copper<\/li>\n<li>6\/6 track and spacing<\/li>\n<li>0.3 mm minimum drill size<\/li>\n<li>red soldermask<\/li>\n<li>white silkscreen<\/li>\n<li>HASL lead free<\/li>\n<\/ul>\n<p>And what did I get? Exactly what I ordered!<\/p>\n<figure id=\"attachment_1870\" aria-describedby=\"caption-attachment-1870\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.sciencetronics.com\/greenphotons\/wp-content\/uploads\/2016\/05\/IMGP1419a_1000.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.sciencetronics.com\/greenphotons\/wp-content\/uploads\/2016\/05\/IMGP1419a_1000-300x194.jpg\" alt=\"The circuit boards from China.\" width=\"300\" height=\"194\" class=\"size-medium wp-image-1870\" srcset=\"https:\/\/www.sciencetronics.com\/greenphotons\/wp-content\/uploads\/2016\/05\/IMGP1419a_1000-300x194.jpg 300w, https:\/\/www.sciencetronics.com\/greenphotons\/wp-content\/uploads\/2016\/05\/IMGP1419a_1000-150x97.jpg 150w, https:\/\/www.sciencetronics.com\/greenphotons\/wp-content\/uploads\/2016\/05\/IMGP1419a_1000-400x259.jpg 400w, https:\/\/www.sciencetronics.com\/greenphotons\/wp-content\/uploads\/2016\/05\/IMGP1419a_1000.jpg 957w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-1870\" class=\"wp-caption-text\">The circuit boards from China.<\/figcaption><\/figure>\n<p>There is absolutely nothing which I could criticize with these boards, they are almost perfect. The silkscreen does move around a bit from board to board by perhaps \u00b10.5 mm, but that&#8217;s about it.<\/p>\n<h3>Soldering<\/h3>\n<p>Once I had the circuit boards I could not wait to populate the first circuit board. I had almost all parts I needed &#8211; can you spot the five points where I cheated?<\/p>\n<figure id=\"attachment_1896\" aria-describedby=\"caption-attachment-1896\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.sciencetronics.com\/greenphotons\/wp-content\/uploads\/2016\/05\/IMGP1505b_600.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.sciencetronics.com\/greenphotons\/wp-content\/uploads\/2016\/05\/IMGP1505b_600-300x143.jpg\" alt=\"View of the first soldered board.\" width=\"300\" height=\"143\" class=\"size-medium wp-image-1896\" srcset=\"https:\/\/www.sciencetronics.com\/greenphotons\/wp-content\/uploads\/2016\/05\/IMGP1505b_600-300x143.jpg 300w, https:\/\/www.sciencetronics.com\/greenphotons\/wp-content\/uploads\/2016\/05\/IMGP1505b_600-150x72.jpg 150w, https:\/\/www.sciencetronics.com\/greenphotons\/wp-content\/uploads\/2016\/05\/IMGP1505b_600-400x191.jpg 400w, https:\/\/www.sciencetronics.com\/greenphotons\/wp-content\/uploads\/2016\/05\/IMGP1505b_600.jpg 605w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-1896\" class=\"wp-caption-text\">View of the first soldered board.<\/figcaption><\/figure>\n<figure id=\"attachment_1867\" aria-describedby=\"caption-attachment-1867\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.sciencetronics.com\/greenphotons\/wp-content\/uploads\/2016\/05\/IMGP1425a_800.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.sciencetronics.com\/greenphotons\/wp-content\/uploads\/2016\/05\/IMGP1425a_800-300x210.jpg\" alt=\"The breadboard-mounted USBasp.\" width=\"300\" height=\"210\" class=\"size-medium wp-image-1867\" srcset=\"https:\/\/www.sciencetronics.com\/greenphotons\/wp-content\/uploads\/2016\/05\/IMGP1425a_800-300x210.jpg 300w, https:\/\/www.sciencetronics.com\/greenphotons\/wp-content\/uploads\/2016\/05\/IMGP1425a_800-150x105.jpg 150w, https:\/\/www.sciencetronics.com\/greenphotons\/wp-content\/uploads\/2016\/05\/IMGP1425a_800-400x280.jpg 400w, https:\/\/www.sciencetronics.com\/greenphotons\/wp-content\/uploads\/2016\/05\/IMGP1425a_800.jpg 772w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-1867\" class=\"wp-caption-text\">The breadboard-mounted USBasp.<\/figcaption><\/figure>\n<h3>Testing<\/h3>\n<p>The first test was to get the firmware into the ATmega8 on the board. For this you set the PRG jumper to the closed position and attach another USBasp to the programming connector on the board. Since the layout is identical to the breadboard connectors which I normally use I could just plug it into the female header on the board. <a href=\"http:\/\/blog.zakkemble.co.uk\/avrdudess-a-gui-for-avrdude\/\" target=\"_blank\">AVRDUDESS<\/a> immediately recognized the ATmega on the baord, setting the fuses to run from the 12 MHz quartz crystal gave no problems either. I uploaded the latest <a href=\"http:\/\/www.fischl.de\/usbasp\/\" target=\"_blank\">firmware (usbasp.2011-05-28.tar.gz) from Thomas Fischl&#8217;s homepage<\/a> and it works without any problem.<\/p>\n<figure id=\"attachment_1869\" aria-describedby=\"caption-attachment-1869\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.sciencetronics.com\/greenphotons\/wp-content\/uploads\/2016\/05\/IMGP1432a_800.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.sciencetronics.com\/greenphotons\/wp-content\/uploads\/2016\/05\/IMGP1432a_800-300x161.jpg\" alt=\"The new USBasp connected for testing.\" width=\"300\" height=\"161\" class=\"size-medium wp-image-1869\" srcset=\"https:\/\/www.sciencetronics.com\/greenphotons\/wp-content\/uploads\/2016\/05\/IMGP1432a_800-300x161.jpg 300w, https:\/\/www.sciencetronics.com\/greenphotons\/wp-content\/uploads\/2016\/05\/IMGP1432a_800-150x81.jpg 150w, https:\/\/www.sciencetronics.com\/greenphotons\/wp-content\/uploads\/2016\/05\/IMGP1432a_800-400x215.jpg 400w, https:\/\/www.sciencetronics.com\/greenphotons\/wp-content\/uploads\/2016\/05\/IMGP1432a_800.jpg 819w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-1869\" class=\"wp-caption-text\">The new USBasp connected for testing.<\/figcaption><\/figure>\n<h3>Improvements<\/h3>\n<p>I have made slight changes to the layout into what I now call version 3: there are actually three traces on the bottom side now, simplifying the layout on the top. This modification makes it less suitable for a toner-transfer DIY circuit board, but given the issues with the soldering of the pinheaders I would not recommend this method here anyway.<\/p>\n<p>The original USBasp design uses 270 ohm resistors for the IO current limitation and as resistors for the LEDs. I actually used 300 ohm instead, and still the green LED is much too bright &#8211; the commercial clones from China usually use 1 kohm resistors.<\/p>\n<p>Version 2 also contained a 1206 footprint for the LEDs which I changed to 0805 for version 3.<\/p>\n<p>Version 3 has a better layout for the silkscreen pattern describing the pinout of the programming header.<\/p>\n<p>What could further be improved would be a series jumper link to allow for an amperemeter to be inserted into the power lines for the breadboard, bypassing the programmer itself. The current routing does not allow for this feature, but with the double-sided layout it would be easy to split the supply rail.<\/p>\n<p>Also it would be possible to leave the ATmega8 on the programmer to continue to run at 5 V (or 3.3 V) and implement level shifting towards the breadbord circuit. Atmel themselves used this on the STK500 with quite a simple two-transistor circuit.<\/p>\n<h3>Downloads<\/h3>\n<p>The schematics for version 2 and version 3: <a href=\"http:\/\/www.sciencetronics.com\/greenphotons\/wp-content\/uploads\/2016\/05\/20160520_AVRISP_miniusb_UZ_03dbl_SCH.pdf\">20160520_AVRISP_miniusb_UZ_03dbl_SCH.pdf<\/a><\/p>\n<p>Version 2 as an A5 pdf document for the toner-transfer process using a moderate design rule: <a href=\"http:\/\/www.sciencetronics.com\/greenphotons\/wp-content\/uploads\/2016\/05\/201600521_print_a5.pdf\">201600521_print_a5.pdf<\/a><\/p>\n<p>Eagle sources for version 3: <a href=\"http:\/\/www.sciencetronics.com\/greenphotons\/wp-content\/uploads\/2016\/05\/20160520_AVRISP_UZ_03_eagle.zip\">20160520_AVRISP_UZ_03_eagle.zip<\/a><\/p>\n<p>Gerber files for version 2 (as shown above): <a href=\"http:\/\/www.sciencetronics.com\/greenphotons\/wp-content\/uploads\/2016\/05\/20160520_AVRISP_UZ_02.zip\">20160520_AVRISP_UZ_02.zip<\/a><\/p>\n<p>Gerber files for version 3 (not yet tested): <a href=\"http:\/\/www.sciencetronics.com\/greenphotons\/wp-content\/uploads\/2016\/05\/20160520_AVRISP_UZ_03.zip\">20160520_AVRISP_UZ_03.zip<\/a><\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;width:435px;height:300px;\"><div class=\"text codecolorer\">Part &nbsp; &nbsp; Value &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br \/>\n<br \/>\nC1 &nbsp; &nbsp; &nbsp; 22p &nbsp; &nbsp;0805 &nbsp; &nbsp; &nbsp; &nbsp; <br \/>\nC2 &nbsp; &nbsp; &nbsp; 22p &nbsp; &nbsp;0805 &nbsp; &nbsp; &nbsp; &nbsp; <br \/>\nC3 &nbsp; &nbsp; &nbsp; 100n &nbsp; 0805 &nbsp; &nbsp; &nbsp; &nbsp; <br \/>\nC4 &nbsp; &nbsp; &nbsp; 100n &nbsp; 0805 &nbsp; &nbsp; &nbsp; &nbsp; <br \/>\nC5 &nbsp; &nbsp; &nbsp; 100n &nbsp; 0805 &nbsp; &nbsp; &nbsp; &nbsp; <br \/>\nC6 &nbsp; &nbsp; &nbsp; 100n &nbsp; 0805 &nbsp; &nbsp; &nbsp; &nbsp; <br \/>\nC7 &nbsp; &nbsp; &nbsp; 4u7 &nbsp; &nbsp;1206 &nbsp; &nbsp; &nbsp; &nbsp; <br \/>\nD1 &nbsp; &nbsp; &nbsp; 3V3 &nbsp; &nbsp;mini-melf <br \/>\nD2 &nbsp; &nbsp; &nbsp; 3V3 &nbsp; &nbsp;mini-melf <br \/>\nFS1 &nbsp; &nbsp; &nbsp;1 A polyfuse &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br \/>\nIC1 &nbsp; &nbsp; &nbsp;AMS1117 3V3 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br \/>\nIC2 &nbsp; &nbsp; &nbsp;ATmega8 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br \/>\nJ1 &nbsp; &nbsp; &nbsp; Mini-B USB &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br \/>\nJ2 &nbsp; &nbsp; &nbsp; 6pin female header &nbsp;<br \/>\nJP1 &nbsp; &nbsp; &nbsp;PINHD-1X2 &nbsp; &nbsp; &nbsp; &nbsp; <br \/>\nJP2 &nbsp; &nbsp; &nbsp;PINHD-1X2 &nbsp; &nbsp; &nbsp; &nbsp; <br \/>\nJP3 &nbsp; &nbsp; &nbsp;PINHD-1X2 &nbsp; &nbsp; &nbsp; &nbsp; <br \/>\nJP4 &nbsp; &nbsp; &nbsp;PINHD-1X2 &nbsp; &nbsp; &nbsp; &nbsp; <br \/>\nJP5 &nbsp; &nbsp; &nbsp;PINHD-1X3 &nbsp; &nbsp; &nbsp; &nbsp; <br \/>\nJP6 &nbsp; &nbsp; &nbsp;PINHD-1X2 &nbsp; &nbsp; &nbsp; &nbsp; <br \/>\nJP7 &nbsp; &nbsp; &nbsp;PINHD-1X2 &nbsp; &nbsp; &nbsp; &nbsp; <br \/>\nJP9 &nbsp; &nbsp; &nbsp;2pin female header &nbsp; &nbsp; &nbsp; &nbsp; <br \/>\nLED1 &nbsp; &nbsp; green 0805 &nbsp; <br \/>\nLED2 &nbsp; &nbsp; red 0805 &nbsp; <br \/>\nQ1 &nbsp; &nbsp; &nbsp; 12 MHz HC49 <br \/>\nR1 &nbsp; &nbsp; &nbsp; 10k &nbsp;0805 &nbsp; &nbsp; &nbsp; &nbsp;<br \/>\nR2 &nbsp; &nbsp; &nbsp; 270 &nbsp;0805 &nbsp; (can be substituted by 330...1000 ohm) &nbsp; &nbsp; <br \/>\nR3 &nbsp; &nbsp; &nbsp; 270 &nbsp;0805 &nbsp; (can be substituted by 330...1000 ohm) &nbsp; &nbsp; &nbsp; &nbsp;<br \/>\nR4 &nbsp; &nbsp; &nbsp; 270 &nbsp;0805 &nbsp; (can be substituted by 330...1000 ohm) &nbsp; &nbsp; &nbsp; &nbsp;<br \/>\nR5 &nbsp; &nbsp; &nbsp; 270 &nbsp;0805 &nbsp; (can be substituted by 330...1000 ohm) <br \/>\nR6 &nbsp; &nbsp; &nbsp; 68 &nbsp; 0805 &nbsp; &nbsp; &nbsp; &nbsp;<br \/>\nR7 &nbsp; &nbsp; &nbsp; 68 &nbsp; 0805 &nbsp; &nbsp; &nbsp; &nbsp;<br \/>\nR8 &nbsp; &nbsp; &nbsp; 1k5 &nbsp;0805 &nbsp; (can be substituted by 2.2 kohm) &nbsp; &nbsp; <br \/>\nR9 &nbsp; &nbsp; &nbsp; 270 &nbsp;0805 &nbsp; (can be substituted by 330...1000 ohm) &nbsp; &nbsp; <br \/>\nR10 &nbsp; &nbsp; &nbsp;270 &nbsp;0805 &nbsp; (can be substituted by 330...1000 ohm)<\/div><\/div>\n<h2>Version 4 &#8211; 2016-05-31<\/h2>\n<p>I now added another jumper which allows you to separate the positive rail between the programmer electronics and the breadboard circuit. By connecting an amperemeter or the <a href=\"https:\/\/www.eevblog.com\/projects\/ucurrent\/\" target=\"_blank\">\u00b5Current<\/a> instead of a short, the power consumption of the target circuit can be evaluated.<\/p>\n<figure id=\"attachment_1898\" aria-describedby=\"caption-attachment-1898\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.sciencetronics.com\/greenphotons\/wp-content\/uploads\/2016\/05\/20160520_AVRISP_miniusb_UZ_04_layout.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.sciencetronics.com\/greenphotons\/wp-content\/uploads\/2016\/05\/20160520_AVRISP_miniusb_UZ_04_layout-300x187.png\" alt=\"The new layout for the version 4.\" width=\"300\" height=\"187\" class=\"size-medium wp-image-1898\" srcset=\"https:\/\/www.sciencetronics.com\/greenphotons\/wp-content\/uploads\/2016\/05\/20160520_AVRISP_miniusb_UZ_04_layout-300x187.png 300w, https:\/\/www.sciencetronics.com\/greenphotons\/wp-content\/uploads\/2016\/05\/20160520_AVRISP_miniusb_UZ_04_layout-1024x637.png 1024w, https:\/\/www.sciencetronics.com\/greenphotons\/wp-content\/uploads\/2016\/05\/20160520_AVRISP_miniusb_UZ_04_layout-150x93.png 150w, https:\/\/www.sciencetronics.com\/greenphotons\/wp-content\/uploads\/2016\/05\/20160520_AVRISP_miniusb_UZ_04_layout-400x249.png 400w, https:\/\/www.sciencetronics.com\/greenphotons\/wp-content\/uploads\/2016\/05\/20160520_AVRISP_miniusb_UZ_04_layout.png 1328w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-1898\" class=\"wp-caption-text\">The new layout for the version 4.<\/figcaption><\/figure>\n<p>Eagle sources for version 3: <a href=\"http:\/\/www.sciencetronics.com\/greenphotons\/wp-content\/uploads\/2016\/05\/20160520_AVRISP_UZ_v4_eagle.zip\">20160520_AVRISP_UZ_v4_eagle<\/a><\/p>\n<p>Gerber files for version 3 (not yet tested): <a href=\"http:\/\/www.sciencetronics.com\/greenphotons\/wp-content\/uploads\/2016\/05\/20160520_AVRISP_UZ_v4.zip\">20160520_AVRISP_UZ_v4<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Most of the time I design and debug my AVR projects on solderless breadboards nowadays. And for that I have been using some different types of programmers by now: starting with the good old STK500, to different versions of USBasp clones from Chinese sellers on eBay. In order to connect the programmers to the breadboard [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1896,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"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,"enabled":false},"version":2}},"categories":[46,22,11],"tags":[],"class_list":["post-1877","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-avr","category-computers_en","category-electronics_en","entry","has-media"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/www.sciencetronics.com\/greenphotons\/wp-content\/uploads\/2016\/05\/IMGP1505b_600.jpg","jetpack_shortlink":"https:\/\/wp.me\/p48grL-uh","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.sciencetronics.com\/greenphotons\/index.php?rest_route=\/wp\/v2\/posts\/1877","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sciencetronics.com\/greenphotons\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sciencetronics.com\/greenphotons\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sciencetronics.com\/greenphotons\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sciencetronics.com\/greenphotons\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1877"}],"version-history":[{"count":15,"href":"https:\/\/www.sciencetronics.com\/greenphotons\/index.php?rest_route=\/wp\/v2\/posts\/1877\/revisions"}],"predecessor-version":[{"id":2355,"href":"https:\/\/www.sciencetronics.com\/greenphotons\/index.php?rest_route=\/wp\/v2\/posts\/1877\/revisions\/2355"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sciencetronics.com\/greenphotons\/index.php?rest_route=\/wp\/v2\/media\/1896"}],"wp:attachment":[{"href":"https:\/\/www.sciencetronics.com\/greenphotons\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1877"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sciencetronics.com\/greenphotons\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1877"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sciencetronics.com\/greenphotons\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1877"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}