Universal Adapter for Arduino/ATmel USBasp programmer

A while back I fabricated a socket adapter for my USBasp programmer for use with the eight pin ATtiny85 DIP package microcontrollers. I used a RadioShack Catalog #: 276-150 prototype board, an 8-pin socket, some header pins and wires to create it. Simple, easy and it does the job.  By the way, the Betemcu.cn USBasp programmer is readily available on eBay for under $9, including postage. It uses Thomas Fischl’s design and works flawlessly.


However, when my activity included ATtiny84 and ATtiny2313 chips I was faced with the prospect of building new boards for each microcontroller type.  Instead, I opted for building a universal adapter that would work for all of the ATmel microcontrollers.

I accumulated parts through eBay so as to minimize costs. Most important was the 40-pin ZIF Socket for big or slim chips. It cost $2.95, including delivery. I purchased it from eBay vendor grand_sky. My single row male 1X40 header strips cost 20 cents each ($1.95 for 10) from eBay Hong-Kong seller wulor, but many people sell these. My 1×40 Pin 2.54 mm Single Row Female Pin Headers were 32 cents each. My single-sided PCB board material was ordered from eBay seller abcfab for 52 cents per 4X6-inch board.

To design the universal adapter I used gEDA‘s schem and PCB packages.

A Printed Circuit Board layout consists of applying upon a copper laminated board, an acid-resistant pattern that represents the areas that are to retain copper after etching in an acid solution (etchant). Areas of the copper laminated board that are exposed to the etchant will be dissolved away, leaving the areas under the acid-resistant pattern intact. The positive layout below is printed in reverse onto a special paper that will easily release the toner when heated. Laser printer toner is a finely ground polymer plastic that is fused to the paper by heat. The trick of the “toner method” is to get the toner to transfer from the paper to the copper laminated board once it is re-heated. There are several paper solutions for the “toner method”, some better than others.

Regardless of the type of paper used, the process is to place the reverse image positive laser print with the toner touching the metal surface of a clean copper laminated board and then apply heat and pressure to loosen the toner from the paper, permitting it to transfer to and adhere to the copper laminated board. I used use a common clothes iron as the heat source, although a laminating machine designed for identification cards is successfully used with one commercial product. The laminating machine will not work with Brother brand laser printers because the toner’s melting point is too high for the laminating machine. With Brother brand laser printers you must use a clothes iron – although, I am considering a carpet seaming iron sold by Northern Tools and Amazon because it has a rectangular shape and higher controllable temperature.

Once heated under pressure, the toner ends up adhering to both the paper and the copper laminated board. The paper/copper laminated board is then soaked under water and the waterlogged paper floats away if you use dextrin coated paper, such as that made by PulsarProFx.

I also use PulsarProFx’s Green Toner Foil because the toner adhering to the copper laminated board is porous and, even though you cannot see it with the naked eye, there are sufficient holes for the etchant to penetrate the toner traces and remove metal that you do not want removed. The Green Toner Foil is ironed onto the copper laminated board resident toner, creating a smooth, impervious surface on the top of the toner traces, resulting in superior board etches.

You can obtain a correct size copy of the etch pattern above HERE.

My finished board is shown below.

NOTE: Learn from my mistake and mount the ZIF socket with the handle facing away from the socket.

This entry was posted in Arduino, Electronics, PCB Etching and tagged , , , . Bookmark the permalink.

14 Responses to Universal Adapter for Arduino/ATmel USBasp programmer

  1. Lachini says:

    I designed new version of USBasp to simple use.
    my USBasp auto detected all AVR chip, just insert AVR chip’s from pin 1 of ZIF socket, without any jumper or switch setting.
    my AVR USBasp programmer generate clock on ZIF socket and ISP connector to XTAL1 pin of AVR, and user don’t worry about wrong CKSEL and CKDIV8 fuse bits setting.
    I named my USBasp to SANA (it’s mean in Persian Language : Simple and Easy).
    you can get more details about SANA in my site : http://www.elewiz.com/en/83-product/90-usb-programmer.html


    • celem says:

      I don’t normally approve spam comments but this commenter’s product looks interesting. I have NOT tried it. It appears that he is located in Iran and given today’s political environment I recommend checking for customs restrictions prior to ordering one.


      • Lachini says:

        Hi Celem,
        Thanks to approve my comment. I apologize for the spam. I designed many project for free but that almost in my Persian site. but I designed two web application for free use in BASCOM-AVR official site;
        “GIF Animation to Hex Code for LED Sign Board” : http://tools.mcselec.com/
        I love electronic and need money for develop an MKII ISP with ZIF socket same SANA USBasp and new MKII ISP can program 24CXX, 93CXX, 25XXX and 26XXX EEPROM.

        Best regardes.

        Hossein Lachini.


  2. Alectronic says:

    Sadly Hossein you do not ship to my country. I can pay easily by PayPal but you didn’t answer my request??


  3. Alectronic says:

    Hi Hossein, my Iranian friend Behzad just bought one Sana programmer.
    Apparently you won’t sell to The Netherlands since you didn’t reply to my last post?
    Is it possible to buy a DIY kit in the form of schematics and pcb and or hex code instead in that case? So I can build one Sana programmer myself? I like to use the Sana with my BASCOM-AVR program because of the ease of use.
    Thanks, Albert.


    • Hi Albert,
      I send my programmer after complete testing. So I can’t sell a DIY kit.
      I think, After receiving the first my programmer; you can be purchased in DIY kit form.


  4. Alectronic says:

    Thanks for your possitive reply Hossein. I do not need any kit OI only opted the possibility if shipping is a problem. I am happy to buy a SANA ZIF socket universal AVR programmer from you! Please tell me what I have to pay including shipping to The Netherlands ?
    (By-the-way: every product bought/ordered from outside Europe above 22 Euro/dollar is charged heavilly. But since your SANA is under that price it will be fine!)


  5. Alectronic says:

    Thanks Hossein for your confirming e-mail. Just bought your programmer. (; )


  6. Alectronic says:

    Thanks Hossein!
    Great product and fast delivery time from Iran to the Netherlands in only about 13 days is unbelievable great too!
    Sana programmer with Included USB, ISP kabel, cd rom with demonstration videos, and nice storage bag is a real bargain for the price asked at only $15 plus $10 shipping!

    With the easy comfortable chip recognition after inserting aligned to pin 1 in the Sana programmer textool Socket is just perfect!, and I can’t wait to start programming with Bascom, or the other software examples you showed on the accompanied CD,
    Can’t understand how you were able to make this Sana programmer so small? Hardly bigger than the textool socket itself, just genius !
    Thanks for sending me this nicely created and build Sana Programmer!.


    • Alectronic says:

      Just tested the small but great Sana with USBasp driver in BASCOM-AVR. It worked immediately after connecting it to my PC! I’m impressed! Also because the Sana can recognise and program even more chips than only AVR and also can be used on different systems!
      Why I think it is a must have for anyone who needs a good and easy AVR (almost universal) programmer!
      Thumbs up for Hossein!


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s