<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>uRaNGaTaNG &#187; Arduino &amp; Co.</title>
	<atom:link href="http://www.rngtng.com/category/arduino-co/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rngtng.com</link>
	<description>Featuring Ruby, Rails, Web development, Arduino, Processing, Nabaztag and more...</description>
	<lastBuildDate>Thu, 12 Jan 2012 10:08:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<atom:link rel='hub' href='http://www.rngtng.com/?pushpress=hub'/>
		<item>
		<title>Hacking the Nabaztag &#8211; Arduino injects via I2C data into RFID Reader</title>
		<link>http://www.rngtng.com/2012/01/10/hacking-the-nabaztag-arduino-injects-via-i2c-data-into-rfid-reader/</link>
		<comments>http://www.rngtng.com/2012/01/10/hacking-the-nabaztag-arduino-injects-via-i2c-data-into-rfid-reader/#comments</comments>
		<pubDate>Mon, 09 Jan 2012 23:28:04 +0000</pubDate>
		<dc:creator>tobi</dc:creator>
				<category><![CDATA[Arduino & Co.]]></category>
		<category><![CDATA[Arduino]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[inject]]></category>
		<category><![CDATA[nabaztag]]></category>
		<category><![CDATA[rfid]]></category>

		<guid isPermaLink="false">http://www.rngtng.com/?p=624</guid>
		<description><![CDATA[

Wow! After more than two years I finally got my hands dirty hacking the Nabaztag rabbit. The release of the source code last summer were very encouraging here! Expect some awesome results in the next time :-) 

Let's start with NabaztagInjector, an Arduino Library to inject data:

What bothered me for long was the missing ...]]></description>
			<content:encoded><![CDATA[<p><img src="http://farm7.staticflickr.com/6185/6151922207_019ac10ee4_d.jpg" alt="" width="500" height="500" class="aligncenter size-full wp-image-626" /></p>
<p>Wow! After <a href="http://www.rngtng.com/2009/12/02/hacking-the-nabaztag/" class="broken_link">more than two years</a> I finally got my hands dirty hacking the Nabaztag rabbit. The <a href="http://code.google.com/p/nabaztag-source-code/">release of the source code</a> last summer were very encouraging here! Expect some awesome results in the next time <img src='http://www.rngtng.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  </p>
<p>Let&#8217;s start with <strong>NabaztagInjector</strong>, an Arduino Library to inject data:</p>
<p>What bothered me for long was the missing possibility to connect external devices to the rabbit. How awesome would it be to use the rabbit for sending data into the net? Imagine it as WIFI shield you Arduino.</p>
<p>Guess what &#8211; that&#8217;s possible: replacing the RFID reader with an Arduino (both use the I2C bus) running a simulation of the RFID reader chip, enabled me to inject any custom data to the rabbit. Hacked!</p>
<p>As result, I created this tiny Arduino library to encapsulates the full process behind and easy API:</p>
<div id="gist-1582447" class="gist">

        <div class="gist-file">
          <div class="gist-data gist-syntax">
              <div class="highlight"><pre><div class='line' id='LC1'><span class="cm">/**</span></div><div class='line' id='LC2'><span class="cm"> * Simple Arduino NabaztagInjector example sketch</span></div><div class='line' id='LC3'><span class="cm"> **/</span></div><div class='line' id='LC4'><br/></div><div class='line' id='LC5'><span class="cp">#include &lt;Nabaztag.h&gt;</span></div><div class='line' id='LC6'><br/></div><div class='line' id='LC7'><span class="kt">void</span> <span class="n">setup</span><span class="p">()</span> <span class="p">{</span></div><div class='line' id='LC8'>&nbsp;&nbsp;<span class="n">Nabaztag</span><span class="p">.</span><span class="n">begin</span><span class="p">(</span><span class="mi">0</span><span class="p">);</span> <span class="c1">//0 = standalone</span></div><div class='line' id='LC9'><span class="p">}</span></div><div class='line' id='LC10'><br/></div><div class='line' id='LC11'><span class="kt">void</span> <span class="n">loop</span><span class="p">()</span> <span class="p">{</span></div><div class='line' id='LC12'>&nbsp;&nbsp;<span class="c1">// send 1337 to the rabbit</span></div><div class='line' id='LC13'>&nbsp;&nbsp;<span class="n">Nabaztag</span><span class="p">.</span><span class="n">inject</span><span class="p">(</span><span class="mi">1337</span><span class="p">);</span></div><div class='line' id='LC14'>&nbsp;&nbsp;<span class="c1">//done</span></div><div class='line' id='LC15'><span class="p">}</span></div></pre></div>
          </div>

          <div class="gist-meta">
            <a href="https://gist.github.com/raw/1582447/51aa220ff30606e35ab026779eb6e4a797f57ce9/nabaztag.ino" style="float:right;">view raw</a>
            <a href="https://gist.github.com/1582447#file_nabaztag.ino" style="float:right;margin-right:10px;color:#666">nabaztag.ino</a>
            <a href="https://gist.github.com/1582447">This Gist</a> brought to you by <a href="http://github.com">GitHub</a>.
          </div>
        </div>
</div>

<p>Check out the full Readme, Source code and Examples here:</p>
<p><a href="http://www.rngtng.com/nabaztag-injector-arduino-rfid-hack/" target="_blank">http://www.rngtng.com/nabaztag-injector-arduino-rfid-hack/</a></p>
<p class="wp-flattr-button"></p> <p><a href="http://www.rngtng.com/?flattrss_redirect&amp;id=624&amp;md5=bc43e27d302e1ee2344eb8a73c6ca398" title="Flattr" target="_blank"><img src="http://www.rngtng.com/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.rngtng.com/2012/01/10/hacking-the-nabaztag-arduino-injects-via-i2c-data-into-rfid-reader/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>cubeXcontrol &#8211; a Rainbow Cube Editor</title>
		<link>http://www.rngtng.com/2010/12/31/cubexcontrol-a-rainbow-cube-editor/</link>
		<comments>http://www.rngtng.com/2010/12/31/cubexcontrol-a-rainbow-cube-editor/#comments</comments>
		<pubDate>Fri, 31 Dec 2010 13:35:15 +0000</pubDate>
		<dc:creator>tobi</dc:creator>
				<category><![CDATA[Arduino & Co.]]></category>
		<category><![CDATA[Happy Hacking]]></category>
		<category><![CDATA[2010]]></category>
		<category><![CDATA[Arduino]]></category>
		<category><![CDATA[carnival]]></category>
		<category><![CDATA[cube]]></category>
		<category><![CDATA[led]]></category>
		<category><![CDATA[RainbowCube]]></category>
		<category><![CDATA[RainbowDuino]]></category>
		<category><![CDATA[RGB]]></category>
		<category><![CDATA[seeedstudio]]></category>

		<guid isPermaLink="false">http://www.rngtng.com/?p=501</guid>
		<description><![CDATA[

UPDATE:
Please express your Love and vote for cubeXControl here - Thanks!

UPDATE2:
Apparently the current Version doesn't work with Windows. I'm very sorry for that, but at the moment I don't have any Win machine to test this. So please feel free to try yourself and fix it! Thx!

I'm proud to present a first version which ...]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.rngtng.com/files/2010/12/cube.jpg" alt="" width="500" height="340" class="aligncenter size-full wp-image-504" /></p>
<p><strong>UPDATE:</strong><br />
<a href="http://www.seeedstudio.com/blog/2011/01/14/rainbowduino-carnival-2010-vote-now/">Please express your Love and vote for <strong>cubeXControl</strong> here &#8211; Thanks!</a></p>
<p><strong>UPDATE2:</strong><br />
Apparently the current Version doesn&#8217;t work with Windows. I&#8217;m very sorry for that, but at the moment I don&#8217;t have any Win machine to test this. So please feel free to try yourself and fix it! Thx!</p>
<p>I&#8217;m proud to present a first version which was on my this years TODO list for so long, but due to all the changes therefore very less time never got startet. But thanks to the <a href="http://www.seeedstudio.com/blog/2010/10/28/rainbowduino-carnival-2010-launched/">Seeedstudio Rainbowduino Carnival 2010</a> I got a big motivation boost and found some time to get my fingers dirty again. So check this out, my this years contribution for the carnival:</p>
<p>cubeXcontrol &#8211; a Rainbow Cube Editor</p>
<p>Well, you know the <a href="http://www.rngtng.com/mtXcontrol">mtXcontrol</a>, the Rainbowduino Editor and the awesome <a href="http://www.seeedstudio.com/depot/rainbow-cube-kit-rgb-4x4x4-rainbowduino-compatible-p-596.html">Seeedstudio Rainbow Cube</a> I <a href="http://www.rngtng.com/2010/03/08/rainbow-cube-here-it-is/" class="broken_link">mentioned</a> here ? Now it&#8217;s time  to bring them together:</p>
<p><a href="http://www.rngtng.com/2010/12/31/cubexcontrol-a-rainbow-cube-editor/"><em>Click here to view the embedded video.</em></a></p>
<p>cubeXcontrol is an editor to control and create patterns for the 4x4x4 RGB Rainbow Cube powered by a rainbowduino. It comes with an extra window showing a 3D model of the Cube, allowing to rotate in all directions and to zoom. Click on boxes to set the LED color easily.</p>
<p>The editor is of course heavily based on the latest mtXcontrol version, with the latest rainbowduino firmware. Both are unfortunately still in <a href="http://www.rngtng.com/2010/09/05/mtxcontrol-sneak-preview-rainbowduino-beta-library-master-and-slave/" class="broken_link">beta stage</a>, but come with great new features like auto port detection. </p>
<p>Get the sources here:</p>
<p><a href="https://github.com/rngtng/mtXcontrol/tree/cubeXcontrol" target="_blank">https://github.com/rngtng/mtXcontrol/tree/cubeXcontrol</a></p>
<p>And the Rainbowduino driver:</p>
<p><a href="https://github.com/rngtng/rainbowduino/tree/master_slave" target="_blank">https://github.com/rngtng/rainbowduino/tree/master_slave</a></p>
<p>Happy cub&#8217;ing!</p>
<p class="wp-flattr-button"></p> <p><a href="http://www.rngtng.com/?flattrss_redirect&amp;id=501&amp;md5=64eed6560866b27429a62747504dcc70" title="Flattr" target="_blank"><img src="http://www.rngtng.com/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.rngtng.com/2010/12/31/cubexcontrol-a-rainbow-cube-editor/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>mtXcontrol sneak preview &#8211; rainbowduino beta library goes master and slave</title>
		<link>http://www.rngtng.com/2010/09/05/mtxcontrol-sneak-preview-rainbowduino-beta-library-master-and-slave/</link>
		<comments>http://www.rngtng.com/2010/09/05/mtxcontrol-sneak-preview-rainbowduino-beta-library-master-and-slave/#comments</comments>
		<pubDate>Sun, 05 Sep 2010 16:38:25 +0000</pubDate>
		<dc:creator>tobi</dc:creator>
				<category><![CDATA[Arduino & Co.]]></category>
		<category><![CDATA[Arduino]]></category>
		<category><![CDATA[launchpad]]></category>
		<category><![CDATA[mtXcontrol]]></category>
		<category><![CDATA[processing]]></category>
		<category><![CDATA[RainbowCube]]></category>
		<category><![CDATA[RainbowDuino]]></category>

		<guid isPermaLink="false">http://www.rngtng.com/?p=394</guid>
		<description><![CDATA[

Now, as I'm finally getting settled, it's time to kick of mtXcontrol development again. So first, I'll continue working on the raw rainbowduino interaction which is the firmware, a communication protocol and a processing library, all summerized in the Processing library -Rainbowduino-. Current development going on, here, check it out. It's still in a ...]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.rngtng.com/2010/09/05/mtxcontrol-sneak-preview-rainbowduino-beta-library-master-and-slave/"><em>Click here to view the embedded video.</em></a></p>
<p>Now, as I&#8217;m finally getting settled, it&#8217;s time to kick of mtXcontrol development again. So first, I&#8217;ll continue working on the raw rainbowduino interaction which is the firmware, a communication protocol and a processing library, all summerized in the <strong>Processing library -Rainbowduino-</strong>. Current development going on, <a href="http://github.com/rngtng/rainbowduino">here, check it out</a>. It&#8217;s still in a beta state, but ready and good for testing. </p>
<p> Just to make you curious here some new cool upcoming features:<br />
* support for multiple &amp; cascading Rainbowduinos<br />
* auto port detection<br />
* plug and play<br />
* (auto) firmware upload<br />
* <a href="http://www.seeedstudio.com/depot/rainbow-cube-kit-rgb-4x4x4-rainbowduino-compatible-p-596.html?cPath=71&amp;zenid=6f5af82edb45a559db6dd5e4531b5faf">Rainbow Cube support</a><br />
* updated, more robust protocol</p>
<p>The video above show a quick preview of the upcoming Rainbowduino Firmware release &#8216;Master and Slave&#8217;.</p>
<p>You see two Rainbowduinos, the left one as Master connected via Serial to Mac, the right one as Slave connected via I2C to master. The blinking LEDs are merely debug output, interesting part is the changing brightness of the slave. The command to change brightness is send via Serial, received by the master and forwarded to the slave via I2C. With that multiple rainbowudinos can be connected in a row easily. </p>
<p>And the Best: both run the same(!!!) firmware. The master/slave role and I2C address are auto detected on startup. As easy as that! </p>
<p>Stay tuned!!</p>
<p class="wp-flattr-button"></p>]]></content:encoded>
			<wfw:commentRss>http://www.rngtng.com/2010/09/05/mtxcontrol-sneak-preview-rainbowduino-beta-library-master-and-slave/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Rainbow Cube &#8211; here it is!</title>
		<link>http://www.rngtng.com/2010/03/08/rainbow-cube-here-it-is/</link>
		<comments>http://www.rngtng.com/2010/03/08/rainbow-cube-here-it-is/#comments</comments>
		<pubDate>Mon, 08 Mar 2010 14:39:41 +0000</pubDate>
		<dc:creator>tobi</dc:creator>
				<category><![CDATA[Arduino & Co.]]></category>
		<category><![CDATA[Rainbow Cube]]></category>
		<category><![CDATA[RainbowDuino]]></category>
		<category><![CDATA[seeed]]></category>

		<guid isPermaLink="false">http://www.rngtng.com/?p=396</guid>
		<description><![CDATA[
Yay, I finally got my Rainbow Cube from Seeedstudio. It came in various parts which required happy soldering. Now, I can start experimenting and porting mtXcontrol to support Rainbow Cube as well - stay tuned!]]></description>
			<content:encoded><![CDATA[<p style="text-align: center"><img class="aligncenter size-full wp-image-453" src="http://www.rngtng.com/files/2010/09/Screen-shot-2010-09-02-at-22.40.09.png" alt="" width="392" height="360" /></p>
<p>Yay, I finally got my <a href="http://www.seeedstudio.com/depot/rainbow-cube-kit-rgb-4x4x4-rainbowduino-compatible-p-596.html?cPath=71&amp;zenid=6f5af82edb45a559db6dd5e4531b5faf">Rainbow Cube</a> from Seeedstudio. It came in various parts which required happy soldering. Now, I can start experimenting and porting mtXcontrol to support Rainbow Cube as well &#8211; stay tuned!</p>
<p class="wp-flattr-button"></p>]]></content:encoded>
			<wfw:commentRss>http://www.rngtng.com/2010/03/08/rainbow-cube-here-it-is/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>mtXcontrol meets Launchpad meets Rainbowduino</title>
		<link>http://www.rngtng.com/2009/12/30/mtxcontrol-meets-launchpad-meets-rainbowduino/</link>
		<comments>http://www.rngtng.com/2009/12/30/mtxcontrol-meets-launchpad-meets-rainbowduino/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 15:48:44 +0000</pubDate>
		<dc:creator>tobi</dc:creator>
				<category><![CDATA[Arduino & Co.]]></category>
		<category><![CDATA[Controller]]></category>
		<category><![CDATA[launchpad]]></category>
		<category><![CDATA[mtXcontrol]]></category>
		<category><![CDATA[RainbowDuino]]></category>

		<guid isPermaLink="false">http://www.rngtng.com/?p=379</guid>
		<description><![CDATA[That's it! I just released mtXcontrol version 1.1 with lot of updates and improvements. One major improvement is full support for Novation Launchpad: just draw your sequences and display them on your Launchpad! Even better, push the buttons to change the color, add, remove, copy &#38; paste frames. For that mtXcontrol makes usage of ...]]></description>
			<content:encoded><![CDATA[<p>That&#8217;s it! I just released mtXcontrol version 1.1 with lot of updates and improvements. One major improvement is full support for <a href="http://www.novationmusic.com/products/launchpad">Novation Launchpad</a>: just draw your sequences and display them on your Launchpad! Even better, push the buttons to change the color, add, remove, copy &amp; paste frames. For that mtXcontrol makes usage of the <a href="http://rngtng.github.com/launchpad">Launchpad Processing library</a> which I released some days ago.</p>
<p>But Rainbowduino support improved as well. I fixed lots of bugs and implemented requested features. Now you can control the display brightness, save up to 10 frames onto the device and serial port is auto detected. In general, I defined an basic API to communicate with the devices, which allows you to add more devices easily (e.g. monome!). With that, all Rainbowduino stuff is moved in a separate <a href="http://rngtng.github.com/rainbowduino">Rainbowduino Processing library</a>. </p>
<p><a href="http://www.rngtng.com/2009/12/30/mtxcontrol-meets-launchpad-meets-rainbowduino/"><em>Click here to view the embedded video.</em></a></p>
<p>See official <a href="http://www.rngtng.com/mtXcontrol">mtXcontrol</a> project page for more.</p>
<p class="wp-flattr-button"></p>]]></content:encoded>
			<wfw:commentRss>http://www.rngtng.com/2009/12/30/mtxcontrol-meets-launchpad-meets-rainbowduino/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mtXcontrol wins the Seeedstudio Rainbowduino Carnival</title>
		<link>http://www.rngtng.com/2009/10/22/mtxcontrol-wins-the-seeedstudio-rainbowduino-carnival/</link>
		<comments>http://www.rngtng.com/2009/10/22/mtxcontrol-wins-the-seeedstudio-rainbowduino-carnival/#comments</comments>
		<pubDate>Thu, 22 Oct 2009 09:02:43 +0000</pubDate>
		<dc:creator>tobi</dc:creator>
				<category><![CDATA[Arduino & Co.]]></category>
		<category><![CDATA[Arduino]]></category>
		<category><![CDATA[competion]]></category>
		<category><![CDATA[mtXcontrol]]></category>
		<category><![CDATA[RainbowDuino]]></category>
		<category><![CDATA[seeedstudio]]></category>

		<guid isPermaLink="false">http://www.rngtng.com/?p=274</guid>
		<description><![CDATA[Yay - the voting for the Seeedstudio Rainbowduino Carnival Competition is over. And, guess what, my project mtXcontrol made the run - I won the first price! Yipheee.. that's 12x Rainbowduinos + 100$ Shopping voucher which I'll invest in buying Xbee Stuff.. Can't wait to get my hands on! Stay tuned...

Thanks to everybody voting ...]]></description>
			<content:encoded><![CDATA[<p>Yay &#8211; the voting for the <a href="http://www.seeedstudio.com/forum/viewforum.php?f=11" class="broken_link">Seeedstudio Rainbowduino Carnival Competition</a> is over. And, guess what, my project <a href="http://www.rngtng.com/mtXcontrol">mtXcontrol</a> made the run &#8211; I won the first price! Yipheee.. that&#8217;s 12x Rainbowduinos + 100$ Shopping voucher which I&#8217;ll invest in buying Xbee Stuff.. Can&#8217;t wait to get my hands on! Stay tuned&#8230;</p>
<p>Thanks to everybody voting for my project!</p>
<p>Btw. I just released the latest version 1.02 with some bugfixes and new features in the API&#8230;</p>
<p class="wp-flattr-button"></p>]]></content:encoded>
			<wfw:commentRss>http://www.rngtng.com/2009/10/22/mtxcontrol-wins-the-seeedstudio-rainbowduino-carnival/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Rainbowduino Carnival Competition Voting has started</title>
		<link>http://www.rngtng.com/2009/10/07/rainbowduino-carnival-competition-voting-has-started/</link>
		<comments>http://www.rngtng.com/2009/10/07/rainbowduino-carnival-competition-voting-has-started/#comments</comments>
		<pubDate>Wed, 07 Oct 2009 18:31:47 +0000</pubDate>
		<dc:creator>tobi</dc:creator>
				<category><![CDATA[Arduino & Co.]]></category>
		<category><![CDATA[Arduino]]></category>
		<category><![CDATA[competition]]></category>
		<category><![CDATA[mtXcontrol]]></category>
		<category><![CDATA[RainbowDuino]]></category>
		<category><![CDATA[seeedstudio]]></category>
		<category><![CDATA[vote]]></category>

		<guid isPermaLink="false">http://www.rngtng.com/?p=268</guid>
		<description><![CDATA[As mentioned in earlier post, I submitted the first public version of mtXcontrol  to the Rainbowduino Carnival Competition by Seeedstudio. Now it's time to vote for the best projects:



I know,  the decision will be quite hard, as a lot of other cool projects were submitted as well. Like this cool Daft Punk ...]]></description>
			<content:encoded><![CDATA[<p>As mentioned in earlier post, I submitted the first public version of mtXcontrol  to the <a href="http://www.seeedstudio.com/forum/viewforum.php?f=11" class="broken_link">Rainbowduino Carnival Competition</a> by Seeedstudio. Now it&#8217;s time to vote for the best projects:</p>
<p><a href="http://www.yourfreepoll.com/mvexghzbsp.html" target="_blank"><img src="http://www.yourfreepoll.com/images/mvexghzb.gif" alt="Express your opinion!" border="0"></a></p>
<p>I know,  the decision will be quite hard, as a lot of other cool projects were submitted as well. Like this cool <a href="http://www.seeedstudio.com/forum/viewtopic.php?f=11&amp;t=440">Daft Punk Helmet</a>  or this nice <a href="http://www.seeedstudio.com/forum/viewtopic.php?f=11&amp;t=434">lipsync speaking Robot</a>&#8230; </p>
<p>Please check out the <a href="http://vimeo.com/groups/24917/videos/6916458">Raindrop Rainbowduino Game</a> by my friend ccb23 as well. It&#8217;s a Rainbowduino connected via I2C to an Arduino with an Accelerometer. With that you can move the red dot on the Matrix and avoid hitting the falling blue raindrops. nice!</p>
<p><a href="http://www.yourfreepoll.com/mvexghzbsp.html" target="_blank">Make your vote!</a></p>
<p class="wp-flattr-button"></p>]]></content:encoded>
			<wfw:commentRss>http://www.rngtng.com/2009/10/07/rainbowduino-carnival-competition-voting-has-started/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Understanding the Rainbowduino Controller by Seeedstudio</title>
		<link>http://www.rngtng.com/2009/10/02/understanding-the-rainbowduino-controller-by-seeedstudio/</link>
		<comments>http://www.rngtng.com/2009/10/02/understanding-the-rainbowduino-controller-by-seeedstudio/#comments</comments>
		<pubDate>Fri, 02 Oct 2009 18:33:04 +0000</pubDate>
		<dc:creator>tobi</dc:creator>
				<category><![CDATA[Arduino & Co.]]></category>
		<category><![CDATA[Arduino]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[RainbowDuino]]></category>
		<category><![CDATA[seeedstudio]]></category>

		<guid isPermaLink="false">http://www.rngtng.com/?p=188</guid>
		<description><![CDATA[As you may know, I've orderd a Rainbowduino from Seeedstudio. They delivered quite fast and I'm very happy of the price/quality/functionality ratio. In my opinion, the Rainbowduino is the cheapest ready-to-go 8x8 RGB LED Controller Set at the moment - for just 43.4$ ( 19.90$ Board + 23.50$ Matrix)  you are set for ...]]></description>
			<content:encoded><![CDATA[<p>As you may know, I&#8217;ve orderd a <a href="http://www.seeedstudio.com/blog/?page_id=187" class="broken_link">Rainbowduino from Seeedstudio</a>. They delivered quite fast and I&#8217;m very happy of the price/quality/functionality ratio. In my opinion, the Rainbowduino is the cheapest ready-to-go 8&#215;8 RGB LED Controller Set at the moment &#8211; for just 43.4$ ( 19.90$ Board + 23.50$ Matrix)  you are set for taking of!</p>
<p>My first tests went quite well. The Rainbowduino comes  with a ready to use the program/<a href="http://www.seeedstudio.com/depot/images/product/RaibowduinoCMD_Bata.rar">sketch</a> which allows you basic controls via I2C bus easily, like writing letters &amp; lines in different color and light strength. But soon I hit the limits when it came so single control each LED to my will. So no doubt, I had to dig deeper in understanding how to control the Rainbowduino. Here a short summery of my results:</p>
<p>To understand how the Rainbowduino works, I kind of reverseengineered the sketch by seeedstudio which came with the controller. As usual for driving those Matrixes, <a href="http://en.wikipedia.org/wiki/Pulse-width_modulation">PWM</a> is used as basic concept. This means the frame image is created row by row by high frequency, so human eye puts it all together to one single image.</p>
<p>To simplify this process I created the Rainbowduino.h Library, which comes with some nice methods to set frames and draw those to the Rainbowduino. It&#8217;s part of the mtXcontrol firmware an can be <a href="http://github.com/rngtng/mtXcontrol/tree/master/firmware/rainbowduino/" class="broken_link">downloaded from github</a></p>
<p style="text-align: center"><img class="aligncenter" src="http://www.seeedstudio.com/depot/images/product/rainbowblock.jpg" alt="" width="528" height="298" /></p>
<p><strong>How it works:</strong><br />
To tell rainbowduino which row to draw the method &#8216;open_row&#8217; is called. As each row is represented by a one output PIN, this method sets the according PIN to high, all others to low. Unfortunately the row pins are not all on one port: rows 1-3 are on PORTB Bit 1-3, rows 4-8 are on PORTD Bit 4-8. This makes the method kind of bit ugly <img src='http://www.rngtng.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>After the row is selected, its time to set the pixels. One pixel consists of 3 LEDs: red, green &amp; blue. Each LED has to be separately to high or low to mix the final color (e.g. red + green is yellow). First all blue values of a row are set, then red and finally green. This happens in serial on PORTC. First bit is the value input, second bit is clock,  bit 3 the write mode bit and bit 4 to display the shifted value. Call the method &#8216;draw_row&#8217; to display a row. First parameter is the row number (0-7), second the intensity (1-16) and then the red, blue &amp; green values for the row. e.g passing the color values 1,0,0 would light the first pixel red and all other off, where as 255, 255, 255 would light up all LED and all colors, to the full row would be white.</p>
<p>To store the row values the Library comes with a frame buffer for 10 frames. (That the amount of frames we can store to EEPROM without compression as well). You can pre fill the buffer and set the frame number to display. By calling draw() the frame of the current _frame number is drawn.</p>
<p>It makes sense to call this function by a timer interrupt to not disturb your actual program progress and to ensure it&#8217;s call in regular frequency to avoid different display colors.</p>
<p>To set up the timer, include this in your code:</p>
<pre class="brush: cpp; title: ; notranslate">
Rainbowduino rainbow = Rainbowduino(10);  //max 10 Frames

void setup_timer() {
  TCCR2A = 0;
  TCCR2B = 1&lt;&lt;CS22 | 0 &lt;&lt;CS21 | 0&lt;&lt;CS20;
  TIMSK2 = 1&lt;&lt;TOIE2;
  TCNT2 = 0;
  sei();
}

ISR(TIMER2_OVF_vect) {
  rainbow.draw();
}
</pre>
<p>Now, just fill you frames with</p>
<pre class="brush: cpp; title: ; notranslate">
rainbow.set_frame(0, *data);
</pre>
<p>and your&#8217;re ready to go. Have fun!</p>
<p>First tests of the library with earlier version of <a href="http://www.rngtng.com/mtXcontrol">mtXcontrol</a>, an Editor to create images on the Matrix easily:<br />
<p><a href="http://www.rngtng.com/2009/10/02/understanding-the-rainbowduino-controller-by-seeedstudio/"><em>Click here to view the embedded video.</em></a></p></p>
<p>Stay tuned for more examples soon&#8230;</p>
<p class="wp-flattr-button"></p>]]></content:encoded>
			<wfw:commentRss>http://www.rngtng.com/2009/10/02/understanding-the-rainbowduino-controller-by-seeedstudio/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Stealth Project on a Nova 10x10x10 LED Cube</title>
		<link>http://www.rngtng.com/2009/08/10/stealth-project-on-a-nova-10x10x10-led-cube/</link>
		<comments>http://www.rngtng.com/2009/08/10/stealth-project-on-a-nova-10x10x10-led-cube/#comments</comments>
		<pubDate>Mon, 10 Aug 2009 08:47:45 +0000</pubDate>
		<dc:creator>tobi</dc:creator>
				<category><![CDATA[Arduino & Co.]]></category>
		<category><![CDATA[Lost in Web]]></category>
		<category><![CDATA[art]]></category>
		<category><![CDATA[led]]></category>
		<category><![CDATA[nova]]></category>
		<category><![CDATA[Squidsoup]]></category>
		<category><![CDATA[Stealth]]></category>

		<guid isPermaLink="false">http://www.rngtng.com/?p=126</guid>
		<description><![CDATA[Hey guys, look at this: I just found this awesome project by Squidsoup. They put up a 10x10x10 LED Cube "NOVA 3D LED" (yes, 3 dimensions, yes that's 1000 single controlled LEDs) and created cool stuff like webcam projection or a the "Stealth Project", a game similar to Battleships. Just get it's great sounds ...]]></description>
			<content:encoded><![CDATA[<p>Hey guys, look at this: I just found this awesome project by <a href="http://www.squidsoup.org/">Squidsoup</a>. They put up a 10x10x10 LED Cube <em>&#8220;NOVA 3D LED&#8221;</em> (yes, 3 dimensions, yes that&#8217;s 1000 single controlled LEDs) and created cool stuff like webcam projection or a the <strong>&#8220;Stealth Project&#8221;</strong>, a game similar to Battleships. Just get it&#8217;s great sounds and projections:</p>
<p><a href="http://www.rngtng.com/2009/08/10/stealth-project-on-a-nova-10x10x10-led-cube/"><em>Click here to view the embedded video.</em></a></p>
<p>More on this here: <a href="http://www.squidsoup.org/stealth/">http://www.squidsoup.org/stealth/</a></p>
<p>[via <a href="http://nejo0017.wordpress.com/2009/05/08/the-stealth-project/">nejo0017.wordpress.com</a>]</p>
<p class="wp-flattr-button"></p>]]></content:encoded>
			<wfw:commentRss>http://www.rngtng.com/2009/08/10/stealth-project-on-a-nova-10x10x10-led-cube/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Beginners Guide to Arduino &#8211; free PDF Download</title>
		<link>http://www.rngtng.com/2009/07/30/beginners-guide-to-arduino-free-pdf-download/</link>
		<comments>http://www.rngtng.com/2009/07/30/beginners-guide-to-arduino-free-pdf-download/#comments</comments>
		<pubDate>Thu, 30 Jul 2009 10:56:28 +0000</pubDate>
		<dc:creator>tobi</dc:creator>
				<category><![CDATA[Arduino & Co.]]></category>
		<category><![CDATA[Arduino]]></category>
		<category><![CDATA[book]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[freeduino]]></category>
		<category><![CDATA[pdf]]></category>
		<category><![CDATA[starterkit]]></category>

		<guid isPermaLink="false">http://www.rngtng.com/?p=184</guid>
		<description><![CDATA[Earthshine Design just released a free Beginners Guide to Arduino as PDF download.

Feel free to grab it here: Earthshine Design Arduino Starters Kit Manual .

It covers several experiements you'll start your Arduino career with, especially you've bought thier very complete starter kit. Go for it!

]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.earthshinedesign.co.uk/">Earthshine Design</a> just released a free Beginners Guide to Arduino as PDF download.</p>
<p>Feel free to grab it here: <a href="http://www.earthshinedesign.co.uk/ASKManual/Site/ASKManual.html" class="broken_link">Earthshine Design Arduino Starters Kit Manual </a>.</p>
<p>It covers several experiements you&#8217;ll start your Arduino career with, especially you&#8217;ve bought <a href="http://earthshinedesign.co.uk/?page_id=3&amp;category=3&amp;product_id=14">thier very complete starter kit</a>. Go for it!</p>
<p>[found via <a href="http://freeduino.de/de/blogs/gatonero/complete-beginners-guide-arduino">freeduino.de</a>]</p>
<p class="wp-flattr-button"></p>]]></content:encoded>
			<wfw:commentRss>http://www.rngtng.com/2009/07/30/beginners-guide-to-arduino-free-pdf-download/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

