<?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 Target Boards</title>
	<atom:link href="http://www.evilstar.net/tag/avr-target-boards/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>
		<item>
		<title>How To Wire AVR Microcontroller Target Boards</title>
		<link>http://www.evilstar.net/2009/05/05/how-to-wire-avr-microcontroller-target-boards/</link>
		<comments>http://www.evilstar.net/2009/05/05/how-to-wire-avr-microcontroller-target-boards/#comments</comments>
		<pubDate>Tue, 05 May 2009 07:07:00 +0000</pubDate>
		<dc:creator>Christopher</dc:creator>
				<category><![CDATA[Do it Yourself]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[AVR]]></category>
		<category><![CDATA[AVR Microcontrollers]]></category>
		<category><![CDATA[AVR Target Boards]]></category>

		<guid isPermaLink="false">http://www.evilstar.net/?p=40</guid>
		<description><![CDATA[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&#8217;s USBtinyISP kit, and it was easily the best choice for me. Then, I installed a bit of software, but then the [...]]]></description>
			<content:encoded><![CDATA[<p>Good day!</p>
<div id="attachment_41" class="wp-caption alignright" style="width: 160px"><a href="http://www.evilstar.net/wp-content/uploads/2009/05/img_1733.jpg"><img class="size-thumbnail wp-image-41" title="ATtiny2313 Target Board" src="http://www.evilstar.net/wp-content/uploads/2009/05/img_1733-150x150.jpg" alt="AVR Target Board" width="150" height="150" /></a><p class="wp-caption-text">AVR Target Board</p></div>
<p>I recently outgrew my still-loved <a href="http://arduino.cc" target="_blank">Arduino</a>, 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&#8217;s <a href="http://www.adafruit.com/index.php?main_page=product_info&amp;cPath=16&amp;products_id=46" target="_blank">USBtinyISP kit</a>, 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, &#8217;cause you are playing with microcontrollers..</p>
<p><strong>Parts!</strong> You need a <strong>2 row, 6 pin connector</strong>. <em>(Mouser Part #<span id="ctl00_ContentMain_bc_rptrBreadcrumbs_ctl03_lblBreadcrumb" style="font-size: 10pt; font-weight: bold;">M22-2580305</span>), </em>a suitable piece of plain old <strong>protoboard</strong>, some <strong>thin gauge wire</strong>, and a <strong>IC header</strong> to fit the microcontroller you wish to use. And for God&#8217;s sake, use a marker to indicate which way is up for your chip!</p>
<p><span id="more-40"></span>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 <em>ISP programmer, </em>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&#8217;re on <a href="http://www.atmel.com/" target="_blank">Atmel&#8217;s website</a>. For our purposes, we&#8217;ll be using the popular ATtiny2313 microcontroller. To cut things short, have a look at the clip from the white pages for this chip.</p>
<div id="attachment_42" class="wp-caption aligncenter" style="width: 540px"><a href="http://www.evilstar.net/wp-content/uploads/2009/05/attiny2313isp.jpg"><img class="size-full wp-image-42" title="attiny2313isp" src="http://www.evilstar.net/wp-content/uploads/2009/05/attiny2313isp.jpg" alt="ATtiny2313 layout" width="530" height="291" /></a><p class="wp-caption-text">ATtiny2313 layout</p></div>
<p>See those six items in red? They&#8217;re highlighted for a purpose. It&#8217;s because they correspond to the six pins in your 6-pin connector!  Now,  it&#8217;s  just  a matter of soldering your wire up to make a connection between the proper pins on both the header and connector. Here&#8217;s a little cheat sheet for what goes where on the connector:</p>
<div id="attachment_43" class="wp-caption aligncenter" style="width: 137px"><a href="http://www.evilstar.net/wp-content/uploads/2009/05/6and10pinstd.jpg"><img class="size-full wp-image-43" title="6Pin" src="http://www.evilstar.net/wp-content/uploads/2009/05/6and10pinstd.jpg" alt="6 Pin ISP connector" width="127" height="96" /></a><p class="wp-caption-text">6 Pin ISP connector</p></div>
<p>So, just clip some wire, and make your connections. <em>Use a marker to remember which pin is #1! </em>This will save you a lot of headache later.</p>
<p>Finally! One more step. Take a little more wire, and connect it in series with the <em>Ground </em>and <em>VCC </em>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&#8217;ve attached clips to for easy moving between target boards. And for crying out loud, use different colored wires, so you don&#8217;t mix things up.</p>
<p>From here, you&#8217;re all ready to go. I don&#8217;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.</p>
<p>Have fun!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.evilstar.net/2009/05/05/how-to-wire-avr-microcontroller-target-boards/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
	</channel>
</rss>
