<?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>swan tron dot com &#187; 100% Awesome</title>
	<atom:link href="http://swantron.com/tag/100-awesome/feed/" rel="self" type="application/rss+xml" />
	<link>http://swantron.com</link>
	<description>Gadgetery, Consumer Electronics, &#38; Robots FTW</description>
	<lastBuildDate>Thu, 17 May 2012 21:38:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Command Line LCD Arduino Interface</title>
		<link>http://swantron.com/command-line-lcd-arduino-interface/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=command-line-lcd-arduino-interface</link>
		<comments>http://swantron.com/command-line-lcd-arduino-interface/#comments</comments>
		<pubDate>Fri, 20 May 2011 19:44:20 +0000</pubDate>
		<dc:creator>Joseph Swanson</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[how2]]></category>
		<category><![CDATA[100% Awesome]]></category>
		<category><![CDATA[Awesome]]></category>
		<category><![CDATA[CLI]]></category>
		<category><![CDATA[Command Line]]></category>
		<category><![CDATA[Duemilanove]]></category>
		<category><![CDATA[Interface]]></category>
		<category><![CDATA[LCD]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[This is Unix I Know This]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://swantron.com/?p=3502</guid>
		<description><![CDATA[Liquid crystal displays are pretty awesome. Command line interfaces are very awesome. Hmm&#8230; I started daydreaming at work about how to go about making hardware interface with an RSS feed. I have seen some projects that use Arduinos with ethernet &#8230; <a href="http://swantron.com/command-line-lcd-arduino-interface/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Liquid crystal displays are pretty awesome.  Command line interfaces are very awesome.  Hmm&#8230;</p>
<p>I started daydreaming at work about how to go about making hardware interface with an RSS feed.  I have seen some projects that use Arduinos with ethernet shields to check Twitter, for example, but they seem unnecessarily bulky.  Or clumsy.  I spend a lot of time working on the command line, and love to put together dirty little scripts to solve problems.  It sort of goes along the lines of &#8216;when you have a hammer, everything looks like a nail&#8217;&#8230;I figured that the same thing could be implemented with a little shell scripting and my trusty Arduino, sans anything complicated.  </p>
<p>So far, so good.  </p>
<div id="attachment_3503" class="wp-caption aligncenter" style="width: 580px"><a href="http://swantron.com/wp-content/uploads/2011/05/LCD-setup.jpg"><img src="http://swantron.com/wp-content/uploads/2011/05/LCD-setup.jpg" alt="bad lab mobile" title="LCD-setup" width="570" height="320" class="size-full wp-image-3503" /></a><p class="wp-caption-text">bad lab mobile</p></div>
<p>I put together a sketch (after the bump) to drive my LCD, writing serial output to the screen.  After verifying that the sketch worked via the Arduino IDE&#8217;s serial monitor, I popped open a CLI and got to work.  FWIW, I am using Ubuntu 11.04 still&#8230;ctrl-alt-t pops open a terminal window&#8230;unity has me all over shortcuts these days.  Anyhow, I was able to verify that I could echo text and direct it to the USB port that the Arduino was mounted to.  No sweat.  </p>
<p>As a proof of concept, I decided to display the number of times that I had the word &#8220;awesome&#8221; on swantron.com.  Once the LCD was shown to work, the sky is the limit&#8230;see some regex, pipes, wget, and so forth in action:</p>
<div id="attachment_3505" class="wp-caption aligncenter" style="width: 580px"><a href="http://swantron.com/wp-content/uploads/2011/05/LCD.jpg"><img src="http://swantron.com/wp-content/uploads/2011/05/LCD.jpg" alt="CLI" title="LCD" width="570" height="550" class="size-full wp-image-3505" /></a><p class="wp-caption-text">CLI FTW</p></div>
<p>Survey says:</p>
<div id="attachment_3504" class="wp-caption aligncenter" style="width: 580px"><a href="http://swantron.com/wp-content/uploads/2011/05/awesome-count.jpg"><img src="http://swantron.com/wp-content/uploads/2011/05/awesome-count.jpg" alt="+1 awesome" title="awesome-count" width="570" height="320" class="size-full wp-image-3504" /></a><p class="wp-caption-text">+11 awesome</p></div>
<p>Eleven &#8220;awesome&#8221;s.  Awesome.<br />
(Hit the bump for some code, an oddity, and more fun&#8230;)<br />
<span id="more-3502"></span></p>
<p>So that is that.  You could link two of these together for 160 characters&#8230;toss together a shell (or Python, etc.) and have a Twitter display, for example.  Whatever you want to&#8230;gosh.  </p>
<p>I did notice an odd &#8220;feature&#8221; of the Liquid Crystal library I used.  For some reason, it wraps lines in an interesting fashion&#8230;</p>
<p>command line usage: <strong><br />
> echo &#8220;why does this library I am using wrap text wonky as hell?&#8221; > /dev/ttyUSB0</strong><br />
<div id="attachment_3506" class="wp-caption aligncenter" style="width: 580px"><a href="http://swantron.com/wp-content/uploads/2011/05/LCD-wrapping.jpg"><img src="http://swantron.com/wp-content/uploads/2011/05/LCD-wrapping.jpg" alt="why wrap like this" title="LCD-wrapping" width="570" height="320" class="size-full wp-image-3506" /></a><p class="wp-caption-text">1 &gt; 3 &gt; 2 &gt; 4</p></div></p>
<p>No idea why this is.  Sort of confusing.  Anyhow, the entire sketch is pretty straight forward.  Did somebody say snippet?</p>
<blockquote><p>// LCD sandbox<br />
// http://swantron.com<br />
// driving LCD from command line<br />
// 2011</p>
<p>#include <LiquidCrystal.h></p>
<p>// **Define pins**<br />
// LCD RS &#8211; pin 12<br />
// LCD R/W &#8211; pin 11<br />
// LCD ENABLE &#8211; pin 10<br />
// LCD BACK+ &#8211; pin 13<br />
// LCD DATA4 &#8211; pin 5<br />
// LCD DATA5 &#8211; pin 4<br />
// LCD DATA6 &#8211; pin 3<br />
// LCD DATA7 &#8211; pin 2<br />
// LCD VSS, CONTRAST,  BACK- &#8211; ground</p>
<p>LiquidCrystal lcd(12, 11, 10, 5, 4, 3, 2);</p>
<p>int backLight = 13;    // Define pin for backlight</p>
<p>void setup()<br />
{<br />
  pinMode(backLight, OUTPUT);<br />
  digitalWrite(backLight, HIGH); // Backlight level (LOW / HIGH)<br />
  lcd.begin(20,4);               // (Columbs, Rows)<br />
  Serial.begin(9600);<br />
}</p>
<p>void loop()<br />
{<br />
  // when characters arrive over the serial port&#8230;<br />
  if (Serial.available()) {<br />
    // wait a bit for the entire message to arrive<br />
    delay(100);<br />
    // clear the screen<br />
    lcd.clear();<br />
    // read all the available characters<br />
    while (Serial.available() > 0) {<br />
      // display each character to the LCD<br />
      lcd.write(Serial.read());<br />
    }<br />
  }<br />
}</p></blockquote>
<p>We&#8217;ll see where this one ends up.  This one might be a launching pad for a bigger and better thing.  Stay tuned.   </p>
]]></content:encoded>
			<wfw:commentRss>http://swantron.com/command-line-lcd-arduino-interface/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Garage Door Hack</title>
		<link>http://swantron.com/garage-door-hack/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=garage-door-hack</link>
		<comments>http://swantron.com/garage-door-hack/#comments</comments>
		<pubDate>Thu, 14 Apr 2011 04:19:53 +0000</pubDate>
		<dc:creator>Joseph Swanson</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[HoF]]></category>
		<category><![CDATA[100% Awesome]]></category>
		<category><![CDATA[Awesome]]></category>
		<category><![CDATA[Duemilanove]]></category>
		<category><![CDATA[LED]]></category>
		<category><![CDATA[LEDs]]></category>
		<category><![CDATA[Ping)))]]></category>
		<category><![CDATA[Project]]></category>
		<category><![CDATA[Sensor]]></category>
		<category><![CDATA[Servo]]></category>
		<category><![CDATA[Ultrasonic]]></category>

		<guid isPermaLink="false">http://swantron.com/?p=3401</guid>
		<description><![CDATA[Introducing Open-er-o-matic 3000. OOM3K. My finest project to date. I have my Arduino poking around with a PING))) sensor, a servo, some LEDs, and best of all&#8230;my garage door opener. End result: some Star Trek-ass shit. Check this footage of &#8230; <a href="http://swantron.com/garage-door-hack/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Introducing Open-er-o-matic 3000.  OOM3K.  My finest project to date.  I have my Arduino poking around with a PING))) sensor, a servo, some LEDs, and best of all&#8230;my garage door opener.  End result:  some Star Trek-ass shit.  </p>
<div id="attachment_3402" class="wp-caption aligncenter" style="width: 580px"><a href="http://swantron.com/wp-content/uploads/2011/04/ghetto-fabulus.jpg"><img src="http://swantron.com/wp-content/uploads/2011/04/ghetto-fabulus.jpg" alt="hit the vid" title="ghetto-fabulus" width="570" height="333" class="size-full wp-image-3402" /></a><p class="wp-caption-text">Ronco alert</p></div>
<p>Check this footage of the OOM3K in action.  Here, I had it configured to open the door when the ultrasonic sensor echoes off of something within 8 cm&#8230;</p>
<p>After the bump, of course</p>
<p><span id="more-3401"></span><br />
<iframe title="YouTube video player" width="570" height="458" src="http://www.youtube.com/embed/vNHdoPARyLs" frameborder="0" allowfullscreen></iframe></p>
<p>Not only is this thing awesome, but you can get all sorts of clear looks at my trusty Ronco Showtime rotisserie oven.  Yard bird is a big hit at the old Swanson place.  </p>
<p>There is not much to this code&#8230;I built it on top of the LED binary project code.  Prepare for a bitchin&#8217; snippet.  </p>
<blockquote><p>//Open-er-o-matic 3000</p>
<p>// Joseph Swanson | 2011<br />
// http://swantron.com</p>
<p>// Setup<br />
// LEDs connected to pins 11, 2-5<br />
// Ping))) sensor signal to pin 7<br />
// Servo signal to pin 10<br />
// Ping))) +, servo + to 5V<br />
// Ground the shit out of everything</p>
<p>#include <Servo.h></p>
<p>Servo myservo; </p>
<p>int pos = 0;</p>
<p>// Pin assignment<br />
const int ledPin1 =  11;<br />
const int ledPin2 =  2;<br />
const int ledPin3 =  3;<br />
const int ledPin4 =  4;<br />
const int ledPin5 =  5;<br />
const int pingPin = 7;</p>
<p>// Create variables to store LED states<br />
int ledState1 = LOW;<br />
int ledState2 = LOW;<br />
int ledState3 = LOW;<br />
int ledState4 = LOW;<br />
int ledState5 = LOW;</p>
<p>void setup() {</p>
<p>myservo.attach(10);</p>
<p>//Define pins 1-5 as output<br />
pinMode(ledPin1, OUTPUT);<br />
pinMode(ledPin2, OUTPUT);<br />
pinMode(ledPin3, OUTPUT);<br />
pinMode(ledPin4, OUTPUT);<br />
pinMode(ledPin5, OUTPUT);<br />
}<br />
void loop()<br />
{<br />
 // Reset LEDs levels to low to begin loop<br />
  ledState1 = LOW;<br />
  ledState2 = LOW;<br />
  ledState3 = LOW;<br />
  ledState4 = LOW;<br />
  ledState5 = LOW;<br />
  pos = 0;</p>
<p>// Set duration variable<br />
  long duration, inches, cm;</p>
<p>// Loop section for ping signal pin&#8230;start as output<br />
  pinMode(pingPin, OUTPUT);<br />
  digitalWrite(pingPin, LOW);<br />
  delayMicroseconds(2);<br />
  digitalWrite(pingPin, HIGH);<br />
  delayMicroseconds(5);<br />
  digitalWrite(pingPin, LOW);</p>
<p>// Listen with same pin<br />
  pinMode(pingPin, INPUT);<br />
  duration = pulseIn(pingPin, HIGH);</p>
<p>// Convert time to a distance<br />
  inches = microsecondsToInches(duration);<br />
  cm = microsecondsToCentimeters(duration);</p>
<p>// Configure this for LED sensitivity<br />
  delay(500); </p>
<p>// March through cm values&#8230;output LEDs an servo<br />
  if (cm < 80) {<br />
    ledState1 = HIGH;}</p>
<p>  if (cm < 64) {<br />
    ledState2 = HIGH;}   </p>
<p>  if (cm < 48) {<br />
    ledState3 = HIGH;}</p>
<p>  if (cm < 32) {<br />
    ledState4 = HIGH;}</p>
<p>  if (cm < 16) {<br />
    ledState5 = HIGH; }</p>
<p>  if (cm < 16) {<br />
    pos =( pos + 14 ); }</p>
<p>// fire all LED values...fire servo<br />
    digitalWrite(ledPin1, ledState1);<br />
    digitalWrite(ledPin2, ledState2);<br />
    digitalWrite(ledPin3, ledState3);<br />
    digitalWrite(ledPin4, ledState4);<br />
    digitalWrite(ledPin5, ledState5);<br />
    myservo.write(pos);</p>
<p>  delay(100);    </p>
<p>}<br />
long microsecondsToInches(long microseconds)<br />
{<br />
  // 1130 feet per second...transofrm inches<br />
  return microseconds / 74 / 2;<br />
}<br />
long microsecondsToCentimeters(long microseconds)<br />
{<br />
  // 340 meters per second...transform cm<br />
  return microseconds / 29 / 2;<br />
}
</p></blockquote>
<p>I hope you enjoyed this one.  I had a fun time with this piece of crap.  Plus, it has given me some ideas of how to extend this setup into something more refined.  Spoiler:  more awesome.  </p>
]]></content:encoded>
			<wfw:commentRss>http://swantron.com/garage-door-hack/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Messy Lab is Messy</title>
		<link>http://swantron.com/messy-lab-is-messy/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=messy-lab-is-messy</link>
		<comments>http://swantron.com/messy-lab-is-messy/#comments</comments>
		<pubDate>Mon, 07 Mar 2011 02:39:21 +0000</pubDate>
		<dc:creator>Joseph Swanson</dc:creator>
				<category><![CDATA[imgz]]></category>
		<category><![CDATA[100% Awesome]]></category>
		<category><![CDATA[Lab Equipment]]></category>
		<category><![CDATA[Laboratory]]></category>
		<category><![CDATA[Laboritory]]></category>
		<category><![CDATA[Messy]]></category>
		<category><![CDATA[Project]]></category>
		<category><![CDATA[Robotics]]></category>

		<guid isPermaLink="false">http://swantron.com/?p=3222</guid>
		<description><![CDATA[Demolition phase: complete I feel like a space cadet&#8230;too many things in flight. Component central over here.]]></description>
			<content:encoded><![CDATA[<p>Demolition phase:  complete<br />
<div id="attachment_3223" class="wp-caption aligncenter" style="width: 580px"><a href="http://swantron.com/wp-content/uploads/2011/03/messy-lab.jpg"><img src="http://swantron.com/wp-content/uploads/2011/03/messy-lab.jpg" alt="messy" title="messy-lab" width="570" height="281" class="size-full wp-image-3223" /></a><p class="wp-caption-text">wait...what was I doing?</p></div><br />
I feel like a space cadet&#8230;too many things in flight.  Component central over here.  </p>
]]></content:encoded>
			<wfw:commentRss>http://swantron.com/messy-lab-is-messy/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>NASA Finds New Life?</title>
		<link>http://swantron.com/nasa-finds-new-life/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=nasa-finds-new-life</link>
		<comments>http://swantron.com/nasa-finds-new-life/#comments</comments>
		<pubDate>Thu, 02 Dec 2010 16:11:38 +0000</pubDate>
		<dc:creator>Joseph Swanson</dc:creator>
				<category><![CDATA[Gnrl Bckt]]></category>
		<category><![CDATA[100% Awesome]]></category>
		<category><![CDATA[Awesome]]></category>
		<category><![CDATA[Breaking Tech]]></category>
		<category><![CDATA[FTW]]></category>
		<category><![CDATA[MS Paint FTW]]></category>
		<category><![CDATA[WTF]]></category>

		<guid isPermaLink="false">http://swantron.com/?p=2921</guid>
		<description><![CDATA[T minus 2.75 hours until NASA hits the stage to talk about a newly discovered life-form. Stay tuned&#8230;this is a good day.]]></description>
			<content:encoded><![CDATA[<p>T minus 2.75 hours until NASA hits the stage to talk about a newly discovered life-form.</p>
<div id="attachment_2922" class="wp-caption aligncenter" style="width: 560px"><a href="http://swantron.com/wp-content/uploads/2010/12/new_alien.jpg"><img src="http://swantron.com/wp-content/uploads/2010/12/new_alien.jpg" alt="nanu nanu" title="new_alien" width="550" height="300" class="size-full wp-image-2922" /></a><p class="wp-caption-text">nanu nanu</p></div>
<p>Stay tuned&#8230;this is a good day.  </p>
]]></content:encoded>
			<wfw:commentRss>http://swantron.com/nasa-finds-new-life/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Food Slash Math Meme</title>
		<link>http://swantron.com/food-slash-mathmeme/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=food-slash-mathmeme</link>
		<comments>http://swantron.com/food-slash-mathmeme/#comments</comments>
		<pubDate>Mon, 29 Nov 2010 23:47:31 +0000</pubDate>
		<dc:creator>Joseph Swanson</dc:creator>
				<category><![CDATA[NOMx3]]></category>
		<category><![CDATA[100% Awesome]]></category>
		<category><![CDATA[Math Rules]]></category>
		<category><![CDATA[NOM NOM NOM]]></category>
		<category><![CDATA[Workin' for the Weekend]]></category>
		<category><![CDATA[WTF]]></category>

		<guid isPermaLink="false">http://swantron.com/?p=2917</guid>
		<description><![CDATA[I like Cheetos, mathematics, and memes, for the record. Regular Cheetos have nothing on jalapeno Cheetos, also for the record.]]></description>
			<content:encoded><![CDATA[<p>I like Cheetos, mathematics, and memes, for the record.</p>
<div id="attachment_2918" class="wp-caption aligncenter" style="width: 581px"><a href="http://swantron.com/wp-content/uploads/2010/11/nom_cubed.jpg"><img src="http://swantron.com/wp-content/uploads/2010/11/nom_cubed.jpg" alt="nomnomnom" title="nom_cubed" width="571" height="321" class="size-full wp-image-2918" /></a><p class="wp-caption-text">cubed</p></div>
<p>Regular Cheetos have nothing on jalapeno Cheetos, also for the record.  </p>
]]></content:encoded>
			<wfw:commentRss>http://swantron.com/food-slash-mathmeme/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Droid 2 Must Have Games</title>
		<link>http://swantron.com/droid-2-must-have-games/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=droid-2-must-have-games</link>
		<comments>http://swantron.com/droid-2-must-have-games/#comments</comments>
		<pubDate>Tue, 23 Nov 2010 16:29:08 +0000</pubDate>
		<dc:creator>Joseph Swanson</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[100% Awesome]]></category>
		<category><![CDATA[Breaking Tech]]></category>
		<category><![CDATA[Droid]]></category>
		<category><![CDATA[FTW]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Vay-kay]]></category>

		<guid isPermaLink="false">http://swantron.com/?p=2897</guid>
		<description><![CDATA[Games kick ass, am I right? Am I right? (****Spoiler&#8230;YES!*****) Since I haven&#8217;t blathered about how awesome Android stuff is in a while, I figured I would ramble about games for a while. So far, I have found four games &#8230; <a href="http://swantron.com/droid-2-must-have-games/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Games kick ass, am I right?  Am I right?  (****Spoiler&#8230;YES!*****)</p>
<p>Since I haven&#8217;t blathered about how awesome Android stuff is in a while, I figured I would ramble about games for a while.  So far, I have found four games that are pretty much &#8220;must-have.&#8221;  I hate that term, but it gets me search engine traffic.  And traffic is a must-have.  (Sorry.)  You can find these must-havers on Android Market, but you probably knew that.  Let&#8217;s begin.  </p>
<p>In order of most-must-have, to still-must-have-but-not-as-much-as-most-must-have&#8230;  </p>
<p><strong>Angry Birds</strong> &#8212; Q.  Why so angry, birds?  A.  Those egg-stealing pigs, that&#8217;s why.<br />
<div id="attachment_2902" class="wp-caption aligncenter" style="width: 560px"><a href="http://swantron.com/wp-content/uploads/2010/11/angry-bird.jpg"><img src="http://swantron.com/wp-content/uploads/2010/11/angry-bird.jpg" alt="mofo" title="angry bird" width="550" height="100" class="size-full wp-image-2902" /></a><p class="wp-caption-text">I like that one ^</p></div><br />
<strong>Robo Defense</strong> &#8212; Tower defense, FTW.  I got really, really sucked into this one, keeping it in the two spot.  All acheivements, check.<br />
<div id="attachment_2904" class="wp-caption aligncenter" style="width: 560px"><a href="http://swantron.com/wp-content/uploads/2010/11/robo_defense.jpg"><img src="http://swantron.com/wp-content/uploads/2010/11/robo_defense.jpg" alt="joke fail" title="robo_defense" width="550" height="100" class="size-full wp-image-2904" /></a><p class="wp-caption-text">D - Fence...get it (shakes head)</p></div><br />
<strong>Fruit Ninja</strong> &#8212; Chopping the shit out of fruit&#8230;this game is as fun as it sounds<br />
<div id="attachment_2906" class="wp-caption aligncenter" style="width: 560px"><a href="http://swantron.com/wp-content/uploads/2010/11/fruit_ninja.jpg"><img src="http://swantron.com/wp-content/uploads/2010/11/fruit_ninja.jpg" alt="nacho ninja" title="fruit_ninja" width="550" height="100" class="size-full wp-image-2906" /></a><p class="wp-caption-text">Fruit Ninja looks more like Nacho Ninja</p></div><br />
<strong>Doodle Jump</strong> &#8212; Pretty sure this (like Angry Birds) made some waves on iStuff.  You jump a doodle&#8230;it is amusing as hell.<br />
<div id="attachment_2908" class="wp-caption aligncenter" style="width: 560px"><a href="http://swantron.com/wp-content/uploads/2010/11/doodle.jpg"><img src="http://swantron.com/wp-content/uploads/2010/11/doodle.jpg" alt="stupid flanders" title="doodle" width="550" height="100" class="size-full wp-image-2908" /></a><p class="wp-caption-text">Stupid Flanders</p></div><br />
I&#8217;m still waiting for the non-advertisment-laden version of Angry Birds to drop.  Right now, the free app is all that is out there on the Android Market.  I&#8217;m not entirely sure, but I think I spent less than 3 bucks for the other three apps.  Robo Defense has a pretty solid trial version, FWIW.  </p>
<p>Well, in any regards, <em>get Angry Birds</em>.  Meetings at work become little workday vay-kays.  Little bird flinging vay-kays.    </p>
<p>If you come across anything that I should check out, hit me with a comment.  Or, Tweet that crap over to @swantron.  Plug.</p>
]]></content:encoded>
			<wfw:commentRss>http://swantron.com/droid-2-must-have-games/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Airsoft Hack Kickoff</title>
		<link>http://swantron.com/airsoft-hack-kickoff/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=airsoft-hack-kickoff</link>
		<comments>http://swantron.com/airsoft-hack-kickoff/#comments</comments>
		<pubDate>Mon, 08 Nov 2010 19:08:01 +0000</pubDate>
		<dc:creator>Joseph Swanson</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[100% Awesome]]></category>
		<category><![CDATA[Awesome]]></category>
		<category><![CDATA[FTW]]></category>
		<category><![CDATA[Robot]]></category>
		<category><![CDATA[Robotics]]></category>

		<guid isPermaLink="false">http://swantron.com/?p=2862</guid>
		<description><![CDATA[I&#8217;m working on a project to control an airsoft pistol via my Arduino. The end result is to enable web control of this thing&#8230; So far, I have checked off one step of two. My steps are as follow: Step &#8230; <a href="http://swantron.com/airsoft-hack-kickoff/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m working on a project to control an airsoft pistol via my Arduino.  The end result is to enable web control of this thing&#8230;</p>
<div id="attachment_2863" class="wp-caption aligncenter" style="width: 538px"><a href="http://swantron.com/wp-content/uploads/2010/11/airsoft_hack.jpg"><img src="http://swantron.com/wp-content/uploads/2010/11/airsoft_hack.jpg" alt="pew pew pew" title="airsoft_hack" width="528" height="312" class="size-full wp-image-2863" /></a><p class="wp-caption-text">pew pew pew</p></div>
<p>So far, I have checked off one step of two.  My steps are as follow:</p>
<p>Step 1)  Tear apart item<br />
Step 2)  Hack the crap out of said item</p>
<p>Stay tuned&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://swantron.com/airsoft-hack-kickoff/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Wiimote Input For Droid</title>
		<link>http://swantron.com/wiimote-input-for-droid/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=wiimote-input-for-droid</link>
		<comments>http://swantron.com/wiimote-input-for-droid/#comments</comments>
		<pubDate>Thu, 28 Oct 2010 01:13:23 +0000</pubDate>
		<dc:creator>Joseph Swanson</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[100% Awesome]]></category>
		<category><![CDATA[Droid]]></category>
		<category><![CDATA[Emulator]]></category>
		<category><![CDATA[GBA]]></category>
		<category><![CDATA[Nerd Cred]]></category>
		<category><![CDATA[Nintendo]]></category>
		<category><![CDATA[Sweet]]></category>
		<category><![CDATA[The Gimp]]></category>
		<category><![CDATA[UberCool]]></category>
		<category><![CDATA[Wiimote]]></category>

		<guid isPermaLink="false">http://swantron.com/?p=2826</guid>
		<description><![CDATA[Nerd cred&#8230;oh indEEd Playing GBA games on a Droid is cool. Playing GBA games on a Droid via a Wiimote is ubercool. Once I can figure out the accelerometer input, I&#8217;ll post more. In the meantime, I&#8217;ll be playing a &#8230; <a href="http://swantron.com/wiimote-input-for-droid/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Nerd cred&#8230;oh indEEd</p>
<div id="attachment_2827" class="wp-caption aligncenter" style="width: 410px"><a href="http://swantron.com/wp-content/uploads/2010/10/besties.jpg"><img src="http://swantron.com/wp-content/uploads/2010/10/besties.jpg" alt="that sums to plus 3" title="besties" width="400" height="320" class="size-full wp-image-2827" /></a><p class="wp-caption-text">that sums to plus 3</p></div>
<p>Playing GBA games on a Droid is cool.<br />
Playing GBA games on a Droid via a Wiimote is ubercool.  </p>
<p>Once I can figure out the accelerometer input, I&#8217;ll post more.  In the meantime, I&#8217;ll be playing a little Mario Pinball.  Suckers.  </p>
]]></content:encoded>
			<wfw:commentRss>http://swantron.com/wiimote-input-for-droid/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>22 Degrees Solar Halo</title>
		<link>http://swantron.com/22-degrees-solar-halo/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=22-degrees-solar-halo</link>
		<comments>http://swantron.com/22-degrees-solar-halo/#comments</comments>
		<pubDate>Fri, 25 Jun 2010 00:12:09 +0000</pubDate>
		<dc:creator>Joseph Swanson</dc:creator>
				<category><![CDATA[Gnrl Bckt]]></category>
		<category><![CDATA[100% Awesome]]></category>
		<category><![CDATA[22 Degree Halo]]></category>
		<category><![CDATA[Applied Math]]></category>
		<category><![CDATA[Materials Science]]></category>
		<category><![CDATA[Math Rules]]></category>
		<category><![CDATA[Optics]]></category>
		<category><![CDATA[Physics]]></category>
		<category><![CDATA[Solar Science]]></category>

		<guid isPermaLink="false">http://swantron.com/?p=2366</guid>
		<description><![CDATA[I took a spin outside for a brief reading session on my lunch break yesterday. I&#8217;m glad I did, as I was treated to a little optical phenominon action&#8230;in the form of a 22 Degree Solar Halo. FTW. I&#8217;m posting &#8230; <a href="http://swantron.com/22-degrees-solar-halo/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I took a spin outside for a brief reading session on my lunch break yesterday.  I&#8217;m glad I did, as I was treated to a little optical phenominon action&#8230;in the form of a 22 Degree Solar Halo.  FTW.</p>
<p>I&#8217;m posting some pics I snapped&#8230;I&#8217;ll toss in the full write-up soon.  </p>
<p><a href="http://swantron.com/wp-content/uploads/2010/06/22degreehalo.jpg"><img src="http://swantron.com/wp-content/uploads/2010/06/22degreehalo.jpg" alt="dang" title="22degreehalo" width="560" height="420" class="aligncenter size-full wp-image-2369" /></a></p>
<p><a href="http://swantron.com/wp-content/uploads/2010/06/22-degree-halo.jpg"><img src="http://swantron.com/wp-content/uploads/2010/06/22-degree-halo.jpg" alt="cool" title="22-degree-halo" width="560" height="420" class="aligncenter size-full wp-image-2368" /></a></p>
<p><a href="http://swantron.com/wp-content/uploads/2010/06/sun-circle.jpg"><img src="http://swantron.com/wp-content/uploads/2010/06/sun-circle.jpg" alt="number 1" title="sun-circle" width="560" height="420" class="aligncenter size-full wp-image-2367" /></a></p>
<p><a href="http://swantron.com/wp-content/uploads/2010/06/optical-halo.jpg"><img src="http://swantron.com/wp-content/uploads/2010/06/optical-halo.jpg" alt="inverted" title="optical-halo" width="560" height="420" class="aligncenter size-full wp-image-2370" /></a></p>
<p>I inverted the colors of that last pic, quite obviously.  That will be my template, so to speak, on which to wax nerdy in a Physics-y kind of way.  Stay tuned.  </p>
]]></content:encoded>
			<wfw:commentRss>http://swantron.com/22-degrees-solar-halo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Arduino Solar Cell Input</title>
		<link>http://swantron.com/arduino-solar-cell-input/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=arduino-solar-cell-input</link>
		<comments>http://swantron.com/arduino-solar-cell-input/#comments</comments>
		<pubDate>Tue, 15 Jun 2010 01:41:13 +0000</pubDate>
		<dc:creator>Joseph Swanson</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Gnrl Bckt]]></category>
		<category><![CDATA[100% Awesome]]></category>
		<category><![CDATA[American Spirits]]></category>
		<category><![CDATA[Analog]]></category>
		<category><![CDATA[Awesome]]></category>
		<category><![CDATA[Breadboard]]></category>
		<category><![CDATA[Breaking Tech]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[FTW]]></category>
		<category><![CDATA[Input]]></category>
		<category><![CDATA[Prototyping]]></category>
		<category><![CDATA[Solar Cell]]></category>

		<guid isPermaLink="false">http://swantron.com/?p=2301</guid>
		<description><![CDATA[Here we go. As I mentioned a few days ago, I&#8217;m horsing around with analog input to my Arduino, in the form of input via a solar cell. For the win. It turns out, that I&#8217;m getting far better with &#8230; <a href="http://swantron.com/arduino-solar-cell-input/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Here we go.  As I <a href="http://swantron.com/solar-panel-led-set-up/">mentioned a few days ago</a>, I&#8217;m horsing around with analog input to my Arduino, in the form of input via a solar cell.  For the win.  It turns out, that I&#8217;m getting far better with my casual electronics experimentation&#8230;I will chalk this one up as a win.  </p>
<p>My basic set-up is this&#8230;Radio Shack solar cell, breadboard, florescent light source, Arduino, and a notebook. </p>
<p>Step 1)  gauge light source via multimeter.  </p>
<div id="attachment_2302" class="wp-caption aligncenter" style="width: 585px"><a href="http://swantron.com/wp-content/uploads/2010/06/solar-test.jpg"><img src="http://swantron.com/wp-content/uploads/2010/06/solar-test.jpg" alt="test" title="solar-test" width="575" height="431" class="size-full wp-image-2302" /></a><p class="wp-caption-text">one point twenty-one gigawatts</p></div>
<p>1.7 V&#8230;no need to toss in a resister, as the Arduino can handle 5V without issue.  Good to go.  </p>
<p>Step 2) Interface with Arduino via breadboard.  </p>
<div id="attachment_2303" class="wp-caption aligncenter" style="width: 585px"><a href="http://swantron.com/wp-content/uploads/2010/06/breadboard-setup.jpg"><img src="http://swantron.com/wp-content/uploads/2010/06/breadboard-setup.jpg" alt="setup" title="breadboard-setup" width="575" height="431" class="size-full wp-image-2303" /></a><p class="wp-caption-text">breadless soldierboard</p></div>
<p>This could have been a direct setup, but for the sake of not soldering a solid lead to my solar cell array, I chose to twist the crap out of the existing + and &#8211; leads of the wire outs on the unit, and cram them into the breadboard.  USB connected to the Arduino, of course</p>
<p>Step 3)  Chop in some code for the Arduino.  This was the tricky part&#8230;not that tricky, however:</p>
<p><em>~~code snippet time~~</em></p>
<p><strong>void setup() {<br />
Serial.begin(9600); }<br />
void loop() {<br />
int v = analogRead(0);<br />
Serial.print(v);<br />
Serial.print(&#8216; &#8216;);<br />
delay(900);<br />
}</strong></p>
<p><em>~~~end code snippet time~~~</em><br />
<div id="attachment_2304" class="wp-caption aligncenter" style="width: 585px"><a href="http://swantron.com/wp-content/uploads/2010/06/arduino-wired.jpg"><img src="http://swantron.com/wp-content/uploads/2010/06/arduino-wired.jpg" alt="enhance" title="arduino-wired" width="575" height="431" class="size-full wp-image-2304" /></a><p class="wp-caption-text">enhance...enhance</p></div></p>
<p>Note the lack of comments?  I&#8217;m a flipping math dude, so that is wholly optional in my book.  Long story short, Wiring is a stripped cousin of C++&#8230;I have to void setup and loop here, since I am not concerned with anything once I let &#8216;er rip.  I will touch on the programming specifics at a later date, but inquiring minds can find this info quite easily on the Arduino project&#8217;s main page, or on Wikipedia.  Knock your socks off.  I added the delay for sake of real-time monitoring, and matched the baud rate to which I had configured my USB connection.  ttyUSB0 would be that in question&#8230;9600 would be the rate.</p>
<p>Step 4)  Read input via serial monitor.  </p>
<div id="attachment_2305" class="wp-caption aligncenter" style="width: 585px"><a href="http://swantron.com/wp-content/uploads/2010/06/solar-arduino1.jpg"><img src="http://swantron.com/wp-content/uploads/2010/06/solar-arduino1.jpg" alt="solar" title="solar-arduino1" width="575" height="733" class="size-full wp-image-2305" /></a><p class="wp-caption-text">those figures average out to 'awesome'</p></div>
<p>As you can see, it is pretty much constant, with some fluctuation due to my set-up.  Noisy, yes.  Cheap components, yes.  </p>
<p>Step 5)  Testing &#8216;zero&#8217; state.  Here, I have employed my box of smokes.  American Spirit Lights, to be precise.</p>
<div id="attachment_2306" class="wp-caption aligncenter" style="width: 585px"><a href="http://swantron.com/wp-content/uploads/2010/06/experiment-setup.jpg"><img src="http://swantron.com/wp-content/uploads/2010/06/experiment-setup.jpg" alt="cigs" title="experiment-setup" width="575" height="431" class="size-full wp-image-2306" /></a><p class="wp-caption-text">Yellow Box of American Spirits...A Labritory Must-Have</p></div>
<p>Step 6) Gauge system.  </p>
<p>Here, I&#8217;m altering between &#8216;on&#8217; and &#8216;off&#8217; states.  I start with the &#8216;off&#8217; (smokes on solar panel) configuration for a time, remove the box to open the system to &#8216;max input&#8217; for appx 7 secs, and then place the box to remove the input energy.</p>
<div id="attachment_2308" class="wp-caption aligncenter" style="width: 585px"><a href="http://swantron.com/wp-content/uploads/2010/06/arduino-solar-two.jpg"><img src="http://swantron.com/wp-content/uploads/2010/06/arduino-solar-two.jpg" alt="for the goddamned win" title="arduino-solar-two" width="575" height="719" class="size-full wp-image-2308" /></a><p class="wp-caption-text">FOR THE WIN INDEED</p></div>
<p>Most definitely for the win&#8230;with the experimental noise, that could be considered effectively zero.  For the win.</p>
<p>In summation, I have read in analog, as intended.  Lessons learned?  Pretty straight forward I suppose.  My cheap-o solar cell is rated for a max of 6V, which I was far under.  If I was to use this setup with a stronger light source, I would need to take this into consideration.  I didn&#8217;t perform any data transformation, as I was not concerned with &#8216;actual voltage input values&#8217; in this case&#8230;merely relative.  Most importantly, I was able to knock out the task I had set out to do.  Hopefully, I can ride my EE high and get cranking on something awesome, like a netbook robot.  With some lasers.</p>
]]></content:encoded>
			<wfw:commentRss>http://swantron.com/arduino-solar-cell-input/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

