<?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>Arduino Fun</title>
	<atom:link href="http://rpgduino.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://rpgduino.wordpress.com</link>
	<description>Experiments with my Arduino board.</description>
	<lastBuildDate>Thu, 29 Sep 2011 04:32:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='rpgduino.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Arduino Fun</title>
		<link>http://rpgduino.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://rpgduino.wordpress.com/osd.xml" title="Arduino Fun" />
	<atom:link rel='hub' href='http://rpgduino.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Inexpensive USB Keyboard</title>
		<link>http://rpgduino.wordpress.com/2010/09/09/inexpensive-usb-keyboard/</link>
		<comments>http://rpgduino.wordpress.com/2010/09/09/inexpensive-usb-keyboard/#comments</comments>
		<pubDate>Thu, 09 Sep 2010 08:23:48 +0000</pubDate>
		<dc:creator>rpgduino</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://rpgduino.wordpress.com/?p=87</guid>
		<description><![CDATA[I had done some work recently to show that a quick and easy USB keyboard could be created created with the teensy and found it to be a 1 day project that was easy to implement. There was one problem with this solution, the cost. It was very pricey for something as simple as a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rpgduino.wordpress.com&amp;blog=12695555&amp;post=87&amp;subd=rpgduino&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I had done some work recently to show that a quick and easy USB keyboard could be created created with the teensy and found it to be a 1 day project that was easy to implement.  There was one problem with this solution, the cost.  It was very pricey for something as simple as a USB keyboard.  I wanted to keep some of the nice processor functionality so a dumb terminal that translated into USB would not quite cut it.</p>
<p>I stuck with AVR in this case and took a look at v-usb which lets you create simple HID Keyboards and a large number of other projects quickly and easily.  The good news is you can do it on small cheap hardware that is still extremely powerful.  I choose the attiny85-20pu as my processor going over the <a href="http://blog.flipwork.nl/?x=entry:entry100224-003937">4-key keyboard schematic</a> and found it to be perfect for what I was looking to do.  Here is the part list and pricing:</p>
<ul>
<li>ATTiny85-20pu &#8211; $1.80 from Mouser</li>
<li>2x 68 ohm resistors &#8211; $0.30</li>
<li>1x 1.5k resistor &#8211; $0.15</li>
<li>2x 1N4148 Diode &#8211; $0.04</li>
<li>1 ended USB type-A cable &#8211; $2.10</li>
<li>1x 0.1uF ceramic capacitor &#8211; $0.30</li>
</ul>
<p>Total: $4.69</p>
<p>The same using the teensy was about $32.  While the teensy is of course a more powerful device, it all depends on what you intend to do with it.</p>
<p>I will post more later with the rest of the details on the project as it gets finished.  I have some boards to etch and some molds to resin.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rpgduino.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rpgduino.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rpgduino.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rpgduino.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rpgduino.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rpgduino.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rpgduino.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rpgduino.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rpgduino.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rpgduino.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rpgduino.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rpgduino.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rpgduino.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rpgduino.wordpress.com/87/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rpgduino.wordpress.com&amp;blog=12695555&amp;post=87&amp;subd=rpgduino&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rpgduino.wordpress.com/2010/09/09/inexpensive-usb-keyboard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/03f7f1fdb81a59fd942ceb9d3c57ea63?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rpgduino</media:title>
		</media:content>
	</item>
		<item>
		<title>MicroVGA</title>
		<link>http://rpgduino.wordpress.com/2010/05/18/microvga/</link>
		<comments>http://rpgduino.wordpress.com/2010/05/18/microvga/#comments</comments>
		<pubDate>Tue, 18 May 2010 06:21:20 +0000</pubDate>
		<dc:creator>rpgduino</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://rpgduino.wordpress.com/?p=83</guid>
		<description><![CDATA[I got my MicroVGA display circuit today. This lets you output either SVideo or VGA text. The SVideo is in black and white and the VGA is text only and color. This is great to see whats going on and to have some fun ways to display test on tv&#8217;s and computer screens without any [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rpgduino.wordpress.com&amp;blog=12695555&amp;post=83&amp;subd=rpgduino&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I got my MicroVGA display circuit today.  This lets you output either SVideo or VGA text.  The SVideo is in black and white and the VGA is text only and color.  This is great to see whats going on and to have some fun ways to display test on tv&#8217;s and computer screens without any complications or having to take up a whole avr chip.  </p>
<p>There was some issues out of the box, the first thing you should do when you get one is to connect the Arduino Gnd pin to pin 1 on the MicroVGA and 5V pin to pin 2.  This will cause the unit to power up and output a display on both the VGA and SVideo outputs.  Connect a convenient TV or monitor to one of the outputs and dig out an old PS/2 keyboard.  The keyboard provides direct input to the MicroVGA for setup.  Once you have this setup there are two contacts on the top of the board by pin 20 labeled &#8220;Setup&#8221;, put a wire across them and the output on the screen will switch to a menu that can be browsed with the keyboard.  Select communications and change the value to SPI.  There seems to be a display issue, after selecting SPI if you go back into the communications menu it still lists the wrong value but it is indeed selected.  Restart by powering off / on and then you will be ready to setup your Arduino.  </p>
<p>Once the SPI is enabled there were a few issues with the default library (the __builtin_avr_delay_cycles method was not defined).  I found a nice answer on the <a href="http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1264372292">Arudino Forums</a>.  Just in case there is an issue getting to the site here&#8217;s the code that should replace the existing arduino_uvga.c code in the microvga library for the Arduino.</p>
<p><code><br />
// debugged 25/1/10 by Shaun Ruscoe<br />
// changed 14/03/10 by Copabel for Arduino Mega.<br />
// fixed 16/05/10 by Sh00rGEn</p>
<p>/*<br />
  This file implements low-level routines for Arduino MicroVGA-TEXT.</p>
<p>  The MicroVGA has to be configured for SPI mode and connected as follows:</p>
<p>1 GND -&gt; Arduino GND<br />
2 +5V -&gt; Arduino 5V<br />
3 +3V3  NOT CONNECTED<br />
4 CS# -&gt; Arduino Digital 10	| Arduino Mega Digital 53<br />
5 SCK -&gt; Arduino Digital 13	| Arduino Mega Digital 52<br />
6 RDY# -&gt; Arduino Digital 8	| Arduino Mega Digital 10<br />
7 MISO -&gt; Arduino Digital 12	| Arduino Mega Digital 50<br />
8 MOSI -&gt; Arduino Digital 11	| Arduino Mega Digital 51</p>
<p>*/<br />
#include "WProgram.h"<br />
#include "conio.h"</p>
<p>#ifndef __builtin_avr_delay_cycles<br />
void __builtin_avr_delay_cycles(unsigned long __n) {<br />
    while(__n)<br />
        __n--;<br />
}<br />
#endif</p>
<p>#if defined(__AVR_ATmega1280__)<br />
// Arduino Mega Pin definitions</p>
<p>#define DD_SS     0	// PB0	| Arduino Mega Digital 53<br />
#define DD_MOSI   2	// PB2	| Arduino Mega Digital 51<br />
#define DD_MISO   3	// PB3	| Arduino Mega Digital 50<br />
#define DD_SCK    1	// PB1	| Arduino Mega Digital 52<br />
#define DD_RDY    4	// PB4	| Arduino Mega Digital 10</p>
<p>#else<br />
// Arduino Duemilanove pin definitions</p>
<p>#define DD_SS     2	// PB2	| Arduino Digital 10<br />
#define DD_MOSI   3	// PB3	| Arduino Digital 11<br />
#define DD_MISO   4	// PB4	| Arduino Digital 12<br />
#define DD_SCK    5	// PB5	| Arduino Digital 13<br />
#define DD_RDY    0	// PB0	| Arduino Digital 8</p>
<p>#endif</p>
<p>#define DDR_SPI DDRB</p>
<p>void SPI_MasterTransmit(char cData)<br />
{<br />
    /* Start transmission */<br />
   //SPDR = cData;<br />
   SPDR = cData;</p>
<p>   /* Wait for transmission complete */<br />
   while ( ! (SPSR &amp; (1&lt;&lt;SPIF)));<br />
}</p>
<p>#define KEYBUF_SIZE 10<br />
unsigned char keybuf[KEYBUF_SIZE];<br />
unsigned char khead, ktail;</p>
<p>char kbhit;<br />
int _getch()<br />
{<br />
   int key;</p>
<p>   while (!_kbhit()) ;</p>
<p>   key = keybuf[khead];<br />
   khead++;<br />
   khead %= KEYBUF_SIZE;</p>
<p>   if (key == 0) {<br />
       key = 0x100 | keybuf[khead];<br />
       khead++;<br />
       khead %= KEYBUF_SIZE;<br />
   }</p>
<p>   return key;<br />
}</p>
<p>int _kbhit()<br />
{<br />
  if (khead == ktail)<br />
      _putch(0);</p>
<p>  if (khead == ktail)<br />
     return 0;</p>
<p>  if (keybuf[khead] == 0 &amp;&amp; ((khead+1)%KEYBUF_SIZE) == ktail) {<br />
     _putch(0);<br />
     if (keybuf[khead] == 0 &amp;&amp; ((khead+1)%KEYBUF_SIZE) == ktail)<br />
       return 0;<br />
  }</p>
<p>  return 1;<br />
}</p>
<p>void _putch(char ch)<br />
{<br />
   unsigned char response;</p>
<p>   __builtin_avr_delay_cycles(100);<br />
   PORTB &amp;= ~(1&lt;&lt;DD_SS); // SS#=0<br />
   __builtin_avr_delay_cycles(100);<br />
    // wait for RDY signal to go low!<br />
   while (PINB &amp; (1&lt;&lt;DD_RDY) );<br />
   __builtin_avr_delay_cycles(100);</p>
<p>   /* Start transmission */<br />
   //SPDR = cData;<br />
   SPDR = ch;</p>
<p>   __builtin_avr_delay_cycles(100);</p>
<p>   /* Wait for transmission complete */<br />
   while ( ! (SPSR &amp; (1&lt;&lt;SPIF)));<br />
   __builtin_avr_delay_cycles(100);</p>
<p>   response = SPDR;<br />
   if (response != 0xFF) {<br />
      keybuf[ktail] = response;<br />
      ktail++;<br />
      ktail %= KEYBUF_SIZE;<br />
      kbhit = 1;<br />
   }</p>
<p>   __builtin_avr_delay_cycles(100);</p>
<p>   PORTB |= (1&lt;&lt;DD_SS); // SS#=0<br />
}</p>
<p>void microvga_init()<br />
{<br />
    kbhit = 0;<br />
    khead = 0;<br />
    ktail = 0;</p>
<p>   /* Set MOSI and SCK output all others input<br />
      This agrees to AVR151 Table 1 also */</p>
<p>   DDRB = (1&lt;&lt;DD_MOSI) | (1&lt;&lt;DD_SCK) | (1&lt;&lt;DD_SS);</p>
<p>   DDRB &amp;= ~(1&lt;&lt;DD_RDY);<br />
   DDRB &amp;= ~(1&lt;&lt;DD_MISO); // MISO is always input</p>
<p>   /* Enable SPI, Master, set clock rate fck/16 */<br />
   SPCR = (1&lt;&lt;SPE) | (1&lt;&lt;MSTR) | (1&lt;&lt;SPR0) | (1&lt;&lt;CPHA);</p>
<p>}<br />
</code></p>
<p>This should fix the compilation issues.  The pin setup for this library is:</p>
<p>1 GND -&gt; Arduino GND<br />
2 +5V -&gt; Arduino 5V<br />
3 +3V3  NOT CONNECTED<br />
4 CS# -&gt; Arduino Digital 10	| Arduino Mega Digital 53<br />
5 SCK -&gt; Arduino Digital 13	| Arduino Mega Digital 52<br />
6 RDY# -&gt; Arduino Digital 8	| Arduino Mega Digital 10<br />
7 MISO -&gt; Arduino Digital 12	| Arduino Mega Digital 50<br />
8 MOSI -&gt; Arduino Digital 11	| Arduino Mega Digital 51</p>
<p>Here&#8217;s a couple pics of the board and the first image I got on the screen.</p>
<div id="attachment_84" class="wp-caption aligncenter" style="width: 310px"><a href="http://rpgduino.files.wordpress.com/2010/05/dsc09846.jpg"><img src="http://rpgduino.files.wordpress.com/2010/05/dsc09846.jpg?w=300&#038;h=225" alt="MicroVGA Board" title="MicroVGA Board" width="300" height="225" class="size-medium wp-image-84" /></a><p class="wp-caption-text">MicroVGA Board</p></div>
<p><div id="attachment_85" class="wp-caption aligncenter" style="width: 310px"><a href="http://rpgduino.files.wordpress.com/2010/05/dsc09848.jpg"><img src="http://rpgduino.files.wordpress.com/2010/05/dsc09848.jpg?w=300&#038;h=225" alt="MicroVGA Dalek" title="MicroVGA Dalek" width="300" height="225" class="size-medium wp-image-85" /></a><p class="wp-caption-text">MicroVGA Dalek</p></div><br />
(yes&#8230; Exterminate is blinking&#8230;)</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rpgduino.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rpgduino.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rpgduino.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rpgduino.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rpgduino.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rpgduino.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rpgduino.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rpgduino.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rpgduino.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rpgduino.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rpgduino.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rpgduino.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rpgduino.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rpgduino.wordpress.com/83/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rpgduino.wordpress.com&amp;blog=12695555&amp;post=83&amp;subd=rpgduino&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rpgduino.wordpress.com/2010/05/18/microvga/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/03f7f1fdb81a59fd942ceb9d3c57ea63?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rpgduino</media:title>
		</media:content>

		<media:content url="http://rpgduino.files.wordpress.com/2010/05/dsc09846.jpg?w=300" medium="image">
			<media:title type="html">MicroVGA Board</media:title>
		</media:content>

		<media:content url="http://rpgduino.files.wordpress.com/2010/05/dsc09848.jpg?w=300" medium="image">
			<media:title type="html">MicroVGA Dalek</media:title>
		</media:content>
	</item>
		<item>
		<title>Scrounging Reveals a Heat Sink</title>
		<link>http://rpgduino.wordpress.com/2010/05/15/scrounging-reveals-a-heat-sync/</link>
		<comments>http://rpgduino.wordpress.com/2010/05/15/scrounging-reveals-a-heat-sync/#comments</comments>
		<pubDate>Sat, 15 May 2010 09:24:54 +0000</pubDate>
		<dc:creator>rpgduino</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://rpgduino.wordpress.com/?p=78</guid>
		<description><![CDATA[A friend gave me some old PC&#8217;s he was going to toss out and I set to work taking them apart. Just recently I ordered 5 L293N H-bridges. These are going to be parts for my next motor driver. One thing I was missing was a good heat sink. I was lucky as I found [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rpgduino.wordpress.com&amp;blog=12695555&amp;post=78&amp;subd=rpgduino&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>A friend gave me some old PC&#8217;s he was going to toss out and I set to work taking them apart.  Just recently I ordered 5 L293N H-bridges.  These are going to be parts for my next motor driver.  One thing I was missing was a good heat sink.  I was lucky as I found a really nice heat sink that was used in the PC for heat dissipation for 6 Mosfets.  The heat sink not only will work great for 4 of my L293N&#8217;s but also dissipates the correct amount of heat.</p>
<p>Below are some pics of the 4 L293N attached to the heat sink ready for mounting.  I am going to redesign the PCB to match this change in arrangement.  I&#8217;m currently using <a href="http://fritzing.org/">Fritzing</a> to do my Schematics and PCB layout so I will post some nice looking results soon.  I just submitted my <a href="http://code.google.com/p/fritzing/issues/detail?id=875">L293N</a> part to the Fritzing part contribution.</p>
<div id="attachment_79" class="wp-caption aligncenter" style="width: 310px"><a href="http://rpgduino.files.wordpress.com/2010/05/dsc09807.jpg"><img src="http://rpgduino.files.wordpress.com/2010/05/dsc09807.jpg?w=300&#038;h=225" alt="4x L293N Heat sink" title="4x L293N Heat sink" width="300" height="225" class="size-medium wp-image-79" /></a><p class="wp-caption-text">4x L293N Heat sink</p></div>
<div id="attachment_80" class="wp-caption aligncenter" style="width: 310px"><a href="http://rpgduino.files.wordpress.com/2010/05/dsc09808.jpg"><img src="http://rpgduino.files.wordpress.com/2010/05/dsc09808.jpg?w=300&#038;h=225" alt="4x L293N Heat sink" title="4x L293N Heat sink" width="300" height="225" class="size-medium wp-image-80" /></a><p class="wp-caption-text">4x L293N Heat sink</p></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rpgduino.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rpgduino.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rpgduino.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rpgduino.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rpgduino.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rpgduino.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rpgduino.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rpgduino.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rpgduino.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rpgduino.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rpgduino.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rpgduino.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rpgduino.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rpgduino.wordpress.com/78/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rpgduino.wordpress.com&amp;blog=12695555&amp;post=78&amp;subd=rpgduino&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rpgduino.wordpress.com/2010/05/15/scrounging-reveals-a-heat-sync/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/03f7f1fdb81a59fd942ceb9d3c57ea63?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rpgduino</media:title>
		</media:content>

		<media:content url="http://rpgduino.files.wordpress.com/2010/05/dsc09807.jpg?w=300" medium="image">
			<media:title type="html">4x L293N Heat sink</media:title>
		</media:content>

		<media:content url="http://rpgduino.files.wordpress.com/2010/05/dsc09808.jpg?w=300" medium="image">
			<media:title type="html">4x L293N Heat sink</media:title>
		</media:content>
	</item>
		<item>
		<title>No Disassemble!</title>
		<link>http://rpgduino.wordpress.com/2010/05/05/no-disassemble/</link>
		<comments>http://rpgduino.wordpress.com/2010/05/05/no-disassemble/#comments</comments>
		<pubDate>Wed, 05 May 2010 22:31:58 +0000</pubDate>
		<dc:creator>rpgduino</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://rpgduino.wordpress.com/?p=75</guid>
		<description><![CDATA[Here&#8217;s a pic of me tearing apart a server I got for free. It was quite fun and I got some nice things including a 256K sram chip. No idea if I can make it work yet but there were lots of caps resistors and other components that are just as useful.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rpgduino.wordpress.com&amp;blog=12695555&amp;post=75&amp;subd=rpgduino&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a pic of me tearing apart a server I got for free.  It was quite fun and I got some nice things including a 256K sram chip.  No idea if I can make it work yet but there were lots of caps resistors and other components that are just as useful.</p>
<p><a href="http://services.nirvanix.com/NirvanixDrive/public/email/DSC09746.JPG"><div class="wp-caption aligncenter" style="width: 1290px"><img alt="Server Disassembly" src="http://services.nirvanix.com/NirvanixDrive/public/email/DSC09746.JPG" title="Server Disassembly" width="1280" height="960" /><p class="wp-caption-text">Server Disassembly</p></div></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rpgduino.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rpgduino.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rpgduino.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rpgduino.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rpgduino.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rpgduino.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rpgduino.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rpgduino.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rpgduino.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rpgduino.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rpgduino.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rpgduino.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rpgduino.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rpgduino.wordpress.com/75/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rpgduino.wordpress.com&amp;blog=12695555&amp;post=75&amp;subd=rpgduino&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rpgduino.wordpress.com/2010/05/05/no-disassemble/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/03f7f1fdb81a59fd942ceb9d3c57ea63?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rpgduino</media:title>
		</media:content>

		<media:content url="http://services.nirvanix.com/NirvanixDrive/public/email/DSC09746.JPG" medium="image">
			<media:title type="html">Server Disassembly</media:title>
		</media:content>
	</item>
		<item>
		<title>Custom PCB Etching</title>
		<link>http://rpgduino.wordpress.com/2010/04/25/custom-pcb-etching/</link>
		<comments>http://rpgduino.wordpress.com/2010/04/25/custom-pcb-etching/#comments</comments>
		<pubDate>Sun, 25 Apr 2010 06:15:38 +0000</pubDate>
		<dc:creator>rpgduino</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://rpgduino.wordpress.com/?p=73</guid>
		<description><![CDATA[Today I picked up the chemicals and parts needed for custom PCB printing. I will be doing a run tomorrow on a single sided PCB (no need to waste a nice double sided on the first try). I found out about an interesting way to reuse the chemicals over many many runs which should reduce [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rpgduino.wordpress.com&amp;blog=12695555&amp;post=73&amp;subd=rpgduino&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today I picked up the chemicals and parts needed for custom PCB printing.  I will be doing a run tomorrow on a single sided PCB (no need to waste a nice double sided on the first try).  I found out about an interesting way to reuse the chemicals over many many runs which should reduce the overall waste produced.</p>
<p>Here is the instructable with the method I will be using: <a href="http://www.instructables.com/id/How-to-make-a-printed-circuit-board-PCB-using-th/">http://www.instructables.com/id/How-to-make-a-printed-circuit-board-PCB-using-th/</a></p>
<p>I won&#8217;t be building a UV light since I will be using our saltwater aquarium lights which should do the job about 1000x faster.  Here is more information on the chemicals used and why they are a bit more earth friendly:  <a href="http://www.instructables.com/id/Stop-using-Ferric-Chloride-etchant!--A-better-etc/step4/Chemistry-Break/">http://www.instructables.com/id/Stop-using-Ferric-Chloride-etchant!&#8211;A-better-etc/step4/Chemistry-Break/</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rpgduino.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rpgduino.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rpgduino.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rpgduino.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rpgduino.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rpgduino.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rpgduino.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rpgduino.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rpgduino.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rpgduino.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rpgduino.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rpgduino.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rpgduino.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rpgduino.wordpress.com/73/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rpgduino.wordpress.com&amp;blog=12695555&amp;post=73&amp;subd=rpgduino&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rpgduino.wordpress.com/2010/04/25/custom-pcb-etching/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/03f7f1fdb81a59fd942ceb9d3c57ea63?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rpgduino</media:title>
		</media:content>
	</item>
		<item>
		<title>Teensy Keyboard</title>
		<link>http://rpgduino.wordpress.com/2010/04/15/teensy-keyboard/</link>
		<comments>http://rpgduino.wordpress.com/2010/04/15/teensy-keyboard/#comments</comments>
		<pubDate>Thu, 15 Apr 2010 08:28:32 +0000</pubDate>
		<dc:creator>rpgduino</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://rpgduino.wordpress.com/?p=71</guid>
		<description><![CDATA[A friend wanted to build a cool foot pedal game device. He purchased a teensy 2.0 from http://www.pjrc.com/teensy/ for a very reasonable $18. After about 2 hours I had the breadboard setup and the program put together to act as a USB keyboard. I am still trying to decide how to switch the keys that [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rpgduino.wordpress.com&amp;blog=12695555&amp;post=71&amp;subd=rpgduino&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>A friend wanted to build a cool foot pedal game device.  He purchased a teensy 2.0 from <a href="http://www.pjrc.com/teensy/">http://www.pjrc.com/teensy/</a> for a very reasonable $18.  After about 2 hours I had the breadboard setup and the program put together to act as a USB keyboard.  I am still trying to decide how to switch the keys that are assigned to each button later without having to reprogram the device.</p>
<p>A quick video <a href="http://services.nirvanix.com/NirvanixDrive/public/email/MOV09643.MPG">here</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rpgduino.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rpgduino.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rpgduino.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rpgduino.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rpgduino.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rpgduino.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rpgduino.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rpgduino.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rpgduino.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rpgduino.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rpgduino.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rpgduino.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rpgduino.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rpgduino.wordpress.com/71/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rpgduino.wordpress.com&amp;blog=12695555&amp;post=71&amp;subd=rpgduino&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rpgduino.wordpress.com/2010/04/15/teensy-keyboard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://services.nirvanix.com/NirvanixDrive/public/email/MOV09643.MPG" length="10598236" type="video/mpeg" />
<enclosure url="http://services.nirvanix.com/NirvanixDrive/public/email/MOV09643.MPG" length="10598236" type="video/mpeg" />
	
		<media:content url="http://0.gravatar.com/avatar/03f7f1fdb81a59fd942ceb9d3c57ea63?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rpgduino</media:title>
		</media:content>
	</item>
		<item>
		<title>To Build a Robot Part 5</title>
		<link>http://rpgduino.wordpress.com/2010/04/11/to-build-a-robot-part-5/</link>
		<comments>http://rpgduino.wordpress.com/2010/04/11/to-build-a-robot-part-5/#comments</comments>
		<pubDate>Sun, 11 Apr 2010 02:49:36 +0000</pubDate>
		<dc:creator>rpgduino</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://rpgduino.wordpress.com/?p=67</guid>
		<description><![CDATA[I found a 15+ year old pre-printed circuit board from Radio shack and found it to fit just right for what needed. It would be nice to have a properly designed circuit board printed out but this will do nicely for now. Later after I decide if this is the best way to arrange the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rpgduino.wordpress.com&amp;blog=12695555&amp;post=67&amp;subd=rpgduino&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I found a 15+ year old pre-printed circuit board from Radio shack and found it to fit just right for what needed.  It would be nice to have a properly designed circuit board printed out but this will do nicely for now.  Later after I decide if this is the best way to arrange the different parts of the robot I will put something together in Eagle and have someone create a cheap board for this.</p>
<p>Here is the finished solder job ( a bit butchered but it works )</p>
<div id="attachment_68" class="wp-caption aligncenter" style="width: 310px"><a href="http://rpgduino.files.wordpress.com/2010/04/dsc09587.jpg"><img src="http://rpgduino.files.wordpress.com/2010/04/dsc09587.jpg?w=300&#038;h=225" alt="Board front side" title="Board front side" width="300" height="225" class="size-medium wp-image-68" /></a><p class="wp-caption-text">Board front side</p></div>
<div id="attachment_69" class="wp-caption aligncenter" style="width: 310px"><a href="http://rpgduino.files.wordpress.com/2010/04/dsc09590.jpg"><img src="http://rpgduino.files.wordpress.com/2010/04/dsc09590.jpg?w=300&#038;h=225" alt="Board front side" title="Board front side" width="300" height="225" class="size-medium wp-image-69" /></a><p class="wp-caption-text">Board front side</p></div>
<p>The battery and motor connections are done through some nice terminals I picked up for $2 for the 6 pack.  The PWM wire connector from the Arduino is a chopped up extension cord selected because it has enough wires to run the 4 PWM lines and the power and ground wire.  It is also nicely shielded to keep noise down.</p>
<p>I will be adding a second L293B H-Bridge to this but I haven&#8217;t finished the soldering yet.  I also need to setup the output for the second motor from the first L293.  I left the solder points for the TLC 5940 NT un soldered so later i can setup a series of them to run even more motors.  I will likely add a simple connector for the additional boards once i get a bit closer.  When complete this board will drive 4 motors with a total of 2 amps at 3V.  Due to the gearing it is more than enough.  The gear I am using in the video below is a <a href="http://www.tamiyausa.com/product/item.php?product-id=70103">Tamiya 70103 Universal Gearbox</a>.  At some point I may change out the H-Bridge for a heavy duty mosfet for something that can withstand 30A of current.</p>
<p>Here&#8217;s a video of the motor spinning backward and forward.<br />
<a href="http://services.nirvanix.com/NirvanixDrive/public/email/MOV09588.MPG">Motor Controller</a></p>
<p>Next up, completion of the soldering on this board and beginning to fabricate the legs.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rpgduino.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rpgduino.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rpgduino.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rpgduino.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rpgduino.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rpgduino.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rpgduino.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rpgduino.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rpgduino.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rpgduino.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rpgduino.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rpgduino.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rpgduino.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rpgduino.wordpress.com/67/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rpgduino.wordpress.com&amp;blog=12695555&amp;post=67&amp;subd=rpgduino&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rpgduino.wordpress.com/2010/04/11/to-build-a-robot-part-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://services.nirvanix.com/NirvanixDrive/public/email/MOV09588.MPG" length="9414308" type="video/mpeg" />
<enclosure url="http://services.nirvanix.com/NirvanixDrive/public/email/MOV09588.MPG" length="9414308" type="video/mpeg" />
	
		<media:content url="http://0.gravatar.com/avatar/03f7f1fdb81a59fd942ceb9d3c57ea63?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rpgduino</media:title>
		</media:content>

		<media:content url="http://rpgduino.files.wordpress.com/2010/04/dsc09587.jpg?w=300" medium="image">
			<media:title type="html">Board front side</media:title>
		</media:content>

		<media:content url="http://rpgduino.files.wordpress.com/2010/04/dsc09590.jpg?w=300" medium="image">
			<media:title type="html">Board front side</media:title>
		</media:content>
	</item>
		<item>
		<title>To Build a Robot Part 4</title>
		<link>http://rpgduino.wordpress.com/2010/04/09/to-build-a-robot-part-4/</link>
		<comments>http://rpgduino.wordpress.com/2010/04/09/to-build-a-robot-part-4/#comments</comments>
		<pubDate>Fri, 09 Apr 2010 09:36:36 +0000</pubDate>
		<dc:creator>rpgduino</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://rpgduino.wordpress.com/?p=63</guid>
		<description><![CDATA[I received my TLC 5940 NT from Texas instruments and immediately set it up to do a quick test with some LEDs which is always fun: LED Video I was working on the initial setup while I was sick so I missed something very obvious about the design of my circuit. The TLC actually uses [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rpgduino.wordpress.com&amp;blog=12695555&amp;post=63&amp;subd=rpgduino&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I received my TLC 5940 NT from Texas instruments and immediately set it up to do a quick test with some LEDs which is always fun: <a href="http://node2.nirvanix.com/NirvanixDrive/public/email/MOV09578.MPG">LED Video</a></p>
<p>I was working on the initial setup while I was sick so I missed something very obvious about the design of my circuit.  The TLC actually uses the Ground to produce the PWM wave where the Arduino uses the +.  This means to have it turn on the H-Bridge you need to do a pull-up resistor so you can feed it with the 5v.</p>
<p>I used 2k resistors for the Pull-up and things worked well, when I went to 10k the motor slowed in reverse (no idea why right now ill investigate later)</p>
<p>Using this setup you can drive a very large number of motors.  You can put the TLC5940 chips in series and control hundreds of motors.  For the setup I have here you could control 2 motors per H-Bridge if you use the L293B (but get the L293D) like I have here.  Since each motor only requires 2 pins you can control a maximum of 8 motors per TLC5940 chip if you also have 4 h-bridges.  If you only need the DC Motor to spin in one direction you only need 1 Pin to control it and could then control 16 motors with variable speed.</p>
<p>Keep in mind the amperage when driving motors with the L293 series they all allow up to about 1 amp.  Some motors are very powerful and can reach this limit quickly.  Choose your H-Bridge wisely.</p>
<p>Docs and Datasheets:  </p>
<p><a href="http://focus.ti.com/docs/prod/folders/print/tlc5940.html#technicaldocuments">TLC5940NT</a><br />
<a href="http://www.st.com/stonline/products/literature/ds/1328/l293b.htm">L293B</a></p>
<p>The sketch uses the TLC library for the Arduino available here: <a href="http://www.arduino.cc/playground/Learning/TLC5940">TLC5940 Arduino Library</a></p>
<div id="attachment_64" class="wp-caption aligncenter" style="width: 310px"><a href="http://rpgduino.files.wordpress.com/2010/04/dsc09580.jpg"><img src="http://rpgduino.files.wordpress.com/2010/04/dsc09580.jpg?w=300&#038;h=225" alt="Image of the circuit" title="Image of the circuit" width="300" height="225" class="size-medium wp-image-64" /></a><p class="wp-caption-text">Image of the circuit</p></div>
<div id="attachment_65" class="wp-caption aligncenter" style="width: 310px"><a href="http://rpgduino.files.wordpress.com/2010/04/arduinotlc5940hbridge.gif"><img src="http://rpgduino.files.wordpress.com/2010/04/arduinotlc5940hbridge.gif?w=300&#038;h=288" alt="Arduino Controlling a TLC5940 using a L293B HBridge to drive a motor" title="Arduino Controlling a TLC5940 using a L293B HBridge to drive a motor" width="300" height="288" class="size-medium wp-image-65" /></a><p class="wp-caption-text">Arduino Controlling a TLC5940 using a L293B HBridge to drive a motor</p></div>
<p>The sketch just spins a motor forward for 1 second then breaks and backward for a second.<br />
<code></p>
<pre>
#include "Tlc5940.h"
boolean forward = false;

void setup()
{
  Tlc.init();
}

void loop()
{
    Tlc.clear();
    forward = !forward;
    if (forward) {
      // Brake
      Tlc.set(1, 0);
      Tlc.set(2, 0);
      Tlc.update();
      delay(500);

      // Go
      Tlc.set(1, 0);
      Tlc.set(2, 4095);
    } else {
      // Brake
      Tlc.set(1, 0);
      Tlc.set(2, 0);
      Tlc.update();
      delay(500);

      // Go
      Tlc.set(1, 4095);
      Tlc.set(2, 0);
    }
    Tlc.update();

    delay(1000);
}
</pre>
<p></code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rpgduino.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rpgduino.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rpgduino.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rpgduino.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rpgduino.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rpgduino.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rpgduino.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rpgduino.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rpgduino.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rpgduino.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rpgduino.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rpgduino.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rpgduino.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rpgduino.wordpress.com/63/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rpgduino.wordpress.com&amp;blog=12695555&amp;post=63&amp;subd=rpgduino&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rpgduino.wordpress.com/2010/04/09/to-build-a-robot-part-4/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
<enclosure url="http://node2.nirvanix.com/NirvanixDrive/public/email/MOV09578.MPG" length="2865357" type="video/mpeg" />
<enclosure url="http://node2.nirvanix.com/NirvanixDrive/public/email/MOV09578.MPG" length="2865357" type="video/mpeg" />
	
		<media:content url="http://0.gravatar.com/avatar/03f7f1fdb81a59fd942ceb9d3c57ea63?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rpgduino</media:title>
		</media:content>

		<media:content url="http://rpgduino.files.wordpress.com/2010/04/dsc09580.jpg?w=300" medium="image">
			<media:title type="html">Image of the circuit</media:title>
		</media:content>

		<media:content url="http://rpgduino.files.wordpress.com/2010/04/arduinotlc5940hbridge.gif?w=300" medium="image">
			<media:title type="html">Arduino Controlling a TLC5940 using a L293B HBridge to drive a motor</media:title>
		</media:content>
	</item>
		<item>
		<title>Arduino Lexan Case</title>
		<link>http://rpgduino.wordpress.com/2010/04/03/arduino-lexan-case/</link>
		<comments>http://rpgduino.wordpress.com/2010/04/03/arduino-lexan-case/#comments</comments>
		<pubDate>Sat, 03 Apr 2010 18:10:17 +0000</pubDate>
		<dc:creator>rpgduino</dc:creator>
				<category><![CDATA[arduino]]></category>
		<category><![CDATA[mud]]></category>

		<guid isPermaLink="false">http://rpgduino.wordpress.com/?p=54</guid>
		<description><![CDATA[I had some extra lexan laying around from an old project so I figured I would build a box. It&#8217;s not exactly square but it accomplishes the task of keeping it safe from.. Lexan stops bullets right? (jk) I still need to attach a hinge and clean up the top to match the completely uneven [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rpgduino.wordpress.com&amp;blog=12695555&amp;post=54&amp;subd=rpgduino&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I had some extra lexan laying around from an old project so I figured I would build a box.  It&#8217;s not exactly square but it accomplishes the task of keeping it safe from.. Lexan stops bullets right? (jk)</p>
<p>I still need to attach a hinge and clean up the top to match the completely uneven box.  I drilled holes for the USB VDIP1 Module im using to access a flash drive and I put in holes for the Arduino power supply and USB UART connections.</p>
<div id="attachment_55" class="wp-caption aligncenter" style="width: 310px"><a href="http://rpgduino.files.wordpress.com/2010/04/dsc09531.jpg"><img src="http://rpgduino.files.wordpress.com/2010/04/dsc09531.jpg?w=300&#038;h=225" alt="Parts before I started" title="Parts before I started" width="300" height="225" class="size-medium wp-image-55" /></a><p class="wp-caption-text">Parts before I started</p></div>
<p><a href="http://rpgduino.files.wordpress.com/2010/04/dsc09532.jpg"><img src="http://rpgduino.files.wordpress.com/2010/04/dsc09532.jpg?w=300&#038;h=225" alt="" title="DSC09532" width="300" height="225" class="aligncenter size-medium wp-image-56" /></a></p>
<p><a href="http://rpgduino.files.wordpress.com/2010/04/dsc09533.jpg"><img src="http://rpgduino.files.wordpress.com/2010/04/dsc09533.jpg?w=300&#038;h=225" alt="" title="DSC09533" width="300" height="225" class="aligncenter size-medium wp-image-57" /></a></p>
<p><a href="http://rpgduino.files.wordpress.com/2010/04/dsc09534.jpg"><img src="http://rpgduino.files.wordpress.com/2010/04/dsc09534.jpg?w=300&#038;h=225" alt="" title="DSC09534" width="300" height="225" class="aligncenter size-medium wp-image-58" /></a></p>
<div id="attachment_60" class="wp-caption aligncenter" style="width: 310px"><a href="http://rpgduino.files.wordpress.com/2010/04/dsc09535.jpg"><img src="http://rpgduino.files.wordpress.com/2010/04/dsc09535.jpg?w=300&#038;h=225" alt="Added HInges" title="Added Hinges" width="300" height="225" class="size-medium wp-image-60" /></a><p class="wp-caption-text">Added Hinges</p></div>
<div id="attachment_61" class="wp-caption aligncenter" style="width: 310px"><a href="http://rpgduino.files.wordpress.com/2010/04/dsc09537.jpg"><img src="http://rpgduino.files.wordpress.com/2010/04/dsc09537.jpg?w=300&#038;h=225" alt="Hinged Open" title="Hinged Open" width="300" height="225" class="size-medium wp-image-61" /></a><p class="wp-caption-text">Hinged Open</p></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rpgduino.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rpgduino.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rpgduino.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rpgduino.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rpgduino.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rpgduino.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rpgduino.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rpgduino.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rpgduino.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rpgduino.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rpgduino.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rpgduino.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rpgduino.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rpgduino.wordpress.com/54/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rpgduino.wordpress.com&amp;blog=12695555&amp;post=54&amp;subd=rpgduino&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rpgduino.wordpress.com/2010/04/03/arduino-lexan-case/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/03f7f1fdb81a59fd942ceb9d3c57ea63?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rpgduino</media:title>
		</media:content>

		<media:content url="http://rpgduino.files.wordpress.com/2010/04/dsc09531.jpg?w=300" medium="image">
			<media:title type="html">Parts before I started</media:title>
		</media:content>

		<media:content url="http://rpgduino.files.wordpress.com/2010/04/dsc09532.jpg?w=300" medium="image">
			<media:title type="html">DSC09532</media:title>
		</media:content>

		<media:content url="http://rpgduino.files.wordpress.com/2010/04/dsc09533.jpg?w=300" medium="image">
			<media:title type="html">DSC09533</media:title>
		</media:content>

		<media:content url="http://rpgduino.files.wordpress.com/2010/04/dsc09534.jpg?w=300" medium="image">
			<media:title type="html">DSC09534</media:title>
		</media:content>

		<media:content url="http://rpgduino.files.wordpress.com/2010/04/dsc09535.jpg?w=300" medium="image">
			<media:title type="html">Added Hinges</media:title>
		</media:content>

		<media:content url="http://rpgduino.files.wordpress.com/2010/04/dsc09537.jpg?w=300" medium="image">
			<media:title type="html">Hinged Open</media:title>
		</media:content>
	</item>
		<item>
		<title>TLC 5920 48 Pin SSOP solder</title>
		<link>http://rpgduino.wordpress.com/2010/04/03/tlc-5920-48-pin-ssop-solder/</link>
		<comments>http://rpgduino.wordpress.com/2010/04/03/tlc-5920-48-pin-ssop-solder/#comments</comments>
		<pubDate>Sat, 03 Apr 2010 06:25:44 +0000</pubDate>
		<dc:creator>rpgduino</dc:creator>
				<category><![CDATA[arduino]]></category>

		<guid isPermaLink="false">http://rpgduino.wordpress.com/?p=48</guid>
		<description><![CDATA[I managed to get my 5920 on my breakout board. It took about 17 minutes which I am quite proud of. This is the LED driver I picked up from SD Electronics last week. It lets you control a number of LED&#8217;s at once. I am using it to control a number of motors rather [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rpgduino.wordpress.com&amp;blog=12695555&amp;post=48&amp;subd=rpgduino&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I managed to get my 5920 on my breakout board.  It took about 17 minutes which I am quite proud of.  This is the LED driver I picked up from SD Electronics last week.  It lets you control a number of LED&#8217;s at once.  I am using it to control a number of motors rather than LED&#8217;s using H-Bridge chips to power the motors.  It should work but I haven&#8217;t completed the schematic yet just going to try for a prototype to see what happens.  Fingers crossed I don&#8217;t wreck an H-Bridge those things are expensive.</p>
<p>The other chip I ordered from Texas Instruments is the 5940 which was shipped two days ago so I expect that to arrive soon.  I am quite excited to see the differences between the two considering how close they are to one another.</p>
<p>Here&#8217;s a before and after of the soldering.<br />
<div id="attachment_49" class="wp-caption aligncenter" style="width: 310px"><a href="http://rpgduino.files.wordpress.com/2010/04/dsc09526.jpg"><img src="http://rpgduino.files.wordpress.com/2010/04/dsc09526.jpg?w=300&#038;h=225" alt="Before I started." title="Before I started." width="300" height="225" class="size-medium wp-image-49" /></a><p class="wp-caption-text">Before I started.</p></div></p>
<div id="attachment_50" class="wp-caption aligncenter" style="width: 310px"><a href="http://rpgduino.files.wordpress.com/2010/04/workarea.jpg"><img src="http://rpgduino.files.wordpress.com/2010/04/workarea.jpg?w=300&#038;h=174" alt="Work area" title="Work area" width="300" height="174" class="size-medium wp-image-50" /></a><p class="wp-caption-text">Work area, R2-D2 supervising. </p></div>
<div id="attachment_51" class="wp-caption aligncenter" style="width: 310px"><a href="http://rpgduino.files.wordpress.com/2010/04/dsc09528.jpg"><img src="http://rpgduino.files.wordpress.com/2010/04/dsc09528.jpg?w=300&#038;h=225" alt="Completed Solder" title="Completed Solder" width="300" height="225" class="size-medium wp-image-51" /></a><p class="wp-caption-text">Completed Solder</p></div>
<p>I hope there is never a shortage of rosin flux or I&#8217;m gonna be in trouble.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rpgduino.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rpgduino.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rpgduino.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rpgduino.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rpgduino.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rpgduino.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rpgduino.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rpgduino.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rpgduino.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rpgduino.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rpgduino.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rpgduino.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rpgduino.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rpgduino.wordpress.com/48/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rpgduino.wordpress.com&amp;blog=12695555&amp;post=48&amp;subd=rpgduino&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rpgduino.wordpress.com/2010/04/03/tlc-5920-48-pin-ssop-solder/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/03f7f1fdb81a59fd942ceb9d3c57ea63?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rpgduino</media:title>
		</media:content>

		<media:content url="http://rpgduino.files.wordpress.com/2010/04/dsc09526.jpg?w=300" medium="image">
			<media:title type="html">Before I started.</media:title>
		</media:content>

		<media:content url="http://rpgduino.files.wordpress.com/2010/04/workarea.jpg?w=300" medium="image">
			<media:title type="html">Work area</media:title>
		</media:content>

		<media:content url="http://rpgduino.files.wordpress.com/2010/04/dsc09528.jpg?w=300" medium="image">
			<media:title type="html">Completed Solder</media:title>
		</media:content>
	</item>
	</channel>
</rss>
