<?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/"
		>
<channel>
	<title>Comments on: 8&#215;8 RGB Matrix &#8212; 2nd arduino project</title>
	<atom:link href="http://blog.spitzenpfeil.org/wordpress/2008/09/08/8x8-rgb-matrix-2nd-arduino-project/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.spitzenpfeil.org/wordpress/2008/09/08/8x8-rgb-matrix-2nd-arduino-project/</link>
	<description>&#34;Another visitor! Stay a while. Staaaaay, FOREVER!&#34;</description>
	<lastBuildDate>Wed, 08 Feb 2012 14:00:33 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: robert</title>
		<link>http://blog.spitzenpfeil.org/wordpress/2008/09/08/8x8-rgb-matrix-2nd-arduino-project/#comment-851</link>
		<dc:creator>robert</dc:creator>
		<pubDate>Mon, 13 Jun 2011 22:41:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.spitzenpfeil.org/wordpress/?p=53#comment-851</guid>
		<description>Glad you&#039;ve got it working (whew) ;-)

The interrupt part isn&#039;t that difficult at all once you&#039;ve wrapped your head around it. I guess mostly all the register names are confusing at first, what they do and so forth. Having a look at the datasheet for ATmega168/328 should answer most questions regarding that.

You can play with all numbers in there. Assuming nothing else is plugged in, the worst that can happen is erratic behaviour or a blank screen ;-)</description>
		<content:encoded><![CDATA[<p>Glad you&#8217;ve got it working (whew) ;-)</p>
<p>The interrupt part isn&#8217;t that difficult at all once you&#8217;ve wrapped your head around it. I guess mostly all the register names are confusing at first, what they do and so forth. Having a look at the datasheet for ATmega168/328 should answer most questions regarding that.</p>
<p>You can play with all numbers in there. Assuming nothing else is plugged in, the worst that can happen is erratic behaviour or a blank screen ;-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Diego Rodriguez</title>
		<link>http://blog.spitzenpfeil.org/wordpress/2008/09/08/8x8-rgb-matrix-2nd-arduino-project/#comment-850</link>
		<dc:creator>Diego Rodriguez</dc:creator>
		<pubDate>Mon, 13 Jun 2011 05:17:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.spitzenpfeil.org/wordpress/?p=53#comment-850</guid>
		<description>GOT IT ALL WORKING, YOU ROCK MAN! I still dont understand all your code with interrupts and hardware timers but i&#039;m working on it.  But still, YOU ROCK!</description>
		<content:encoded><![CDATA[<p>GOT IT ALL WORKING, YOU ROCK MAN! I still dont understand all your code with interrupts and hardware timers but i&#8217;m working on it.  But still, YOU ROCK!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: robert</title>
		<link>http://blog.spitzenpfeil.org/wordpress/2008/09/08/8x8-rgb-matrix-2nd-arduino-project/#comment-634</link>
		<dc:creator>robert</dc:creator>
		<pubDate>Mon, 04 Oct 2010 14:06:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.spitzenpfeil.org/wordpress/?p=53#comment-634</guid>
		<description>&quot;Okily-dokily!&quot;

Seems like one of your last comments was caught by the spam filter. I didn&#039;t check for a while, but now it&#039;s online. Strange that I didn&#039;t get an email from my blog... </description>
		<content:encoded><![CDATA[<p>&#8220;Okily-dokily!&#8221;</p>
<p>Seems like one of your last comments was caught by the spam filter. I didn&#8217;t check for a while, but now it&#8217;s online. Strange that I didn&#8217;t get an email from my blog&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://blog.spitzenpfeil.org/wordpress/2008/09/08/8x8-rgb-matrix-2nd-arduino-project/#comment-632</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Fri, 17 Sep 2010 06:10:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.spitzenpfeil.org/wordpress/?p=53#comment-632</guid>
		<description>OK, that&#039;s great to know - I&#039;ll experiment with different types of image and see what works best. Great that now all the basics are working ;-) I&#039;ll let you know how I get on in a few days. Thanks again for you help with this!</description>
		<content:encoded><![CDATA[<p>OK, that&#8217;s great to know &#8211; I&#8217;ll experiment with different types of image and see what works best. Great that now all the basics are working ;-) I&#8217;ll let you know how I get on in a few days. Thanks again for you help with this!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://blog.spitzenpfeil.org/wordpress/2008/09/08/8x8-rgb-matrix-2nd-arduino-project/#comment-631</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Thu, 16 Sep 2010 21:28:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.spitzenpfeil.org/wordpress/?p=53#comment-631</guid>
		<description>Wow, ok, that&#039;s great - I _should_ be able to do something with that! ;-) (BTW if you have a simple mind, I have sawdust!!). Regarding the colours, yes it could be that my eyes just don&#039;t catch the colours, I was just looking at it in the dark and of course colours are much stronger, and yes, contrasting colours work best. I&#039;ll keep trying out some different types of image to see what works best. I&#039;ll put some video up once I have something worth you seeing. Great to have solved all the basic bugs now, thanks!</description>
		<content:encoded><![CDATA[<p>Wow, ok, that&#8217;s great &#8211; I _should_ be able to do something with that! ;-) (BTW if you have a simple mind, I have sawdust!!). Regarding the colours, yes it could be that my eyes just don&#8217;t catch the colours, I was just looking at it in the dark and of course colours are much stronger, and yes, contrasting colours work best. I&#8217;ll keep trying out some different types of image to see what works best. I&#8217;ll put some video up once I have something worth you seeing. Great to have solved all the basic bugs now, thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: robert</title>
		<link>http://blog.spitzenpfeil.org/wordpress/2008/09/08/8x8-rgb-matrix-2nd-arduino-project/#comment-630</link>
		<dc:creator>robert</dc:creator>
		<pubDate>Thu, 16 Sep 2010 17:26:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.spitzenpfeil.org/wordpress/?p=53#comment-630</guid>
		<description>Each image takes 193 bytes of FLASH memory + 2 bytes of RAM I think (for the pointer array). The latter could be put into FLASH as well, but that gets a bit too complicated for my simple mind. If you read the PROGMEM tutorial on avrfreaks.net you can fix it yourself :-)

So an ATmega328 should be able to hold way over 100 images, depending on how much other code you put in there. Image complexity doesn&#039;t matter.

Regarding colors, the standard code runs a color depth of 5bits per color, which totals in 32768 shades. However, many of these will look the same to the human eye. The converter script has a variable called $color_scaler, which is set to 8. 24bit images allow for 255 shaded per color. That gets divided by 8, which gives about 32.

Strongly contrasting colors work best.</description>
		<content:encoded><![CDATA[<p>Each image takes 193 bytes of FLASH memory + 2 bytes of RAM I think (for the pointer array). The latter could be put into FLASH as well, but that gets a bit too complicated for my simple mind. If you read the PROGMEM tutorial on avrfreaks.net you can fix it yourself :-)</p>
<p>So an ATmega328 should be able to hold way over 100 images, depending on how much other code you put in there. Image complexity doesn&#8217;t matter.</p>
<p>Regarding colors, the standard code runs a color depth of 5bits per color, which totals in 32768 shades. However, many of these will look the same to the human eye. The converter script has a variable called $color_scaler, which is set to 8. 24bit images allow for 255 shaded per color. That gets divided by 8, which gives about 32.</p>
<p>Strongly contrasting colors work best.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://blog.spitzenpfeil.org/wordpress/2008/09/08/8x8-rgb-matrix-2nd-arduino-project/#comment-629</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Thu, 16 Sep 2010 14:55:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.spitzenpfeil.org/wordpress/?p=53#comment-629</guid>
		<description>Hi! Yes, things are looking up, thank you!
- I am able to create own images in Gimp and process them with the perl script to get the code to add to the arduino code.
- I&#039;ve currently got 15 frames, do you know what is the limit, or does it depend on complexity of the images?
- My matrix is not displaying MY images correctly pixel for pixel except for the very simple ones. In your code with the random colour generator I get a huge scale of colours so it is definitely capable of displaying across the colour spectrum, but it appears that the convert_ppm_to_array.pl script is maybe limiting the colours, or else the arduino code is not displaying the colours correctly. Any suggestions on that?
Thanks again!</description>
		<content:encoded><![CDATA[<p>Hi! Yes, things are looking up, thank you!<br />
- I am able to create own images in Gimp and process them with the perl script to get the code to add to the arduino code.<br />
- I&#8217;ve currently got 15 frames, do you know what is the limit, or does it depend on complexity of the images?<br />
- My matrix is not displaying MY images correctly pixel for pixel except for the very simple ones. In your code with the random colour generator I get a huge scale of colours so it is definitely capable of displaying across the colour spectrum, but it appears that the convert_ppm_to_array.pl script is maybe limiting the colours, or else the arduino code is not displaying the colours correctly. Any suggestions on that?<br />
Thanks again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://blog.spitzenpfeil.org/wordpress/2008/09/08/8x8-rgb-matrix-2nd-arduino-project/#comment-628</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Wed, 15 Sep 2010 05:12:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.spitzenpfeil.org/wordpress/?p=53#comment-628</guid>
		<description>Hi - thanks for this, I&#039;ll try it again later, I&#039;m working today so don&#039;t have arduino with me ;-} Not sure what the problem with the .ppm&#039;s I am making is, as I have created them exactly as you say. Will keep trying! Thanks anyway for your excellent project!</description>
		<content:encoded><![CDATA[<p>Hi &#8211; thanks for this, I&#8217;ll try it again later, I&#8217;m working today so don&#8217;t have arduino with me ;-} Not sure what the problem with the .ppm&#8217;s I am making is, as I have created them exactly as you say. Will keep trying! Thanks anyway for your excellent project!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: robert</title>
		<link>http://blog.spitzenpfeil.org/wordpress/2008/09/08/8x8-rgb-matrix-2nd-arduino-project/#comment-627</link>
		<dc:creator>robert</dc:creator>
		<pubDate>Tue, 14 Sep 2010 20:24:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.spitzenpfeil.org/wordpress/?p=53#comment-627</guid>
		<description>You can adjust the fadeout timeout in show_image.pde here:

#define __fade_out_display 2000 // in milliseconds

To run stand alone animations, the loop function of the arduino code should look like this:

void loop(void) {
  /* this would show the images stored in the above PROGMEM arrays
  byte counter;
  for (counter=0; counter&lt;10; counter++) {
    show_image(counter,100);
  }
}

There&#039;s already an animation stored in the code, consisting of 10 frames.

To convert your own .ppm images, use &#039;convert_ppm_to_array.pl&#039; on the image. It will spit out c-code, which you can put into the arduino code in the same manner as shown in the little demo.

The images must be named like &#039;frame1.ppm&#039; etc, so the converter knows how to number the arrays for the c-code. Be sure to also adjust 

const char * frames[] = {frame1,frame2,frame3,frame4};

accordingly.

I create .ppm images using GIMP like this:

Create a new image with 8x8 pixels, draw draw draw, save as e.g. &quot;frame5.ppm&quot;, chose option: RAW.

BTW, I hope you use the code I&#039;ve published on my gitweb site. Anything else should be pretty much obsolete.</description>
		<content:encoded><![CDATA[<p>You can adjust the fadeout timeout in show_image.pde here:</p>
<p>#define __fade_out_display 2000 // in milliseconds</p>
<p>To run stand alone animations, the loop function of the arduino code should look like this:</p>
<p>void loop(void) {<br />
  /* this would show the images stored in the above PROGMEM arrays<br />
  byte counter;<br />
  for (counter=0; counter&lt;10; counter++) {<br />
    show_image(counter,100);<br />
  }<br />
}</p>
<p>There&#8217;s already an animation stored in the code, consisting of 10 frames.</p>
<p>To convert your own .ppm images, use &#8216;convert_ppm_to_array.pl&#8217; on the image. It will spit out c-code, which you can put into the arduino code in the same manner as shown in the little demo.</p>
<p>The images must be named like &#8216;frame1.ppm&#8217; etc, so the converter knows how to number the arrays for the c-code. Be sure to also adjust </p>
<p>const char * frames[] = {frame1,frame2,frame3,frame4};</p>
<p>accordingly.</p>
<p>I create .ppm images using GIMP like this:</p>
<p>Create a new image with 8&#215;8 pixels, draw draw draw, save as e.g. &#8220;frame5.ppm&#8221;, chose option: RAW.</p>
<p>BTW, I hope you use the code I&#8217;ve published on my gitweb site. Anything else should be pretty much obsolete.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://blog.spitzenpfeil.org/wordpress/2008/09/08/8x8-rgb-matrix-2nd-arduino-project/#comment-626</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Tue, 14 Sep 2010 16:39:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.spitzenpfeil.org/wordpress/?p=53#comment-626</guid>
		<description>I&#039;ve now installed Gimp, but I still get problems saving a .ppm that will work. I&#039;ve saved as &quot;raw&quot;, 8x8 pixels, RGB. Is it a pc thing..?
Saw that the fading is in the arduino code - but I don&#039;t see how to make the animation run....the perl script is the same in both your versions as far as I can see? I&#039;d (ideally) like to run animations on the matrix standalone (not connected to the pc) - is this possible with your code and setup?
Thanks again!</description>
		<content:encoded><![CDATA[<p>I&#8217;ve now installed Gimp, but I still get problems saving a .ppm that will work. I&#8217;ve saved as &#8220;raw&#8221;, 8&#215;8 pixels, RGB. Is it a pc thing..?<br />
Saw that the fading is in the arduino code &#8211; but I don&#8217;t see how to make the animation run&#8230;.the perl script is the same in both your versions as far as I can see? I&#8217;d (ideally) like to run animations on the matrix standalone (not connected to the pc) &#8211; is this possible with your code and setup?<br />
Thanks again!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

