Good day!
I recently outgrew my still-loved Arduino, and desired to learn how to use AVR Microcontrollers in their intended way. So, I started assembling tools and software. I built a AVR programmer from Limor’s USBtinyISP kit, and it was easily the best choice for me. Then, I installed a bit of software, but then the big problem arose: How to interface the unique microcontrollers to this specific programmer. I found very little direction on how to complete this simple task, and I hope to fill in the blanks for you. I am assuming you know how to solder, and have some basic electronics know-how, ’cause you are playing with microcontrollers..
Parts! You need a 2 row, 6 pin connector. (Mouser Part #M22-2580305), a suitable piece of plain old protoboard, some thin gauge wire, and a IC header to fit the microcontroller you wish to use. And for God’s sake, use a marker to indicate which way is up for your chip!
So, for this simple process, you need to link six pins from your IC header to your 6 pin connector. But what goes where?! Good question! Lucky for us, there are standards. The programmer I am using is an ISP programmer, which means that each of the six pins goes to a unique pin on each microcontroller. To find out which pin does what on your microcontroller, simply obtain the white sheets on the chip. They’re on Atmel’s website. For our purposes, we’ll be using the popular ATtiny2313 microcontroller. To cut things short, have a look at the clip from the white pages for this chip.
See those six items in red? They’re highlighted for a purpose. It’s because they correspond to the six pins in your 6-pin connector! Now, it’s just a matter of soldering your wire up to make a connection between the proper pins on both the header and connector. Here’s a little cheat sheet for what goes where on the connector:
So, just clip some wire, and make your connections. Use a marker to remember which pin is #1! This will save you a lot of headache later.
Finally! One more step. Take a little more wire, and connect it in series with the Ground and VCC pins on your header. You need to feed your chip a little power. Personally, I leave these wires sticking up and out of the board, so I can take a 2xAA battery pack I’ve attached clips to for easy moving between target boards. And for crying out loud, use different colored wires, so you don’t mix things up.
From here, you’re all ready to go. I don’t want to rewire the same thing all the time, so I used some plastic standoffs, and glued the thing into a mint case, for safekeeping. You can even get extra fancy and use a ZIF socket. Whatever makes you happy, as long as you make those six little connections right and power your chip while programming it.
Have fun!



May 23rd, 2009 at 12:13 pm
[...] and ZIF sockets are just sweet! For your target board needs, though, I would like to refer you to this article I wrote not too long ago. They work nicely for me. And at about two bucks per, very inexpensive! [...]
May 31st, 2009 at 5:19 pm
Thanks very much for taking your time to create this very useful infos .
April 12th, 2010 at 2:18 pm
I have read a few of the articles on your website now, and I really like your style of blogging. I added it to my favorites web site list and will be checking back soon. Please check out my site as well and let me know what you think.
April 19th, 2010 at 10:38 am
This is a very helpful post, I was looking for this knowledge. Just so you know I located your blog page when I was looking around for blogs like mine, so please check out my site sometime and leave me a comment to let me know what you think.
April 19th, 2010 at 6:18 pm
This is a very exciting post, I was looking for this info. Just so you know I discovered your web page when I was doing research for blogs like mine, so please check out my site sometime and leave me a comment to let me know what you think.
April 20th, 2010 at 2:12 pm
I’m pleased I found this web site, I couldnt discover any knowledge on this matter before. I also manage a website and for anyone who is ever interested in a little bit of visitor writing for me you should feel free to let me know, im always look for people to check out my webpage. Please stop by and leave a comment sometime!
April 22nd, 2010 at 1:18 pm
Fantastic post, this is very similar to a site that I have. Please check it out sometime and feel free to leave me a comenet on it and tell me what you think. I’m always looking for feedback.
April 22nd, 2010 at 6:37 pm
This is a outstanding write-up, I found your blog page researching aol for a similar topic and came to this. I couldnt come across to much alternative details on this summary, so it was pleasant to find this one. I will probably end up being back to look at some other posts that you have another time.
April 23rd, 2010 at 8:32 pm
Im glad I discovered this blog site, I couldnt find any information on this subject prior to. Also run a site and if you’re ever serious in a little bit of visitor writing for me please feel free to let me know, i’m always look for people to check out my blog. Please stop by and leave a comment sometime!
April 25th, 2010 at 12:16 am
I am brand-new to blogging and actually enjoyed your site. I am going to bookmark your website and keep checking you out. Thanks for sharing your blog.
April 25th, 2010 at 7:05 am
I found a great http://www.games-iso.com its so good! You can found the latest games torrents like WII, XBOX 360, PS2, PC and Nintendo DS. Perhaps you have a minute you should definately check it out! Thanks Keep up the good work!.
April 26th, 2010 at 12:09 pm
This is a very intriguing post, I was looking for this info. Just so you know I discovered your blog when I was checking for blogs like mine, so please check out my site sometime and leave me a comment to let me know what you think.