<?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>Hack a Day &#187; Atmel</title>
	<atom:link href="http://hackaday.com/tag/atmel/feed/" rel="self" type="application/rss+xml" />
	<link>http://hackaday.com</link>
	<description>Fresh hacks every day</description>
	<lastBuildDate>Fri, 10 Feb 2012 11:18:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='hackaday.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/5560f98f805877b0e332f191cb9e0af3?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Hack a Day &#187; Atmel</title>
		<link>http://hackaday.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://hackaday.com/osd.xml" title="Hack a Day" />
	<atom:link rel='hub' href='http://hackaday.com/?pushpress=hub'/>
		<item>
		<title>Half Keyboard, Half Guitar, Totally Radical, the Tabstrummer!</title>
		<link>http://hackaday.com/2011/12/13/half-keyboard-half-guitar-totally-radical-the-tabstrummer/</link>
		<comments>http://hackaday.com/2011/12/13/half-keyboard-half-guitar-totally-radical-the-tabstrummer/#comments</comments>
		<pubDate>Tue, 13 Dec 2011 13:01:42 +0000</pubDate>
		<dc:creator>Jeremy Cook</dc:creator>
				<category><![CDATA[musical hacks]]></category>
		<category><![CDATA[Atmel]]></category>
		<category><![CDATA[guitar]]></category>
		<category><![CDATA[midi]]></category>
		<category><![CDATA[tabstrummer]]></category>

		<guid isPermaLink="false">http://hackaday.com/?p=63215</guid>
		<description><![CDATA[While tablature-based music probably annoys &#8220;properly&#8221; trained musicians to no end, it has given many musicians and musical-hobbyists their first introduction to the world of guitar. The [Tabstrummer] takes this to a whole new level, allowing chords to be programmed into this instrument and played back. Once pre-programmed chord is set, the &#8220;conductor-strings&#8221; are strummed [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=63215&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://hackaday.com/2011/12/13/half-keyboard-half-guitar-totally-radical-the-tabstrummer/tabstrummer/" rel="attachment wp-att-63216"><img class="aligncenter size-large wp-image-63216" title="tabstrummer" src="http://hackadaycom.files.wordpress.com/2011/12/tabstrummer.jpg?w=450&#038;h=255" alt="" width="450" height="255" /></a></p>
<p>While tablature-based music probably annoys &#8220;properly&#8221; trained musicians to no end, it has given many musicians and musical-hobbyists their first introduction to the world of guitar. The <a title="Tabstrummer" href="http://www.tabstrummer.com/Tabstrummer.php">[Tabstrummer]</a> takes this to a whole new level, allowing chords to be programmed into this instrument and played back. Once pre-programmed chord is set, the &#8220;conductor-strings&#8221; are strummed to allow the chord to play.</p>
<p>This device is based around an Atmel microcontroller and features a MIDI output as well as an audio-out jack. Besides the interesting electrical hardware, the housing seems to be quite well-built featuring what appears to be an acrylic or polycarbonate body. Although not quite the same thing, possibly some influence was gained from the <a href="http://en.wikipedia.org/wiki/Keytar">[Keytar]</a>. It&#8217;s heyday may be past, but not forgotten.</p>
<p>Check out the video below for a Christmas-themed jam played on the [Tabstrummer] or check out their <a title="Tabstrummer videos" href="http://www.tabstrummer.com/Tips.html">video page</a> for several more songs. This &#8220;hack&#8221; is being considered as a commercial product, so the inventors would love to hear your feedback!<span id="more-63215"></span></p>
<span style="text-align:center; display: block;"><a href="http://hackaday.com/2011/12/13/half-keyboard-half-guitar-totally-radical-the-tabstrummer/"><img src="http://img.youtube.com/vi/C9TRn546YfA/2.jpg" alt="" /></a></span>
<br />Filed under: <a href='http://hackaday.com/category/musical-hacks/'>musical hacks</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/63215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/63215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/63215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/63215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/63215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/63215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/63215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/63215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/63215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/63215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/63215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/63215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/63215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/63215/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=63215&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2011/12/13/half-keyboard-half-guitar-totally-radical-the-tabstrummer/feed/</wfw:commentRss>
		<slash:comments>26</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">jeremyscook</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2011/12/tabstrummer.jpg?w=450" medium="image">
			<media:title type="html">tabstrummer</media:title>
		</media:content>
	</item>
		<item>
		<title>Regarding Atmel&#8217;s  Xmega chips</title>
		<link>http://hackaday.com/2011/07/26/regarding-atmels-xmega-chips/</link>
		<comments>http://hackaday.com/2011/07/26/regarding-atmels-xmega-chips/#comments</comments>
		<pubDate>Tue, 26 Jul 2011 10:59:13 +0000</pubDate>
		<dc:creator>Mike Szczys</dc:creator>
				<category><![CDATA[Microcontrollers]]></category>
		<category><![CDATA[Atmel]]></category>
		<category><![CDATA[xmega]]></category>
		<category><![CDATA[xmega128a1]]></category>

		<guid isPermaLink="false">http://hackaday.com/?p=50218</guid>
		<description><![CDATA[A few years back Atmel announced a new line of chips, the XMega series. We see the name bouncing around here and there, but when [Michael Kleinigger] mentioned that he&#8217;s seen very few project using these chips we realized that not only is he right, but we know next to nothing about them. Just give his [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=50218&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-50219" title="avr-xmega" src="http://hackadaycom.files.wordpress.com/2011/07/avr-xmega-e1311628175595.jpg" alt="" width="470" height="332" /></p>
<p>A few years back Atmel announced a new line of chips, the XMega series. We see the name bouncing around here and there, but when [Michael Kleinigger] mentioned that he&#8217;s seen very few project using these chips we realized that not only is he right, but we know next to nothing about them. Just <a href="http://grieg.gotdns.com/blog/?p=545">give his XMega review post a whirl</a> and you&#8217;ll be up to speed in no time.</p>
<p>He compares an XMega128A1 side-by-side with an ATmega1280. For those that abhor reading paragraphs full of words, there&#8217;s a table that can give you the quick facts like how the XMega costs less and runs faster. But we know from past discussions (like <a href="http://hackaday.com/2010/09/21/discussing-pulse-width-modulation/">the one on PWM</a>) that [Mike] knows his stuff so the whole thing&#8217;s worth a read. He&#8217;ll lead you through the programming tool chain (which hasn&#8217;t changed), a bit about the new event system, and then finish with a demo program on the Xplained development board.</p>
<br />Filed under: <a href='http://hackaday.com/category/microcontrollers/'>Microcontrollers</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/50218/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/50218/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/50218/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/50218/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/50218/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/50218/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/50218/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/50218/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/50218/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/50218/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/50218/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/50218/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/50218/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/50218/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=50218&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2011/07/26/regarding-atmels-xmega-chips/feed/</wfw:commentRss>
		<slash:comments>33</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Mike Szczys</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2011/07/avr-xmega-e1311628175595.jpg" medium="image">
			<media:title type="html">avr-xmega</media:title>
		</media:content>
	</item>
		<item>
		<title>$14 swarm robot, kilobot, is extremely cool</title>
		<link>http://hackaday.com/2011/06/10/14-swarm-robot-kilobot-is-extremely-cool/</link>
		<comments>http://hackaday.com/2011/06/10/14-swarm-robot-kilobot-is-extremely-cool/#comments</comments>
		<pubDate>Fri, 10 Jun 2011 12:07:20 +0000</pubDate>
		<dc:creator>Gerrit Coetzee</dc:creator>
				<category><![CDATA[robots hacks]]></category>
		<category><![CDATA[atmega328]]></category>
		<category><![CDATA[Atmel]]></category>
		<category><![CDATA[bristle]]></category>
		<category><![CDATA[bristlebot]]></category>
		<category><![CDATA[harvard]]></category>
		<category><![CDATA[robot]]></category>
		<category><![CDATA[swarm]]></category>

		<guid isPermaLink="false">http://hackaday.com/?p=45423</guid>
		<description><![CDATA[Reader, [Michael Rubenstein], sent in a project he&#8217;s been working on. Kilobot, as stated in the paper(pdf), overcomes the big problems with real world swarm robotics simulations; cost, experiment setup time, and maintenance. The robot can be communicated with wirelessly, charged in bulk, and mass programmed in under a minute. Typically, robots used for swarm research [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=45423&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://hackaday.com/2011/06/10/14-swarm-robot-kilobot-is-extremely-cool/kilobot/" rel="attachment wp-att-45425"><img class="alignnone size-full wp-image-45425" title="kilobot" src="http://hackadaycom.files.wordpress.com/2011/06/kilobot.jpg" alt="" width="471" height="224" /></a></p>
<p>Reader, [Michael Rubenstein], sent in a<a href="http://www.eecs.harvard.edu/ssr/projects/progSA/kilobot.html"> project he&#8217;s been working on</a>. Kilobot, as stated in the <a href="ftp://ftp.deas.harvard.edu/techreports/tr-06-11.pdf">paper</a>(pdf), overcomes the big problems with real world swarm robotics simulations; cost, experiment setup time, and maintenance. The robot can be communicated with wirelessly, charged in bulk, and mass programmed in under a minute. Typically, robots used for swarm research cost over a $100, so large scale experiments are left to software simulation. These, however, rarely include the real world physics, sensor error, and other modifying factors that only arise in a physical robot.  Impressively enough, the kilobot comes in far under a hundred and still has many of the features of its costlier brothers. It can sense other robots, report its status, and has full differential steer (achieved, surprisingly, through<a href="http://hackaday.com/?s=bristlebot"> bristle locomotion</a>). There are a few cool videos of the robot in operation on the project site that are definitely worth a look.</p>
<br />Filed under: <a href='http://hackaday.com/category/robots-hacks/'>robots hacks</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/45423/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/45423/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/45423/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/45423/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/45423/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/45423/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/45423/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/45423/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/45423/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/45423/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/45423/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/45423/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/45423/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/45423/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=45423&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2011/06/10/14-swarm-robot-kilobot-is-extremely-cool/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Gerrit Coetzee</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2011/06/kilobot.jpg" medium="image">
			<media:title type="html">kilobot</media:title>
		</media:content>
	</item>
		<item>
		<title>Small POV device shows off some big features</title>
		<link>http://hackaday.com/2011/04/26/small-pov-device-shows-off-some-big-features/</link>
		<comments>http://hackaday.com/2011/04/26/small-pov-device-shows-off-some-big-features/#comments</comments>
		<pubDate>Tue, 26 Apr 2011 17:01:05 +0000</pubDate>
		<dc:creator>Mike Szczys</dc:creator>
				<category><![CDATA[led hacks]]></category>
		<category><![CDATA[accelerometer]]></category>
		<category><![CDATA[atmega48]]></category>
		<category><![CDATA[Atmel]]></category>
		<category><![CDATA[freescale]]></category>
		<category><![CDATA[mma7660]]></category>
		<category><![CDATA[POV]]></category>

		<guid isPermaLink="false">http://hackaday.com/?p=41480</guid>
		<description><![CDATA[We&#8217;ve already added the components needed to build [Rucalgary's] tiny POV device to our next parts order. The little device sets a new standard for tiny persistence of vision boards. Instead of relying on the user to find the best speed and timing for swinging the board around, [Rucalgary] used an accelerometer. This is the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=41480&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-41481" title="small-pov-with-big-features" src="http://hackadaycom.files.wordpress.com/2011/04/small-pov-with-big-features-e1303833661260.jpg" alt="" width="470" height="353" /></p>
<p>We&#8217;ve already added the components needed to build [Rucalgary's] <a href="http://rucalgary.hackhut.com/2011/04/26/upov-with-better-firmware-pics-video-and-source/">tiny POV device</a> to our next parts order. The little device sets a new standard for tiny persistence of vision boards. Instead of relying on the user to find the best speed and timing for swinging the board around, [Rucalgary] used an accelerometer. This is the point at which we&#8217;d usually groan because of the cost of accelerometers. We&#8217;re still groaning but this time it&#8217;s for a different reason.</p>
<p>The accelerometer used here is a Freescale MMA7660. It&#8217;s an i2c device at a super low cost of less than $1.50. The reason we&#8217;re still groaning is that it comes in a DFN-10 package that is a bit harder to solder than SOIC, but if you&#8217;ve got patience and a good iron it can be done. An ATmega48 drives the device, with 8 LEDs and one button for input. On the back of the board there&#8217;s a holder for a CR2032 coin cell battery and a female SIL pin header for programming the device.</p>
<p>Check out the video demonstration embedded after the break. We love it that the message spells and aligns correct no matter which way the little board is waved.</p>
<p><span id="more-41480"></span></p>
<span style="text-align:center; display: block;"><a href="http://hackaday.com/2011/04/26/small-pov-device-shows-off-some-big-features/"><img src="http://img.youtube.com/vi/FDQs6d8fqks/2.jpg" alt="" /></a></span>
<p>[Thanks Paul]</p>
<br />Filed under: <a href='http://hackaday.com/category/led-hacks/'>led hacks</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/41480/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/41480/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/41480/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/41480/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/41480/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/41480/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/41480/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/41480/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/41480/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/41480/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/41480/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/41480/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/41480/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/41480/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=41480&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2011/04/26/small-pov-device-shows-off-some-big-features/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Mike Szczys</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2011/04/small-pov-with-big-features-e1303833661260.jpg" medium="image">
			<media:title type="html">small-pov-with-big-features</media:title>
		</media:content>
	</item>
		<item>
		<title>Webcam images processed and played back on LED display</title>
		<link>http://hackaday.com/2011/04/10/webcam-images-processed-and-played-back-on-led-display/</link>
		<comments>http://hackaday.com/2011/04/10/webcam-images-processed-and-played-back-on-led-display/#comments</comments>
		<pubDate>Sun, 10 Apr 2011 13:27:02 +0000</pubDate>
		<dc:creator>Mike Szczys</dc:creator>
				<category><![CDATA[led hacks]]></category>
		<category><![CDATA[Atmel]]></category>
		<category><![CDATA[fpslic]]></category>
		<category><![CDATA[led]]></category>
		<category><![CDATA[matlab]]></category>
		<category><![CDATA[matrix]]></category>

		<guid isPermaLink="false">http://hackaday.com/?p=39781</guid>
		<description><![CDATA[[Mathieu] has bee working to refine the code running on an LED matrix, and added some neat display tricks along the way. He wanted to make the display directly addressable from a computer. The 96&#215;64 bi-color LED display is powered by an Atmel FPSLIC and already used double-buffering. Enabling a PC to write directly to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=39781&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-39782" title="webcam-displayed-on-led-matrix" src="http://hackadaycom.files.wordpress.com/2011/04/webcam-displayed-on-led-matrix-e1302290512180.jpg" alt="" width="470" height="308" /></p>
<p>[Mathieu] has bee working to refine the code running on an LED matrix, and <a href="http://www.limpkin.fr/index.php?post/2011/04/07/Electronic-projects-and-matlab">added some neat display tricks along the way</a>. He wanted to make the display directly addressable from a computer. The <a href="http://hackaday.com/2010/08/19/fpslic-powered-led-matrix/">96&#215;64 bi-color LED display</a> is powered by an Atmel FPSLIC and already used double-buffering. Enabling a PC to write directly to one of the buffers was not too hard, requiring just a bit of optimization to get the timing right. From the look of the video after the break, he nailed it.</p>
<p>The video feed is generated from a webcam stream using Matlab to process each image. Just 50 lines of code captures a frame, sizes it appropriately, converts the result to black and white for edge detection, then finishes the job by compressing image data for transmission to the embedded processor. We&#8217;d like to say it&#8217;s easier that it sounds but we&#8217;re pretty impressed with this work. The display manages about 42 Hz with the current setup.</p>
<p><span id="more-39781"></span><span style="text-align:center; display: block;"><a href="http://hackaday.com/2011/04/10/webcam-images-processed-and-played-back-on-led-display/"><img src="http://img.youtube.com/vi/ILnxZHLTEpE/2.jpg" alt="" /></a></span></p>
<br />Filed under: <a href='http://hackaday.com/category/led-hacks/'>led hacks</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/39781/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/39781/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/39781/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/39781/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/39781/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/39781/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/39781/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/39781/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/39781/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/39781/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/39781/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/39781/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/39781/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/39781/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=39781&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2011/04/10/webcam-images-processed-and-played-back-on-led-display/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Mike Szczys</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2011/04/webcam-displayed-on-led-matrix-e1302290512180.jpg" medium="image">
			<media:title type="html">webcam-displayed-on-led-matrix</media:title>
		</media:content>
	</item>
		<item>
		<title>Racking up miles on a bicycle odometer</title>
		<link>http://hackaday.com/2011/02/25/racking-up-miles-on-bicycle-odometer/</link>
		<comments>http://hackaday.com/2011/02/25/racking-up-miles-on-bicycle-odometer/#comments</comments>
		<pubDate>Fri, 25 Feb 2011 15:01:34 +0000</pubDate>
		<dc:creator>Noah Dunker</dc:creator>
				<category><![CDATA[hardware]]></category>
		<category><![CDATA[Microcontrollers]]></category>
		<category><![CDATA[transportation hacks]]></category>
		<category><![CDATA[atmega1248]]></category>
		<category><![CDATA[Atmel]]></category>
		<category><![CDATA[bicycle]]></category>
		<category><![CDATA[odometer]]></category>

		<guid isPermaLink="false">http://hackaday.com/?p=35819</guid>
		<description><![CDATA[[jonh] religiously tracks the miles he rides on his bicycle. When his odometer&#8217;s battery started getting low, he wanted a way to run the miles up to where they were before, since replacing the battery resets everything to zero. [jonh] used an Atmel microcontroller to run up the miles on his bike computer so he [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=35819&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-35820" title="cateyecomp" src="http://hackadaycom.files.wordpress.com/2011/02/cateyecomp.jpg" alt="" width="470" height="313" /></p>
<p>[jonh] religiously tracks the miles he rides on his bicycle. When his odometer&#8217;s battery started getting low, he wanted a way to run the miles up to where they were before, since replacing the battery resets everything to zero. [jonh] used an Atmel microcontroller to <a href="http://www.jonh.net/~jonh/bike_computer_frob/">run up the miles on his bike computer</a> so he could pick right back up where he left off. There is definitely a <em>Ferris Bueller&#8217;s Day Off</em> joke in here somewhere.</p>
<p>The bike computer itself is designed to plug into a base that connects to a magnet-triggered reed relay. It uses a wheel-mounted magnet to count the number of revolutions made and thus the distance traveled. [jonh] hooked up a simple microcontroller-driven circuit to these connectors to trick the bike computer into thinking it was moving, and moving fast! Since he knew the number of miles he wanted to sandbag onto the odometer, he was able to program it to run up the proper amount of miles and then stop. There&#8217;s no source code listing for the project, but this shouldn&#8217;t be too hard to reproduce. He provides a pencil-drawn schematic for the connection to the cyclometer from the microcontroller.  At the end, there&#8217;s also some sage advice for those of you who are interested in building a decent hardware hacking lab on the cheap.</p>
<br />Filed under: <a href='http://hackaday.com/category/hardware/'>hardware</a>, <a href='http://hackaday.com/category/microcontrollers/'>Microcontrollers</a>, <a href='http://hackaday.com/category/transportation-hacks/'>transportation hacks</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/35819/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/35819/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/35819/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/35819/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/35819/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/35819/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/35819/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/35819/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/35819/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/35819/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/35819/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/35819/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/35819/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/35819/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=35819&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2011/02/25/racking-up-miles-on-bicycle-odometer/feed/</wfw:commentRss>
		<slash:comments>26</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">entity79</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2011/02/cateyecomp.jpg" medium="image">
			<media:title type="html">cateyecomp</media:title>
		</media:content>
	</item>
		<item>
		<title>What Development Board to Use?</title>
		<link>http://hackaday.com/2011/02/01/what-development-board-to-use/</link>
		<comments>http://hackaday.com/2011/02/01/what-development-board-to-use/#comments</comments>
		<pubDate>Tue, 01 Feb 2011 16:30:16 +0000</pubDate>
		<dc:creator>James Munns</dc:creator>
				<category><![CDATA[parts]]></category>
		<category><![CDATA[Atmel]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[microcontroller]]></category>
		<category><![CDATA[proto]]></category>
		<category><![CDATA[STMicro]]></category>
		<category><![CDATA[ti]]></category>

		<guid isPermaLink="false">http://hackaday.com/?p=33875</guid>
		<description><![CDATA[Here at Hackaday, we see microcontroller based projects in all states of completion. Sometimes it makes the most sense to design systems from the ground up, and other times when simplicity or a quick project completion is desired, pre-built system boards are a better choice. We have compiled a list of boards that we commonly [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=33875&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-33891" title="Title" src="http://hackadaycom.files.wordpress.com/2011/02/title.jpg" alt="" width="470" height="276" /></p>
<p>Here at Hackaday, we see microcontroller based projects in all states of completion. Sometimes it makes the most sense to design systems from the ground up, and other times when simplicity or a quick project completion is desired, pre-built system boards are a better choice. We have compiled a list of boards that we commonly see in your submitted projects, split up by price range and with a little detail for reference.</p>
<p>After reading our list, sound off in the comments or on <a href="http://forums.hackaday.com/viewtopic.php?f=2&amp;t=142">this forum post</a>, and we may include your board in a follow-up guide at a later date. We will also be giving away 10 Hackaday stickers to the most insightful, the most original, and most useful advice given on the forum, so if you haven&#8217;t registered yet, now would be a perfect time. Winners of the sticker giveaway will be selected from the forum thread, and the final decision for prizes will be judged by the wit and whim of the Hackaday writing team. More prize details to follow in the thread. Read on for our guide based on past project submissions.</p>
<p><span id="more-33875"></span></p>
<p><img class="alignnone size-full wp-image-33880" title="Launchpad" src="http://hackadaycom.files.wordpress.com/2011/02/launchpad.jpg" alt="" width="470" height="100" /><br />
<img class="alignnone size-full wp-image-33881" title="STM32VLDISCOVERY" src="http://hackadaycom.files.wordpress.com/2011/02/stm32vldiscovery.jpg" alt="" width="470" height="100" /><br />
<img class="alignnone size-full wp-image-33882" title="arduino-diecimila" src="http://hackadaycom.files.wordpress.com/2011/02/arduino-diecimila.jpg" alt="" width="470" height="100" /><br />
<strong>The Cheap ($0-$50):</strong></p>
<p>When it comes to cheap boards, users can expect a simple breakout board, usually with some debugging facilities and minimal extra components. These boards tend to be aimed at hobbyists and the education crowd rather than companies who can afford full featured development setups for their engineers. Unfortunately, boards that come directly from manufacturers tend to have locked down or overly simplified IDEs or debugging software, though low price points often inspire the open source communities to write their own to take advantage of all the features.</p>
<ul>
<li><em><strong>TI&#8217;s MSP430 Launchpad</strong>:</em> Coming in at $4.30, <a href="http://hackaday.com/2010/06/22/ti-makes-a-big-bid-for-the-hobby-market/">TI&#8217;s Launchpad</a> board is definitely a bargain. For your money, you get a set of 16-bit MSP430 processors, a mini-USB debugger and programming interface, and a set of Windows IDEs to choose from. Not much more to write home about, but we have featured a number of projects with this family of microcontrollers running the show.</li>
<li><strong><em>STMicroelectronic&#8217;s Discovery: </em></strong>Costing you a paltry $11.85, This 32-bit ARM processor may be one of the best performance to cost values. Similar to the Launchpad, the <a href="http://hackaday.com/2010/10/12/arm-prototyping-on-the-cheap-with-stm32-discovery/">Discovery</a> has a mini-USB interface, a breakaway programmer and debugger, and a few locked down IDEs to select. For students or professionals looking for experience with the ARM architecture, this Cortex-M3 based system would be a great place to start.</li>
<li><strong><em>The Arduino Family:</em></strong> Needing no introduction, these 8-bit AVR based systems have been displayed by us numerous times. Due to an open source hardware and software design, these boards are available for as low as $20 or so for <a href="http://hackaday.com/2011/01/19/arduino-the-documentary/">Arduino</a> Compatable clones, or any price range up depending on included peripherals. Because of the simple IDE and coding environment familiar to anyone familiar with C, C++, or Java, the Arduino is a common choice for beginners, non-engineering types, and professionals alike.</li>
</ul>
<p><img class="alignnone size-full wp-image-33885" title="ArduinoMega" src="http://hackadaycom.files.wordpress.com/2011/02/arduinomega.jpg" alt="" width="470" height="100" /><br />
<img class="alignnone size-full wp-image-33886" title="chumbyhandbig" src="http://hackadaycom.files.wordpress.com/2011/02/chumbyhandbig.jpg" alt="" width="470" height="100" /><br />
<img class="alignnone size-full wp-image-33887" title="ti_beagle_board_top2" src="http://hackadaycom.files.wordpress.com/2011/02/ti_beagle_board_top2.jpg" alt="" width="470" height="100" /><br />
<strong>Mid-Range Boards ($50-$150):</strong></p>
<p>For a little more money, more can be expected from a development board. Often featuring higher I/O pin counts, more complex interfaces such as host USB ports, Ethernet, or Video-Out, these boards are a great place for a little computational and functional muscle. However, with a higher cost, it is more difficult to just throw one of these boards at any one-off project. More costly boards are often supported better as well, because they are used by engineers who will decide on important purchasing decisions. This area is also a transition area from more hardy microcontroller type boards into the more powerful microprocessor type systems (such as shifting from the Cortex-M to the Cortex-A series of ARM processors).</p>
<ul>
<li><em><strong>The Arduino Mega: </strong></em>For all the same reasons as the original Arduino, the <a href="http://arduino.cc/en/Main/ArduinoBoardMega">Arduino Mega</a> has its place in a prototyping or development environment. For a bit more money than the original, extra code space, processing power, and I/O pins are gained, with the same comfortable, familiar, and similar development tools. The Arduino Mega runs at $65, which makes for a costly 8-bit system.</li>
<li><strong><em>The Chumby Hacking Board:</em></strong> An interesting example of a product going from production to prototyping as an afterthought, <a href="http://wiki.chumby.com/mediawiki/index.php/Chumby_hacker_board">this board</a> is based on the guts of the Chumby One, featuring a 32-bit Freescale i.MX ARM processor at 454 MHz. This system has video out, as well as a trio of USB ports for all the peripherals you can find or write your own drivers for. The Chumby Hacking board clocks in at a reasonable $90 or so, though supplies seem to be dwindling, so act fast if interested.</li>
<li><strong><em>The Original BeagleBoard:</em></strong> At the top of the price range, the <a href="http://beagleboard.org/hardware">BeagleBoard</a> (Revision C4) features a 600 MHz Cortex-A8 ARM processor capable of running a number of Linux systems, including Angstrom and Ubuntu. Designed to interface with cool toys like touchscreens, this board also features a powerful DSP chip for crunching numbers, as well as processing video and sound. For a newly discounted rate of $125, this compact powerhouse could be yours.</li>
</ul>
<p><img class="alignnone size-full wp-image-33888" title="xM" src="http://hackadaycom.files.wordpress.com/2011/02/xm.jpg" alt="" width="470" height="100" /><br />
<img class="alignnone size-full wp-image-33889" title="Panda" src="http://hackadaycom.files.wordpress.com/2011/02/panda.jpg" alt="" width="470" height="100" /></p>
<p><strong>The Upper Crust ($150+)</strong></p>
<p>At this price range, these boards often contain ARM processors from the Cortex-A series, and have more in common with high-end smartphones than the microcontrollers usually seen on Hackaday and in day-to-day life. Boards like these are a real investment, and often cost and perform similar to many older or low-end PCs and netbooks at a considerably more efficient performance to power use ratio in most cases. These boards tend to run Linux-based operating systems, including Android as well as others.</p>
<ul>
<li><strong><em>The BeagleBoard xM: </em></strong>Coming in at just around $150, this <a href="http://beagleboard.org/hardware-xM">big brother</a> to the first BeagleBoard adds parts such as onboard Ethernet, an additional 2 USB ports, and a bump to a 1 GHz processor. Although the MSRP is listed at $149, a high demand has pushed the cost well above that at places where stocks are even available. Because of a strong similarity to the original BeagleBoard, the existing community is strong, and full of examples and guides to get the board going</li>
<li><strong><em>The PandaBoard: </em></strong>With features as far away from an 8-bit microcontroller as imaginable, this board comes dressed <a href="http://pandaboard.org/">to the nines</a> featuring a dual-core 1 GHz processor capable of handling 1080P video stream. We realize this is probably out of the ballpark of just about any &#8220;hack&#8221; level project at $174, but we know there are some engineers out there very excited to see this.</li>
</ul>
<p><strong>In Summary:</strong></p>
<p>We know that brand and experience preference can be a strong motivator, so be productive with your advice and sound off in our forum with your picks for our follow-up post(s). We will do our best to wrap up all the information you provide into a more definitive, and hopefully even more informative guide for beginners and professionals alike.</p>
<br />Filed under: <a href='http://hackaday.com/category/parts/'>parts</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/33875/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/33875/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/33875/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/33875/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/33875/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/33875/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/33875/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/33875/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/33875/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/33875/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/33875/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/33875/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/33875/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/33875/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=33875&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2011/02/01/what-development-board-to-use/feed/</wfw:commentRss>
		<slash:comments>155</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">jahmez</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2011/02/title.jpg" medium="image">
			<media:title type="html">Title</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2011/02/launchpad.jpg" medium="image">
			<media:title type="html">Launchpad</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2011/02/stm32vldiscovery.jpg" medium="image">
			<media:title type="html">STM32VLDISCOVERY</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2011/02/arduino-diecimila.jpg" medium="image">
			<media:title type="html">arduino-diecimila</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2011/02/arduinomega.jpg" medium="image">
			<media:title type="html">ArduinoMega</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2011/02/chumbyhandbig.jpg" medium="image">
			<media:title type="html">chumbyhandbig</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2011/02/ti_beagle_board_top2.jpg" medium="image">
			<media:title type="html">ti_beagle_board_top2</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2011/02/xm.jpg" medium="image">
			<media:title type="html">xM</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2011/02/panda.jpg" medium="image">
			<media:title type="html">Panda</media:title>
		</media:content>
	</item>
		<item>
		<title>Roll the D&#8217;Icey</title>
		<link>http://hackaday.com/2011/01/24/roll-the-dicey/</link>
		<comments>http://hackaday.com/2011/01/24/roll-the-dicey/#comments</comments>
		<pubDate>Mon, 24 Jan 2011 17:50:44 +0000</pubDate>
		<dc:creator>James Munns</dc:creator>
				<category><![CDATA[toy hacks]]></category>
		<category><![CDATA[atmega]]></category>
		<category><![CDATA[Atmel]]></category>
		<category><![CDATA[dice]]></category>
		<category><![CDATA[die]]></category>
		<category><![CDATA[lock]]></category>
		<category><![CDATA[prize]]></category>
		<category><![CDATA[secret]]></category>

		<guid isPermaLink="false">http://hackaday.com/?p=33364</guid>
		<description><![CDATA[Most of the dice related hacks we run into have to do with pseudo random number generation, but today we saw something different. This sleek looking jumbo die is actually a prize holding box opened by a secret sequence of rotations. Using an accelerometer and an ATmega 328 with a sub-micro servo to control the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=33364&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-33365" title="D'Icey" src="http://hackadaycom.files.wordpress.com/2011/01/p1060233.jpg" alt="" width="470" height="353" /></p>
<p>Most of the dice related hacks we run into have to do with pseudo random number generation, but today we saw something different. This sleek looking <a title="Yes, die is the singular of Dice. We checked." href="http://deddieslab.blogspot.com/2011/01/secret-dicey.html">jumbo die</a> is actually a prize holding box opened by a secret sequence of rotations. Using an accelerometer and an ATmega 328 with a sub-micro servo to control the locking mechanism. Worried about the batteries going flat and losing your treasure indefinitely? Good news! The batteries are accessable without giving away the secret inside.</p>
<p>It also turns out that this is an update to an <a href="http://deddieslab.blogspot.com/2010/09/for-friends-wedding-we-had-to-find-way.html">earlier project</a> from the same laboratory, so be sure to check that out as well to see where this build came from. Code is available for anyone looking to make their own, as well as a useful parts list.</p>
<p>[via <a href="http://hackedgadgets.com/2011/01/22/hide-goodies-in-a-secret-dice-atmega88-microcontroller-based/">Hacked Gadgets</a>]</p>
<br />Filed under: <a href='http://hackaday.com/category/toy-hacks/'>toy hacks</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/33364/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/33364/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/33364/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/33364/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/33364/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/33364/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/33364/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/33364/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/33364/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/33364/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/33364/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/33364/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/33364/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/33364/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=33364&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2011/01/24/roll-the-dicey/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">jahmez</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2011/01/p1060233.jpg" medium="image">
			<media:title type="html">D&#039;Icey</media:title>
		</media:content>
	</item>
		<item>
		<title>External RAM for an ATmega128</title>
		<link>http://hackaday.com/2010/12/16/external-ram-for-an-atmega128/</link>
		<comments>http://hackaday.com/2010/12/16/external-ram-for-an-atmega128/#comments</comments>
		<pubDate>Thu, 16 Dec 2010 21:00:01 +0000</pubDate>
		<dc:creator>Mike Szczys</dc:creator>
				<category><![CDATA[Microcontrollers]]></category>
		<category><![CDATA[ATmega128]]></category>
		<category><![CDATA[Atmel]]></category>
		<category><![CDATA[AVR]]></category>
		<category><![CDATA[external]]></category>
		<category><![CDATA[ram]]></category>
		<category><![CDATA[sram]]></category>

		<guid isPermaLink="false">http://hackaday.com/?p=31748</guid>
		<description><![CDATA[Those who are familiar with Atmel&#8217;s line of 8-bit AVR microcontrollers should already know that some of them have support for external RAM. But have you ever actually used this feature? We haven&#8217;t. Now you can learn how it&#8217;s done by reading through this guide. It touches on all of the hardware, but doesn&#8217;t dwell [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=31748&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-31749" title="ATmega128_external_memory" src="http://hackadaycom.files.wordpress.com/2010/12/atmega128_external_memory-e1292519168227.jpg" alt="" width="470" height="352" /></p>
<p>Those who are familiar with Atmel&#8217;s line of 8-bit AVR microcontrollers should already know that some of them have support for external RAM. But have you ever actually used this feature? We haven&#8217;t. Now you can <a href="http://www.scienceprog.com/adding-external-memory-to-atmega128/">learn how it&#8217;s done by reading through this guide</a>. It touches on all of the hardware, but doesn&#8217;t dwell on it. Instead, you&#8217;ll get the background you need on how to write to, read from, and test an external module like the one sticking up in the image above. The test routine shows how to make sure everything&#8217;s working correctly with your memory mapping before you begin developing firmware around this increased capacity.</p>
<p>[Thanks Spman]</p>
<br />Filed under: <a href='http://hackaday.com/category/microcontrollers/'>Microcontrollers</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/31748/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/31748/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/31748/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/31748/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/31748/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/31748/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/31748/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/31748/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/31748/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/31748/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/31748/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/31748/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/31748/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/31748/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=31748&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2010/12/16/external-ram-for-an-atmega128/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Mike Szczys</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2010/12/atmega128_external_memory-e1292519168227.jpg" medium="image">
			<media:title type="html">ATmega128_external_memory</media:title>
		</media:content>
	</item>
		<item>
		<title>AVR Programming 02: The Hardware</title>
		<link>http://hackaday.com/2010/10/25/avr-programming-02-the-hardware/</link>
		<comments>http://hackaday.com/2010/10/25/avr-programming-02-the-hardware/#comments</comments>
		<pubDate>Mon, 25 Oct 2010 13:00:18 +0000</pubDate>
		<dc:creator>Mike Szczys</dc:creator>
				<category><![CDATA[how-to]]></category>
		<category><![CDATA[Microcontrollers]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[ATmega168]]></category>
		<category><![CDATA[Atmel]]></category>
		<category><![CDATA[AVR]]></category>
		<category><![CDATA[avr-gcc]]></category>
		<category><![CDATA[avrdude]]></category>
		<category><![CDATA[compiler]]></category>
		<category><![CDATA[dapa]]></category>
		<category><![CDATA[dragon]]></category>
		<category><![CDATA[programmer]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[stk500]]></category>
		<category><![CDATA[usbtinyisp]]></category>

		<guid isPermaLink="false">http://hackaday.com/?p=29425</guid>
		<description><![CDATA[You may be able to write the most eloquent code in the history of embedded systems but without a way to run it on the hardware it will be worthless. In this installment of the tutorial series we will: Look at some of the available AVR programmer options Place the microcontroller on a breadboard and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=29425&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-29579" title="avr-programming-for-everyone" src="http://hackadaycom.files.wordpress.com/2010/10/avr-programming-for-everyone.jpg" alt="" width="470" height="150" /></p>
<p>You may be able to write the most eloquent code in the history of embedded systems but without a way to run it on the hardware it will be worthless. In this installment of the tutorial series we will:</p>
<ul>
<li>Look at some of the available AVR programmer options</li>
<li>Place the microcontroller on a breadboard and connect it to a power supply and a programmer.</li>
<li>Use programming software to send some example code to the microcontroller</li>
</ul>
<p>If you missed <a href="http://hackaday.com/2010/10/23/avr-programming-introduction/">Part 1</a> take a few minutes to review that portion of the tutorial and then join us after the break.</p>
<p><strong>Series roadmap:</strong></p>
<ul>
<li><a title="Permanent Link to AVR Programming 01: Introduction" rel="bookmark" href="http://hackaday.com/2010/10/23/avr-programming-introduction/">AVR Programming 01: Introduction</a></li>
<li><a title="Permanent Link to AVR Programming 01: Introduction" rel="bookmark" href="http://hackaday.com/2010/10/23/avr-programming-introduction/"></a><a title="Permanent Link to AVR Programming 02: The Hardware" rel="bookmark" href="http://hackaday.com/2010/10/25/avr-programming-02-the-hardware/">AVR Programming 02: The Hardware</a></li>
<li><a title="Permanent Link to AVR Programming 02: The Hardware" rel="bookmark" href="http://hackaday.com/2010/10/25/avr-programming-02-the-hardware/"></a><a title="Permanent Link to AVR Programming 03: Reading and compiling code" rel="bookmark" href="http://hackaday.com/2010/11/05/avr-programming-03-reading-and-compiling-code/">AVR Programming 03: Reading and compiling code</a></li>
<li><a href="http://hackaday.com/2010/11/19/avr-programming-04-writing-code-etc/">AVR Programming 04: Writing code</a></li>
</ul>
<p><span id="more-29425"></span></p>
<h2>Programmers</h2>
<p>As I said before, if you want to get it on the chip you&#8217;ve got to have a programmer. There are a huge number of options, but I&#8217;ll cover a few of the easiest and least expensive. We are focusing on <a href="http://en.wikipedia.org/wiki/In-system_programming">In-System Programming</a> (ISP) which means that you can program the chip without removing it from the circuit.</p>
<p><strong>DAPA Cable</strong></p>
<p><strong><img class="alignnone size-full wp-image-29463" title="dapa-cable" src="http://hackadaycom.files.wordpress.com/2010/10/dapa-cable.jpg" alt="" width="470" height="249" /></strong></p>
<p>A Direct AVR Parallel Access, or DAPA cable, is an incredibly simple and cheap programming method. You can build one very quickly for a few bucks worth of parts, but the convenience comes with a few gotchas. The first is that you must have a parallel port on your computer; something that modern laptop and some modern desktops don&#8217;t have. But if you&#8217;ve got an old PC around that has one this will get you up and programming in no time.</p>
<p>In fact, the first AVR prototyping I did was with one of these cables. That is, until I discovered another gotcha. This will only program low-speed chips. If you try to run the chip&#8217;s clock at full speed (by changing fuse settings&#8230; more in Part 3) you won&#8217;t be able to use a DAPA cable to talk to it any longer. There&#8217;s also the possibility of damaging your parallel port or worse if you do something wrong. But if you want to go for it anyway, here&#8217;s how I built mine.</p>
<p><a href="http://hackadaycom.files.wordpress.com/2010/10/dapa-cable-construction.jpg"><img class="alignnone size-large wp-image-29581" title="dapa-cable-construction" src="http://hackadaycom.files.wordpress.com/2010/10/dapa-cable-construction.jpg?w=450&#038;h=159" alt="" width="450" height="159" /></a></p>
<p>It connects to a computer using a DB25 connector. As you can see in the schematic, I&#8217;ve used 1 kilo Ohm resistors on the Reset, SCK, MISO, and MOSI pins for current protection. I did not use a resistor on the ground pin. I used a piece of ribbon cable, soldering one end to each of the five signal lines shown in the schematic. On the other end of the ribbon cable I used a connector housing with six slots, filling one of them with a blank so that I could keep track of the signals. This is easy to plug into a pin header or connect to jumper wires as shown above. In retrospect it may have been a better choice to use a 2&#215;3 IDC connector and route the signals using the <a href="http://hackadaycom.files.wordpress.com/2010/10/avr-isp-header.jpg">AVR ISP standard</a> (from <a href="http://www.atmel.com/atmel/acrobat/doc0943.pdf">AVR: In-System Programming PDF</a>). If you go this route chances are you&#8217;ll upgrade before long so don&#8217;t agonize of the design details.</p>
<p><strong>Arduino</strong></p>
<p><strong><img class="alignnone size-full wp-image-29456" title="arduino" src="http://hackadaycom.files.wordpress.com/2010/10/arduino-e1287444768740.jpg" alt="" width="470" height="349" /><br />
</strong></p>
<p>I would be remiss to skip over using an Arduino as a programmer. They&#8217;re ubiquitous with the embedded systems crowd and if you don&#8217;t already own one, you can try to find someone to lend you theirs for a little while. All that is required is to write an AVR programmer sketch to the Arduino and make the programming connections. We&#8217;ll take a look at this method later in the post.</p>
<p><strong>USBtinyISP</strong></p>
<p><strong><img class="alignnone size-full wp-image-29457" title="USBtinyISP" src="http://hackadaycom.files.wordpress.com/2010/10/usbtinyisp-e1287444879969.jpg" alt="" width="470" height="353" /><br />
</strong></p>
<p>The <a href="http://www.ladyada.net/make/usbtinyisp/index.html">USBtinyISP</a> is an In-System-Programmer based around an ATtiny2313 that uses a USB connection (see where the name comes from?). It isn&#8217;t a bad choice for your first programmer. If you are confident in your skills you can build the circuit circuit yourself and use a DAPA cable to get the programming firmware onto the chip. Or you can just buy it from Adafruit Industries. But if you think you&#8217;re going to be serious about AVR development, you should consider shelling out the extra bucks for a professional programmer.</p>
<p><strong>Professional programmers</strong></p>
<p><strong><img class="alignnone size-full wp-image-29546" title="atmel-programmers" src="http://hackadaycom.files.wordpress.com/2010/10/atmel-programmers.jpg" alt="" width="470" height="165" /><br />
</strong></p>
<p>The Ateml programmers are the gold standard. They offer something that none of the other hardware we&#8217;ve covered has, the ability to recover a chip that you&#8217;ve messed up. If you want to use the reset pin as I/O, you will need to use High Voltage Parallel Programming to talk to your chip. Even if you don&#8217;t <em>decide</em> to do that, at some point you&#8217;re going to screw up and you&#8217;ll need to recover a process, which helps offset the extra cost of a professional programmer. It is possible to use an Arduino for High Voltage Parallel Programming to recover your AVR, <a href="http://hackaday.com/2009/03/13/avr-hv-rescue-shield/">but that&#8217;s another hack</a> in itself.</p>
<p>We use an <a href="http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3891">AVR Dragon</a> for pretty much everything. But <a href="http://www.atmel.com/dyn/products/tools_card.asp?tool_id=2735">the STK500</a> is a very popular board even though you need a serial port to use it. It has chip sockets, buttons, and LEDs for on-board prototyping. The Dragon leaves options open with unpopulated socket footprints, and it uses a USB connection.</p>
<p>If you&#8217;re in this for the long haul there&#8217;s no substitute for one of these choices.</p>
<p>We should at least mention <a href="http://www.atmel.com/dyn/Products/tools_card.asp?tool_id=3353">the MKII</a>, a programmer that offers ISP in the same way that the USBtinyISP does, but also provides JTAG, debug wire, and few others. We have no experience with this unit so you&#8217;ll have to do your own research if you&#8217;d like to know more. As for the other programmers out there, use Google or check the comments to this post as people usually don&#8217;t like to keep their preferred programmer choice a secret.</p>
<p><strong>Bootloader</strong></p>
<p>A bootloader is not really a programmer, but a way to get around using one. A bootloader is a set of code already on your microprocessor. It handles basic input and output neccessary to write your code into the chip&#8217;s memory. The bad news is that they do take up programming space, but you won&#8217;t have to buy a hardware programmer.</p>
<p>Programming a chip with a bootloader on it is beyond the scope of this tutorial. But it&#8217;s not hard to learn to do. In fact, this is how it is possible to program an Arduino without a separate hardware programmer.</p>
<h2>Setting up our test circuit</h2>
<p>Enough talk, let&#8217;s build something! We need four things: A microcontroller, something to power it, some way to program it, and something to show us it&#8217;s working.</p>
<p><strong>Hardware:</strong></p>
<ul>
<li>Solderless breadboard</li>
<li>Jumper wires</li>
<li>ATmega168 microcontroller</li>
<li>78L05 voltage regulator</li>
<li>100uf electrolytic capacitor</li>
<li>10uf electrolytic capacitor</li>
<li>LED</li>
<li>180 Ohm resistor (any resistor between 180 and 330 Ohms will work fine)</li>
<li>A programmer (we&#8217;ll show both a DAPA and an Arduino)</li>
</ul>
<p><strong>What we&#8217;re doing</strong></p>
<p>In a  nutshell, we&#8217;re going to blink an LED as our first embedded program.  This takes a few components: a power supply, the microcontroller itself, and the LED and its current limiting resistor.</p>
<p>The power supply consists of a voltage regulator which will take an input voltage above 7v and output a constant voltage of 5V. In order to work correctly, this circuit requires two filtering capacitors. The capacitors act like storage tanks, absorbing small fluctuations on the power rail to provide a steady source of electricity to keep our microcontroller safe and happy.</p>
<p>As an output we are going to use an LED. We must include a resistor to limit the amount of current that will flow when the software lights it up. Without this current limiting resistor, current would flow at levels that are unsafe for the LED, the microcontroller, or both.</p>
<p><strong>The circuit schematic</strong></p>
<p><a href="http://hackadaycom.files.wordpress.com/2010/10/m168-blink.png"><img class="alignnone size-large wp-image-29545" title="m168-blink" src="http://hackadaycom.files.wordpress.com/2010/10/m168-blink.png?w=450&#038;h=210" alt="" width="450" height="210" /></a></p>
<p>Above is the circuit we are using as an example. The a simple 5v regulator circuit using an LM7805 linear regulator and two filtering capacitors is on the left, separated from the rest by a dotted box. If you already have some type of regulated 5v supply save yourself some time and use that.</p>
<p>You may also notice that the chip in the schematic is labelled AVR-MEGA8. The ATmega168 that we&#8217;re using is pin-compatible with at ATmega8. That means that you can swap one for the other and all 28 pins will be where they&#8217;re supposed to be, so this will cause no issue.</p>
<p>It is a good practice to add a few components not seen here. There should be two 0.1 uF capacitors for <a href="http://en.wikipedia.org/wiki/Decoupling#Electronics">decoupling</a>; they filter out fluctuations on the power rails called noise. One between VCC and GND, the other between AVCC and AGND (as close as possible to the pins). There should also be a pull-up resistor on the reset pin with lets an incredibly small amount of current trickle into the pin at a 5V level. This the chip from resetting by accident when it&#8217;s floating (not connected so there&#8217;s no clear 0 or 5V value). I&#8217;ve omitted these parts for simplicity and it shouldn&#8217;t be an issue with this simple project. But as your projects get more complicated, neglecting these considerations will come back to bite you.</p>
<p><strong>The circuit built on a breadboard</strong></p>
<p><strong><img class="alignnone size-full wp-image-29547" title="wiring1-avrTut-pt2" src="http://hackadaycom.files.wordpress.com/2010/10/wiring1-avrtut-pt2.jpg" alt="" width="470" height="284" /></strong></p>
<p>I started building the circuit by adding the voltage regulator to the breadboard. Then connect the ground leg to the ground rail on top of your breadboard, and the output leg to the voltage rail of your breadboard. I have also added two wires that I will eventually connect to the positive and negative terminals of a 9V battery.</p>
<p>It is important to read the datasheet for your voltage regulator (example: <a href="http://www.fairchildsemi.com/ds/LM/LM7805.pdf">LM7805</a>) to figure out which lead is input, ground, and output. Your regulator may look different from mine as they do come in different packages. In the image above, the input lead is on the left, the ground is in the middle, and the output lead is to the right.</p>
<p><img class="alignnone size-full wp-image-29548" title="wiring2-avrTut-pt2" src="http://hackadaycom.files.wordpress.com/2010/10/wiring2-avrtut-pt2.jpg" alt="" width="470" height="372" /></p>
<p>Now I&#8217;ve completed the power supply by adding the 100 uF capacitor between the input leg and ground leg of the regulator, and the 10 uF capacitor between the output leg and ground leg. Pay careful attention to these capacitors, one lead should be marked as negative (a band with a minus sign) on the case of each capacitor. Before adding the microcontroller it would be a good idea to check the voltage output using a multimeter. Too much juice can destroy your new chip.</p>
<p>After checking to make sure I had a steady 5V source, then disconnecting the battery, I added the ATmega168 microcontroller to the board. Note that the dimple is pointing to the left. This is important, as <a href="http://en.wikipedia.org/wiki/Dual_in-line_package#Orientation_and_lead_numbering">the standard orientation and lead numbering of a DIP package</a> shows that pin 1 is now on the lower left, letting us easily find the other pins that we need.</p>
<p>Power and ground have been connected to the chip as well. Pin 7 (VCC) and Pin 20 (AVCC) have been connected to 5V. Pin 8 (GND) and Pin 22 (AGND) have both been connected to ground.</p>
<p><img class="alignnone size-full wp-image-29549" title="wiring3-avrTut-pt2" src="http://hackadaycom.files.wordpress.com/2010/10/wiring3-avrtut-pt2.jpg" alt="" width="470" height="305" /></p>
<p>The final step is to connect the LED to output 0 on Port D. Our schematic tell us that we want to connect the positive lead of the LED to Pin 2 on the ATmega168, and the negative lead should go to an unoccupied row on the breadboard (make sure you don&#8217;t attach it to Pin 1). LEDs usually have a small notch flattened on one side of the plastic case to denote the negative leg of the device. The final piece of the puzzle is to connect the negative side of the LED to ground by using our resistor.</p>
<p>In the image above I&#8217;ve hooked up a 9V battery , but nothing happened. That&#8217;s because there&#8217;s no firmware on the chip to make the LED blink yet. We&#8217;ll need to fix that in the next step.</p>
<h2><strong>Programming our test circuit</strong></h2>
<p>Check all of your connections one more time and let&#8217;s get ready to program the microcontroller.</p>
<p><strong>Connecting to a programmer</strong></p>
<p>You only need to make six connections in order to program our chip:</p>
<ul>
<li>Voltage</li>
<li>Ground</li>
<li>Master In Slave Out (MISO)</li>
<li>Master Out Slave In (MOSI)</li>
<li>Reset (RST)</li>
<li>Slave Clock (SCK)</li>
</ul>
<p>This is true for any programmer that is using In-System Programming. There&#8217;s even <a href="http://hackadaycom.files.wordpress.com/2010/10/avr-isp-header.jpg">a standardized 6-pin header</a> that I design into most of my circuits so that you can easily reconnect your programmer to a circuit board and update the firmware down the line. But for this example we&#8217;ll just use some jumper wires to make the connections. One thing to keep in the back of your mind is to only use one voltage source when programming. You should either disconnect the power to your circuit while programming, or do not make a connection to the voltage line on your programmer.</p>
<p><strong>Connecting an Arduino as a programmer</strong></p>
<p>Using your Arduino as a programmer is super easy. The first thing you&#8217;ll want to do is open up the Arduino IDE, and then open the example software: ArduinoISP.pde (in the examples/ArduinoISP folder). Flash it to your Arduino in the normal fashion. Now follow the directions for <a href="http://arduino.cc/en/Tutorial/ArduinoISP">targeting an AVR on a breadboard</a> (bottom of that page). <strong>Important:</strong> Choose one power source. That is to say, either connect the voltage on the Arduino board to your breadboard, OR connect the battery to the power supply we wired up. Doing both has the potential to damage your hardware.</p>
<p>Here&#8217;s how mine looked once I had it hooked up.</p>
<p><img class="alignnone size-full wp-image-29551" title="arduino-ISP-programmer" src="http://hackadaycom.files.wordpress.com/2010/10/arduino-isp-programmer.jpg" alt="" width="470" height="351" /></p>
<p>Now that everything is ready to go, jump to the next section: Flashing firmware with AVRdude.</p>
<p><strong>Connecting using a DAPA cable</strong></p>
<p><strong> </strong>Depending on how you constructed your DAPA cable, it should be pretty easy to make the five connections we need. Notice that the DAPA cable doesn&#8217;t have a Voltage connection. The target processor must have its own power source (like the power supply we built on the breadboard) during programming. Here is what my DAPA cable looks like once connected.</p>
<p><img class="alignnone size-full wp-image-29552" title="DAPA-ISP-programmer" src="http://hackadaycom.files.wordpress.com/2010/10/dapa-isp-programmer.jpg" alt="" width="470" height="386" /></p>
<p>If you&#8217;re unsure of the connection that need to be made, go back and compare the DAPA cable design to the circuit schematic. Match up our five connections: MISO, MOSI, RST, SCK, and GND.</p>
<h2>Flashing firmware with AVRdude</h2>
<p>If you did your homework from Part 1 of this series you should already have the cross compiler tools installed. First, <a href="https://github.com/szczys/had_AVRtut_2/archives/master">download the firmware package</a> and navigate to that directory in a shell, or at the command prompt. The following commands can be used on Linux and OSX systems to program the chip.</p>
<p style="padding-left:30px;">Arduino as the programmer:</p>
<pre style="padding-left:30px;">avrdude -P usb -b 19200 -c avrisp -p m168 -U flash:w:main.hex</pre>
<p style="padding-left:30px;">DAPA as the programmer:</p>
<pre style="padding-left:30px;">avrdude -P /dev/parport0 -c dapa -p m168 -U flash:w:main.hex</pre>
<p style="padding-left:30px;">AVR Dragon as the programmer:</p>
<pre style="padding-left:30px;">avrdude -P usb -c dragon_isp -p m168 -U flash:w:main.hex</pre>
<p style="padding-left:30px;">USBtinyISP as the programmer:</p>
<pre style="padding-left:30px;">avrdude -P usb -c usbtiny -p m168 -U flash:w:main.hex</pre>
<p>You can get help from the AVRdude program by running:</p>
<pre style="padding-left:30px;">avrdude -h</pre>
<p>That will print out a list of available commands, or you can read <a href="http://www.nongnu.org/avrdude/user-manual/avrdude.html">the online documentation</a>. <strong>Windows users will need to change the /dev/* portion of the command</strong> to match your connection. You should find the <a href="http://www.nongnu.org/avrdude/user-manual/avrdude_19.html">Windows page of the online manual</a> particularly helpful for this. Standard Windows port names include com0, com1, etc. for serial ports and lpt0, lpt1, etc. for parallel ports.</p>
<p>As for the other flags used in the programming commands above:</p>
<p>When using the Arduino as an ISP programmer you must specify the speed, using &#8216;-b&#8217;. That value is set in the Arduino sketch and should be 19200 by default.</p>
<p>You will always need to specify what kind of chip is connected to the programmer. Here I&#8217;ve used &#8216;-p m168&#8242; for our ATmega168. Get a list of all compatible microprocessors by typing</p>
<pre style="padding-left:30px;">avrdude -p ?</pre>
<p>The same is true for specifying a programmer. You can change the &#8216;-p&#8217; to &#8216;-c&#8217; in the command above to get a list of programmers.</p>
<p>The final option in the commands we used tells the programmer to write (that&#8217;s the &#8216;w&#8217;) the file &#8216;main.hex&#8217; to flash memory. Part of the command is used for many things, including changing the fuse bits on the chip. I&#8217;ll talk about this in Part 3 of the series.</p>
<h2>Debugging</h2>
<p>Your LED should be flashing away quite happily at this point. What&#8217;s that? It&#8217;s not? Time to start the real learning. Here&#8217;s a list to get you started:</p>
<ul>
<li>Did you successfully program the chip? You should get the message: &#8220;258 bytes of flash verified&#8221; and &#8220;avrdude done. Thank you.&#8221;</li>
<li>If you had an error during programming, check first to make sure there is power going to your chip.</li>
<li>Try the programming command again using &#8216;-v&#8217; in place of &#8216;flash:w:main.hex&#8217;. This will just attempt to talk to the chip instead of writing to it, and is very handy when working out programming bugs</li>
<li>Recheck your programming connections to ensure you&#8217;ve got the correct signals connected to the right pins</li>
<li>Make sure you have the correct port on the computer and that you have permission to use that port. Linux users may try talking to the chip with the -v flag as ROOT to discover if there is a permission problem. If this works you need to add your user to the group that has permission to access the port the programmer is connected to</li>
<li>If you did successfully program the chip you should recheck your hardware. Is the LED installed backwards, preventing it from lighting up?</li>
<li>Take a trip to Google and start searching&#8230; this usually plays a roll in the development process so don&#8217;t feel bad. A lot of folks have already experienced the trouble you&#8217;re having and they made it through okay in the end.</li>
</ul>
<h2>Conclusion</h2>
<p>You&#8217;ve done it, your first embedded circuit is alive! For now it will just flash to let you know everything is working. But next time we&#8217;ll talk about how this was accomplished, what we can do to make it behave differently, and how to use the compiler to translate our code changes into a file that the microcontroller can run. Thanks for reading and we&#8217;ll see you back here for the next installment.</p>
<p><span style="font-size:x-large;"><span style="font-size:20px;font-weight:800;">Follow Me</span></span></p>
<p><a href="http://twitter.com/szczys">@szczys</a></p>
<h2><strong>Resources</strong></h2>
<p>Firmware package: <a href="https://github.com/szczys/had_AVRtut_2/archives/master">Package download</a> or <a href="https://github.com/szczys/had_AVRtut_2">Github page</a></p>
<p>Atmel AVR <a href="http://www.atmel.com/dyn/resources/prod_documents/doc2545.pdf">ATmega168 Datasheet</a> (PDF)</p>
<p><a href="http://www.nongnu.org/avrdude/user-manual/avrdude.html">AVR dude online documentation</a></p>
<p><a href="http://www.atmel.com/atmel/acrobat/doc0943.pdf">AVR In-System Programming Application Note</a> (PDF)</p>
<p>AVR ISP Programming Header:</p>
<p><img class="alignnone size-full wp-image-29582" title="avr-isp-header" src="http://hackadaycom.files.wordpress.com/2010/10/avr-isp-header.jpg" alt="" width="470" height="181" /></p>
<br />Filed under: <a href='http://hackaday.com/category/how-to/'>how-to</a>, <a href='http://hackaday.com/category/microcontrollers/'>Microcontrollers</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/29425/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/29425/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/29425/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/29425/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/29425/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/29425/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/29425/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/29425/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/29425/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/29425/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/29425/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/29425/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/29425/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/29425/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=29425&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2010/10/25/avr-programming-02-the-hardware/feed/</wfw:commentRss>
		<slash:comments>54</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Mike Szczys</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2010/10/avr-programming-for-everyone.jpg" medium="image">
			<media:title type="html">avr-programming-for-everyone</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2010/10/dapa-cable.jpg" medium="image">
			<media:title type="html">dapa-cable</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2010/10/dapa-cable-construction.jpg?w=450" medium="image">
			<media:title type="html">dapa-cable-construction</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2010/10/arduino-e1287444768740.jpg" medium="image">
			<media:title type="html">arduino</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2010/10/usbtinyisp-e1287444879969.jpg" medium="image">
			<media:title type="html">USBtinyISP</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2010/10/atmel-programmers.jpg" medium="image">
			<media:title type="html">atmel-programmers</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2010/10/m168-blink.png?w=450" medium="image">
			<media:title type="html">m168-blink</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2010/10/wiring1-avrtut-pt2.jpg" medium="image">
			<media:title type="html">wiring1-avrTut-pt2</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2010/10/wiring2-avrtut-pt2.jpg" medium="image">
			<media:title type="html">wiring2-avrTut-pt2</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2010/10/wiring3-avrtut-pt2.jpg" medium="image">
			<media:title type="html">wiring3-avrTut-pt2</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2010/10/arduino-isp-programmer.jpg" medium="image">
			<media:title type="html">arduino-ISP-programmer</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2010/10/dapa-isp-programmer.jpg" medium="image">
			<media:title type="html">DAPA-ISP-programmer</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2010/10/avr-isp-header.jpg" medium="image">
			<media:title type="html">avr-isp-header</media:title>
		</media:content>
	</item>
		<item>
		<title>Portable password vault</title>
		<link>http://hackaday.com/2010/09/26/portable-password-vault/</link>
		<comments>http://hackaday.com/2010/09/26/portable-password-vault/#comments</comments>
		<pubDate>Sun, 26 Sep 2010 14:19:06 +0000</pubDate>
		<dc:creator>Mike Szczys</dc:creator>
				<category><![CDATA[security hacks]]></category>
		<category><![CDATA[at89s5131]]></category>
		<category><![CDATA[Atmel]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[vault]]></category>

		<guid isPermaLink="false">http://hackaday.com/?p=28571</guid>
		<description><![CDATA[This little box remembers all of your user names and passwords. Inside you&#8217;ll find an Atmel AT89S5131 microcontroller which has built-in USB capability. When the box is plugged into a USB port it identifies as a keyboard. Manipulating the buttons on the top and side will select and print out various stored usernames and passwords. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=28571&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-28572" title="SANYO DIGITAL CAMERA" src="http://hackadaycom.files.wordpress.com/2010/09/portable-password-vault-e1285437897638.jpg" alt="" width="470" height="353" /></p>
<p>This little <a href="http://hobones.dogsoft.net/pas/">box remembers all of your user names and passwords</a>. Inside you&#8217;ll find an Atmel AT89S5131 microcontroller which has built-in USB capability. When the box is plugged into a USB port it identifies as a keyboard. Manipulating the buttons on the top and side will select and print out various stored usernames and passwords. Passwords are generated on-chip from a random seed and the device itself requires a passcode after power up as a security feature.</p>
<p>[SigFLUP's] included a pretty nifty configuration algorithm. It doesn&#8217;t rely on a terminal connection, since the device is a keyboard you can communicate with it in an editor window (which should make it platform independent). There&#8217;s no code available, but trying to write your own to the spec outlined in the demo after the break will make for a fun weekend project.</p>
<p><span id="more-28571"></span><span style="text-align:center; display: block;"><a href="http://hackaday.com/2010/09/26/portable-password-vault/"><img src="http://img.youtube.com/vi/BD3F3iBIl7c/2.jpg" alt="" /></a></span></p>
<p>(We almost made it to the end of the post WITHOUT saying &#8220;<a href="http://en.wikipedia.org/wiki/Sneakers_(film)">Setec Astronomy</a>&#8220;)</p>
<br />Filed under: <a href='http://hackaday.com/category/security-hacks/'>security hacks</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/28571/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/28571/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/28571/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/28571/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/28571/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/28571/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/28571/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/28571/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/28571/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/28571/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/28571/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/28571/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/28571/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/28571/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=28571&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2010/09/26/portable-password-vault/feed/</wfw:commentRss>
		<slash:comments>38</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Mike Szczys</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2010/09/portable-password-vault-e1285437897638.jpg" medium="image">
			<media:title type="html">SANYO DIGITAL CAMERA</media:title>
		</media:content>
	</item>
		<item>
		<title>FPSLIC powered LED matrix</title>
		<link>http://hackaday.com/2010/08/19/fpslic-powered-led-matrix/</link>
		<comments>http://hackaday.com/2010/08/19/fpslic-powered-led-matrix/#comments</comments>
		<pubDate>Thu, 19 Aug 2010 21:00:07 +0000</pubDate>
		<dc:creator>Mike Szczys</dc:creator>
				<category><![CDATA[classic hacks]]></category>
		<category><![CDATA[led hacks]]></category>
		<category><![CDATA[8x8]]></category>
		<category><![CDATA[at94k]]></category>
		<category><![CDATA[Atmel]]></category>
		<category><![CDATA[AVR]]></category>
		<category><![CDATA[bicolor]]></category>
		<category><![CDATA[fpslic]]></category>
		<category><![CDATA[matrix]]></category>
		<category><![CDATA[pong]]></category>

		<guid isPermaLink="false">http://hackaday.com/?p=27341</guid>
		<description><![CDATA[[Mathieu] built this display in hopes that he can play pong on it. You can imagine the headache that awaits when trying to figure out how to drive the 6144 bi-color LEDs. I must have worked out because the thing looks great in the video after the break. The solution he chose was a bit unfamiliar [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=27341&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-27342" title="driving-a-large-LED-display" src="http://hackadaycom.files.wordpress.com/2010/08/driving-a-large-led-display-e1282248724183.jpg" alt="" width="470" height="307" /></p>
<p>[Mathieu] <a href="http://www.limpkin.fr/index.php?post/2010/02/14/The-FPSLIC-bicolor-matrix-project">built this display</a> in hopes that he can play pong on it. You can imagine the headache that awaits when trying to figure out how to drive the 6144 bi-color LEDs. I must have worked out because the thing looks great in the video after the break. The solution he chose was a bit unfamiliar to us though. He used a <a href="http://www.atmel.com/products/fpslic/">Field Programmable System Level Integrated Circuit produced by Atmel</a>, or FPSLIC. This is a kind of mash-up of components we&#8217;re more accustomed to.</p>
<p>The AT94K is a single chip that houses an 8-bit AVR microcontroller, and FPGA, and SRAM. This project uses that FPGA to handle the multiplexing of the display via code written in <a href="http://en.wikipedia.org/wiki/VHDL">VHDL</a>. The AVR core receives data via a USB port, stores two images in the SRAM (one for each LED color), and then outputs it to be drawn on the display. On second thought, this project sounds like fun and it&#8217;s a great way to get start learning that VHDL you&#8217;ve been putting off.<span id="more-27341"></span><span style="text-align:center; display: block;"><a href="http://hackaday.com/2010/08/19/fpslic-powered-led-matrix/"><img src="http://img.youtube.com/vi/5PH4c5tr6Ss/2.jpg" alt="" /></a></span></p>
<br />Filed under: <a href='http://hackaday.com/category/classic-hacks/'>classic hacks</a>, <a href='http://hackaday.com/category/led-hacks/'>led hacks</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/27341/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/27341/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/27341/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/27341/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/27341/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/27341/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/27341/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/27341/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/27341/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/27341/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/27341/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/27341/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/27341/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/27341/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=27341&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2010/08/19/fpslic-powered-led-matrix/feed/</wfw:commentRss>
		<slash:comments>23</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Mike Szczys</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2010/08/driving-a-large-led-display-e1282248724183.jpg" medium="image">
			<media:title type="html">driving-a-large-LED-display</media:title>
		</media:content>
	</item>
		<item>
		<title>32-bit ARM7 gaming rig</title>
		<link>http://hackaday.com/2010/05/26/32-bit-arm7-gaming%c2%a0rig/</link>
		<comments>http://hackaday.com/2010/05/26/32-bit-arm7-gaming%c2%a0rig/#comments</comments>
		<pubDate>Wed, 26 May 2010 16:00:31 +0000</pubDate>
		<dc:creator>Mike Szczys</dc:creator>
				<category><![CDATA[classic hacks]]></category>
		<category><![CDATA[home entertainment hacks]]></category>
		<category><![CDATA[arm]]></category>
		<category><![CDATA[Atmel]]></category>
		<category><![CDATA[gamesphere]]></category>
		<category><![CDATA[n64]]></category>
		<category><![CDATA[pic]]></category>
		<category><![CDATA[video game]]></category>

		<guid isPermaLink="false">http://hackaday.com/?p=24416</guid>
		<description><![CDATA[Are you hardcore enough to build your own 32-bit ARM powered gaming console AND use point-to-point soldering to accomplish this? [Craig Bishop] did just that when building his GameSphere console project. First thing&#8217;s first, click through the jump and watch the game play video. He wrote that game in the C language in less than [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=24416&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-24417" title="32-bit-diy-gaming-rig" src="http://hackadaycom.files.wordpress.com/2010/05/32-bit-diy-gaming-rig-e1274884096995.jpg" alt="" width="470" height="427" /></p>
<p>Are you hardcore enough to build your own 32-bit ARM powered gaming console AND use point-to-point soldering to accomplish this? [Craig Bishop] did just that when building his <a href="http://craig.mangollc.com/GameSphere_-_Craig_J._Bishop_2010.html">GameSphere console project</a>. First thing&#8217;s first, click through the jump and watch the game play video. He wrote that game in the C language in less than a day which in itself is quite remarkable. On the hardware side of things he&#8217;s got an interesting mix; an Ateml AT91R40008 chip drives this system with PIC 18F4682 for VGA signal generation and a PIC 18F2685 to interface with the N64 controller. We like what he&#8217;s done so far and would love to see this end up in its own <a href="http://hackaday.com/2009/09/09/in-depth-mame-cocktail-cabinet-build/">game cabinet</a>.<span id="more-24416"></span><span style="text-align:center; display: block;"><a href="http://hackaday.com/2010/05/26/32-bit-arm7-gaming%c2%a0rig/"><img src="http://img.youtube.com/vi/9C9PPWGfP-Y/2.jpg" alt="" /></a></span></p>
<br />Filed under: <a href='http://hackaday.com/category/classic-hacks/'>classic hacks</a>, <a href='http://hackaday.com/category/home-entertainment-hacks/'>home entertainment hacks</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/24416/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/24416/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/24416/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/24416/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/24416/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/24416/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/24416/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/24416/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/24416/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/24416/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/24416/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/24416/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/24416/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/24416/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=24416&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2010/05/26/32-bit-arm7-gaming%c2%a0rig/feed/</wfw:commentRss>
		<slash:comments>30</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Mike Szczys</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2010/05/32-bit-diy-gaming-rig-e1274884096995.jpg" medium="image">
			<media:title type="html">32-bit-diy-gaming-rig</media:title>
		</media:content>
	</item>
		<item>
		<title>Human Tetris: object tracking on an 8-bit microcontroller</title>
		<link>http://hackaday.com/2010/05/15/human-tetris-object-tracking-on-an-8-bit-microcontroller/</link>
		<comments>http://hackaday.com/2010/05/15/human-tetris-object-tracking-on-an-8-bit-microcontroller/#comments</comments>
		<pubDate>Sat, 15 May 2010 21:00:13 +0000</pubDate>
		<dc:creator>Phil Burgess</dc:creator>
				<category><![CDATA[classic hacks]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[video hacks]]></category>
		<category><![CDATA[8 bit]]></category>
		<category><![CDATA[atmega]]></category>
		<category><![CDATA[atmega644]]></category>
		<category><![CDATA[Atmel]]></category>
		<category><![CDATA[AVR]]></category>
		<category><![CDATA[cornell]]></category>
		<category><![CDATA[digitize]]></category>
		<category><![CDATA[overlay]]></category>
		<category><![CDATA[tetris]]></category>
		<category><![CDATA[tracking]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://hackaday.com/?p=24072</guid>
		<description><![CDATA[Elaborating on an item previously mentioned among last weekend’s Cornell final projects list, this time with video: For their ECE final project, [Adam Papamarcos] and [Kerran Flanagan] implemented a real-time video object tracking system centered around an ATmega644 8-bit microcontroller. Their board ingests an NTSC video camera feed, samples frames at a coarse 39&#215;60 pixel resolution (sufficient for simple [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=24072&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-24073" title="HumanTetris" src="http://hackadaycom.files.wordpress.com/2010/05/humantetris1.jpg" alt="" width="470" height="315" /></p>
<p>Elaborating on an item previously mentioned among last weekend’s <a href="http://hackaday.com/2010/05/08/cornell-final-project-list/">Cornell final projects</a> list, this time with video:</p>
<p>For their ECE final project, [Adam Papamarcos] and [Kerran Flanagan] implemented <a href="http://instruct1.cit.cornell.edu/courses/ee476/FinalProjects/s2010/aip23_kaf42/aip23_kaf42/index.html">a real-time video object tracking system centered around an ATmega644 8-bit microcontroller</a>. Their board ingests an NTSC video camera feed, samples frames at a coarse 39&#215;60 pixel resolution (sufficient for simple games), processes the input to recognize objects and then drives a TV output using the OSD display chip from a video camera (this chip also recognizes the horizontal and vertical sync pulses from the input video signal, which the CPU uses to synchronize the digitizing step). Pretty amazing work all around.</p>
<p>Sometimes clever projects online are scant on information…but as this is their final grade, they’ve left no detail to speculation. Along with a great explanation of the system and its specific challenges, there’s complete source code, schematics, a parts list, the whole nine yards. Come on, guys! You’re making the rest of us look bad&#8230; Videos after the break…</p>
<p>[G’day Bruce]</p>
<p><span id="more-24072"></span>Basic object tracking:</p>
<span style="text-align:center; display: block;"><a href="http://hackaday.com/2010/05/15/human-tetris-object-tracking-on-an-8-bit-microcontroller/"><img src="http://img.youtube.com/vi/f8cdfxDv__Y/2.jpg" alt="" /></a></span>
<p>Human Tetris:</p>
<span style="text-align:center; display: block;"><a href="http://hackaday.com/2010/05/15/human-tetris-object-tracking-on-an-8-bit-microcontroller/"><img src="http://img.youtube.com/vi/uz-x-QW69co/2.jpg" alt="" /></a></span>
<p>Brick Breaker:</p>
<span style="text-align:center; display: block;"><a href="http://hackaday.com/2010/05/15/human-tetris-object-tracking-on-an-8-bit-microcontroller/"><img src="http://img.youtube.com/vi/xTw4dH2l7YE/2.jpg" alt="" /></a></span>
<br />Filed under: <a href='http://hackaday.com/category/classic-hacks/'>classic hacks</a>, <a href='http://hackaday.com/category/hardware/'>hardware</a>, <a href='http://hackaday.com/category/video-hacks/'>video hacks</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/24072/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/24072/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/24072/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/24072/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/24072/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/24072/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/24072/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/24072/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/24072/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/24072/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/24072/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/24072/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/24072/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/24072/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=24072&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2010/05/15/human-tetris-object-tracking-on-an-8-bit-microcontroller/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">philburgess</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2010/05/humantetris1.jpg" medium="image">
			<media:title type="html">HumanTetris</media:title>
		</media:content>
	</item>
		<item>
		<title>Minimalist AVR programmer is just fab!</title>
		<link>http://hackaday.com/2010/05/15/minimalist-avr-programmer-is-just-fab/</link>
		<comments>http://hackaday.com/2010/05/15/minimalist-avr-programmer-is-just-fab/#comments</comments>
		<pubDate>Sat, 15 May 2010 19:00:28 +0000</pubDate>
		<dc:creator>Phil Burgess</dc:creator>
				<category><![CDATA[classic hacks]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[Atmel]]></category>
		<category><![CDATA[attiny]]></category>
		<category><![CDATA[AVR]]></category>
		<category><![CDATA[bootloader]]></category>
		<category><![CDATA[bootstrap]]></category>
		<category><![CDATA[fab]]></category>
		<category><![CDATA[fabrication]]></category>
		<category><![CDATA[firmware]]></category>
		<category><![CDATA[pcb]]></category>
		<category><![CDATA[smd]]></category>

		<guid isPermaLink="false">http://hackaday.com/?p=24062</guid>
		<description><![CDATA[Whether you’re burning a new bootloader to an Arduino board, or doing away with a bootloader to flash Atmel chips directly, an in-system programmer (ISP) is an indispensable tool for working with AVR microcontrollers. If cost has held you back, it&#8217;s no longer an excuse: FabISP is a barebones USB-based AVR programmer that can be pieced together [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=24062&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-24063" title="FabISP" src="http://hackadaycom.files.wordpress.com/2010/05/fabisp.jpg" alt="" width="470" height="325" /></p>
<p>Whether you’re burning a new bootloader to an Arduino board, or doing away with a bootloader to flash Atmel chips directly, an in-system programmer (ISP) is an indispensable tool for working with AVR microcontrollers. If cost has held you back, it&#8217;s no longer an excuse: <a href="http://fab.cba.mit.edu/content/projects/fabisp/index.html">FabISP</a> is a barebones USB-based AVR programmer that can be pieced together for about ten bucks.</p>
<p>FabISP was created by [David Mellis] as a product of MIT’s <a href="http://fab.cba.mit.edu/">Fab Lab</a> program, which provides schools with access to design and manufacturing tools based around a core set of <a href="http://hackaday.com/2009/03/16/cupcake-cnc-kit/">fabrication</a><a href="http://hackaday.com/2009/09/19/reprap-milling-machine/"> capabilities</a>, so labs around the world can share results. But the FabISP design is simple enough that you don’t need a whole fab lab. It’s a small, single-sided board with no <a href="http://hackaday.com/2010/03/18/pcb-drill-press-on-a-budget/">drilling</a> required; the parts are all <a href="http://hackaday.com/2010/04/29/surface-mount-breakout-boards/">surface-mounted</a>, but not so fine-pitched as to require <a href="http://hackaday.com/2009/01/16/pid-smd-reflow-hot-plate/">reflow</a> soldering. Easy!</p>
<p>There’s still the bootstrap problem, of course: you need an <a href="http://hackaday.com/2009/07/15/avr-isp-programming-via-arduino/">AVR programmer</a> to get the firmware onto the FabISP. This would be an excellent group project for a <a href="http://hackaday.com/2010/02/02/minneapolis-hackerspace-twin-cities-maker/">hackerspace</a>, club or school: if one person can provide the initial <a href="http://hackaday.com/2009/11/18/pic-powered-avr-programmer/">programmer</a> to flash several boards, each member could <a href="http://hackaday.com/2010/05/07/toner-transfer-explained-step-by-step/">etch</a> and <a href="http://hackaday.com/2009/10/13/how-to-populate-a-surface-mount-pcb/">assemble</a> their own, have it programmed, then take these out into the world to help create more. <em>We must repeat!</em></p>
<p>[Thanks Juan]</p>
<br />Filed under: <a href='http://hackaday.com/category/classic-hacks/'>classic hacks</a>, <a href='http://hackaday.com/category/hardware/'>hardware</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/24062/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/24062/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/24062/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/24062/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/24062/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/24062/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/24062/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/24062/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/24062/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/24062/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/24062/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/24062/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/24062/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/24062/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=24062&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2010/05/15/minimalist-avr-programmer-is-just-fab/feed/</wfw:commentRss>
		<slash:comments>61</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">philburgess</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2010/05/fabisp.jpg" medium="image">
			<media:title type="html">FabISP</media:title>
		</media:content>
	</item>
	</channel>
</rss>
