<?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>RobotGrrl.com &#187; Processing</title>
	<atom:link href="http://robotgrrl.com/blog/tag/processing/feed/" rel="self" type="application/rss+xml" />
	<link>http://robotgrrl.com/blog</link>
	<description>ethical robots that bring smiles</description>
	<lastBuildDate>Mon, 21 May 2012 21:27:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Reading Data from MyRobots / ThingSpeak</title>
		<link>http://robotgrrl.com/blog/2012/03/02/reading-data-from-myrobots-thingspeak/</link>
		<comments>http://robotgrrl.com/blog/2012/03/02/reading-data-from-myrobots-thingspeak/#comments</comments>
		<pubDate>Fri, 02 Mar 2012 20:04:12 +0000</pubDate>
		<dc:creator>Erin, the RobotGrrl</dc:creator>
				<category><![CDATA[Fun]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[cloud]]></category>
		<category><![CDATA[cloud robotics]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[json]]></category>
		<category><![CDATA[myrobots]]></category>
		<category><![CDATA[parse]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[thingspeak]]></category>

		<guid isPermaLink="false">http://robotgrrl.com/blog/?p=2348</guid>
		<description><![CDATA[Last post I showed some code and a guide on how to connect your robot to MyRobots/ThingSpeak! Now let&#8217;s look at how we can read the data from MyRobots. This part will be pretty cool, because you can read other robots data, and have your robot react to it! I haven&#8217;t written up a MAKE [...]]]></description>
			<content:encoded><![CDATA[<p>Last post I showed some code and a guide on how to connect your robot to <a href="http://myrobots.com">MyRobots</a>/<a href="http://thingspeak.com">ThingSpeak</a>! Now let&#8217;s look at how we can read the data from MyRobots. This part will be pretty cool, because you can read other robots data, and have your robot react to it!</p>
<p>I haven&#8217;t written up a MAKE Project guide for this yet, but wanted to show it anyway. Here you can <a href="https://github.com/RobotGrrl/SimpleThingSpeak_Parse">get the SimpleThingSpeak_Parse code on Github</a>!</p>
<p>We will be using the <a href="https://github.com/agoransson/JSON-processing/downloads" target="_blank">JSON Processing library</a> to get and parse the data.</p>
<p>There are three main parts to this code:<br />
1. Reading the entire feed<br />
2. Specific feed field<br />
3. Last entry in the robot feed</p>
<p>Here&#8217;s what the basic field structure looks like. The channel data is the info about your robot, and the feeds is an array, with each element being the specific datapoint.</p>
<div class="codesnip-container" >channel<br />
- created_at (str)<br />
- description (str)<br />
- field1&#8230;8 (str)<br />
- id (int)<br />
- last_entry_id (int)<br />
- name (str)<br />
- updated_at (str)</p>
<p>feeds<br />
- (your entry int here)<br />
&#8211; created_at (str)<br />
&#8211; entry_id (int)<br />
&#8211; field1&#8230;8 (str)</p></div>
<p>So for the accessing entire feed, you can use these functions:</p>
<div class="codesnip-container" >
<div class="java codesnip" style="font-family:monospace;">
<ol>
<li class="li1">
<div class="de1"><a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Aobject+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span class="kw3">Object</span></a> getChannelValue<span class="br0">&#40;</span><a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Astring+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span class="kw3">String</span></a> valueName<span class="br0">&#41;</span></div>
</li>
<li class="li1">
<div class="de1"><a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Aobject+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span class="kw3">Object</span></a> getFeedValue<span class="br0">&#40;</span><a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Astring+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span class="kw3">String</span></a> valueName, <span class="kw4">int</span> feedEntry<span class="br0">&#41;</span></div>
</li>
<li class="li1">
<div class="de1"><span class="kw4">int</span> getFeedLength<span class="br0">&#40;</span><span class="br0">&#41;</span></div>
</li>
</ol>
</div>
</div>
<p>Here&#8217;s a very basic example of how to use these functions:</p>
<div class="codesnip-container" >
<div class="java codesnip" style="font-family:monospace;">
<ol>
<li class="li1">
<div class="de1"><span class="co1">// example, get random stuffs, print it out</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Astring+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span class="kw3">String</span></a> robotName <span class="sy0">=</span> <span class="br0">&#40;</span><a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Astring+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span class="kw3">String</span></a><span class="br0">&#41;</span>getChannelValue<span class="br0">&#40;</span><span class="st0">&quot;name&quot;</span><span class="br0">&#41;</span><span class="sy0">;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Astring+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span class="kw3">String</span></a> creationDate <span class="sy0">=</span> <span class="br0">&#40;</span><a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Astring+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span class="kw3">String</span></a><span class="br0">&#41;</span>getChannelValue<span class="br0">&#40;</span><span class="st0">&quot;created_at&quot;</span><span class="br0">&#41;</span><span class="sy0">;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; <span class="kw4">int</span> lastEntry <span class="sy0">=</span> <span class="br0">&#40;</span><span class="br0">&#40;</span><a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Ainteger+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span class="kw3">Integer</span></a><span class="br0">&#41;</span>getChannelValue<span class="br0">&#40;</span><span class="st0">&quot;last_entry_id&quot;</span><span class="br0">&#41;</span><span class="br0">&#41;</span>.<span class="me1">intValue</span><span class="br0">&#40;</span><span class="br0">&#41;</span><span class="sy0">;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; <span class="kw4">int</span> feedsNum <span class="sy0">=</span> getFeedLength<span class="br0">&#40;</span><span class="br0">&#41;</span><span class="sy0">;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Astring+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span class="kw3">String</span></a> lastField1 <span class="sy0">=</span> <span class="br0">&#40;</span><a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Astring+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span class="kw3">String</span></a><span class="br0">&#41;</span>getFeedValue<span class="br0">&#40;</span><span class="st0">&quot;field1&quot;</span>, <span class="br0">&#40;</span>feedsNum<span class="sy0">-</span>1<span class="br0">&#41;</span><span class="br0">&#41;</span><span class="sy0">;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; </div>
</li>
<li class="li1">
<div class="de1">&nbsp; println<span class="br0">&#40;</span><span class="st0">&quot;<span class="es0">\n</span>Hey! Did you know that &quot;</span> <span class="sy0">+</span> robotName <span class="sy0">+</span> <span class="st0">&quot;, aka coolest robot in the world was created on MyRobots on &quot;</span> <span class="sy0">+</span> creationDate <span class="sy0">+</span> <span class="st0">&quot;?&quot;</span><span class="br0">&#41;</span><span class="sy0">;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; println<span class="br0">&#40;</span><span class="st0">&quot;It&#8217;s last field1 value that it sent (entry #&quot;</span> <span class="sy0">+</span> lastEntry <span class="sy0">+</span> <span class="st0">&quot; by the way) was: &quot;</span> <span class="sy0">+</span> lastField1 <span class="sy0">+</span> <span class="st0">&quot;. Cool!<span class="es0">\n</span>&quot;</span><span class="br0">&#41;</span><span class="sy0">;</span></div>
</li>
</ol>
</div>
</div>
<p>For the field feed, you can use this function:</p>
<div class="codesnip-container" >
<div class="java codesnip" style="font-family:monospace;">
<ol>
<li class="li1">
<div class="de1"><a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Aobject+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span class="kw3">Object</span></a> getSpecificFeedValue<span class="br0">&#40;</span><a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Astring+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span class="kw3">String</span></a> fieldName, <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Astring+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span class="kw3">String</span></a> valueName, <span class="kw4">int</span> feedEntry<span class="br0">&#41;</span></div>
</li>
</ol>
</div>
</div>
<p>For the last entry, you can use this function:</p>
<div class="codesnip-container" >
<div class="java codesnip" style="font-family:monospace;">
<ol>
<li class="li1">
<div class="de1"><a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Aobject+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span class="kw3">Object</span></a> getLastEntryValue<span class="br0">&#40;</span><a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Astring+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span class="kw3">String</span></a> valueName<span class="br0">&#41;</span></div>
</li>
</ol>
</div>
</div>
<p>And that is it! You can use the data from the functions and connect it up to your robot. <img src='http://robotgrrl.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Try it out, <a href="https://github.com/RobotGrrl/SimpleThingSpeak_Parse">get the code from Github</a>!</p>
<div class="tweetthis" style="text-align:left;"><p>  <a class="tt" href="http://twitter.com/intent/tweet?text=Blog+post%21+Reading+Data+from+MyRobots+%2F+ThingSpeak+http%3A%2F%2Fis.gd%2FfYnYD6+%5E_%5E+%40RobotGrrl" title=" "> </a></p></div>]]></content:encoded>
			<wfw:commentRss>http://robotgrrl.com/blog/2012/03/02/reading-data-from-myrobots-thingspeak/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Learning Pet at the Open Hardware Summit</title>
		<link>http://robotgrrl.com/blog/2011/09/21/learning-pet-at-the-open-hardware-summit/</link>
		<comments>http://robotgrrl.com/blog/2011/09/21/learning-pet-at-the-open-hardware-summit/#comments</comments>
		<pubDate>Wed, 21 Sep 2011 15:19:12 +0000</pubDate>
		<dc:creator>Erin, the RobotGrrl</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Fun]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[2011]]></category>
		<category><![CDATA[ADK]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[Arduino]]></category>
		<category><![CDATA[documentation]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[learning pet]]></category>
		<category><![CDATA[mini brrd]]></category>
		<category><![CDATA[OHS]]></category>
		<category><![CDATA[Open Hardware Summit]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[Open Source Hardware]]></category>
		<category><![CDATA[OSHW]]></category>
		<category><![CDATA[osi]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[processing adk tool]]></category>
		<category><![CDATA[scholarship]]></category>

		<guid isPermaLink="false">http://robotgrrl.com/blog/?p=2072</guid>
		<description><![CDATA[Learning Pet had a fantastic time at the Open Hardware Summit! Before the summit started, we were sitting at the sculpture robo-busking for votes! At that point, Ian came over and wanted to do an interview! It was an excellent interview, and he uploaded it really quickly at the summit so we could get more [...]]]></description>
			<content:encoded><![CDATA[<p>Learning Pet had a fantastic time at the <a href="http://www.openhardwaresummit.org/">Open Hardware Summit</a>!</p>
<p>Before the summit started, we were sitting at the sculpture robo-busking for votes! At that point, <a href="http://about.me/iancole">Ian</a> came over and wanted to do an interview! It was an excellent interview, and he uploaded it really quickly at the summit so we could get more votes for the scholarship! Thanks Ian!</p>
<p><center><iframe width="560" height="315" src="http://www.youtube.com/embed/u-mjTGgCZiE" frameborder="0" allowfullscreen></iframe></p>
<p><a href="http://www.youtube.com/watch?v=u-mjTGgCZiE">Watch video on YouTube</a><br />
</center></p>
<p>I actually did go to some of the talks! Specifically, the ones in the morning before the break. The <a href="http://arduino.cc/blog/2011/09/16/arduino-confidential-open-hardware-summit/">Arduino Team&#8217;s keynote</a> was really really great!</p>
<p>After that, I sort of hung around the cafeteria area showing off Learning Pet! A lot of people said they would vote, which was really great! After the crowd died down, I went into the cafeteria area to watch the stream and maybe work on some ADK stuff.</p>
<p><center><a href="http://www.flickr.com/photos/robotgrrl/6168503198/" title="IMG_3073 by RobotGrrl, on Flickr"><img src="http://farm7.static.flickr.com/6180/6168503198_eb5fbbbbec.jpg" width="374" height="500" alt="IMG_3073"></a></center></p>
<p>That was when the creator of <a href="http://thingspeak.com">ThingSpeak</a> himself caught me and said Hello! ThingSpeak is a really cool Internet of Things website. It&#8217;s relatively small and new, which is why I like it compared to the others.</p>
<p>He told me about the location data parameter in the API. I never knew this existed! Then I was wondering how to get the location from Mac OS, if there was actually a framework for that. It turned out that there was! Wow! And it was since 10.6 too! I never knew this! Making it work was really great, it was only checking to see if it worked was what we really got caught on (because the XML file goes from oldest to newest). <img src='http://robotgrrl.com/blog/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p><center><a href="http://www.flickr.com/photos/robotgrrl/6168502410/" title="IMG_3062 by RobotGrrl, on Flickr"><img src="http://farm7.static.flickr.com/6174/6168502410_d754100355.jpg" width="500" height="374" alt="IMG_3062"></a></center></p>
<p>It was then when I saw <a href="http://david.cuartielles.com/">David Cuartielles</a> from the Arduino team when I waved, who joined the table. We were talking about Learning Pet, and it turned out that he was the one who created the Processing ADK Tool! Wow! What a cooincidence!</p>
<p>I told him about all of the bugs, and asked how I can fix them. He showed me the code for the ADK tool, and walked me through how to build it in Eclipse! Building a tool for Processing is a little different because you have to tell ant that there are some things that are already pre-compiled, so it doesn&#8217;t have to check them.</p>
<p>I played around with the code for a while and sort of got used to the way things work. There are some places where it will be tricky to be able to do what I want to specifically do.</p>
<p>We also tried to figure out why there are four parameters on the Arduino side, and only three on the Android App side. It turns out that the Arduino is the one telling the Android what App it needs, rather than the other way around. This means that of course the Arduino side needs the description and website parameters. Which I guess makes more sense in retrospect <img src='http://robotgrrl.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><center><a href="http://www.flickr.com/photos/robotgrrl/6167965699/" title="IMG_3060 by RobotGrrl, on Flickr"><img src="http://farm7.static.flickr.com/6158/6167965699_96ea9698ff.jpg" width="500" height="374" alt="IMG_3060"></a></center></p>
<p>I&#8217;ll definitely be helping out more with this Processing ADK Tool stuff. The thing that motivates me the most is that when I first got the ADK and Android, I figured that this should be about 10x easier and 50x quicker than making an iOS App. It wasn&#8217;t, and many other people feel the same way, but now it is my goal to make it so.</p>
<p>We did listen to some of the talks while we were down hacking and learning on some code. They were really good! I didn&#8217;t manage to get to the breakout session, but they were all sort of scattered and I wasn&#8217;t listening to the directions anyway&#8230; playing with the code was more fun. <img src='http://robotgrrl.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><center><a href="http://www.flickr.com/photos/robotgrrl/6167964901/" title="IMG_3056 by RobotGrrl, on Flickr"><img src="http://farm7.static.flickr.com/6174/6167964901_57cf1de9b6.jpg" width="374" height="500" alt="IMG_3056"></a></center></p>
<p>Oh yeah! And I also bought a <a href="https://www.noisebridge.net/wiki/Passport">hackerspace passport from Mitch Altman</a>! It is so cool to see them in real life, they look like a real passport!</p>
<p>The Demo session was fun, lots of people loved Learning Pet and also said that they voted for it! However, when they announced the winners, Learning Pet didn&#8217;t place in the top three. I really appreciate everyone voting, though. To be honest and somewhat egotistical, I think Learning Pet&#8217;s documentation was the best and most complete. No one even came close! <img src='http://robotgrrl.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Here is a video by <a href="http://www.johngineer.com/blog/">johngineer</a> about Learning Pet! Thanks johngineer!</p>
<p><center><br />
<iframe src="http://player.vimeo.com/video/29177204?title=0&amp;byline=0&amp;portrait=0&amp;color=000000" width="720" height="405" frameborder="0" webkitAllowFullScreen allowFullScreen></iframe><br />
<a href="http://vimeo.com/29177204">Watch video on Vimeo</a><br />
</center></p>
<p>The one thing that I would improve though, is to make the organizers a little more friendly towards everyone, and not just caring primarily about the sponsors. Yes, it is important to make the sponsors feel good since without them then there wouldn&#8217;t be this event, but it is also important to make the people at the summit itself feel good also. For example, at the demo session one of the organizers was talking with all of these sponsors in front of my demo area and goofing around and taking photos, but never bothered to say hello or ask about my project. It was sort of uncool and unmakerly (if that&#8217;s a word). The way I think of it is&#8230; you might as well be friendly to everyone, because we are all in this together! <img src='http://robotgrrl.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>All in all, the Open Hardware Summit was great for connecting with some of the people I have met online! It also turned out to be a great learning experience for building tools for Processing, and seeing how the Processing ADK tool actually compiles with API v10 rather than v7 (it is literally just setting the number different hahahaha)!</p>
<p><center><a href="http://www.flickr.com/photos/robotgrrl/6167966389/" title="IMG_3065 by RobotGrrl, on Flickr"><img src="http://farm7.static.flickr.com/6151/6167966389_50800632b1.jpg" width="500" height="374" alt="IMG_3065"></a></center></p>
<p>Also, <a href="http://www.adafruit.com/blog/2011/09/17/adafruitoshw-embroidered-badge-file-github/">Learning Pet appeared in the Adafruit blog randomly</a>! It was awesome!</p>
<div class="tweetthis" style="text-align:left;"><p>  <a class="tt" href="http://twitter.com/intent/tweet?text=Blog+post%21+Learning+Pet+at+the+Open+Hardware+Summit+http%3A%2F%2Fis.gd%2FyAz9Mi+%5E_%5E+%40RobotGrrl" title=" "> </a></p></div>]]></content:encoded>
			<wfw:commentRss>http://robotgrrl.com/blog/2011/09/21/learning-pet-at-the-open-hardware-summit/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>RoboBrrd Cosmic Soap</title>
		<link>http://robotgrrl.com/blog/2011/08/28/robobrrd-cosmic-soap/</link>
		<comments>http://robotgrrl.com/blog/2011/08/28/robobrrd-cosmic-soap/#comments</comments>
		<pubDate>Mon, 29 Aug 2011 00:32:14 +0000</pubDate>
		<dc:creator>Erin, the RobotGrrl</dc:creator>
				<category><![CDATA[Art]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[RoboBrrd (thx Adafruit!)]]></category>
		<category><![CDATA[Arduino]]></category>
		<category><![CDATA[cosmic soap]]></category>
		<category><![CDATA[fluid dynamics]]></category>
		<category><![CDATA[interactive art]]></category>
		<category><![CDATA[physics simulation]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[RoboBrrd]]></category>
		<category><![CDATA[sketch]]></category>
		<category><![CDATA[XBee]]></category>

		<guid isPermaLink="false">http://robotgrrl.com/blog/?p=2049</guid>
		<description><![CDATA[Creating art with robots usually ends up with a result that is unexpected from the beginning! I created this fluid dynamics + physics sketch in Processing that was fun, and sort of looked like the soap from space. I connected it with RoboBrrd, and it was super unreal the result that it created. Watch the [...]]]></description>
			<content:encoded><![CDATA[<p>Creating art with robots usually ends up with a result that is unexpected from the beginning! I created this fluid dynamics + physics sketch in Processing that was fun, and sort of looked like the soap from space. I connected it with RoboBrrd, and it was super unreal the result that it created. </p>
<p><center><br />
<a href="http://www.flickr.com/photos/robotgrrl/6090483959/" title="IMG_2870 by RobotGrrl, on Flickr"><img src="http://farm7.static.flickr.com/6083/6090483959_4f8176ff01.jpg" width="500" height="333" alt="IMG_2870"></a><br />
</center></p>
<p>Watch the video on <a href="http://www.youtube.com/watch?v=l3AbFHr6nlI">YouTube</a> <img src='http://robotgrrl.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p><center><br />
<iframe width="560" height="345" src="http://www.youtube.com/embed/l3AbFHr6nlI" frameborder="0" allowfullscreen></iframe><br />
</center></p>
<p>All sorts of people have different ideas about what it is, it seems to change from person to person, which is really interesting <img src='http://robotgrrl.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  With RoboBrrd, since the light is being shone into its &#8220;eyes&#8221; (because the LDRs are located close to the eyes), lots of people have said it like a RoboBrrd hallucination. I&#8217;m not so sure about this, but playing with it is lots of fun, and shooting some long-exposure photos creates <a href="http://www.flickr.com/photos/robotgrrl/sets/72157627541361130/with/6091030006/">interesting results</a> <img src='http://robotgrrl.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><center><br />
<a href="http://www.flickr.com/photos/robotgrrl/6091030006/" title="IMG_2924 by RobotGrrl, on Flickr"><img src="http://farm7.static.flickr.com/6194/6091030006_a3c8a615f3.jpg" width="500" height="333" alt="IMG_2924"></a><br />
</center></p>
<p>My inspiration for creating this was lack of inspiration. I couldn&#8217;t focus on more important things to do, but at the same time I didn&#8217;t feel like doing nothing.</p>
<p>You can look at the code on <a href="https://github.com/RobotGrrl/CosmicSoap_RoboBrrd">GitHub</a>. It&#8217;s commented and annotated, so it should be a good starting point if you want to create something like this.</p>
<p>Oh yeah, and to maybe answer a question you might be wondering- I&#8217;m not &#8220;on&#8221; anything. The only thing I&#8217;m &#8220;on&#8221; is my computer 18 hours a day, coding and creating.</p>
<p>If you use this sketch or make something similar, leave a comment with your project! It would be cool to see how this translates into other robot art <img src='http://robotgrrl.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<div class="tweetthis" style="text-align:left;"><p>  <a class="tt" href="http://twitter.com/intent/tweet?text=Blog+post%21+RoboBrrd+Cosmic+Soap+http%3A%2F%2Fis.gd%2Fyzf8vK+%5E_%5E+%40RobotGrrl" title=" "> </a></p></div>]]></content:encoded>
			<wfw:commentRss>http://robotgrrl.com/blog/2011/08/28/robobrrd-cosmic-soap/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simple Processing Twitter</title>
		<link>http://robotgrrl.com/blog/2011/02/21/simple-processing-twitter/</link>
		<comments>http://robotgrrl.com/blog/2011/02/21/simple-processing-twitter/#comments</comments>
		<pubDate>Mon, 21 Feb 2011 18:13:00 +0000</pubDate>
		<dc:creator>Erin, the RobotGrrl</dc:creator>
				<category><![CDATA[Art]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Access Token]]></category>
		<category><![CDATA[Consumer Key]]></category>
		<category><![CDATA[COSI]]></category>
		<category><![CDATA[OAuth]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[simple]]></category>
		<category><![CDATA[tweet]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[Twitter4j]]></category>

		<guid isPermaLink="false">http://robotgrrl.com/blog/?p=1830</guid>
		<description><![CDATA[I created a really simple Processing and Twitter sketch to help a friend a few nights ago ^_^ It is based off of this previous code from the blog post &#8220;Processing + Arduino + Twitter + OAuth&#8221;. Here&#8217;s what changed: - It now uses the Access Token that you can get from the Twitter App&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>I created a really simple Processing and Twitter sketch to help a friend a few nights ago ^_^ It is based off of this previous code from the blog post <a href="http://robotgrrl.com/blog/2010/09/15/processing-arduino-twitter-oauth/">&#8220;Processing + Arduino + Twitter + OAuth&#8221;</a>. Here&#8217;s what changed: </p>
<p>- It now uses the Access Token that you can get from the Twitter App&#8217;s panel<br />
- No more inserting PIN info into a file<br />
- No Arduino clutter in the sketch<br />
- Simple methods for posting, retrieving, and searching tweets.</p>
<p>You can probably do a lot more things with this too, thanks to Twitter4j.</p>
<p><center><a href="https://github.com/RobotGrrl/Simple-Processing-Twitter/zipball/master"><img src="http://robotgrrl.com/processing/processing-icon-small.png" /></a></center></p>
<p><center><a href="https://github.com/RobotGrrl/Simple-Processing-Twitter/zipball/master">Click to download SimpleProcessingTwitter.pde</a><br />
Or <a href="https://github.com/RobotGrrl/Simple-Processing-Twitter">view it on Github</a><br />
</center></p>
<p>If you use this code in one of your projects, let me know! It is cool to see what people make. <img src='http://robotgrrl.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<hr />
<center><br />
<a rel="license" href="http://creativecommons.org/licenses/by/3.0/"><img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by/3.0/88x31.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 Unported License</a>. GO OPEN SOURCE!<br />
</center></p>
<div class="tweetthis" style="text-align:left;"><p>  <a class="tt" href="http://twitter.com/intent/tweet?text=Blog+post%21+Simple+Processing+Twitter+http%3A%2F%2Fis.gd%2FF1Z0K4+%5E_%5E+%40RobotGrrl" title=" "> </a></p></div>]]></content:encoded>
			<wfw:commentRss>http://robotgrrl.com/blog/2011/02/21/simple-processing-twitter/feed/</wfw:commentRss>
		<slash:comments>24</slash:comments>
		</item>
		<item>
		<title>FNR – Robot Mesh Network: Intro &amp; Node 1</title>
		<link>http://robotgrrl.com/blog/2010/09/19/fnr-robot-mesh-network-intro-node-1/</link>
		<comments>http://robotgrrl.com/blog/2010/09/19/fnr-robot-mesh-network-intro-node-1/#comments</comments>
		<pubDate>Sun, 19 Sep 2010 23:19:50 +0000</pubDate>
		<dc:creator>Erin, the RobotGrrl</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Robot]]></category>
		<category><![CDATA[Arduino]]></category>
		<category><![CDATA[communication]]></category>
		<category><![CDATA[COSI]]></category>
		<category><![CDATA[Mesh]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[node]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[RoboGlyphs]]></category>
		<category><![CDATA[robot mesh network]]></category>
		<category><![CDATA[serial]]></category>
		<category><![CDATA[TLC594]]></category>
		<category><![CDATA[transmitter]]></category>
		<category><![CDATA[tweet]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[watchdog]]></category>
		<category><![CDATA[XBee]]></category>

		<guid isPermaLink="false">http://robotgrrl.com/blog/?p=1726</guid>
		<description><![CDATA[I&#8217;m trying to create a network for my robots to communicate through and interact with the outside world to have some new behaviours emerge. Each robot will be able to read and transmit messages. The robots will be given basic instructions for things to listen to and eventually some behavioural AI to link previous commands [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m trying to create a network for my robots to communicate through and interact with the outside world to have some new behaviours emerge. Each robot will be able to read and transmit messages. The robots will be given basic instructions for things to listen to and eventually some behavioural AI to link previous commands together. The idea is to have robots talking to each other, informing one another of different sensor readings, thereby creating a shared knowledge of the environment that the robots are in. </p>
<p>In a military robots example, a UAV could be observing the environment below and an autonomous rover analyzing some LIDAR sensor data of its ahead of it. With some mapping algorithms applied and communication between the two robots, a rescue mission could be planned and executed very quickly. It&#8217;s all about networking the robots and making them talk together in &#8220;words&#8221; they understand.</p>
<p>Last Friday I worked on getting <a href="http://robotgrrl.com/blog/2010/09/15/processing-arduino-twitter-oauth/">Twitter integrated with Processing</a>. This weekend I added on to that existing work by trimming down the tweet string, and having it transmitted to an Arduino which broadcasted the message through the XBee to the other devices. </p>
<p>There are currently three devices on the network right now:<br />
Node 0: Transmitter from the computer<br />
Node 1: RoboGlyphs<br />
and a Watchdog, which doesn&#8217;t transfer data, only reads what is being sent out.</p>
<p>Here is a video of a broad and basic explanation of everything so far:</p>
<p><center><iframe src="http://player.vimeo.com/video/15108858?portrait=0&amp;color=6cf000" width="400" height="225" frameborder="0"></iframe>
<p><a href="http://vimeo.com/15108858">Robot Mesh Network &#8211; Introduction &#038; Node 1</a> from <a href="http://vimeo.com/robotgrrl">RobotGrrl</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p></center></p>
<p>The transmitter node serves as the main point of communication of the internet to the devices, and vice versa. It&#8217;s using an Arduino with an XBee attached to it. Right now its main purpose is to send out the tweet that it receives from the Processing sketch.</p>
<p><center><a href="http://www.flickr.com/photos/robotgrrl/5010144314/" title="IMG_9945 - Version 2 by RobotGrrl, on Flickr"><img src="http://farm5.static.flickr.com/4127/5010144314_d6a4dcc06e.jpg" width="500" height="274" alt="IMG_9945 - Version 2" /></a></center></p>
<p>The transmitter node looks like this:</p>
<p><center><a href="http://www.flickr.com/photos/robotgrrl/5009520867/" title="IMG_9911 by RobotGrrl, on Flickr"><img src="http://farm5.static.flickr.com/4091/5009520867_5019d24b13.jpg" width="500" height="333" alt="IMG_9911" /></a></center></p>
<p>Which is attached to the computer running a Processing sketch:</p>
<p><center><a href="http://www.flickr.com/photos/robotgrrl/5010127660/" title="IMG_9912 by RobotGrrl, on Flickr"><img src="http://farm5.static.flickr.com/4111/5010127660_f453f15d3d.jpg" width="500" height="333" alt="IMG_9912" /></a></center></p>
<p>The Processing sketch is connected to Twitter, and searches for tweets that are to @RobotGrrlsBots. The connection is through OAuth, since IP rate limiting for feeds resets less often, as far as I have observed. It sends the most recent tweet to the transmitter node.</p>
<p>The RoboGlyph node receives the tweet, and does what the command says. The command has to be formatted in the way of this:</p>
<div class="codesnip-container" >@RobotGrrlsBots RBGLYPH | RGB | RGB | RGB | *</div>
<p>If it is received OK, which is usually is, then it will display it! The process that the RoboGlyphs follow is that it fades in the colours, then it waits for a command. Once it receives a command, the colours will fade out.</p>
<p>This is what the RoboGlyphs node looks like:</p>
<p><center><a href="http://www.flickr.com/photos/robotgrrl/5010144598/" title="IMG_9946 - Version 2 by RobotGrrl, on Flickr"><img src="http://farm5.static.flickr.com/4145/5010144598_aa23a73e91.jpg" width="500" height="305" alt="IMG_9946 - Version 2" /></a></center></p>
<p><center><a href="http://www.flickr.com/photos/robotgrrl/5010135998/" title="IMG_9928 by RobotGrrl, on Flickr"><img src="http://farm5.static.flickr.com/4083/5010135998_c6f85e4e9a.jpg" width="500" height="333" alt="IMG_9928" /></a></center></p>
<p>And this is it working!</p>
<p><center><a href="http://www.flickr.com/photos/robotgrrl/5010130434/" title="IMG_9917 by RobotGrrl, on Flickr"><img src="http://farm5.static.flickr.com/4152/5010130434_40896588cd.jpg" width="500" height="333" alt="IMG_9917" /></a></center></p>
<p>Pretty cool. The RoboGlyphs could use a tune up though by using one of the TLC594 16 bit PWM out chips. Right now the green LEDs don&#8217;t use PWM, so it makes the animation look choppy.</p>
<p>The Watchdog watches all of the data that is being transmitted and shows it on the screen. This is what it looks like:</p>
<p><center><a href="http://www.flickr.com/photos/robotgrrl/5009538049/" title="IMG_9943 - Version 2 by RobotGrrl, on Flickr"><img src="http://farm5.static.flickr.com/4132/5009538049_69769d47f2.jpg" width="500" height="272" alt="IMG_9943 - Version 2" /></a></center></p>
<p><center><a href="http://www.flickr.com/photos/robotgrrl/5009522727/" title="IMG_9913 by RobotGrrl, on Flickr"><img src="http://farm5.static.flickr.com/4103/5009522727_5b074666ce.jpg" width="500" height="333" alt="IMG_9913" /></a></center></p>
<p>It&#8217;s useful to try to debug some things. While making everything I was having trouble with the New Soft Serial library and Arduino 0019. </p>
<p>Next time I will be working on getting data transported back from the RoboGlyphs and sending a tweet. From there, it will be about adapting that code to all of the other robots too. This is just the start!</p>
<hr />
<p><center><a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/"><img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by-nc-sa/3.0/88x31.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/">Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License</a>. GO OPEN SOURCE! <img src='http://robotgrrl.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </center></p>
<div class="tweetthis" style="text-align:left;"><p>  <a class="tt" href="http://twitter.com/intent/tweet?text=Blog+post%21+FNR+%E2%80%93+Robot+Mesh+Network%3A+Intro+%26+Node+1+http%3A%2F%2Fis.gd%2FYPvpFB+%5E_%5E+%40RobotGrrl" title=" "> </a></p></div>]]></content:encoded>
			<wfw:commentRss>http://robotgrrl.com/blog/2010/09/19/fnr-robot-mesh-network-intro-node-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Processing + Arduino + Twitter + OAuth</title>
		<link>http://robotgrrl.com/blog/2010/09/15/processing-arduino-twitter-oauth/</link>
		<comments>http://robotgrrl.com/blog/2010/09/15/processing-arduino-twitter-oauth/#comments</comments>
		<pubDate>Wed, 15 Sep 2010 15:44:24 +0000</pubDate>
		<dc:creator>Erin, the RobotGrrl</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Arduino]]></category>
		<category><![CDATA[CC-BY-NC-SA]]></category>
		<category><![CDATA[COSI]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[OAuth]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://robotgrrl.com/blog/?p=1719</guid>
		<description><![CDATA[WARNING: There&#8217;s a newer version of this code here: &#8220;Simple Processing Twitter&#8221;! People who devise these spectacular security protocols and stuff really make it complicated to communicate to cool social networking sites. Yesterday I got carried away and ended up making a Processing sketch that could successfully connect to Twitter through its OAuth method. This [...]]]></description>
			<content:encoded><![CDATA[<p><b><br />
<h3>WARNING: There&#8217;s a newer version of this code here: <a href="http://robotgrrl.com/blog/2011/02/21/simple-processing-twitter/">&#8220;Simple Processing Twitter&#8221;</a>!</h3>
<p></b></p>
<p>People who devise these spectacular security protocols and stuff really make it complicated to communicate to cool social networking sites. Yesterday I got carried away and ended up making a Processing sketch that could successfully connect to Twitter through its OAuth method. This is primarily for a project where Tweets are read, sent into Processing, which are then sent to the Arduino, which then broadcasts the message through its Xbee, and then the other robots pick up on the message. If the message is addressed to them, then they will parse it and do what it says. The first step though was to try and get the OAuth to work. Below is the link to the Processing code and some steps that I took that may help others. <img src='http://robotgrrl.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><center><a href="http://robotgrrl.com/processing/ToArduinoAndTwitter_v02.zip"><img src="http://robotgrrl.com/processing/processing-icon-small.png" /></a></center></p>
<p><center><a href="http://robotgrrl.com/processing/ToArduinoAndTwitter_v02.zip">Click to download ToArduinoAndTwitter v02 pde</a></center></p>
<p>1. <a href="http://twitter.com/apps">Set up a Twitter application</a></p>
<p>Here is a screenshot of the settings that I used:</p>
<p><center><a href="http://www.flickr.com/photos/robotgrrl/4992772403/" title="Twitter App by RobotGrrl, on Flickr"><img src="http://farm5.static.flickr.com/4133/4992772403_be93c011ea.jpg" width="500" height="313" alt="Twitter App" /></a></center></p>
<p>2. Open up the code and fill in the OAuth consumer information (line 131)</p>
<div class="codesnip-container" >
<div class="java codesnip" style="font-family:monospace;">
<ol>
<li class="li1">
<div class="de1">twitter.<span class="me1">setOAuthConsumer</span><span class="br0">&#40;</span><span class="st0">&quot;***&quot;</span>, <span class="st0">&quot;***&quot;</span><span class="br0">&#41;</span><span class="sy0">;</span> <span class="co1">// consumer key, consumer secret</span></div>
</li>
</ol>
</div>
</div>
<p>3. Uncomment the initTwitter() method call (and comment out the other twitter method calls) in void setup()</p>
<p>4. Open the sketch&#8217;s folder (keyboard shortcut: command-K). Open up url.text and go to that website. Copy the pin.</p>
<p>5. Enter the pin in pin.txt and press enter. For some reason there has to be a new line at the end, otherwise it won&#8217;t work <img src='http://robotgrrl.com/blog/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>6. The code should now give you the access token and secret that you need. This should also be in tokens.txt now.</p>
<p>7. Take the tokens and put them into the code (line 238)</p>
<div class="codesnip-container" >
<div class="java codesnip" style="font-family:monospace;">
<ol>
<li class="li1">
<div class="de1"><a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Astring+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span class="kw3">String</span></a> token <span class="sy0">=</span> <span class="st0">&quot;***&quot;</span><span class="sy0">;</span><span class="co1">// load from a persistent store</span></div>
</li>
<li class="li1">
<div class="de1"><a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Astring+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span class="kw3">String</span></a> tokenSecret <span class="sy0">=</span> <span class="st0">&quot;***&quot;</span><span class="sy0">;</span> <span class="co1">// load from a persistent store</span></div>
</li>
</ol>
</div>
</div>
<p>8. Comment out initTwitter() method call, uncomment connectTwitter(). You can also uncomment getSearchTweets too!</p>
<p>Hopefully those steps worked for you. It&#8217;s not totally automatic, with the whole copying and pasting of the tokens, but it seems to be the quickest and easiest way to get this done with Processing. Luckily you don&#8217;t have to do those steps all the time! Since it&#8217;s open source, maybe someone can improve on it! <img src='http://robotgrrl.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  If you find any bugs or have improvements, be sure to leave a comment or notify me! Happy tweeting!</p>
<p><center><a href="http://www.flickr.com/photos/robotgrrl/4992561531/" title="Processing and Twitter by RobotGrrl, on Flickr"><img src="http://farm5.static.flickr.com/4111/4992561531_ff3bc275cc.jpg" width="500" height="313" alt="Processing and Twitter" /></a></center></p>
<p>This is the screenie when it worked! Woohoo!</p>
<hr />
<p><center><a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/"><img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by-nc-sa/3.0/88x31.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/">Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License</a>. GO OPEN SOURCE! <img src='http://robotgrrl.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </center></p>
<div class="tweetthis" style="text-align:left;"><p>  <a class="tt" href="http://twitter.com/intent/tweet?text=Blog+post%21+Processing+%2B+Arduino+%2B+Twitter+%2B+OAuth+http%3A%2F%2Fis.gd%2F0LtQ7n+%5E_%5E+%40RobotGrrl" title=" "> </a></p></div>]]></content:encoded>
			<wfw:commentRss>http://robotgrrl.com/blog/2010/09/15/processing-arduino-twitter-oauth/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Grabbing MANOI&#8217;s Accelerometer and Gyro Data</title>
		<link>http://robotgrrl.com/blog/2010/06/09/grabbing-manois-accelerometer-and-gyro-data/</link>
		<comments>http://robotgrrl.com/blog/2010/06/09/grabbing-manois-accelerometer-and-gyro-data/#comments</comments>
		<pubDate>Thu, 10 Jun 2010 02:35:33 +0000</pubDate>
		<dc:creator>Erin, the RobotGrrl</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Accelerometer]]></category>
		<category><![CDATA[cube]]></category>
		<category><![CDATA[FFT]]></category>
		<category><![CDATA[gyro]]></category>
		<category><![CDATA[MANOI]]></category>
		<category><![CDATA[Processing]]></category>

		<guid isPermaLink="false">http://robotgrrl.com/blog/?p=1604</guid>
		<description><![CDATA[Last FNR I embedded MANOI&#8217;s Accelerometer and Gyro into its back. Usually what people do first when they add these motion sensors is make their robot self balancing. For now, I&#8217;m going to see if I can do something a little cooler. The idea stems from a Fast-Fourier Transform result for sound- where you can [...]]]></description>
			<content:encoded><![CDATA[<p><center><a href="http://www.flickr.com/photos/robotgrrl/4686472513/" title="Screen shot 2010-06-09 at 10.18.36 PM by RobotGrrl, on Flickr"><img src="http://farm5.static.flickr.com/4019/4686472513_a22e030633.jpg" width="500" height="313" alt="Screen shot 2010-06-09 at 10.18.36 PM" /></a></center></p>
<p>Last FNR I embedded MANOI&#8217;s Accelerometer and Gyro into its back. Usually what people do first when they add these motion sensors is make their robot self balancing. <img src='http://robotgrrl.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  For now, I&#8217;m going to see if I can do something a little cooler.</p>
<p>The idea stems from a Fast-Fourier Transform result for sound- where you can see the various volumes and such. (<a href="http://robotgrrl.com/blog/processing/">Check out my Processing Fancy FFT</a>). What I&#8217;m aiming to create is a FFT for motion. Basically, if you move MANOI around, the algorithm will be able to detect a pattern and do stuff afterwards. Essentially what this is leading up to is an interesting dancing robot. =)</p>
<p>I&#8217;m starting off with a Processing program that will visualize and log the data (see above screenshot). I envision a split-view display with two cubes. One will be showing the live sensor input, the other will be showing the results of the pattern algorithm to the live data.</p>
<p>No idea yet how the algorithm will turn out. I&#8217;m probably going to start at a very basic level, and perhaps add complexities on later. It will be interesting to see how this will turn out!</p>
<p>Soon to be blogged&#8230;</p>
<ul>
<li> The FNR that I mentioned, but didn&#8217;t blog about
<li> RampageRobot!!!
<li> RoboGlyphs
</ul>
<div class="tweetthis" style="text-align:left;"><p>  <a class="tt" href="http://twitter.com/intent/tweet?text=Blog+post%21+Grabbing+MANOI%E2%80%99s+Accelerometer+and+Gyro+Data+http%3A%2F%2Frobotgrrl.com%2Fblog%2F%3Fp%3D1604+%5E_%5E+%40RobotGrrl" title=" "> </a></p></div>]]></content:encoded>
			<wfw:commentRss>http://robotgrrl.com/blog/2010/06/09/grabbing-manois-accelerometer-and-gyro-data/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Friday Night Robotics &#8211; MLK Day Preparations</title>
		<link>http://robotgrrl.com/blog/2010/01/16/friday-night-robotics-mlk-day-preparations/</link>
		<comments>http://robotgrrl.com/blog/2010/01/16/friday-night-robotics-mlk-day-preparations/#comments</comments>
		<pubDate>Sat, 16 Jan 2010 13:44:34 +0000</pubDate>
		<dc:creator>Erin, the RobotGrrl</dc:creator>
				<category><![CDATA[Animation]]></category>
		<category><![CDATA[Art]]></category>
		<category><![CDATA[Other]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[2010]]></category>
		<category><![CDATA[Clarkson]]></category>
		<category><![CDATA[Clarkson University]]></category>
		<category><![CDATA[Culture]]></category>
		<category><![CDATA[Dedication]]></category>
		<category><![CDATA[Inspiration]]></category>
		<category><![CDATA[Leadership]]></category>
		<category><![CDATA[Martin Luther King Jr]]></category>
		<category><![CDATA[MLK]]></category>
		<category><![CDATA[MLK Day]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[tweet]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[user-friendly]]></category>
		<category><![CDATA[webpage]]></category>

		<guid isPermaLink="false">http://robotgrrl.com/blog/?p=1481</guid>
		<description><![CDATA[Warning: This FNR does not contain any robots at all, but it&#8217;s still REALLY amazing! A while ago I put my name on a list that wanted to help out with MLK day, 2010. I originally thought I would be doing a website, not really thinking about the intractability portion. When the Fall 2009 semester [...]]]></description>
			<content:encoded><![CDATA[<p><i>Warning: This FNR does not contain any robots at all, but it&#8217;s still REALLY amazing!</i></p>
<p>A while ago I put my name on a list that wanted to help out with MLK day, 2010. I originally thought I would be doing a website, not really thinking about the intractability portion. When the Fall 2009 semester began, the group of us met, and ideas were tossed around. MLK Day in 2010 <strong>had</strong> to be different.</p>
<p>We came up with the idea of having a Twitter aspect of the performance. People would be able to tweet from laptops and then see it displayed on the screen! We are going to be using 5 laptops throughout the dinner, each with a different theme:</p>
<ul>
<li> Inspiration
<li> Dedication
<li> Culture
<li> Leadership
<li> Performance
</ul>
<p>When a person goes to send a tweet, this is what the webpage looks like:</p>
<p><center><a href="http://robotgrrl.com/blog/wp-content/uploads/2010/01/MLK-inspiration-page.png" rel="lightbox[1481]"><img src="http://robotgrrl.com/blog/wp-content/uploads/2010/01/MLK-inspiration-page-300x237.png" alt="MLK-inspiration-page" title="MLK-inspiration-page" width="300" height="237" class="aligncenter size-medium wp-image-1489" /></a></center></p>
<p>It&#8217;s very user-friendly in the way that&#8230; once a person reads the theme and the question, they&#8217;ll understand to type in the box and press the button. I designed it to be simple, hopefully people will think it is simple too.</p>
<p>Being projected onto the display will be the Processing application that I&#8217;ve spent the better part of 4 months coding! :O It displays three twitter accounts at a time, and they are refreshed every 10 seconds and cycled upwards. The background changes very slowly over time as well, it&#8217;s almost not noticeable. Here is a screenshot:</p>
<p><center><a href="http://robotgrrl.com/blog/wp-content/uploads/2010/01/MLK-processing-display.png" rel="lightbox[1481]"><img src="http://robotgrrl.com/blog/wp-content/uploads/2010/01/MLK-processing-display-300x187.png" alt="MLK-processing-display" title="MLK-processing-display" width="300" height="187" class="aligncenter size-medium wp-image-1490" /></a></center></p>
<p>The best part about this is&#8230; it will be <strong>open source</strong>&#8230; in about 1 month. I just need to take some time to document it before I release it to the wild. Since it wasn&#8217;t a project for grades, I didn&#8217;t comment it (I find comments get in the way), so I will have to do that. Hopefully people will pick it up and improve it, since there&#8217;s some parts in the code that it&#8217;s obvious that I had no idea what I was doing. <img src='http://robotgrrl.com/blog/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>So that is the MLK Twitter portion of the dinner. I&#8217;m really amazed how well this is all going to work together, it will be a very special moment for sure. I had the privilege of seeing the performance being rehearsed, it is extraordinary! If it is going to be recorded, I will be sure to post a video.</p>
<p>I hope everyone has a wonderful MLK day! =)</p>
<div class="tweetthis" style="text-align:left;"><p>  <a class="tt" href="http://twitter.com/intent/tweet?text=Blog+post%21+Friday+Night+Robotics+%E2%80%93+MLK+Day+Preparations+http%3A%2F%2Frobotgrrl.com%2Fblog%2F%3Fp%3D1481+%5E_%5E+%40RobotGrrl" title=" "> </a></p></div>]]></content:encoded>
			<wfw:commentRss>http://robotgrrl.com/blog/2010/01/16/friday-night-robotics-mlk-day-preparations/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Friday Night Robotics &#8211; Light</title>
		<link>http://robotgrrl.com/blog/2009/01/23/friday-night-robotics-light/</link>
		<comments>http://robotgrrl.com/blog/2009/01/23/friday-night-robotics-light/#comments</comments>
		<pubDate>Sat, 24 Jan 2009 04:58:20 +0000</pubDate>
		<dc:creator>Erin, the RobotGrrl</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Robot]]></category>
		<category><![CDATA[School]]></category>
		<category><![CDATA[AI Library]]></category>
		<category><![CDATA[Arduino]]></category>
		<category><![CDATA[boring]]></category>
		<category><![CDATA[BubbleBoy]]></category>
		<category><![CDATA[COSI]]></category>
		<category><![CDATA[EPFL]]></category>
		<category><![CDATA[Femsapien]]></category>
		<category><![CDATA[FNR]]></category>
		<category><![CDATA[friday night robotics]]></category>
		<category><![CDATA[haut-parleur]]></category>
		<category><![CDATA[lamp]]></category>
		<category><![CDATA[LDR]]></category>
		<category><![CDATA[light]]></category>
		<category><![CDATA[photocell]]></category>
		<category><![CDATA[piezo]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[speaker]]></category>
		<category><![CDATA[wait time]]></category>

		<guid isPermaLink="false">http://robotgrrl.com/blog/?p=1267</guid>
		<description><![CDATA[For better or worse, I made a program for BubbleBoy that reacts to a light being turned on. The program evaluates the light the same way MANOI&#8217;s hockey stick did. Once it goes over a particular threshold, it will begin to spin its hat and start saying &#8220;HELLO!HELLO!HELLO!&#8221;. At first, I wanted to make BB [...]]]></description>
			<content:encoded><![CDATA[<p>For better or worse, I made a program for BubbleBoy that reacts to a light being turned on. </p>
<p><center><a href="http://www.flickr.com/photos/robotgrrl/3227892184/" title="BubbleBoy Lamp - FNR by RobotGrrl, on Flickr"><img src="http://farm4.static.flickr.com/3340/3227892184_f6a8de0b3d.jpg" width="500" height="375" alt="BubbleBoy Lamp - FNR" /></a></center></p>
<p>The program evaluates the light the same way MANOI&#8217;s hockey stick did. Once it goes over a particular threshold, it will begin to spin its hat and start saying &#8220;HELLO!HELLO!HELLO!&#8221;.</p>
<p><center><a href="http://www.flickr.com/photos/robotgrrl/3227892708/" title="BubbleBoy Lamp - FNR by RobotGrrl, on Flickr"><img src="http://farm4.static.flickr.com/3362/3227892708_d32a72880a.jpg" width="500" height="375" alt="BubbleBoy Lamp - FNR" /></a></center></p>
<p>At first, I wanted to make BB react to sound, so I dismantled a &#8220;haut-parleur&#8221; that I got a while ago, thinking that it was a piezo speaker. It&#8217;s actually not a piezo, because when I was looking at the analog readings on the Arduino, nothing happened if I fiddled with it. Weird!</p>
<p><center><br />
<a href="http://www.flickr.com/photos/robotgrrl/3227038145/" title="BubbleBoy Lamp - FNR by RobotGrrl, on Flickr"><img src="http://farm4.static.flickr.com/3384/3227038145_7c78a35d01.jpg" width="500" height="375" alt="BubbleBoy Lamp - FNR" /></a></p>
<p><a href="http://www.flickr.com/photos/robotgrrl/3227891556/" title="BubbleBoy Lamp - FNR by RobotGrrl, on Flickr"><img src="http://farm4.static.flickr.com/3308/3227891556_40bca05357.jpg" width="500" height="375" alt="BubbleBoy Lamp - FNR" /></a></center></p>
<p>When it says on the LCD that I&#8217;m at &#8220;cheel&#8221;, it is hardcoded in. I tried to use <a href="http://blog.tinyenormous.com/2008/12/02/arduino-based-rss-reader-with-lcd/comment-page-1/#comment-670">the script that downloads a feed</a>, but it doesn&#8217;t work for me, for some reason. I commented below that post with my setup and questions. =)</p>
<p><center><a href="http://www.flickr.com/photos/robotgrrl/3227038883/" title="BubbleBoy Lamp - FNR by RobotGrrl, on Flickr"><img src="http://farm4.static.flickr.com/3084/3227038883_0bafea92a4.jpg" width="500" height="375" alt="BubbleBoy Lamp - FNR" /></a></center></p>
<p>Aah I can&#8217;t wait until my Femsapien arrives from the EPFL! It is super boring without a humanoid to work on. <img src='http://robotgrrl.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>I&#8217;m not exactly sure what the moral of this FNR is supposed to be&#8230; annoy me and face &#8216;teh ultimate&#8217; BubbleBoy?! Hahahaha</p>
<p>I&#8217;ll add the video later in another post, Vimeo has a wait time of 130 minutes &#8211; and YouTube &#8230; well who knows about YouTube. o.O</p>
<p>I&#8217;m going to be working on an AI Library for Processing with a few people here at the COSI (hopefully). Expect many more posts about that! Woohuu! =)</p>
<p>That&#8217;s all for now. *turns lamp off*</p>
<p><center><a href="http://www.flickr.com/photos/robotgrrl/3227891792/" title="BubbleBoy Lamp - FNR by RobotGrrl, on Flickr"><img src="http://farm4.static.flickr.com/3376/3227891792_f9b07b8b11.jpg" width="500" height="375" alt="BubbleBoy Lamp - FNR" /></a></center></p>
<div class="tweetthis" style="text-align:left;"><p>  <a class="tt" href="http://twitter.com/intent/tweet?text=Blog+post%21+Friday+Night+Robotics+%E2%80%93+Light+http%3A%2F%2Fis.gd%2FRee3go+%5E_%5E+%40RobotGrrl" title=" "> </a></p></div>]]></content:encoded>
			<wfw:commentRss>http://robotgrrl.com/blog/2009/01/23/friday-night-robotics-light/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Gumball</title>
		<link>http://robotgrrl.com/blog/2008/11/19/gumball/</link>
		<comments>http://robotgrrl.com/blog/2008/11/19/gumball/#comments</comments>
		<pubDate>Wed, 19 Nov 2008 05:50:42 +0000</pubDate>
		<dc:creator>Erin, the RobotGrrl</dc:creator>
				<category><![CDATA[Art]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[processing.org]]></category>

		<guid isPermaLink="false">http://robotgrrl.com/blog/?p=1130</guid>
		<description><![CDATA[I added a new Processing thing I made&#8230; called Gumball. It&#8217;s not that cool, but great to play with for like 20 seconds. =P ::: [LIVE] ::: [CODE] :::]]></description>
			<content:encoded><![CDATA[<p>I added a new Processing thing I made&#8230; called Gumball. <img src='http://robotgrrl.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>It&#8217;s not that cool, but great to play with for like 20 seconds. =P</p>
<p><a href="http://robotgrrl.com/processing/gumball.png" rel="lightbox[1130]"><img src="http://robotgrrl.com/processing/gumball.png" alt="Gumball" width="100%" border="0" /></a></p>
<p><center><object width="425" height="349"><param name="movie" value="http://www.youtube.com/v/hm-ooSRlLgU&#038;hl=en&#038;fs=1&#038;color1=0x402061&#038;color2=0x9461ca&#038;border=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/hm-ooSRlLgU&#038;hl=en&#038;fs=1&#038;color1=0x402061&#038;color2=0x9461ca&#038;border=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="349"></embed></object></p>
<p>
::: [<a href="http://robotgrrl.com/processing/gumball/"><strong>LIVE</strong></a>] ::: [<a href="http://robotgrrl.com/processing/gumball.zip"><strong>CODE</strong></a>] :::</center></p>
<div class="tweetthis" style="text-align:left;"><p>  <a class="tt" href="http://twitter.com/intent/tweet?text=Blog+post%21+Gumball+http%3A%2F%2Fis.gd%2FdCw3EM+%5E_%5E+%40RobotGrrl" title=" "> </a></p></div>]]></content:encoded>
			<wfw:commentRss>http://robotgrrl.com/blog/2008/11/19/gumball/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

