<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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: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>Comments on: PWM audio generation with an AVR</title>
	<atom:link href="http://hackaday.com/2008/02/07/pwm-audio-generation-with-an-avr/feed/" rel="self" type="application/rss+xml" />
	<link>http://hackaday.com/2008/02/07/pwm-audio-generation-with-an-avr/</link>
	<description>Fresh hacks every day</description>
	<lastBuildDate>Wed, 25 Nov 2009 14:48:56 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: MaX-mod</title>
		<link>http://hackaday.com/2008/02/07/pwm-audio-generation-with-an-avr/comment-page-1/#comment-31637</link>
		<dc:creator>MaX-mod</dc:creator>
		<pubDate>Sat, 01 Mar 2008 20:26:08 +0000</pubDate>
		<guid isPermaLink="false">http://hackaday.iheartcashews.com:8181/2008/02/07/pwm-audio-generation-with-an-avr/#comment-31637</guid>
		<description>Surely you can use the open sourced mp3 lib used in the dsPIC mp3 player if you find any AVR powerfull enought.&lt;br&gt;&lt;br&gt;ogg is more complex from what I recall...&lt;br&gt;&lt;br&gt;But hey, dsPIC are pretty cheap from microchip: free ;)&lt;br&gt;&lt;br&gt;Max</description>
		<content:encoded><![CDATA[<p>Surely you can use the open sourced mp3 lib used in the dsPIC mp3 player if you find any AVR powerfull enought.</p>
<p>ogg is more complex from what I recall&#8230;</p>
<p>But hey, dsPIC are pretty cheap from microchip: free ;)</p>
<p>Max</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dane</title>
		<link>http://hackaday.com/2008/02/07/pwm-audio-generation-with-an-avr/comment-page-1/#comment-31636</link>
		<dc:creator>Dane</dc:creator>
		<pubDate>Thu, 14 Feb 2008 11:37:10 +0000</pubDate>
		<guid isPermaLink="false">http://hackaday.iheartcashews.com:8181/2008/02/07/pwm-audio-generation-with-an-avr/#comment-31636</guid>
		<description>Thanks for the reply. The link is really interesting. the goal of this &#039;hack&#039; was to add audio output using a low speed, cheap micro controller and a few cents of components... To process mp3 files, you would need either a separate decoder ic, or a relatively fast micro with software mp3 decoding, using unsigned, non-floating point math. these are both perfectly acceptable methods, but require components that arent available in every lab . you did get me thinking though,... how hard would it be to make an mp3 decoding library for something like a cheap AVR. it sure would be sweet, instead of buying a 18 dollar VS1002, just program an avr / pic. thanks for the idea.</description>
		<content:encoded><![CDATA[<p>Thanks for the reply. The link is really interesting. the goal of this &#8216;hack&#8217; was to add audio output using a low speed, cheap micro controller and a few cents of components&#8230; To process mp3 files, you would need either a separate decoder ic, or a relatively fast micro with software mp3 decoding, using unsigned, non-floating point math. these are both perfectly acceptable methods, but require components that arent available in every lab . you did get me thinking though,&#8230; how hard would it be to make an mp3 decoding library for something like a cheap AVR. it sure would be sweet, instead of buying a 18 dollar VS1002, just program an avr / pic. thanks for the idea.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MaX-MoD</title>
		<link>http://hackaday.com/2008/02/07/pwm-audio-generation-with-an-avr/comment-page-1/#comment-31635</link>
		<dc:creator>MaX-MoD</dc:creator>
		<pubDate>Sat, 09 Feb 2008 15:53:01 +0000</pubDate>
		<guid isPermaLink="false">http://hackaday.iheartcashews.com:8181/2008/02/07/pwm-audio-generation-with-an-avr/#comment-31635</guid>
		<description>not really a hack... and nothing really impressive as there are many PIC-based audio players taht do the same.&lt;br&gt;Or eaven better: MP3.&lt;br&gt;Still in dev but rather close to a usable portable MP3 player. Have a look here : &lt;a href=&quot;http://forum.microchip.com/tm.aspx?m=166133&quot; rel=&quot;nofollow&quot;&gt;http://forum.microchip.com/tm.aspx?m=166133&lt;/a&gt;&lt;br&gt;&lt;br&gt;lost track of the dsPIC .ogg player, tought.&lt;br&gt;&lt;br&gt;Max</description>
		<content:encoded><![CDATA[<p>not really a hack&#8230; and nothing really impressive as there are many PIC-based audio players taht do the same.<br />Or eaven better: MP3.<br />Still in dev but rather close to a usable portable MP3 player. Have a look here : <a href="http://forum.microchip.com/tm.aspx?m=166133" rel="nofollow">http://forum.microchip.com/tm.aspx?m=166133</a></p>
<p>lost track of the dsPIC .ogg player, tought.</p>
<p>Max</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gilad</title>
		<link>http://hackaday.com/2008/02/07/pwm-audio-generation-with-an-avr/comment-page-1/#comment-31634</link>
		<dc:creator>Gilad</dc:creator>
		<pubDate>Sat, 09 Feb 2008 10:32:12 +0000</pubDate>
		<guid isPermaLink="false">http://hackaday.iheartcashews.com:8181/2008/02/07/pwm-audio-generation-with-an-avr/#comment-31634</guid>
		<description>Funny, just read this article yesterday which implements audio interface with the mega32 and was thinking of trying it out...&lt;br&gt;&lt;a href=&quot;http://www.riccibitti.com/witnesscam/entry/witnesscam.htm&quot; rel=&quot;nofollow&quot;&gt;http://www.riccibitti.com/witnesscam/entry/witnesscam.htm&lt;/a&gt;&lt;br&gt;</description>
		<content:encoded><![CDATA[<p>Funny, just read this article yesterday which implements audio interface with the mega32 and was thinking of trying it out&#8230;<br /><a href="http://www.riccibitti.com/witnesscam/entry/witnesscam.htm" rel="nofollow">http://www.riccibitti.com/witnesscam/entry/witnesscam.htm</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: macegr</title>
		<link>http://hackaday.com/2008/02/07/pwm-audio-generation-with-an-avr/comment-page-1/#comment-31633</link>
		<dc:creator>macegr</dc:creator>
		<pubDate>Fri, 08 Feb 2008 21:58:04 +0000</pubDate>
		<guid isPermaLink="false">http://hackaday.iheartcashews.com:8181/2008/02/07/pwm-audio-generation-with-an-avr/#comment-31633</guid>
		<description>somewhat interesting, but way too bulky of an approach if you wanted the avr to make sound without being tethered to a computer (that already has a sound card). what would be really impressive is a routine for playing speech coded audio using adpcm, or even linear predictive coding with celp. an atmega with decent flash could store up to a couple minutes of audio that way.</description>
		<content:encoded><![CDATA[<p>somewhat interesting, but way too bulky of an approach if you wanted the avr to make sound without being tethered to a computer (that already has a sound card). what would be really impressive is a routine for playing speech coded audio using adpcm, or even linear predictive coding with celp. an atmega with decent flash could store up to a couple minutes of audio that way.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dane kouttron</title>
		<link>http://hackaday.com/2008/02/07/pwm-audio-generation-with-an-avr/comment-page-1/#comment-31632</link>
		<dc:creator>dane kouttron</dc:creator>
		<pubDate>Fri, 08 Feb 2008 20:00:56 +0000</pubDate>
		<guid isPermaLink="false">http://hackaday.iheartcashews.com:8181/2008/02/07/pwm-audio-generation-with-an-avr/#comment-31632</guid>
		<description>If there&#039;s enough interest i could probably throw this together on an arduino (what i was origionally going to do)&lt;br&gt;-Dane</description>
		<content:encoded><![CDATA[<p>If there&#8217;s enough interest i could probably throw this together on an arduino (what i was origionally going to do)<br />-Dane</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Fowler</title>
		<link>http://hackaday.com/2008/02/07/pwm-audio-generation-with-an-avr/comment-page-1/#comment-31631</link>
		<dc:creator>David Fowler</dc:creator>
		<pubDate>Fri, 08 Feb 2008 19:48:54 +0000</pubDate>
		<guid isPermaLink="false">http://hackaday.iheartcashews.com:8181/2008/02/07/pwm-audio-generation-with-an-avr/#comment-31631</guid>
		<description>There is a series of articles about audio with Arduino AVRs at uCHobby that could be interesting. &lt;br&gt;&lt;a href=&quot;http://www.uchobby.com/index.php/2008/01/08/arduino-audio-dac-options/&quot; rel=&quot;nofollow&quot;&gt;http://www.uchobby.com/index.php/2008/01/08/arduino-audio-dac-options/&lt;/a&gt;&lt;br&gt;</description>
		<content:encoded><![CDATA[<p>There is a series of articles about audio with Arduino AVRs at uCHobby that could be interesting. <br /><a href="http://www.uchobby.com/index.php/2008/01/08/arduino-audio-dac-options/" rel="nofollow">http://www.uchobby.com/index.php/2008/01/08/arduino-audio-dac-options/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gregtex</title>
		<link>http://hackaday.com/2008/02/07/pwm-audio-generation-with-an-avr/comment-page-1/#comment-31630</link>
		<dc:creator>Gregtex</dc:creator>
		<pubDate>Fri, 08 Feb 2008 18:05:07 +0000</pubDate>
		<guid isPermaLink="false">http://hackaday.iheartcashews.com:8181/2008/02/07/pwm-audio-generation-with-an-avr/#comment-31630</guid>
		<description>@ Dane&lt;br&gt;&lt;br&gt;yeah, the source code was pretty hard to design, cause i wrote it with AVR Studio 4 (and its build-in compiler). If i would have used the C/++ compiler, it would have been much easier to write the code, &#039;cause of the ability to create for-loops much more easily, instead of inserting jumps, adds, if-like-loops and so  on.&lt;br&gt;&lt;br&gt;The hardest part was the &quot;two legs moving the same time&quot; thing. &lt;br&gt;Because of the limited capability of the AT Mega8 it&#039;s just possible to run one timer at the time, so it means you can just run one leg AND THAN the other. So i had to jump after every cycle to the next leg and back again etc etc etc...&lt;br&gt;&lt;br&gt;Source code is, printed on normal sheets with Arial 12, &#039;bout 10 sites pure sickness x)</description>
		<content:encoded><![CDATA[<p>@ Dane</p>
<p>yeah, the source code was pretty hard to design, cause i wrote it with AVR Studio 4 (and its build-in compiler). If i would have used the C/++ compiler, it would have been much easier to write the code, &#8217;cause of the ability to create for-loops much more easily, instead of inserting jumps, adds, if-like-loops and so  on.</p>
<p>The hardest part was the &#8220;two legs moving the same time&#8221; thing. <br />Because of the limited capability of the AT Mega8 it&#8217;s just possible to run one timer at the time, so it means you can just run one leg AND THAN the other. So i had to jump after every cycle to the next leg and back again etc etc etc&#8230;</p>
<p>Source code is, printed on normal sheets with Arial 12, &#8217;bout 10 sites pure sickness x)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dane</title>
		<link>http://hackaday.com/2008/02/07/pwm-audio-generation-with-an-avr/comment-page-1/#comment-31629</link>
		<dc:creator>Dane</dc:creator>
		<pubDate>Fri, 08 Feb 2008 16:09:19 +0000</pubDate>
		<guid isPermaLink="false">http://hackaday.iheartcashews.com:8181/2008/02/07/pwm-audio-generation-with-an-avr/#comment-31629</guid>
		<description>Awesome walker robot. genorating 4 seperate servo channels musthave consumed quite a bit of the available space. If your still tinkering with lots of servos, there&#039;s a pretty cool routine in bascom-avr (basic compiler) called &quot;config servos&quot;, and after configuration, you can just write:&lt;br&gt;servo(1)= variable. as you can guess, its sets the servo to that value. link to pdf:&lt;br&gt;&lt;a href=&quot;http://www.mcselec.com/index.php?option=com_docman&amp;task=doc_download&amp;gid=140&amp;Itemid=54&quot; rel=&quot;nofollow&quot;&gt;http://www.mcselec.com/index.php?option=com_docman&amp;task=doc_download&amp;gid=140&amp;Itemid=54&lt;/a&gt;&lt;br&gt;&lt;br&gt;hope any of that helped, &lt;br&gt;keep tinkering</description>
		<content:encoded><![CDATA[<p>Awesome walker robot. genorating 4 seperate servo channels musthave consumed quite a bit of the available space. If your still tinkering with lots of servos, there&#8217;s a pretty cool routine in bascom-avr (basic compiler) called &#8220;config servos&#8221;, and after configuration, you can just write:<br />servo(1)= variable. as you can guess, its sets the servo to that value. link to pdf:<br /><a href="http://www.mcselec.com/index.php?option=com_docman&#038;task=doc_download&#038;gid=140&#038;Itemid=54" rel="nofollow">http://www.mcselec.com/index.php?option=com_docman&#038;task=doc_download&#038;gid=140&#038;Itemid=54</a></p>
<p>hope any of that helped, <br />keep tinkering</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gregtex</title>
		<link>http://hackaday.com/2008/02/07/pwm-audio-generation-with-an-avr/comment-page-1/#comment-31628</link>
		<dc:creator>Gregtex</dc:creator>
		<pubDate>Fri, 08 Feb 2008 14:52:01 +0000</pubDate>
		<guid isPermaLink="false">http://hackaday.iheartcashews.com:8181/2008/02/07/pwm-audio-generation-with-an-avr/#comment-31628</guid>
		<description>had the same idea when i made my AT-AT Lego Robot controled by an ATM Mega8 ( &lt;a href=&quot;http://youtube.com/watch?v=s9pL9znb0SU&quot; rel=&quot;nofollow&quot;&gt;http://youtube.com/watch?v=s9pL9znb0SU&lt;/a&gt; ) for a school project, but didn&#039;t knew how to do that... now it&#039;s to late, but never the less a cool hack ;)</description>
		<content:encoded><![CDATA[<p>had the same idea when i made my AT-AT Lego Robot controled by an ATM Mega8 ( <a href="http://youtube.com/watch?v=s9pL9znb0SU" rel="nofollow">http://youtube.com/watch?v=s9pL9znb0SU</a> ) for a school project, but didn&#8217;t knew how to do that&#8230; now it&#8217;s to late, but never the less a cool hack ;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zach</title>
		<link>http://hackaday.com/2008/02/07/pwm-audio-generation-with-an-avr/comment-page-1/#comment-31627</link>
		<dc:creator>Zach</dc:creator>
		<pubDate>Fri, 08 Feb 2008 08:56:27 +0000</pubDate>
		<guid isPermaLink="false">http://hackaday.iheartcashews.com:8181/2008/02/07/pwm-audio-generation-with-an-avr/#comment-31627</guid>
		<description>Go Dane! You&#039;re the man!</description>
		<content:encoded><![CDATA[<p>Go Dane! You&#8217;re the man!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
