<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>meowww</title>
	<atom:link href="http://xmeowww.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://xmeowww.wordpress.com</link>
	<description>Electronics blog</description>
	<lastBuildDate>Fri, 29 May 2009 18:10:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='xmeowww.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/a4892307cf75674a50b499227884f29b?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>meowww</title>
		<link>http://xmeowww.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://xmeowww.wordpress.com/osd.xml" title="meowww" />
	<atom:link rel='hub' href='http://xmeowww.wordpress.com/?pushpress=hub'/>
		<item>
		<title>AVR microcontrollers</title>
		<link>http://xmeowww.wordpress.com/2009/05/29/avr-microcontrollers/</link>
		<comments>http://xmeowww.wordpress.com/2009/05/29/avr-microcontrollers/#comments</comments>
		<pubDate>Fri, 29 May 2009 16:07:58 +0000</pubDate>
		<dc:creator>meowww</dc:creator>
				<category><![CDATA[AVR]]></category>
		<category><![CDATA[bsd]]></category>
		<category><![CDATA[USBasp]]></category>

		<guid isPermaLink="false">http://xmeowww.wordpress.com/2009/05/29/avr-microcontrollers/</guid>
		<description><![CDATA[On this blog, I will be posting some easy DIY circuits, both analog electronics and microcontroller projects. The microcontrollers I will be using are the AVR series of microcontrollers. The advantage with these microcontrollers is that they are very easy to program. If you have a parallel port in your computer, you can program a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xmeowww.wordpress.com&amp;blog=7952420&amp;post=3&amp;subd=xmeowww&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://1.bp.blogspot.com/_bxe4DOvsKOU/Sh_tJxrEwfI/AAAAAAAAAU8/g-ANuiDcnLg/s1600-h/avrs.jpeg"><img style="display:block;text-align:center;cursor:hand;width:320px;height:281px;margin:0 auto 10px;" src="http://1.bp.blogspot.com/_bxe4DOvsKOU/Sh_tJxrEwfI/AAAAAAAAAU8/g-ANuiDcnLg/s320/avrs.jpeg" border="0" alt="" /></a></p>
<div>On this blog, I will be posting some easy DIY circuits, both analog electronics and microcontroller projects. The microcontrollers I will be using are the AVR series of microcontrollers. The advantage with these microcontrollers is that they are very easy to program. If you have a parallel port in your computer, you can program a basic AVR with just 4 resistors and some wires. Also AVRs come with lots of features on-chip (UART, ADC, SPI, I<sup>2</sup>c..etc). So one chip like an ATMega16/32 can be used to learn  each an every aforementioned features. In this post I will be talking about the various ways in which one can program an AVR.</div>
<div><span style="color:#330033;"><span style="color:#000000;"><strong>HARDWARE:</strong></span></span></div>
<div>The most basic way is to use a BSD programmer. One can find how to construct the programmer <a href="http://www.bsdhome.com/avrdude/">HERE</a> . Its a basic programmer and needs 5 wires. You can add 4 resistors (4.7KΩ) in between the parallel port and the microcontroller pins thus ensuring no damage to the parallel port due to shorting of the data pins.</div>
<div>If one doesn&#8217;t have a parallel port a USB based programmer can be made. The one I prefer is the USBasp. One can get the schematic and the PCB layout on the USBasp site <a href="http://www.fischl.de/usbasp/">HERE</a> . In this case however ATmega8 is needed in the programmer circuit. The ATmega8 should be programmed with the firmware provided. If you dont have a parallel port, get it programmed from a friend. On the USBasp website, I prefer the one schematic by <span style="font-family:Helvetica;"><span style="font-size:medium;">J.A. de Groot</span></span><span style="font-family:Helvetica;font-size:13px;">.</span></div>
<div>The layout is provided, just etch it and solder the components and its ready to use.</div>
<div><strong>SOFTWARE:</strong></div>
<div>To program the microcontrollers a software is needed, I basically use AVRdude. It is a command line utility and simple to use. AVRdude-GUI is also available, but needs AVRdude to be installed first. To install AVRdude download <a href="http://winavr.sourceforge.net/download.html">WinAVR</a> and install it, recent version of AVRdude will be included in it. AVRdude-GUI can be downloaded from <a href="http://sourceforge.net/projects/avrdude-gui/">HERE</a> . Using the program is pretty simple. More on it in next posts.</div>
<div><span style="font-family:Helvetica;font-size:13px;"> </span></div>
<div><span style="font-family:Helvetica;font-size:100%;"><span style="font-size:13px;"><br />
</span></span></div>
<br /> Tagged: AVR, bsd, USBasp <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/xmeowww.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/xmeowww.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/xmeowww.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/xmeowww.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/xmeowww.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/xmeowww.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/xmeowww.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/xmeowww.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/xmeowww.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/xmeowww.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/xmeowww.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/xmeowww.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/xmeowww.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/xmeowww.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xmeowww.wordpress.com&amp;blog=7952420&amp;post=3&amp;subd=xmeowww&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://xmeowww.wordpress.com/2009/05/29/avr-microcontrollers/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/42f096832d1fe89bb89e76ffd14e038b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">meowww</media:title>
		</media:content>

		<media:content url="http://1.bp.blogspot.com/_bxe4DOvsKOU/Sh_tJxrEwfI/AAAAAAAAAU8/g-ANuiDcnLg/s320/avrs.jpeg" medium="image" />
	</item>
	</channel>
</rss>
