<?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>Zeven Rodriguez</title>
	<atom:link href="http://zevenrodriguez.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://zevenrodriguez.com/blog</link>
	<description></description>
	<lastBuildDate>Mon, 14 May 2012 01:26:25 +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>Gestios.com</title>
		<link>http://zevenrodriguez.com/blog/gestios-com/</link>
		<comments>http://zevenrodriguez.com/blog/gestios-com/#comments</comments>
		<pubDate>Thu, 10 May 2012 23:59:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Thesis]]></category>

		<guid isPermaLink="false">http://zevenrodriguez.com/blog/?p=730</guid>
		<description><![CDATA[You can visit my finished thesis at gestIOs.com]]></description>
			<content:encoded><![CDATA[<p>You can visit my finished thesis at <a title="gestIOs.com" href="http://gestios.com">gestIOs.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://zevenrodriguez.com/blog/gestios-com/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Arduino Motor Shield</title>
		<link>http://zevenrodriguez.com/blog/arduino-motor-shield/</link>
		<comments>http://zevenrodriguez.com/blog/arduino-motor-shield/#comments</comments>
		<pubDate>Mon, 09 Apr 2012 20:58:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ITP Fellowship]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://zevenrodriguez.com/blog/?p=624</guid>
		<description><![CDATA[I have been working with the Arduino Motor Shield. Here are some of the basic specs for the shield: Operating Voltage &#8211; 5v to 12v Motor Controller &#8211; L298P, Drives 2 DC Motors or 1 Stepper motor Max Current &#8211; 2A per channel or 4A max (with external power supply) Current Sensing &#8211; 1.65V/A Free Running [...]]]></description>
			<content:encoded><![CDATA[<p>I have been working with the <a href="http://arduino.cc/en/Main/ArduinoMotorShieldR3">Arduino Motor Shield</a>. Here are some of the basic specs for the shield:</p>
<ul>
<li>Operating Voltage &#8211; 5v to 12v</li>
<li>Motor Controller &#8211; L298P, Drives 2 DC Motors or 1 Stepper motor</li>
<li>Max Current &#8211; 2A per channel or 4A max (with external power supply)</li>
<li>Current Sensing &#8211; 1.65V/A</li>
<li>Free Running stop and brake function</li>
</ul>
<p>&nbsp;</p>
<p style="text-align: left;"><a href="http://zevenrodriguez.com/blog/wp-content/uploads/2012/04/motorshield.jpg"><img class="aligncenter size-full wp-image-714" title="motorshield" src="http://zevenrodriguez.com/blog/wp-content/uploads/2012/04/motorshield.jpg" alt="" width="400" height="300" /></a></p>
<p style="text-align: left;">This Shield has 4 main functions:</p>
<table width="50%" border="0">
<tbody>
<tr>
<td align="left"><strong>Function</strong></td>
<td align="center"><strong>pins per Ch. A</strong></td>
<td align="center"><strong>pins per Ch. B</strong></td>
</tr>
<tr>
<td align="left"><em>Direction</em></td>
<td align="center">D12</td>
<td align="center">D13</td>
</tr>
<tr>
<td align="left"><em>PWM</em></td>
<td align="center">D3</td>
<td align="center">D11</td>
</tr>
<tr>
<td align="left"><em>Brake</em></td>
<td align="center">D9</td>
<td align="center">D8</td>
</tr>
<tr>
<td><em>Current Sensing</em></td>
<td align="center">A0</td>
<td align="center">A1</td>
</tr>
</tbody>
</table>
<p>The important thing to understand about this shield is the interface. Each channel has independent Direction, PWM, Brake, and Current Sensing. Setting the Direction Digital HIGH or LOW, moves the motor Clockwise or Counterclockwise. The PWM Pin can be set to Digital HIGH or LOW, which turns the motor On or Off, or can we sent and analogWrite to control the speed. When Brake is set to HIGH it forces the motor to Stop.</p>
<p>&nbsp;</p>
<p>The last feature on the board is the Current Sensing, which you can access by doing a analogRead on the analog 0 and 1 pins. One important thing on the shield is that there are 2 soldered pins on the back that enable this feature.</p>
<p>IMPORTANT: When the current sense pins are soldered they cannot be used as general analog pins. You will get bad readings if you try to use A0 and A1.</p>
<p>&nbsp;</p>
<p><a href="http://zevenrodriguez.com/blog/wp-content/uploads/2012/04/motorshieldback1.jpg"><img class="aligncenter size-full wp-image-723" title="motorshieldback" src="http://zevenrodriguez.com/blog/wp-content/uploads/2012/04/motorshieldback1.jpg" alt="" width="500" height="300" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><strong>DC Motor</strong></p>
<p>This shield can run 2 DC motors</p>
<p>This is an example of running 2 DC Motors with Current Sense.</p>
<p><a title="DC Motor example" href="https://github.com/zevenwolf/Motor-Shield/blob/master/DCMotor/DCMotor.ino"> https://github.com/zevenwolf/Motor-Shield/blob/master/DCMotor/DCMotor.ino</a></p>
]]></content:encoded>
			<wfw:commentRss>http://zevenrodriguez.com/blog/arduino-motor-shield/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Intro to TSL2561</title>
		<link>http://zevenrodriguez.com/blog/intro-to-tsl2561/</link>
		<comments>http://zevenrodriguez.com/blog/intro-to-tsl2561/#comments</comments>
		<pubDate>Mon, 05 Mar 2012 22:10:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ITP Fellowship]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://zevenwolf.com/blog/?p=560</guid>
		<description><![CDATA[The TSL2561 is a full spectrum light sensor. I uses 3 light sensors to achieve this. I am using Lady Ada&#8217;s guide and library. In Lady Ada&#8217;s example, she uses a regular arduino, where the I2C Data and CLk are  pins are pins 4 and 5. I was using a mega which its Data and [...]]]></description>
			<content:encoded><![CDATA[<p>The TSL2561 is a full spectrum light sensor. I uses 3 light sensors to achieve this. I am using <a href="http://www.ladyada.net/learn/sensors/tsl2561.html">Lady Ada&#8217;s guide</a> and <a href="https://github.com/adafruit/TSL2561-Arduino-Library">library</a>. In Lady Ada&#8217;s example, she uses a regular arduino, where the I2C Data and CLk are  pins are pins 4 and 5. I was using a mega which its Data and CLK are pins 20 and 21. In Arduino, the I2C pins are preset. In the example, ladyada prints out the IR, full spectrum, visible, and lux. The sensor maxes out at around 4935. These readings were taken indoors in a room</p>
<p><a title="tsl2561output by zevenwolf, on Flickr" href="http://www.flickr.com/photos/zevenrodriguez/6810906612/"><img class="aligncenter" src="http://farm8.staticflickr.com/7193/6810906612_941847237c.jpg" alt="tsl2561output" width="500" height="286" /></a></p>
<p>&nbsp;</p>
<p>This is the code used to generate the readings above.</p>
<div class="codecolorer-container c default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:500px;"><div class="c codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #339933;">#include &amp;lt;Wire.h&amp;gt;</span><br />
<span style="color: #339933;">#include &quot;TSL2561.h&quot;</span><br />
<br />
<span style="color: #666666; font-style: italic;">// Example for demonstrating the TSL2561 library - public domain!</span><br />
<br />
<span style="color: #666666; font-style: italic;">// connect SCL to analog 5</span><br />
<span style="color: #666666; font-style: italic;">// connect SDA to analog 4</span><br />
<span style="color: #666666; font-style: italic;">// connect VDD to 3.3V DC</span><br />
<span style="color: #666666; font-style: italic;">// connect GROUND to common ground</span><br />
<span style="color: #666666; font-style: italic;">// ADDR can be connected to ground, or vdd or left floating to change the i2c address</span><br />
<br />
<span style="color: #666666; font-style: italic;">// The address will be different depending on whether you let</span><br />
<span style="color: #666666; font-style: italic;">// the ADDR pin float (addr 0x39), or tie it to ground or vcc. In those cases</span><br />
<span style="color: #666666; font-style: italic;">// use TSL2561_ADDR_LOW (0x29) or TSL2561_ADDR_HIGH (0x49) respectively</span><br />
TSL2561 tsl<span style="color: #009900;">&#40;</span>TSL2561_ADDR_FLOAT<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #993333;">void</span> setup<span style="color: #009900;">&#40;</span><span style="color: #993333;">void</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
Serial.<span style="color: #202020;">begin</span><span style="color: #009900;">&#40;</span><span style="color: #0000dd;">9600</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>tsl.<span style="color: #202020;">begin</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
Serial.<span style="color: #202020;">println</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;Found sensor&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span><br />
Serial.<span style="color: #202020;">println</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;No sensor?&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span><span style="color: #0000dd;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><br />
<br />
<span style="color: #666666; font-style: italic;">// You can change the gain on the fly, to adapt to brighter/dimmer light situations</span><br />
<span style="color: #666666; font-style: italic;">//tsl.setGain(TSL2561_GAIN_0X); // set no gain (for bright situtations)</span><br />
tsl.<span style="color: #202020;">setGain</span><span style="color: #009900;">&#40;</span>TSL2561_GAIN_16X<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// set 16x gain (for dim situations)</span><br />
<br />
<span style="color: #666666; font-style: italic;">// Changing the integration time gives you a longer time over which to sense light</span><br />
<span style="color: #666666; font-style: italic;">// longer timelines are slower, but are good in very low light situtations!</span><br />
tsl.<span style="color: #202020;">setTiming</span><span style="color: #009900;">&#40;</span>TSL2561_INTEGRATIONTIME_13MS<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// shortest integration time (bright light)</span><br />
<span style="color: #666666; font-style: italic;">//tsl.setTiming(TSL2561_INTEGRATIONTIME_101MS); // medium integration time (medium light)</span><br />
<span style="color: #666666; font-style: italic;">//tsl.setTiming(TSL2561_INTEGRATIONTIME_402MS); // longest integration time (dim light)</span><br />
<br />
<span style="color: #666666; font-style: italic;">// Now we're ready to get readings!</span><br />
<span style="color: #009900;">&#125;</span><br />
<br />
<span style="color: #993333;">void</span> loop<span style="color: #009900;">&#40;</span><span style="color: #993333;">void</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
<span style="color: #666666; font-style: italic;">// Simple data read example. Just read the infrared, fullspecrtrum diode</span><br />
<span style="color: #666666; font-style: italic;">// or 'visible' (difference between the two) channels.</span><br />
<span style="color: #666666; font-style: italic;">// This can take 13-402 milliseconds! Uncomment whichever of the following you want to read</span><br />
<span style="color: #666666; font-style: italic;">// uint16_t x = tsl.getLuminosity(TSL2561_VISIBLE);</span><br />
<span style="color: #666666; font-style: italic;">//uint16_t x = tsl.getLuminosity(TSL2561_FULLSPECTRUM);</span><br />
<span style="color: #666666; font-style: italic;">//uint16_t x = tsl.getLuminosity(TSL2561_INFRARED);</span><br />
<span style="color: #666666; font-style: italic;">//Serial.println(x, DEC);</span><br />
<br />
<span style="color: #666666; font-style: italic;">// More advanced data read example. Read 32 bits with top 16 bits IR, bottom 16 bits full spectrum</span><br />
<span style="color: #666666; font-style: italic;">// That way you can do whatever math and comparions you want!</span><br />
<span style="color: #993333;">uint32_t</span> lum <span style="color: #339933;">=</span> tsl.<span style="color: #202020;">getFullLuminosity</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #993333;">uint16_t</span> ir<span style="color: #339933;">,</span> full<span style="color: #339933;">;</span><br />
ir <span style="color: #339933;">=</span> lum <span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;&amp;</span>gt<span style="color: #339933;">;</span> <span style="color: #0000dd;">16</span><span style="color: #339933;">;</span><br />
full <span style="color: #339933;">=</span> lum <span style="color: #339933;">&amp;</span>amp<span style="color: #339933;">;</span> <span style="color: #208080;">0xFFFF</span><span style="color: #339933;">;</span><br />
Serial.<span style="color: #202020;">print</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;IR: &quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> Serial.<span style="color: #202020;">print</span><span style="color: #009900;">&#40;</span>ir<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> Serial.<span style="color: #202020;">print</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\t</span><span style="color: #000099; font-weight: bold;">\t</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
Serial.<span style="color: #202020;">print</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;Full: &quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> Serial.<span style="color: #202020;">print</span><span style="color: #009900;">&#40;</span>full<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> Serial.<span style="color: #202020;">print</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\t</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
Serial.<span style="color: #202020;">print</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;Visible: &quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> Serial.<span style="color: #202020;">print</span><span style="color: #009900;">&#40;</span>full <span style="color: #339933;">-</span> ir<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> Serial.<span style="color: #202020;">print</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\t</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
Serial.<span style="color: #202020;">print</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;Lux: &quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> Serial.<span style="color: #202020;">println</span><span style="color: #009900;">&#40;</span>tsl.<span style="color: #202020;">calculateLux</span><span style="color: #009900;">&#40;</span>full<span style="color: #339933;">,</span> ir<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
Serial.<span style="color: #202020;">print</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
delay<span style="color: #009900;">&#40;</span><span style="color: #0000dd;">100</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><br />
<br />
<span style="color: #339933;">&amp;</span>nbsp<span style="color: #339933;">;</span><br />
<br />
<span style="color: #339933;">&amp;</span>nbsp<span style="color: #339933;">;</span><br />
<br />
In this snippet of code<span style="color: #339933;">,</span> she uses the concept of Bit Math. <span style="color: #202020;">For</span> more information on this portion of the code read <span style="color: #339933;">&lt;</span>a title<span style="color: #339933;">=</span><span style="color: #ff0000;">&quot;BitMath&quot;</span> href<span style="color: #339933;">=</span><span style="color: #ff0000;">&quot;http://www.arduino.cc/playground/Code/BitMath&quot;</span><span style="color: #339933;">&gt;</span>http<span style="color: #339933;">:</span><span style="color: #666666; font-style: italic;">//www.arduino.cc/playground/Code/BitMath&lt;/a&gt;</span><br />
<br />
ir <span style="color: #339933;">=</span> lum <span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;&amp;</span>gt<span style="color: #339933;">;</span> <span style="color: #0000dd;">16</span><span style="color: #339933;">;</span><br />
<br />
full <span style="color: #339933;">=</span> lum <span style="color: #339933;">&amp;</span>amp<span style="color: #339933;">;</span> <span style="color: #208080;">0xFFFF</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #339933;">&amp;</span>nbsp<span style="color: #339933;">;</span><br />
<br />
For a simpler example where you just want access to a certain part of the sensor you would use the getLuminosity<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">function</span> and pass TSL2561_VISIBLE<span style="color: #339933;">,</span> TSL2561_FULLSPECTRUM<span style="color: #339933;">,</span> TSL2561_INFRARED into it.<br />
<br />
<span style="color: #339933;">&amp;</span>nbsp<span style="color: #339933;">;</span><br />
<br />
<span style="color: #339933;">#include &amp;lt;Wire.h&amp;gt;</span><br />
<span style="color: #339933;">#include &quot;TSL2561.h&quot;</span><br />
<br />
<span style="color: #666666; font-style: italic;">// Example for demonstrating the TSL2561 library - public domain!</span><br />
<br />
<span style="color: #666666; font-style: italic;">// connect SCL to analog 5</span><br />
<span style="color: #666666; font-style: italic;">// connect SDA to analog 4</span><br />
<span style="color: #666666; font-style: italic;">// connect VDD to 3.3V DC</span><br />
<span style="color: #666666; font-style: italic;">// connect GROUND to common ground</span><br />
<span style="color: #666666; font-style: italic;">// ADDR can be connected to ground, or vdd or left floating to change the i2c address</span><br />
<br />
<span style="color: #666666; font-style: italic;">// The address will be different depending on whether you let</span><br />
<span style="color: #666666; font-style: italic;">// the ADDR pin float (addr 0x39), or tie it to ground or vcc. In those cases</span><br />
<span style="color: #666666; font-style: italic;">// use TSL2561_ADDR_LOW (0x29) or TSL2561_ADDR_HIGH (0x49) respectively</span><br />
TSL2561 tsl<span style="color: #009900;">&#40;</span>TSL2561_ADDR_FLOAT<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #993333;">void</span> setup<span style="color: #009900;">&#40;</span><span style="color: #993333;">void</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
Serial.<span style="color: #202020;">begin</span><span style="color: #009900;">&#40;</span><span style="color: #0000dd;">9600</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>tsl.<span style="color: #202020;">begin</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
Serial.<span style="color: #202020;">println</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;Found sensor&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span><br />
Serial.<span style="color: #202020;">println</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;No sensor?&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span><span style="color: #0000dd;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><br />
<br />
<span style="color: #666666; font-style: italic;">// You can change the gain on the fly, to adapt to brighter/dimmer light situations</span><br />
<span style="color: #666666; font-style: italic;">//tsl.setGain(TSL2561_GAIN_0X); // set no gain (for bright situtations)</span><br />
tsl.<span style="color: #202020;">setGain</span><span style="color: #009900;">&#40;</span>TSL2561_GAIN_16X<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// set 16x gain (for dim situations)</span><br />
<br />
<span style="color: #666666; font-style: italic;">// Changing the integration time gives you a longer time over which to sense light</span><br />
<span style="color: #666666; font-style: italic;">// longer timelines are slower, but are good in very low light situtations!</span><br />
tsl.<span style="color: #202020;">setTiming</span><span style="color: #009900;">&#40;</span>TSL2561_INTEGRATIONTIME_13MS<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// shortest integration time (bright light)</span><br />
<span style="color: #666666; font-style: italic;">//tsl.setTiming(TSL2561_INTEGRATIONTIME_101MS); // medium integration time (medium light)</span><br />
<span style="color: #666666; font-style: italic;">//tsl.setTiming(TSL2561_INTEGRATIONTIME_402MS); // longest integration time (dim light)</span><br />
<br />
<span style="color: #666666; font-style: italic;">// Now we're ready to get readings!</span><br />
<span style="color: #009900;">&#125;</span><br />
<br />
<span style="color: #993333;">void</span> loop<span style="color: #009900;">&#40;</span><span style="color: #993333;">void</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
<span style="color: #666666; font-style: italic;">// Simple data read example. Just read the infrared, fullspecrtrum diode</span><br />
<span style="color: #666666; font-style: italic;">// or 'visible' (difference between the two) channels.</span><br />
<span style="color: #666666; font-style: italic;">// This can take 13-402 milliseconds! Uncomment whichever of the following you want to read</span><br />
<span style="color: #666666; font-style: italic;">// uint16_t x = tsl.getLuminosity(TSL2561_VISIBLE);</span><br />
<span style="color: #993333;">uint16_t</span> x <span style="color: #339933;">=</span> tsl.<span style="color: #202020;">getLuminosity</span><span style="color: #009900;">&#40;</span>TSL2561_FULLSPECTRUM<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #666666; font-style: italic;">//uint16_t x = tsl.getLuminosity(TSL2561_INFRARED);</span><br />
Serial.<span style="color: #202020;">println</span><span style="color: #009900;">&#40;</span>x<span style="color: #339933;">,</span> DEC<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
delay<span style="color: #009900;">&#40;</span><span style="color: #0000dd;">100</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span></div></div>
]]></content:encoded>
			<wfw:commentRss>http://zevenrodriguez.com/blog/intro-to-tsl2561/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Working with Rotary Encoders</title>
		<link>http://zevenrodriguez.com/blog/working-with-rotary-encoders/</link>
		<comments>http://zevenrodriguez.com/blog/working-with-rotary-encoders/#comments</comments>
		<pubDate>Tue, 07 Feb 2012 18:51:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ITP Fellowship]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://zevenwolf.com/blog/?p=546</guid>
		<description><![CDATA[A rotary encoder is a digital rotary sensor. It has the capability of rotating 360 degrees and can tell you direction. This tutorial is based on Paul Stoffregen&#8217;s Encoder library and explanations. Inside of a rotary encoder are 2 contacts that are read by the arduino and the center contact grounds the encoder. The rotary [...]]]></description>
			<content:encoded><![CDATA[<p>A rotary encoder is a digital rotary sensor. It has the capability of rotating 360 degrees and can tell you direction. This tutorial is based on <a href="http://www.pjrc.com/teensy/td_libs_Encoder.html">Paul Stoffregen&#8217;s Encoder library and explanations</a>.</p>
<p style="text-align: center;"><a title="Rotary Encoder by zevenwolf, on Flickr" href="http://www.flickr.com/photos/zevenrodriguez/6835975655/"><img class="aligncenter" src="http://farm8.staticflickr.com/7011/6835975655_208d31ab2a.jpg" alt="Rotary Encoder" width="500" height="375" /></a></p>
<p style="text-align: center;"><a title="encoder by zevenwolf, on Flickr" href="http://www.flickr.com/photos/zevenrodriguez/6870530335/"><img class="aligncenter" style="border-style: initial; border-color: initial;" src="http://farm8.staticflickr.com/7050/6870530335_732d52a5e9.jpg" alt="encoder" width="500" height="266" /></a></p>
<p style="text-align: left;">Inside of a rotary encoder are 2 contacts that are read by the arduino and the center contact grounds the encoder. The rotary encoder has a built in pattern that helps determine the direction you are spinning. The rotary encoder is essentially 2 switches. When Pin 1 goes high you are moving left. When Pin 2 goes high you are going right.</p>
<p style="text-align: center;"><img class="aligncenter" src="http://www.pjrc.com/teensy/td_libs_Encoder_pos1.png" alt="Rotary Encoder" width="500" /></p>
<p style="text-align: center;">Pin 1 == Low &amp; Pin 2 == Low ==&gt; Position 1</p>
<p style="text-align: center;"><img class="aligncenter" src="http://www.pjrc.com/teensy/td_libs_Encoder_pos2.png" alt="Rotary Encoder" width="500" /></p>
<p style="text-align: center;">Pin 1 == High &amp; Pin 2 == Low ==&gt; Position 2.  We know that we have moved left.</p>
<p style="text-align: left;">The arduino pins read the  HIGH and LOW of the pins to determine the direction. To simplify this process we are using this library <a title="Encoder Library" href="http://www.pjrc.com/teensy/td_libs_Encoder.html">http://www.pjrc.com/teensy/td_libs_Encoder.html</a>. I used the basic code in the library example.</p>
<p style="text-align: left;"><strong>Arduino</strong></p>
<div class="codecolorer-container c default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:500px;"><div class="c codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #808080; font-style: italic;">/* Encoder Library - Basic Example&lt;/div&gt;<br />
* http://www.pjrc.com/teensy/td_libs_Encoder.html&lt;/div&gt;<br />
This example code is in the public domain.<br />
*/</span><br />
<span style="color: #339933;">#include &amp;lt;Encoder.h&amp;gt;</span><br />
<span style="color: #666666; font-style: italic;">// Change these two numbers to the pins connected to your encoder.</span><br />
<span style="color: #666666; font-style: italic;">//   Best Performance: both pins have interrupt capability</span><br />
<span style="color: #666666; font-style: italic;">//   Good Performance: only the first pin has interrupt capability</span><br />
<span style="color: #666666; font-style: italic;">//   Low Performance:  neither pin has interrupt capability</span><br />
Encoder myEnc<span style="color: #009900;">&#40;</span><span style="color: #0000dd;">5</span><span style="color: #339933;">,</span> <span style="color: #0000dd;">6</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #666666; font-style: italic;">//   avoid using pins with LEDs attached</span><br />
<span style="color: #993333;">void</span> setup<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
Serial.<span style="color: #202020;">begin</span><span style="color: #009900;">&#40;</span><span style="color: #0000dd;">9600</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
Serial.<span style="color: #202020;">println</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;Basic Encoder Test:&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><br />
<span style="color: #993333;">long</span> oldPosition  <span style="color: #339933;">=</span> <span style="color: #339933;">-</span><span style="color: #0000dd;">999</span><span style="color: #339933;">;</span><br />
<span style="color: #993333;">void</span> loop<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
<span style="color: #993333;">long</span> newPosition <span style="color: #339933;">=</span> myEnc.<span style="color: #202020;">read</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>newPosition <span style="color: #339933;">!=</span> oldPosition<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
oldPosition <span style="color: #339933;">=</span> newPosition<span style="color: #339933;">;</span><br />
Serial.<span style="color: #202020;">println</span><span style="color: #009900;">&#40;</span>newPosition<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><br />
<span style="color: #009900;">&#125;</span></div></div>
<p>As you can see above Pin 5 and Pin 6 are the pins the arduino is going to read in order to determine which pin is high or which pin is low.</p>
<p style="text-align: center;"><a title="encoder by zevenwolf, on Flickr" href="http://www.flickr.com/photos/zevenrodriguez/6870530335/"><br />
</a></p>
<p style="text-align: center;"><a title="encoder serial monitor by zevenwolf, on Flickr" href="http://www.flickr.com/photos/zevenrodriguez/6871360321/"><img class="aligncenter" src="http://farm8.staticflickr.com/7051/6871360321_3fecd7c33a.jpg" alt="encoder serial monitor" width="500" height="286" /></a></p>
<p><strong>Advanced Topic: Inverse Logic and Arduino Pull-up</strong></p>
<p>The Rotary Encoder is essentially 2 switches. This library sets both pins as INPUTS, followed by setting a digitalWrite to HIGH. This engages the arduino&#8217;s pull-up resistor for that pin. What the pull-up resistor does it allows a small trickle of positive voltage into the pin. Setting that pin to constantly read HIGH until you rotate the knob where the state would change to LOW. We normally think in HIGH being On and LOW being Off. With Inverse Logic HIGH is your Off state and LOW is your On state. In the case of the rotary encoder, when the pin makes contact with the white area, the encoder makes a connection to ground. Ground is now the path of lease resistance. So no electricity is flowing through the pull-up resistor, thus the pin goes Low. The orange represents the path of least resistance and the flow of electricity.</p>
<p style="text-align: center;"><a title="pullupresistor by zevenwolf, on Flickr" href="http://www.flickr.com/photos/zevenrodriguez/6836949291/"><img class="aligncenter" src="http://farm8.staticflickr.com/7008/6836949291_14212bd4e4.jpg" alt="pullupresistor" width="500" height="300" /></a></p>
<p style="text-align: left;"><em>Note: This library can use the <a href="http://arduino.cc/playground/Code/Interrupts">arduino interrupt</a> pins for better performance.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://zevenrodriguez.com/blog/working-with-rotary-encoders/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ChronoDot and Arduino 1.0</title>
		<link>http://zevenrodriguez.com/blog/chronodot-and-arduino-1-0/</link>
		<comments>http://zevenrodriguez.com/blog/chronodot-and-arduino-1-0/#comments</comments>
		<pubDate>Tue, 15 Nov 2011 15:45:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ITP Fellowship]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://zevenwolf.com/blog/?p=539</guid>
		<description><![CDATA[Recently I updated LadyAda&#8217;s RTC Library for Arduino 1.0 and older versions. In arduino 1.0 the wire library changed. It is now wire.read and wire.write. I also found that when you do use the write(0), Arduino would interpret the 0 as an integer. The new wire library does not. Because of this I had to [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I updated LadyAda&#8217;s RTC Library for Arduino 1.0 and older versions. In arduino 1.0 the wire library changed. It is now wire.read and wire.write. I also found that when you do use the write(0), Arduino would interpret the 0 as an integer. The new wire library does not. Because of this I had to explicitly say int i = 0;</p>
<p>The code can be found here <a href="https://github.com/adafruit/RTClib">https://github.com/adafruit/RTClib</a></p>
<p style="text-align: center;"><a title="ChronoDot and Arduino by zevenwolf, on Flickr" href="http://www.flickr.com/photos/zevenrodriguez/6347082745/"><img class="aligncenter" src="http://farm7.static.flickr.com/6221/6347082745_30f8665268.jpg" alt="ChronoDot and Arduino" width="500" height="375" /></a></p>
<p style="text-align: left;">The red wire power goes to 3.3v. Black goes to ground. SDA (Data), the green wire, goes to Analog Pin 4. SCL (Clock), the yellow wire, goes to Analog Pin 5.</p>
<p style="text-align: center;">
]]></content:encoded>
			<wfw:commentRss>http://zevenrodriguez.com/blog/chronodot-and-arduino-1-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sparkfun OpAmp Breakout  LMV358</title>
		<link>http://zevenrodriguez.com/blog/sparkfun-opamp-breakout-lmv358/</link>
		<comments>http://zevenrodriguez.com/blog/sparkfun-opamp-breakout-lmv358/#comments</comments>
		<pubDate>Tue, 18 Oct 2011 19:56:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ITP Fellowship]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://zevenwolf.com/blog/?p=533</guid>
		<description><![CDATA[The LMV358/LMV324 are low voltage (2.7–5.5V) versions of the dual and quad op amps, LM358/LMV324, which currently operate at 5–30V. If you need to use a piezo as an analog sensor into the arduino, this is the chip and breakout board to use. Most OpAmp chips operate by looking at 2 voltages and amplifying the [...]]]></description>
			<content:encoded><![CDATA[<p>The LMV358/LMV324 are low voltage (2.7–5.5V) versions of the dual and quad op amps, LM358/LMV324, which currently operate at 5–30V. If you need to use a piezo as an analog sensor into the arduino, this is the chip and breakout board to use. Most OpAmp chips operate by looking at 2 voltages and amplifying the difference between them.   The chip has a pot that lets you dial in the amplitude of that difference. One thing I noticed is that when I hit the piezo you get negative values. This can be fixed by using an absolute value function. This happens because in order to contain huge spikes in the voltage of a piezo(+30v), the breakout board uses a voltage divider which manages that voltage and sets the output of the OpAmp at 2.5 volts. Tom and I used an oscilloscope to verify this. This is important because the when you hit the piezo it spikes to +5 and to 0. This makes sure that we do not send too much positive voltage to the arduino and negative voltage which would fry it.</p>
<p><a href="http://www.sparkfun.com/products/9816">http://www.sparkfun.com/products/9816</a></p>
<p style="text-align: center;"><a title="Sparkfun OpAmp Breakout LMV358 by zevenwolf, on Flickr" href="http://www.flickr.com/photos/zevenrodriguez/6258550298/"><img class="aligncenter" src="http://farm7.static.flickr.com/6234/6258550298_af86510473.jpg" alt="Sparkfun OpAmp Breakout LMV358" width="500" height="375" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://zevenrodriguez.com/blog/sparkfun-opamp-breakout-lmv358/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adafruit Stepper Gear</title>
		<link>http://zevenrodriguez.com/blog/adafruit-stepper-gear/</link>
		<comments>http://zevenrodriguez.com/blog/adafruit-stepper-gear/#comments</comments>
		<pubDate>Wed, 06 Apr 2011 21:07:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Stuff]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://zevenwolf.com/blog/?p=519</guid>
		<description><![CDATA[This Adafruit Stepper Gear has a star shaped post which make is difficult to use in a gear. In inkscape you can go to Extensions &#62; Render &#62; Gear and use these settings to create the star shaped post: Number of Teeth: 10 Circular Pitch: 6.4 Pressure angle: 10]]></description>
			<content:encoded><![CDATA[<p>This Adafruit Stepper Gear has a star shaped post which make is difficult to use in a gear. In inkscape you can go to Extensions &gt; Render &gt; Gear and use these settings to create the star shaped post:</p>
<p>Number of Teeth: 10</p>
<p>Circular Pitch: 6.4</p>
<p>Pressure angle: 10</p>
]]></content:encoded>
			<wfw:commentRss>http://zevenrodriguez.com/blog/adafruit-stepper-gear/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Commercial Gallery</title>
		<link>http://zevenrodriguez.com/blog/commercial-gallery/</link>
		<comments>http://zevenrodriguez.com/blog/commercial-gallery/#comments</comments>
		<pubDate>Mon, 21 Mar 2011 19:21:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Exhibits]]></category>
		<category><![CDATA[the]]></category>

		<guid isPermaLink="false">http://zevenwolf.com/blog/?p=516</guid>
		<description><![CDATA[I went to 2 galleries in the SoHo area. The first gallery I went to was called the Morrison Hotel. This was a rock and roll photography gallery. It was a very relaxed environment. It mostly focused on 60s and 70s photographs. It had all of the main players, Robert Plant, Hendrix, Jerry Garcia, The Stones, etc. [...]]]></description>
			<content:encoded><![CDATA[<p>I went to 2 galleries in the SoHo area. The first gallery I went to was called the Morrison Hotel. This was a rock and roll photography gallery. It was a very relaxed environment. It mostly focused on 60s and 70s photographs. It had all of the main players, Robert Plant, Hendrix, Jerry Garcia, The Stones, etc. It was a small square space with typical flood lighting. Most of the work was environmental black and white portraits with very simple frames. All of the prints are numbered and most where high numbered prints.</p>
<p style="text-align: center;"><a title="P1020530 by zevenwolf, on Flickr" href="http://www.flickr.com/photos/zevenrodriguez/5547681740/"><img class="aligncenter" src="http://farm6.static.flickr.com/5054/5547681740_ac7be8f538.jpg" alt="P1020530" width="281" height="500" /></a></p>
<p style="text-align: left;">The Opera Gallery was the complete opposite. It was a modern art gallery. The top floor was used to show off a specific artist, while the downstairs was more of a general artist space. When you entered the gallery there was a small alcove on the left with a piece which would immediately draw your attention. The rest of the gallery went straight back and ended with a 2 small alcoves at the end on the left and right. The downstairs was a big room with a small partition which divided it into 2 spaces. The lighting was flood lighting which was spotty.</p>
<p style="text-align: center;"><a title="P1020532 by zevenwolf, on Flickr" href="http://www.flickr.com/photos/zevenrodriguez/5547682142/"><img class="aligncenter" src="http://farm6.static.flickr.com/5095/5547682142_3fc65552d0.jpg" alt="P1020532" width="281" height="500" /></a></p>
<p style="text-align: left;">The main artist exhibiting was sas + colin. Who focused on these large fiberglass masks.</p>
<p style="text-align: center;"><img class="aligncenter" title="sas+colin" src="http://arrestedmotion.com/wp-content/uploads/2011/03/SAS-Colin-Christian-Opera-AM-29.jpg" alt="" width="346" height="461" /></p>
]]></content:encoded>
			<wfw:commentRss>http://zevenrodriguez.com/blog/commercial-gallery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Moma: Abstract Expressionists</title>
		<link>http://zevenrodriguez.com/blog/moma-abstract-expressionists/</link>
		<comments>http://zevenrodriguez.com/blog/moma-abstract-expressionists/#comments</comments>
		<pubDate>Mon, 28 Feb 2011 17:14:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Exhibits]]></category>

		<guid isPermaLink="false">http://zevenwolf.com/blog/?p=511</guid>
		<description><![CDATA[The MOMA is redesigning the entrances of there exhibits. The Abstract Expressionist exhibit is a clear example of the new visual style they are going for. They are using large type with high contrasting colors. In this case they flooded 2 walls with this design. I also found it interesting that the automatic doors add [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a title="Moma: Abstract Expressionists by zevenwolf, on Flickr" href="http://www.flickr.com/photos/zevenrodriguez/5486203504/"><img class="aligncenter" src="http://farm6.static.flickr.com/5019/5486203504_73c001b6af.jpg" alt="Moma: Abstract Expressionists" width="500" height="281" /></a></p>
<p style="text-align: center;"><a title="Moma: Abstract Expressionists by zevenwolf, on Flickr" href="http://www.flickr.com/photos/zevenrodriguez/5485609505/"><img class="aligncenter" src="http://farm6.static.flickr.com/5093/5485609505_772e2deb7f.jpg" alt="Moma: Abstract Expressionists" width="281" height="500" /></a></p>
<p>The MOMA is redesigning the entrances of there exhibits. The Abstract Expressionist exhibit is a clear example of the new visual style they are going for. They are using large type with high contrasting colors. In this case they flooded 2 walls with this design. I also found it interesting that the automatic doors add this barrier which helps you read the sign when you first get in.</p>
<p style="text-align: center;"><a title="abstractexpressionists by zevenwolf, on Flickr" href="http://www.flickr.com/photos/zevenrodriguez/5485650855/"><img class="aligncenter" src="http://farm6.static.flickr.com/5134/5485650855_78f251da0c.jpg" alt="abstractexpressionists" width="500" height="375" /></a></p>
<p style="text-align: center;"><a title="Moma: Abstract Expressionists by zevenwolf, on Flickr" href="http://www.flickr.com/photos/zevenrodriguez/5486205936/"><img class="aligncenter" src="http://farm6.static.flickr.com/5213/5486205936_5dcb64fcea.jpg" alt="Moma: Abstract Expressionists" width="500" height="281" /></a></p>
<p>The reorganization of the abstract expressionists had a good flow. The scale of the art and the sparsity makes it overwhelming enough. You still get the wow factor. The designers used the rooms to juxtapose the artists. Rothko and Newman are used as the calm rooms to give viewers a break from the Pollock paintings. One of the main breaks in the flow where the Robert Frank Photos by the staircase and the rest of the photography.</p>
<p style="text-align: center;"><a title="Moma: Abstract Expressionists by zevenwolf, on Flickr" href="http://www.flickr.com/photos/zevenrodriguez/5485612137/"><img class="aligncenter" src="http://farm6.static.flickr.com/5011/5485612137_eeb969155e.jpg" alt="Moma: Abstract Expressionists" width="500" height="281" /></a></p>
<p>One of the biggest issues I had with the exhibit was the lighting. The lighting felt spotty. I made a weird gradation between the work. It made the art photograph ok, but the light was not enough to light the room evenly.</p>
]]></content:encoded>
			<wfw:commentRss>http://zevenrodriguez.com/blog/moma-abstract-expressionists/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Prototype and Production</title>
		<link>http://zevenrodriguez.com/blog/prototype-and-production/</link>
		<comments>http://zevenrodriguez.com/blog/prototype-and-production/#comments</comments>
		<pubDate>Thu, 24 Feb 2011 16:42:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Thesis]]></category>

		<guid isPermaLink="false">http://zevenwolf.com/blog/?p=495</guid>
		<description><![CDATA[My thesis system is based on a simple structure. You have an input, it is interpreted and an output is produced. This system is a web application and uses javascript and ruby to create the interaction.  For example, when a button or gesture is activated on a touchscreen, it turns on a light. This is [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">My thesis system is based on a simple structure. You have an input, it is interpreted and an output is produced. This system is a web application and uses javascript and ruby to create the interaction.  For example, when a button or gesture is activated on a touchscreen, it turns on a light. This is how the system would interpret that: When the button is pressed, a message is fired to update the database, program that connect the microcontroller to the internet, is always checking the database for any change in the database. Since we pressed the button the state was changed. The light turns on. <a href="http://zevenrodriguez.com/blog/wp-content/uploads/2011/02/inputtooutput.jpg"><img class="aligncenter size-full wp-image-497" title="inputtooutput" src="http://zevenrodriguez.com/blog/wp-content/uploads/2011/02/inputtooutput.jpg" alt="" width="614" height="461" /></a>In order for this to happen, the user needs to complete a series of steps before this magic could happen. Users need to design, setup, and display their project. There are 3 tiers of interaction with system. There are a series of users that work with the system. The users have projects associated to them. Those projects have 4 points of interaction. The display, which is was the audience sees. The design, which is the place where the user creates the interface. The setup, which is the area that users setup the translation from gesture to hardware control. And finally, the output, which is what the microcontroller references to know what it should be doing, i.e. turning on a light.</p>
<p style="text-align: center;"><a href="http://zevenrodriguez.com/blog/wp-content/uploads/2011/02/users.jpg"><img class="aligncenter size-full wp-image-496" title="users" src="http://zevenrodriguez.com/blog/wp-content/uploads/2011/02/users.jpg" alt="" width="614" height="461" /></a></p>
<p style="text-align: center;">
<p style="text-align: center;">
<p style="text-align: left;">Once users login, they will be taken to there projects area. Here are displayed all of the current projects. Users have quick access to view the 4 main areas: display, design, setup, and output. If the click on the actual project, an overview of the project would appear. There is also an deploy option, which sets the project live and ready for general consumption.</p>
<p style="text-align: left;">Areas of focus(What will be built out for thesis):</p>
<ul>
<li>Everything except the general diagnostics</li>
</ul>
<p style="text-align: center;"><a href="http://zevenrodriguez.com/blog/wp-content/uploads/2011/02/users.jpg"></a><a href="http://zevenrodriguez.com/blog/wp-content/uploads/2011/02/usersinter.jpg"><img class="aligncenter size-full wp-image-499" title="usersinter" src="http://zevenrodriguez.com/blog/wp-content/uploads/2011/02/usersinter.jpg" alt="" width="614" height="461" /></a></p>
<p style="text-align: left;">Once the user creates a project they now have the option to start designing or setting up the project. In this case we&#8217;ll start with design. In this area users will be able to upload code already written or add graphical elements. When a graphical element is placed on the screen the user can drag it around to place it or delete it if not being used.</p>
<p style="text-align: left;">
<p style="text-align: left;">Areas of focus:</p>
<ul>
<li>Upload code (due to time constrains building an entire layout area is not feasible)</li>
</ul>
<p style="text-align: left;">
<p style="text-align: left;"><a href="http://zevenrodriguez.com/blog/wp-content/uploads/2011/02/design.jpg"><img class="aligncenter size-full wp-image-500" title="design" src="http://zevenrodriguez.com/blog/wp-content/uploads/2011/02/design.jpg" alt="" width="614" height="461" /></a>The setup section ties in the audiences interface with the output control. Here the user will add output components and the characteristics the control them. In this case we have a stepper. The stepper has certain attributes, like what pins its connected to, how many steps it has etc. The will also add the input controls which tells the system this button makes this stepper move 20 steps.</p>
<p style="text-align: left;">Area of focus:</p>
<ul>
<li>The 2 loads I will focus on are steppers and LEDs</li>
<li>In the interaction type will be Gesture(being swipes, etc)  and Button</li>
</ul>
<p style="text-align: left;">
<p style="text-align: center;"><a href="http://zevenrodriguez.com/blog/wp-content/uploads/2011/02/setup.jpg"><img class="aligncenter size-full wp-image-501" title="setup" src="http://zevenrodriguez.com/blog/wp-content/uploads/2011/02/setup.jpg" alt="" width="614" height="461" /></a></p>
<p style="text-align: left;">The output area will actually be just so the program and find out its instruction(json). Either software can interpret the json or the actual networked hardware can read it. The user will be able to view this code to be able to create a better stream line interfacing with the microcontroller.</p>
<p style="text-align: left;">Area of focus:</p>
<ul>
<li>This is a crucial step that needs to be done</li>
</ul>
<p style="text-align: center;"><a href="http://zevenrodriguez.com/blog/wp-content/uploads/2011/02/output.jpg"><img class="aligncenter size-full wp-image-502" title="output" src="http://zevenrodriguez.com/blog/wp-content/uploads/2011/02/output.jpg" alt="" width="614" height="461" /></a></p>
<p style="text-align: left;">Build for thesis:</p>
<p style="text-align: left;"><strong>Online Software (This should happen in the next 2 weeks)</strong></p>
<ul>
<li>2 displays use cases using gestures</li>
<li>User Main area</li>
<li>Stepper Form</li>
<li>Led Form</li>
<li>Gesture Form</li>
<li>Button Form</li>
<li>Input Interpreter</li>
<li>Output Interpreter</li>
</ul>
<p><strong>Hardware (Rest of the Semester)</strong></p>
<ul>
<li>Software to interpret information coming from online</li>
<li>Create 2 turntables</li>
<li>Collect information to put in the display cases ie Vase and Elements or Minerals</li>
</ul>
<p>These are the 2 use cases:</p>
<p>One is a rotating vase that updates content based on how the user rotates it .</p>
<p><a href="http://zevenrodriguez.com/blog/wp-content/uploads/2011/02/vase.jpg"><img class="aligncenter size-full wp-image-506" title="vase" src="http://zevenrodriguez.com/blog/wp-content/uploads/2011/02/vase.jpg" alt="" width="640" height="480" /></a></p>
<p><span style="color: #000000;"><span style="font-family: 'Times New Roman', serif;"><span style="font-size: small;">Microfind is an exhibit that that focuses on kids exploring common items under a microscope. The exhibit has 2 modes: a learning and exploration and a memory game. Under the learning and exploration kids can click on cells on the interface to move a microscope over the object selected. Interesting information about the objects and a live view the microscope is displayed on the interface. The second mode is a memory game where kids will have to match an image of an object under microscope. The interface will change into a touchpad which will let the kids move the microscope in any direction. Once they match the picture to the live view, it will advance to the next image.</span></span></span></p>
<p><span style="color: #000000;"><span style="font-family: 'Times New Roman', serif;"><span style="font-size: small;"><a href="http://zevenrodriguez.com/blog/wp-content/uploads/2011/02/microscope-exhibit.jpg"><img class="aligncenter size-full wp-image-507" title="microscope-exhibit" src="http://zevenrodriguez.com/blog/wp-content/uploads/2011/02/microscope-exhibit.jpg" alt="" width="480" height="640" /></a><br />
</span></span></span></p>
]]></content:encoded>
			<wfw:commentRss>http://zevenrodriguez.com/blog/prototype-and-production/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

