<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Christopher's Internet Affliction &#187; AVR ISP Programmer</title>
	<atom:link href="http://www.evilstar.net/tag/avr-isp-programmer/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.evilstar.net</link>
	<description>Ad astra per aspera.</description>
	<lastBuildDate>Sun, 07 Mar 2010 04:40:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>My DIY home AVR programming studio</title>
		<link>http://www.evilstar.net/2009/05/23/my-diy-home-avr-programming-studio/</link>
		<comments>http://www.evilstar.net/2009/05/23/my-diy-home-avr-programming-studio/#comments</comments>
		<pubDate>Sat, 23 May 2009 17:02:41 +0000</pubDate>
		<dc:creator>Christopher</dc:creator>
				<category><![CDATA[Do it Yourself]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[AVR]]></category>
		<category><![CDATA[AVR ISP Programmer]]></category>
		<category><![CDATA[AVR Microcontrollers]]></category>
		<category><![CDATA[AVR Target Boards]]></category>

		<guid isPermaLink="false">http://www.evilstar.net/?p=67</guid>
		<description><![CDATA[Okay! This is a little guide intended for those just getting started out in the weird, wild world of The Ultimate In Geek: Programming your own microcontrollers. After you outgrow your Arduino, and find out that it&#8217;s really too much for a lot of applications, programming your own AVR microcontrollers is the way to go. [...]<!-- Easy AdSenser V2.36 -->
<!-- Post[count: 2] -->
<div style="text-align:center;margin:12px;" ><script type="text/javascript"><!--
google_ad_client = "pub-8234939626499476";
/* 468x15, created 5/3/09 */
google_ad_slot = "1294370244";
google_ad_width = 468;
google_ad_height = 15;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.evilstar.net/wp-content/uploads/2009/05/avr.jpg"><img class="alignright size-thumbnail wp-image-68" title="avr" src="http://www.evilstar.net/wp-content/uploads/2009/05/avr-150x150.jpg" alt="avr" width="150" height="150" /></a>Okay! This is a little guide intended for those just getting started out in the weird, wild world of The Ultimate In Geek: Programming your own microcontrollers. After you outgrow your <a href="http://arduino.cc/" target="_blank">Arduino</a>, and find out that it&#8217;s really too much for a lot of applications, programming your own AVR microcontrollers is the way to go. This is not intended to teach you how to do everything- There&#8217;s plenty of documentation on each part of the process out there. I merely intend to compile what has worked for me in one central place.</p>
<p>Tools and supplies, software and a lot of links, after the jump!</p>
<p><span id="more-67"></span>Okay! I assume you already have a few things already, if you&#8217;ve read this far. I assume you have a soldering iron with some practice with it, a <a href="http://www.panavise.com/index.html?pageID=1&amp;page=full&amp;--eqskudatarq=2" target="_blank">good mini-vise</a> (That bad boy was worth every penny!), your usual assortment of wires, sockets and protoboard, a computer with an USB outlet, and some C for microcontrollers skills- What you&#8217;ve learned with your <a href="http://arduino.cc/" target="_blank">Arduino</a> will help you with this.</p>
<p>Got a cup of coffee ready? Time for some reading.</p>
<p>1. Firstly, You will need an AVR programmer. I use <a href="http://www.ladyada.net/" target="_blank">Lady Ada&#8217;s</a> <a href="http://www.ladyada.net/make/usbtinyisp/index.html" target="_blank">USBtinyISP</a>. Limor makes great products, and you&#8217;re supporting the community, too. You get the kit for 22 bucks, and it&#8217;s a steal at that price. It&#8217;s easily the cheapest and best In System Programmer you can get. Buy it, build it. Love it. Make it a special bed out of a cigar box to sleep in. I did!</p>
<p>2. Get to know your AVR microcontrollers, and order a little sampler from <a href="http://mouser.com" target="_blank">Mouser</a>, <a href="http://www.digikey.com/" target="_blank">Digikey</a>, where ever. I ordered these to start, five of each. *don&#8217;t forget crystals and sockets! read the white pages for each chip to learn more* The list went: <a href="http://atmel.com/dyn/products/product_card.asp?part_id=4347" target="_blank">ATtiny13</a>, <a href="http://atmel.com/dyn/products/product_card.asp?part_id=3229">ATtiny2313</a>, <a href="http://atmel.com/dyn/products/product_card.asp?part_id=3303" target="_blank">ATmega168</a>, and <a href="http://atmel.com/dyn/products/product_card.asp?PN=ATmega48PA">ATmega48</a>. The ATtiny13 and ATmega48&#8217;s have been replaced by newer designs, so you might get lucky and find old stock somewhere, at a really good price. Basically, I went for a variety of chips, with different capacities and pins. I would have a look at the google ads on this page, perhaps you can find a good deal on hardware.</p>
<p>3. Software! You need software, of course, to make it all go. I use a mac, so I installed <a href="http://www.obdev.at/products/crosspack/index.html" target="_blank">Crosspack</a>, formerly known as AVR macpack. It includes AVRdude (AVR Downloader/UploaDEr &#8211; Kind of a stretch, if you ask me!) good ol&#8217; GCC, and basically everything you will need in one package. Once again, Limor has provided an excellent tutorial on using <a href="http://www.ladyada.net/make/usbtinyisp/use.html" target="_blank">AVRdude and her programmer</a> in general. Read, learn, love. If you&#8217;ve got a windows box, you can use Atmel&#8217;s AVRStudio software, but please read Limor&#8217;s tutorial in order to learn how to use her programmer with it. I don&#8217;t have windows, so I don&#8217;t have the experience!</p>
<p>4. Lastly, You&#8217;ll need to wire up target boards, to hold your microprocessors while you throw code on them. E<a href="http://evilmadscience.com/tinykitlist/74-atmegaxx8" target="_blank">vilMadScientist Labs makes a great target board</a> &#8211; get the development model with the ZIF socket and don&#8217;t forget the crystals for extra fanciness! This is only for a few MCU&#8217;s that you may find yourself using often. It&#8217;s not needed, really, but hey! It really looks cool, and is very tidy and professional, and ZIF sockets are just sweet! For your target board needs, though, I would like to refer you <a href="http://www.evilstar.net/2009/05/05/how-to-wire-avr-microcontroller-target-boards/" target="_blank">to this article</a> I wrote not too long ago. They work nicely for me. And at about two bucks per, very inexpensive! I&#8217;ve labeled and attached all of my target boards inside small tins for tidiness, and longevities sake.</p>
<p>So, there you are! You now have what you need to start throwing code on AVR microcontrollers, on the cheap.</p>
<p>PS. Here&#8217;s something to get you started on using GCC for AVR&#8217;s. You&#8217;ll need it! <a href="http://www.nongnu.org/avr-libc/" target="_blank">GCC Tutorial for AVR</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.evilstar.net/2009/05/23/my-diy-home-avr-programming-studio/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
