<?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>ITPindia &#187; electronics</title>
	<atom:link href="http://itp.nyu.edu/~ia303/thunk/category/electronics/feed/" rel="self" type="application/rss+xml" />
	<link>http://itp.nyu.edu/~ia303/thunk</link>
	<description>India’s ITP blog</description>
	<lastBuildDate>Fri, 10 Apr 2009 06:20:15 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Trying wearables on for size</title>
		<link>http://itp.nyu.edu/~ia303/thunk/2009/02/02/trying-wearables-on-for-size/</link>
		<comments>http://itp.nyu.edu/~ia303/thunk/2009/02/02/trying-wearables-on-for-size/#comments</comments>
		<pubDate>Mon, 02 Feb 2009 16:03:43 +0000</pubDate>
		<dc:creator>India</dc:creator>
				<category><![CDATA[PhysComp]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[homework]]></category>
		<category><![CDATA[wearables]]></category>

		<guid isPermaLink="false">http://itp.nyu.edu/~ia303/thunk/?p=436</guid>
		<description><![CDATA[
The first assignments for Zachary Eveland&#8217;s Wearables Studio class were as follows:
Assignment: Make a wearable
Come to class next week with a working wearable device or garment. This assignment is just a sketch to get the juices flowing – whatever you make should function, but rough edges are fine.

There are no restrictions on the type of [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://itp.nyu.edu/~ia303/thunk/wp-content/uploads/tv-b-gone_pin.png" alt="TV-B-Gone pin" title="TV-B-Gone pin" width="404" height="213" class="alignnone size-full wp-image-435" /></p>
<p>The first assignments for <a href="http://itp.nyu.edu/wearables/Class/Syllabus">Zachary Eveland&#8217;s Wearables Studio</a> class were as follows:</p>
<blockquote><p><strong>Assignment: Make a wearable</strong><br />
Come to class next week with a working wearable device or garment. This assignment is just a sketch to get the juices flowing – whatever you make should function, but rough edges are fine.<br />
<span id="more-436"></span><br />
There are no restrictions on the type of wearable, but it should relate to your semester-long project. Use this as an opportunity to experiment with new materials or techniques. If you haven&#8217;t built a soft circuit before, this might be a good time to do so.</p>
<p><strong>Assignment: List your project concept(s)</strong><br />
During next week&#8217;s class, we will discuss and finalize everyone&#8217;s concept for semester-long projects. If you have more than one project in mind, write them all down.</p></blockquote>
<p>Immediately after the first class, I went to the NYU computer store and picked up a new <a href="http://www.arduino.cc/en/Main/ArduinoBoardLilyPad">LilyPad</a>, in case my project would require one&#8212;I definitely don&#8217;t want to have to unstitch <a href="http://itp.nyu.edu/~ia303/thunk/2008/12/12/digital-graffiti-glove-documentation/">that fucking glove</a> until I&#8217;m sure we&#8217;re done with it. Then, all week, I was pondering what I could make. An apron with timers on it? A doodad in my handbag that would turn my living room light on and off? I don&#8217;t know; I suck at ideas.</p>
<p>I also suck at not procrastinating, so on the morning of class I ended up doing the quickest thing I could think of: taking apart my brand-new <a href="http://www.tvbgone.com/cfe_tvbg_main.php">TV-B-Gone</a> (which I bought readymade, not as <a href="http://www.makershed.com/ProductDetails.asp?ProductCode=MKAD4">a kit</a>, because I know I can&#8217;t solder that kind of fiddly thing to save my life), mounting it on the back of a felt flower (formerly a barrette that came in a <a href="http://www.homeofthesampler.com/">Sampler</a> box), and hooking the whole thing onto a big safety pin so I could attach it to my sweater.</p>
<p><a href="http://www.flickr.com/photos/indiamos/3246929814/" title="TV-B-Gone pin - back by indiamos, on Flickr"><img src="http://farm4.static.flickr.com/3375/3246929814_4f28c1b8ee.jpg" width="500" height="375" alt="TV-B-Gone pin - back" /></a></p>
<p>Such craftsmanship!</p>
<p>The point of this object is that the off-the-shelf TV-B-Gone comes in a rather menacing-looking black plastic case, and holding such a thing up to point it at a TV would be conspicuous and would probably get you accused of being a terrorist. The happy felty flower pin, on the other hand, is extremely stealthy: because the center LED emits IR, it doesn&#8217;t visibly light up when the button (located immediately under the LED, and clickable through the felt) is pressed. There&#8217;s a red indicator light that blinks when the IR beam is active, but it&#8217;s hidden behind the flower petals and so only visible to the wearer (except, maybe, in a dark room&#8212;but everyone will be looking at the TV, of course, not at your goofy brooch). It&#8217;s kind of inspired by the <a href="http://sternlab.org/2008/09/tv-b-gone-hoodie/">TV-B-Gone hoodie by Becky Stern</a>, but my problem with that idea is that you have to be wearing your hoodie all the time. I like hoodies plenty, but I would never wear the same one every day, which means I probably wouldn&#8217;t have it when I needed it. A pin, on the other hand, could be attached to a hat, coat, or handbag that&#8217;s worn every day.</p>
<p>For the second assignment, I scribbled down notes about two ideas:</p>
<h3>Party Dress</h3>
<p>polka dots or other pattern elements have RGB LEDs on them, so that</p>
<ul>
<li>dress can change color to
<ul>
<li>match rest of outfit</li>
<li> indicate motion&#8211;e.g., red if the wearer becomes horizontal</li>
</ul>
</li>
<li>lights pulse when
<ul>
<li>your cell phone is ringing</li>
<li>someone stands close to you</li>
<li>nobody stands close to you</li>
</ul>
</li>
</ul>
<h3>Memo jacket / scarf / pin</h3>
<ul>
<li>records snippets of audio, e.g., notes to self</li>
<li>transmits recordings wirelessly to computer, where assistant can transcribe or otherwise file them</li>
<li>last recording can be played back</li>
<li>camera can take a snapshot whenever she puts something away that she&#8217;s afraid she might lose</li>
<li>emits a sound when the calendar on computer says has an appointment coming up</li>
<li>has a display that can show messages/reminders</li>
<li>can transmit an emergency call to her computer</li>
</ul>
<p>The Party Dress idea came from a conversation I had with the magnificent <a href="http://en.wikipedia.org/wiki/Erin_McKean">Erin McKean</a> of, among other things, <a href="http://dressaday.com/dressaday.html">A Dress a Day</a>. The Memo Jacket idea is for my mom, who&#8217;s convinced that she has Alzheimer&#8217;s Disease. I don&#8217;t know how to implement either of these ideas, but the Party Dress is much closer to my field of nonexpertise, since I&#8217;ve already worked with IR sensors and LEDs. How one connects that many LEDs, I have only the vaguest idea; and how one gets one&#8217;s cell phone to talk to them? Well, surely somebody else can figure this out for me.</p>
<p>In class, then, we did an brilliant thing: Zachary had us each explain our project ideas to another person (or, well, it was supposed to be two other people, but I was paired up with <a href="http://itp.nyu.edu/~lg1285/blog/">Lara</a>, who&#8217;s all about wearables, and we ended up just talking with each other), and then <em>that</em> person explained the project to the class. So we got to hash out our ideas a bit in a low-stress interaction, and then we got to hear what parts of our description were most memorable and comprehensible.</p>
]]></content:encoded>
			<wfw:commentRss>http://itp.nyu.edu/~ia303/thunk/2009/02/02/trying-wearables-on-for-size/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Digital Graffiti Glove: Documentation</title>
		<link>http://itp.nyu.edu/~ia303/thunk/2008/12/12/digital-graffiti-glove-documentation/</link>
		<comments>http://itp.nyu.edu/~ia303/thunk/2008/12/12/digital-graffiti-glove-documentation/#comments</comments>
		<pubDate>Fri, 12 Dec 2008 15:00:15 +0000</pubDate>
		<dc:creator>India</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[ICM]]></category>
		<category><![CDATA[PhysComp]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[final project]]></category>
		<category><![CDATA[homework]]></category>
		<category><![CDATA[process]]></category>
		<category><![CDATA[sketch]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[wearables]]></category>

		<guid isPermaLink="false">http://itp.nyu.edu/~ia303/thunk/?p=378</guid>
		<description><![CDATA[
Above is the PowerPoint slideshow that Diego made for our in-class presentation. There is also copious supporting material at the following locations:

Photos, with lots of chatty comments

Videos, interspersed with kittenage
Arduino code
Processing code

colors_highlight_new_swatch – this is the color palette module. It reads a text file containing all the colors in the appropriate Krylon spraypaint line and [...]]]></description>
			<content:encoded><![CDATA[<p><embed src="http://blip.tv/play/AeCfEI_feg" type="application/x-shockwave-flash" width="320" height="270" allowscriptaccess="always" allowfullscreen="true" style="margin-left:30px;"></embed></p>
<p>Above is the PowerPoint slideshow that Diego made for our in-class presentation. There is also copious supporting material at the following locations:<span id="more-378"></span></p>
<ul>
<li>Photos, with lots of chatty comments<br />
<object width="400" height="300"><param name="flashvars" value="&#038;offsite=true&amp;lang=en-us&#038;page_show_url=%2Fphotos%2Findiamos%2Fsets%2F72157609600581342%2Fshow%2F&#038;page_show_back_url=%2Fphotos%2Findiamos%2Fsets%2F72157609600581342%2F&#038;set_id=72157609600581342&#038;jump_to="></param><param name="movie" value="http://www.flickr.com/apps/slideshow/show.swf?v=63961"></param><param name="allowFullScreen" value="true"></param><embed type="application/x-shockwave-flash" src="http://www.flickr.com/apps/slideshow/show.swf?v=63961" allowFullScreen="true" flashvars="&#038;offsite=true&amp;lang=en-us&#038;page_show_url=%2Fphotos%2Findiamos%2Fsets%2F72157609600581342%2Fshow%2F&#038;page_show_back_url=%2Fphotos%2Findiamos%2Fsets%2F72157609600581342%2F&#038;set_id=72157609600581342&#038;jump_to=" width="400" height="300"></embed></object></li>
<li><a href="http://itpindia.blip.tv/">Videos</a>, interspersed with kittenage</li>
<li><a href="http://itp.nyu.edu/~ia303/PhysComp/final/graffiti_glove_4_sensors.zip">Arduino code</a></li>
<li>Processing code
<ul>
<li><a href="http://itp.nyu.edu/~ia303/ICM/final/colors_highlight_new_swatch/applet/index.html">colors_highlight_new_swatch</a> – this is the color palette module. It reads a text file containing all the colors in the appropriate Krylon spraypaint line and outputs them as a grid of colored squares. The active swatch and rolled-over ones are highlighted with colored borders. It&#8217;s glitchy, as you can see if you look in the upper left corner, but basically it works.</li>
<li><a href="http://itp.nyu.edu/~ia303/ICM/final/spraycans/applet/index.html">spraycans</a> – I would like to make my own set of brushes, based on Diego&#8217;s, that are all the same style but in different sizes. These would then be mapped to the number of fingers being held up, with more fingers triggering a bigger spray cone. This would make it easier for users to get predictable, slightly repeatable results. Toward that end, I made a spraycan object whose spray cone, label number (for the size), and can color (for the paint) are variable. Epileptics should probably not view this sketch.</li>
<li><a href="http://itp.nyu.edu/~ia303/ICM/final/final_application_4/applet/index.html">Main application</a> – The &#8220;final&#8221; in &#8220;final_application_4&#8243; refers to the this being our final project for the semester, not to the code itself actually being final. For, verily, it is not. This is the wrapper into which all the other modules will eventually be rolled. It&#8217;s a whole lot of nested if statements and functions. This program doesn&#8217;t run unless the glove is plugged in; I should fix that, to make it easier to check code while programming.</a></li>
</ul>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://itp.nyu.edu/~ia303/thunk/2008/12/12/digital-graffiti-glove-documentation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Assistive Tech for Asbo Avoidance</title>
		<link>http://itp.nyu.edu/~ia303/thunk/2008/11/24/assistive-tech-for-asbo-avoidance/</link>
		<comments>http://itp.nyu.edu/~ia303/thunk/2008/11/24/assistive-tech-for-asbo-avoidance/#comments</comments>
		<pubDate>Mon, 24 Nov 2008 22:50:07 +0000</pubDate>
		<dc:creator>India</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[ICM]]></category>
		<category><![CDATA[PhysComp]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[final project]]></category>
		<category><![CDATA[process]]></category>
		<category><![CDATA[wearables]]></category>

		<guid isPermaLink="false">http://itp.nyu.edu/~ia303/thunk/?p=318</guid>
		<description><![CDATA[
So then . . . The other day I was talking about the glove project with my friend Rose, and I rhetorically asked what the hell this kind of low-fi, large-format drawing setup would be good for. Rose&#8217;s answer was immediate: graffiti.
Duh.

So then, what we need is just a limited palette of Krylon spray paints, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/rubberdreamfeet/347009229/"><img src="http://itp.nyu.edu/~ia303/thunk/wp-content/uploads/asbo.jpg" alt="asbo graffiti" title="asbo graffiti" width="400" height="236" class="alignnone size-full wp-image-321" /></a></p>
<p>So <em>then</em> . . . The other day I was talking about the glove project with my friend Rose, and I rhetorically asked what the hell this kind of low-fi, large-format drawing setup would be good for. Rose&#8217;s answer was immediate: graffiti.</p>
<p>Duh.<br />
<span id="more-318"></span><br />
So then, what we need is just a limited <a href="http://www.krylon.com/products/indooroutdoor_paint/">palette of Krylon spray paints</a>, and a couple of brush types&#8212;say, a fat marker and three sizes of spray patterns. And then, when I asked my perpetual question of &#8220;What are the other fingers doing?,&#8221; Diego had this brilliant idea: the number of fingers you&#8217;re using determines the brush size. Index finger for the marker; index and middle for a small spray nozzle; index, middle, and ring for a medium spray; and all four fingers for the biggest spray&#8212;what you&#8217;d use to fill. That&#8217;s a pretty intuitive mapping. We wouldn&#8217;t need to track motion on all the fingers, just whether they&#8217;re flexed or not. And we could use an accelerometer to register wrist tilts, somewhat like the <a href="http://www.youtube.com/watch?v=A9DBlolfZd4">Rock &#8216;n&#8217; Scroll</a>, to cycle through the color palette.</p>
<p>The thumb would remain an on/off switch.</p>
<p>We could have different backgrounds to paint on, like brick walls, subway cars, trucks.</p>
<p>Bitchen.</p>
<p>This idea is, in fact, so cool that it has <a href="http://video.google.com/videosearch?q=virtual+graffiti&#038;ie=UTF-8&#038;oe=utf-8&#038;rls=org.mozilla:en-US:official&#038;client=firefox-a&#038;um=1&#038;sa=X&#038;oi=video_result_group&#038;resnum=10&#038;ct=title#">already</a> <a href="http://www.slashgear.com/wiispray-prototype-graffiti-controller-for-wii-0611925/">been</a> <a href="http://graffiti.playdo.com/">done</a>.</p>
<p>Developing . . .</p>
<p><span style="font-size:smaller">Photo: <a href="http://www.flickr.com/photos/rubberdreamfeet/347009229/">ASBO</a> by rubberdreamfeet  / David Hayward. <a href="http://creativecommons.org/licenses/by-nc-sa/2.0/deed.en">Some rights reserved.</a></span></p>
]]></content:encoded>
			<wfw:commentRss>http://itp.nyu.edu/~ia303/thunk/2008/11/24/assistive-tech-for-asbo-avoidance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mittenability</title>
		<link>http://itp.nyu.edu/~ia303/thunk/2008/11/23/mittenability/</link>
		<comments>http://itp.nyu.edu/~ia303/thunk/2008/11/23/mittenability/#comments</comments>
		<pubDate>Sun, 23 Nov 2008 21:08:04 +0000</pubDate>
		<dc:creator>India</dc:creator>
				<category><![CDATA[ICM]]></category>
		<category><![CDATA[PhysComp]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[final project]]></category>
		<category><![CDATA[process]]></category>
		<category><![CDATA[wearables]]></category>

		<guid isPermaLink="false">http://itp.nyu.edu/~ia303/thunk/?p=309</guid>
		<description><![CDATA[
Ever since we started putting the actual glove together, I&#8217;ve been thinking about how the software side of this project should take into account what I expect to be a pretty low-resolution input system.  When I was making a drawing interface for what was purely an ICM project, I was assuming an average level [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/venson/2109678779/"><img src="http://itp.nyu.edu/~ia303/thunk/wp-content/uploads/elephant_painting.jpg" alt="elephant painting" title="elephant painting" width="450" height="315" class="alignnone size-full wp-image-312" /></a></p>
<p>Ever since we started putting the actual glove together, I&#8217;ve been thinking about how the software side of this project should take into account what I expect to be a pretty low-resolution input system. <span id="more-309"></span> When I was making a drawing interface for what was purely an ICM project, I was assuming an average level of mouse dexterity. The <a href="/2008/11/21/sketching-sketch/">stroke-width picker</a> that I made last Wednesday, for instance, is obviously too small to be operated with our crude pointer.</p>
<p>So what kind of interface <em>would</em> work?</p>
<p>I did some Googling around, to get ideas of what kind of controls can be operated with little dexterity. In particular, I looked for things you can do while wearing mittens, since I figure that that&#8217;s approximately the level of control our hypothetical user will have. Some findings:</p>
<p>Some military radios are touted as being usable even while wearing Arctic mittens: &#8220;The desired frequency is set by four knobs on the side of the radio which can be operated even while the operator is wearing Arctic mittens, or in the dark by counting clicks from the end-stops&#8221; (&#8221;<a href="http://armyradio.com/arsc/customer/search.php?substring=&#038;in_category=&#038;page=2">Clansman PRC-349 / RT-349 VHF Transceiver</a>,&#8221; Armyradio.com). Its that idea of click feedback that I find interesting. If you&#8217;re choosing from a limited set of options&#8212;say, brush sizes&#8212; on a very small display, it&#8217;s not <em>too</em> annoying to cycle through them one at a time to get to what you want. This is the way my cell phone, toaster, and camera menus work. And they all provide beeps or clicks for feedback. What kind of feedback will we give to let our user know what&#8217;s going on?</p>
<p>Other physical controls that can be operated while wearing mittens include a camera&#8217;s zoom ring and aperture and shutter speed dials (Matthew G. Monroe, &#8220;<a href="http://digital-photography-school.com/blog/how-to-shoot-in-freezing-temperatures-and-keep-your-hands-toasty-warm/#more-1364">How to Shoot in Freezing Temperatures and Keep Your Hands Toasty Warm</a>,&#8221; digital-photography-school.com); Velcro closure tabs on outerwear; and KEYnetic&#8217;s <a href="http://www.youtube.com/watch?v=A9DBlolfZd4">rock</a> &#8216;n&#8217; <a href="http://www.hpl.hp.com/techreports/Compaq-DEC/WRL-2000-3.pdf">scroll</a> cell phone interface (via <a href="http://www.lytebyte.com/2008/03/12/rock-n-scroll-%E2%80%93-accelerometer-and-motion-based-input-application-for-nokia-n95/">LyteByte</a>).</p>
<p>On the screen side of things, some relevant input methods include Morse code and onscreen keyboards. Again, I like the simplicity of tapping, though I can also see uses for a matrix of a few very large buttons.</p>
<p>Obviously, with two weeks to go, I don&#8217;t have time to really get into learning interface design for this project, but I think where I&#8217;m going is toward a system that has a drawing mode and a tool selection mode. When you&#8217;re drawing, there&#8217;s nothing else onscreen except maybe one or two tools or hints&#8212;how to turn the drawing line off, how to activate the control menu. You can&#8217;t select these controls onscreen, because how would you do so without drawing a line all the way to the button? And whatever gesture you use to activate the menu must be able to be done without moving the drawing pointer.</p>
<p>The Rock &#8216;n&#8217; Scroll model is pretty good for us within one mode or another, but you have to be able to switch between the two without moving your drawing pointer. So that would involve .&nbsp;.&nbsp;. the thumb? It&#8217;s possible, though not necessarily easy, to move your thumb without moving the rest of your hand. So maybe as long as your thumb is tucked in, the pen is on, and if you stick it out, the pen is off.</p>
<p><img src="http://itp.nyu.edu/~ia303/thunk/wp-content/uploads/lineon_lineoff_inverted.gif" title="line on/off" alt="line on/off" width="167" height="150" class="alignnone size-full wp-image-334" /></p>
<p>Once we&#8217;ve got a way to separate the two modes, I was thinking the control screen would be super-simple, with only one control editable at a time. So, something like this:</p>
<p><img src="http://itp.nyu.edu/~ia303/thunk/wp-content/uploads/buttons.gif" alt="big buttons" title="big buttons" width="307" height="309" class="alignnone size-full wp-image-317" /></p>
<p><span style="font-size:smaller">Photo: <a href="http://www.flickr.com/photos/venson/2109678779/">Elephant Painting</a> by Venson Kuchipudi. <a href="http://creativecommons.org/licenses/by-nc/2.0/deed.en">Some rights reserved.</a></span></p>
]]></content:encoded>
			<wfw:commentRss>http://itp.nyu.edu/~ia303/thunk/2008/11/23/mittenability/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>‘Stay on my arm, you little charmer’</title>
		<link>http://itp.nyu.edu/~ia303/thunk/2008/11/21/%e2%80%9cstay-on-my-arm-you-little-charmer%e2%80%9d/</link>
		<comments>http://itp.nyu.edu/~ia303/thunk/2008/11/21/%e2%80%9cstay-on-my-arm-you-little-charmer%e2%80%9d/#comments</comments>
		<pubDate>Fri, 21 Nov 2008 14:26:05 +0000</pubDate>
		<dc:creator>India</dc:creator>
				<category><![CDATA[PhysComp]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[final project]]></category>
		<category><![CDATA[process]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[wearables]]></category>

		<guid isPermaLink="false">http://itp.nyu.edu/~ia303/thunk/?p=295</guid>
		<description><![CDATA[
I finally managed to be in the same place at the same time as Diego, so we were able to make a work plan, go buy some supplies, and put together our first prototype of what now seems to be The Drawing Glove.
Well, actually, first, we were able to sit there scratching our heads over [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/indiamos/3046809795/" title="Diego trying on the glove by indiamos, on Flickr"><img src="http://farm4.static.flickr.com/3160/3046809795_172cefdba6.jpg" width="400" height="300" alt="Diego trying on the glove" /></a></p>
<p>I finally managed to be in the same place at the same time as <a href="http://itp.nyu.edu/~dr1247/diagonalpeople/">Diego</a>, so we were able to <a href="https://docs.google.com/Doc?id=d5zz3d8_31dfj8g4wc">make a work plan</a>, go buy some supplies, and put together our first prototype of what now seems to be The Drawing Glove.</p>
<p>Well, actually, first, we were able to sit there scratching our heads<span id="more-295"></span> over how to connect a flex sensor. I&#8217;ve had one of those things for months and never used it, because I could never figure out how it should be connected. So I looked online and found .&nbsp;.&nbsp;. lots of <a href="http://www.instructables.com/id/SO7580DF1Y7H0K8/">other</a> <a href="http://www.flickr.com/photos/christianbovine/2095631477/in/set-72157603405335974/">glove</a> projects using flex sensors. That&#8217;s okay, though—“This one is different—because it&#8217;s us.” I also found some <a href="http://www.flickr.com/photos/bekathwia/1468256291/">inspirational</a> <a href="http://www.flickr.com/photos/ladyada/102764467/in/set-1425644/">photos</a> of flex sensor connections.</p>
<p>People had warned us that these sensors break easily, and <a href="http://www.mediamatic.net/page/36637/en">I&#8217;d read</a> that they only last for a limited number of bends. I knew there was no way <em>I</em> could solder wires to one these without wrecking the whole damn thing, so I thought that for quick-and-dirty prototyping purposes, maybe I could just hold them together with electrical tape.</p>
<p><a href="http://www.flickr.com/photos/indiamos/3046805995/" title="Ghetto soldering by indiamos, on Flickr"><img src="http://farm4.static.flickr.com/3040/3046805995_06e01d7afe.jpg" width="500" height="210" alt="Ghetto soldering" /></a></p>
<p>Yeah. Meanwhile, Sofia wandered over to ask what we were working on. She, too, was making a glove, and I took the opportunity to ask her how the hell she was attaching her flex sensors to wires. The answer: wire wrap. Okay, that makes sense. She also kindly revealed the location of the specific Radio Shack where she&#8217;d managed to find a wire-wrapping tool, but it turned out they had them (albeit somewhat hidden) at the store closest to school. So Diego went out and got us some enamel-coated magnet wire and a wrapping tool.</p>
<p>Man, I am never soldering anything, ever again. Wire wrapping is the way to go.</p>
<p><a href="http://www.flickr.com/photos/indiamos/3046806763/" title="Wrapped sensor pins by indiamos, on Flickr"><img src="http://farm4.static.flickr.com/3168/3046806763_02459cfd1c.jpg" width="500" height="235" alt="Wrapped sensor pins" /></a></p>
<p>Diego had attached the flex sensor and LED to his original, flat prototype using Velcro, and we decided to stick with this approach (so to speak) for the glove version. So I borrowed a needle from <a href="http://blog.thomas-robertson.com/">Thomas</a> and spent a ridiculously long time sewing tiny squares of black Velcro onto a black glove using black thread, in the inky darkness that is the central work area at ITP. The following photo is enhanced for your viewing ease; in reality, I could not at all see what the fuck I was doing:</p>
<p><a href="http://www.flickr.com/photos/indiamos/3047642410/" title="Sewing on velcro by indiamos, on Flickr"><img src="http://farm4.static.flickr.com/3170/3047642410_b210149277.jpg" width="500" height="309" alt="Sewing on velcro" /></a></p>
<p>Finally the wires were all wrapped, the Velcro was all attached, the alligator clips were clipped (yes, the wires we laboriously wrapped were too short; and your point is .&nbsp;.&nbsp;.&nbsp;?), and we had a thing to test.</p>
<p><a href="http://www.flickr.com/photos/indiamos/3047644360/" title="The glove, unplugged by indiamos, on Flickr"><img src="http://farm4.static.flickr.com/3193/3047644360_d363763d73.jpg" width="500" height="315" alt="The glove, unplugged" /></a></p>
<p>Hey! It lights up!</p>
<p><a href="http://www.flickr.com/photos/indiamos/3047644638/" title="Diego testing the glove by indiamos, on Flickr"><img src="http://farm4.static.flickr.com/3192/3047644638_dd79e3b585.jpg" width="407" height="500" alt="Diego testing the glove" /></a></p>
<p>It even stays lit when you put it on! And the flex sensor turns the LED on and off!</p>
<p><embed src="http://blip.tv/play/AdvJGI_feg" type="application/x-shockwave-flash" width="320" height="270" allowscriptaccess="always" allowfullscreen="true"></embed></p>
<p>As the video shows, we soon ran into some technical difficulties. I ended up tailor-tacking the sensor and all the wires down, so that they&#8217;d stop pulling out of place. But it kind of works! Amazing!</p>
<p>Onward. Next, we get to try to attach the remaining four sensors and LEDs. And we&#8217;ll probably want to eliminate some of those noisy wires, since flex sensors <a href="http://itp.nyu.edu/physcomp/sensors/Reports/Flex">really don&#8217;t like them</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://itp.nyu.edu/~ia303/thunk/2008/11/21/%e2%80%9cstay-on-my-arm-you-little-charmer%e2%80%9d/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MC Squared</title>
		<link>http://itp.nyu.edu/~ia303/thunk/2008/10/24/mc-squared/</link>
		<comments>http://itp.nyu.edu/~ia303/thunk/2008/10/24/mc-squared/#comments</comments>
		<pubDate>Fri, 24 Oct 2008 07:35:11 +0000</pubDate>
		<dc:creator>India</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[PhysComp]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[homework]]></category>
		<category><![CDATA[lab]]></category>
		<category><![CDATA[midterm]]></category>
		<category><![CDATA[sketch]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://itp.nyu.edu/~ia303/thunk/?p=154</guid>
		<description><![CDATA[
Get it now! Detailed, full-color documentation of the famed MC Squared midterm project!
MC_Squared(fin).pdf (14.68 MB; sorry, it contains a couple of embedded videos)
We gave our presentation today, the thing mostly worked, and it wasn&#8217;t too embarrassing. And, unlike some people in the class, my group actually got two or three hours of precious, golden sleep [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://itp.nyu.edu/~ia303/PhysComp/midterm/MC_Squared(fin).pdf"><img src="http://itp.nyu.edu/~ia303/thunk/wp-content/uploads/thumbnails.gif" alt="MC Squared documentation thumbnails" title="MC Squared documentation thumbnails" width="356" height="409" class="alignnone size-full wp-image-157" /></a></p>
<p>Get it now! Detailed, full-color documentation of the famed MC Squared midterm project!</p>
<p><a href="http://itp.nyu.edu/~ia303/PhysComp/midterm/MC_Squared(fin).pdf">MC_Squared(fin).pdf</a> (14.68 MB; sorry, it contains a couple of embedded videos)</p>
<p>We gave our presentation today, the thing mostly worked, and it wasn&#8217;t too embarrassing. And, unlike some people in the class, my group actually got two or three hours of precious, golden <em>sleep</em> the night&#8212;well, morning&#8212;before. (We closed down the floor at about 3:30 a.m., but a few of our classmates relocated to the library or some such place to keep working. Everybody seemed pretty crispy by 9:30 this morning.)</p>
]]></content:encoded>
			<wfw:commentRss>http://itp.nyu.edu/~ia303/thunk/2008/10/24/mc-squared/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PhysComp midterm project, week 2: Rough prototype, sexed up</title>
		<link>http://itp.nyu.edu/~ia303/thunk/2008/10/16/physcomp-midterm-project-week-2-rough-prototype-sexed-up/</link>
		<comments>http://itp.nyu.edu/~ia303/thunk/2008/10/16/physcomp-midterm-project-week-2-rough-prototype-sexed-up/#comments</comments>
		<pubDate>Thu, 16 Oct 2008 07:30:41 +0000</pubDate>
		<dc:creator>India</dc:creator>
				<category><![CDATA[PhysComp]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[homework]]></category>
		<category><![CDATA[lab]]></category>
		<category><![CDATA[midterm]]></category>

		<guid isPermaLink="false">http://itp.nyu.edu/~ia303/thunk/?p=139</guid>
		<description><![CDATA[Our project is now all dressed up, NYC-style:

Diego and/or Filippo cut all the squares out of black foamcore and set two of the infrared sensors into the sides. Then, when I rolled in after dinner, I taped the pieces together into a flat pattern and made velcro hinges to pull it together into a box:

And [...]]]></description>
			<content:encoded><![CDATA[<p>Our project is now all dressed up, NYC-style:</p>
<p><a href="http://www.flickr.com/photos/indiamos/2946585638/" title="The black box: closed by indiamos, on Flickr"><img src="http://farm4.static.flickr.com/3070/2946585638_8e89a8409d.jpg" width="416" height="500" alt="The black box: closed" /></a></p>
<p>Diego and/or Filippo cut all the squares out of black foamcore and set two of the infrared sensors into the sides. Then, when I rolled in after dinner, I taped the pieces together into a flat pattern and made velcro hinges to pull it together into a box:</p>
<p><a href="http://www.flickr.com/photos/indiamos/2945720107/" title="The black box: interior by indiamos, on Flickr"><img src="http://farm4.static.flickr.com/3047/2945720107_990e15579c.jpg" width="450" height="338" alt="The black box: interior" /></a></p>
<p>And then&#8212;my crowning achievement of the day&#8212;I devised a neat little latch for it.</p>
<p><a href="http://www.flickr.com/photos/indiamos/2945721967/" title="The black box: closed latch by indiamos, on Flickr"><img src="http://farm4.static.flickr.com/3155/2945721967_cd82d94e12.jpg" width="375" height="500" alt="The black box: closed latch" /></a></p>
<p>While Diego and Filippo were figuring out more deluxe ways to use Minim than what I had hashed together the day before, I set about making my breadboard setup a little more robust, so that it could stand being sloshed around a bit in the box. Because the wires that came with the IR sensors are multistranded and very fine, they&#8217;re difficult to poke into the holes in a breadboard, and then they don&#8217;t want to stay in once they&#8217;re there. So it seemed to me that they ought to be soldered to header pins, <a href="http://itp.nyu.edu/physcomp/Labs/Soldering">as shown in the soldering lab</a>.</p>
<p>This is, of course, much more difficult than it looks&#8212;for me, at least. I present to you what I believe to be my ugliest soldering job yet:</p>
<p><a href="http://www.flickr.com/photos/indiamos/2945722391/" title="Another bang-up soldering job by indiamos, on Flickr"><img src="http://farm4.static.flickr.com/3193/2945722391_56da0eb730.jpg" width="450" height="338" alt="Another bang-up soldering job" /></a></p>
<p>Hideous. Pathetic. Heartbreaking.</p>
<p>But soldered they were, and they were, in fact, slightly easier to plug into the breadboard. Once I, you know, straightened the pins out with pliers.</p>
<p><em>How are you supposed to do this?</em> Is there some trick to soldering multistrand wire to a header pin? Was I just doing it all wrong, wrong, wrong? Is it a mess because (a) I can&#8217;t see in the shitty light of the lab, and (b) I can&#8217;t hold my hands steady? I hate this. Help!</p>
]]></content:encoded>
			<wfw:commentRss>http://itp.nyu.edu/~ia303/thunk/2008/10/16/physcomp-midterm-project-week-2-rough-prototype-sexed-up/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PhysComp, week 6: Bride of Serial Out</title>
		<link>http://itp.nyu.edu/~ia303/thunk/2008/10/16/physcomp-week-6-bride-of-serial-out/</link>
		<comments>http://itp.nyu.edu/~ia303/thunk/2008/10/16/physcomp-week-6-bride-of-serial-out/#comments</comments>
		<pubDate>Thu, 16 Oct 2008 07:07:42 +0000</pubDate>
		<dc:creator>India</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[PhysComp]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[homework]]></category>
		<category><![CDATA[lab]]></category>
		<category><![CDATA[sketch]]></category>

		<guid isPermaLink="false">http://itp.nyu.edu/~ia303/thunk/?p=140</guid>
		<description><![CDATA[This week&#8217;s lab was mostly uneventful, although it took me something like six hours to do&#8212;I started after our CommLab make-up class ended, around 4 pm, and stayed until nine or ten.
First I thought I&#8217;d use one of these nifty sensors I got from SparkFun, 

but then I realized I have no idea how you&#8217;re [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://itp.nyu.edu/physcomp/Labs/SerialDuplex">This week&#8217;s lab</a> was mostly uneventful, although it took me something like six hours to do&#8212;I started after our CommLab make-up class ended, around 4 pm, and stayed until nine or ten.</p>
<p>First I thought I&#8217;d use one of these nifty sensors I got from SparkFun, </p>
<p><a href="http://www.flickr.com/photos/indiamos/2943803298/" title="PComp lab, week 5: Serial Out by indiamos, on Flickr"><img src="http://farm4.static.flickr.com/3031/2943803298_1f73c40d47_m.jpg" width="240" height="180" alt="PComp lab, week 5: Serial Out" /></a></p>
<p>but then I realized I have no idea how you&#8217;re supposed to hook them up. Stick the pins straight into the breadboard? Solder wires on? How long should the wires be? So instead I used the stupid knob again, plus one of the IRs I bought for our midterm project.</p>
<p>The thrill of the knob has totally worn off. Then I saw Jorge soldering wires to an ultrasonic range finder just like the one I have, and I thought maybe it was a good time to try out my own. Ha! Thus began one of my more frustrating soldering bouts so far.</p>
<p><a href="http://www.flickr.com/photos/indiamos/2943803750/" title="Helping hands by indiamos, on Flickr"><img src="http://farm4.static.flickr.com/3221/2943803750_eb43911272_m.jpg" width="240" height="180" alt="Helping hands" /></a></p>
<p>It must have taken me forty-five minutes to solder three freaking wires onto this cookie . . . and then it took me another hour to realize that the reason it wasn&#8217;t working was that I&#8217;d soldered the yellow wire to the wrong hole. And then I couldn&#8217;t get it <em>un</em>soldered to save my life, so I just attached a fourth wire.</p>
<p>Finally I got them all hooked up:</p>
<p><a href="http://www.flickr.com/photos/indiamos/2942944227/" title="1 digital + 2 analog by indiamos, on Flickr"><img src="http://farm4.static.flickr.com/3206/2942944227_264e83109e_m.jpg" width="180" height="240" alt="1 digital + 2 analog" /></a></p>
<p>And then, there was serial output:</p>
<ul>
<li><a href="http://www.flickr.com/photos/indiamos/2946608608/in/set-72157607212375323/">&#8220;Now you get a range of garbage characters.&#8221;</a></li>
<li><a href="http://www.flickr.com/photos/indiamos/2946608692/in/set-72157607212375323/">&#8220;List all the available serial ports.&#8221;</a></li>
<li><code> <a href="http://www.flickr.com/photos/indiamos/2946609060/in/set-72157607212375323/">// print out the values you got:</a><br />
    for (int sensorNum = 0; sensorNum < sensors.length; sensorNum++) {<br />
      print("Sensor " + sensorNum + ": " + sensors[sensorNum] + "\t");<br />
    }<br />
    // add a linefeed after all the sensor values are printed:<br />
    println();</code></li>
</ul>
<p>Et cetera.</p>
<p>After all that hair-pulling, the ultrasonic sensor was giving me really erratic readings (then again, so was the push-button switch: its value didn't change when I <em>pushed</em> the button, but it did when I <em>touched</em> the button). So I switched to two IR sensors, since I had so many lying around.</p>
<p>Then I got to the part about the handshake. Handshaking? Was not happening for me. I think it may have had something to do with this:</p>
<p><a href="http://www.flickr.com/photos/indiamos/2945745779/" title="PhysComp homework, week 6: serial out 2: 15 by indiamos, on Flickr"><img src="http://farm4.static.flickr.com/3203/2945745779_02eb104340_m.jpg" width="226" height="240" alt="PhysComp homework, week 6: serial out 2: 15" /></a> <a href="http://www.flickr.com/photos/indiamos/2945745813/" title="PhysComp homework, week 6: serial out 2: 16 by indiamos, on Flickr"><img src="http://farm4.static.flickr.com/3049/2945745813_3abc083f17_m.jpg" width="226" height="240" alt="PhysComp homework, week 6: serial out 2: 16" /></a></p>
<p>The Processing application was looking for the word "hello," but the Arduino didn't seem to be able to say the word without stuttering horribly. I tried for more than an hour, I think, to get them to talk to each other, but finally I had to just give up.</p>
]]></content:encoded>
			<wfw:commentRss>http://itp.nyu.edu/~ia303/thunk/2008/10/16/physcomp-week-6-bride-of-serial-out/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PhysComp midterm project, week 2: Rough prototype</title>
		<link>http://itp.nyu.edu/~ia303/thunk/2008/10/15/midterm-project-week-2-rough-prototype/</link>
		<comments>http://itp.nyu.edu/~ia303/thunk/2008/10/15/midterm-project-week-2-rough-prototype/#comments</comments>
		<pubDate>Wed, 15 Oct 2008 15:35:02 +0000</pubDate>
		<dc:creator>India</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[ICM]]></category>
		<category><![CDATA[PhysComp]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[homework]]></category>
		<category><![CDATA[lab]]></category>
		<category><![CDATA[midterm]]></category>
		<category><![CDATA[sketch]]></category>

		<guid isPermaLink="false">http://itp.nyu.edu/~ia303/thunk/?p=123</guid>
		<description><![CDATA[
Part 2 in the saga that began last week.
After spending about an hour playing with the Minim library in Processing, I went into the lab to see if I could get it to work with actual input from our IR sensors. This was basically a repeat of this week&#8217;s homework, which I&#8217;d done, for once, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/indiamos/2943757274/" title="A semi-working prototype! by indiamos, on Flickr"><img src="http://farm4.static.flickr.com/3234/2943757274_c221cdf116.jpg" width="450" height="282" alt="A semi-working prototype!" /></a></p>
<p>Part 2 in <a href="http://itp.nyu.edu/~ia303/thunk/2008/10/09/midterm-project-week-1-observation/">the saga that began last week</a>.</p>
<p>After spending about an hour playing with the <a href="http://code.compartmental.net/tools/minim/">Minim</a> library in Processing, I went into the lab to see if I could get it to work with actual input from our IR sensors. This was basically a repeat of this week&#8217;s homework, which I&#8217;d done, for once, <em>before</em> the morning it was due, so the wiring part was uncharacteristically easy. I need to get some header pins, though; the stranded wire on the IR sensors is a pain to plug into a breadboard.</p>
<p>So our project&#8212;which I realize I didn&#8217;t explain last week&#8212;is going to be a cubeoid musical (or, at least, noisy) instrument with an infrared sensor set into each side, mounted corner-up (<a href="http://www.flickr.com/photos/indiamos/2926903690/">as demonstrated by Diego</a>) on a camera tripod. One or more players can then use their hands or other body parts or utensils or pets to trigger different sounds from each side. We were thinking that for Phase One, i.e., this week, we&#8217;d have the sounds be synthesized tones, and that for Phase Two, the final version, we&#8217;d make it play various different loops.</p>
<p>It turned out, however, that it&#8217;s far easier&#8212;for me, at least&#8212;to get Minim to play loops than to synthesize sounds. And there are a lot of free sound clips out there in the world. I got mine from <a href="http://www.canadianmusicartists.com/samples.html">CanadianMusicArtists.com</a>. This pre-prototype, therefore, has only two sensors, both of which trigger audio loops. It also has the beginnings of a lame-ass bouncing ball animation, but it doesn&#8217;t do what I want it to do, mostly because the signal&#8217;s changing too rapidly. Graphics were a tentative feature for Phase Two, so I&#8217;m not going to fuss with that part any more this week.</p>
<p>Here&#8217;s some crappy video of Filippo (left) and Diego (right) making the sensors generate noise. You can barely hear it, unfortunately&#8212;listen for the annoying rapid clicking sound, which I think is the hi-hat sound. </p>
<p><embed src="http://blip.tv/play/AdOvdI_feg" type="application/x-shockwave-flash" width="320" height="270" allowscriptaccess="always" allowfullscreen="true"></embed> </p>
<p>The beauty part? This doubles as my <a href="http://itp.nyu.edu/~sve204/icm_fall08/">ICM</a> homework.</p>
<p>Here&#8217;s the Arduino code:</p>
<blockquote><p><code>/*  Reads data from two analog sensors (IR sensors, in this specific example)<br />
    and outputs the values in a format that can be easily parsed in Processing.<br />
*/</p>
<p>int ledPin = 7;<br />
int irSensor0 = 0;<br />
int irSensor1 = 1;<br />
int sensorValue = 0;</p>
<p>void setup()<br />
{<br />
    //  Flash the LED three times to announce the start of program.<br />
    pinMode( 7, OUTPUT );<br />
    digitalWrite( 7, LOW );<br />
    delay( 300 );<br />
    digitalWrite( 7, HIGH );<br />
    delay( 300 );<br />
    digitalWrite( 7, LOW );<br />
    delay( 300 );<br />
    digitalWrite( 7, HIGH );<br />
    delay( 300 );<br />
    digitalWrite( 7, LOW );<br />
    delay( 300 );<br />
    digitalWrite( 7, HIGH );<br />
    delay( 300 );<br />
    digitalWrite( 7, LOW );</p>
<p>    // Start serial port at 9600 bps:<br />
    Serial.begin( 9600 );<br />
}</p>
<p>void loop()<br />
{<br />
    if (Serial.available() > 0)<br />
    {<br />
    //  Read the first (0) sensor:<br />
    sensorValue = analogRead( irSensor1 );</p>
<p>    // print the results:<br />
    Serial.print( sensorValue, DEC );<br />
    Serial.print( "\t" );</p>
<p>    // read the second (1) sensor:<br />
    sensorValue = analogRead( irSensor0 );<br />
    // print the results:<br />
    Serial.println( sensorValue, DEC );</p>
<p>    //  Follow the last sensor value with a println() so that<br />
    //  each set of four readings prints on a line by itself:<br />
    Serial.println( sensorValue, DEC );<br />
    //  delay ( 100 );<br />
    }<br />
}</code></p></blockquote>
<p>And here&#8217;s the  <a href="http://itp.nyu.edu/~ia303/ICM/week6/music_box_2xIR/applet/music_box_2xIR.pde">Processing code</a>, where most of the excitement takes place.</p>
]]></content:encoded>
			<wfw:commentRss>http://itp.nyu.edu/~ia303/thunk/2008/10/15/midterm-project-week-2-rough-prototype/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PhysComp, week 5: Serial Out</title>
		<link>http://itp.nyu.edu/~ia303/thunk/2008/10/09/physcomp-week-5-serial-out/</link>
		<comments>http://itp.nyu.edu/~ia303/thunk/2008/10/09/physcomp-week-5-serial-out/#comments</comments>
		<pubDate>Thu, 09 Oct 2008 12:54:11 +0000</pubDate>
		<dc:creator>India</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[PhysComp]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[homework]]></category>
		<category><![CDATA[lab]]></category>
		<category><![CDATA[sketch]]></category>

		<guid isPermaLink="false">http://itp.nyu.edu/~ia303/thunk/?p=108</guid>
		<description><![CDATA[
I was trying to figure out the math to make part of the graph show up as brown&#8212;i.e., earth&#8212;and then scatter flowers on top, but something wasn&#8217;t working out and I was running late, so I gave up.
Anyway, here are the progress shots:
Setup:

Pot hooked up:

Blinking LED:

I also shot a fascinating movie of the program loading [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://itp.nyu.edu/~ia303/thunk/wp-content/uploads/picture-7.png"><img src="http://itp.nyu.edu/~ia303/thunk/wp-content/uploads/picture-7.png" alt="" title="Serial out graph" width="480" height="357" class="alignnone size-full wp-image-109" /></a></p>
<p>I was <em>trying</em> to figure out the math to make part of the graph show up as brown&#8212;i.e., earth&#8212;and then scatter flowers on top, but something wasn&#8217;t working out and I was running late, so I gave up.</p>
<p>Anyway, here are the progress shots:</p>
<p>Setup:<br />
<a href="http://www.flickr.com/photos/indiamos/2926906248/" title="P1000190.JPG by indiamos, on Flickr"><img src="http://farm4.static.flickr.com/3098/2926906248_38d7beec10_m.jpg" width="240" height="180" alt="P1000190.JPG" /></a></p>
<p>Pot hooked up:<br />
<a href="http://www.flickr.com/photos/indiamos/2926907936/" title="P1000199.JPG by indiamos, on Flickr"><img src="http://farm4.static.flickr.com/3239/2926907936_52047b2cea_m.jpg" width="240" height="180" alt="P1000199.JPG" /></a></p>
<p>Blinking LED:<br />
<a href="http://www.flickr.com/photos/indiamos/2926055893/" title="P1000204.JPG by indiamos, on Flickr"><img src="http://farm4.static.flickr.com/3269/2926055893_09a3388587_m.jpg" width="240" height="180" alt="P1000204.JPG" /></a></p>
<p>I also shot a <em>fascinating</em> movie of the program loading on the Arduino and starting up&#8212;you know, flickering yellow light, then blinking LED; hot stuff:</p>
<p><embed src="http://blip.tv/play/AdKrL4_feg" type="application/x-shockwave-flash" width="320" height="270" allowscriptaccess="always" allowfullscreen="true"></embed> </p>
<p>Final code on Arduino:</p>
<blockquote><p><code>int potPin = 0;<br />
int potValue = 0;<br />
int ledPin = 2;</p>
<p>void setup()<br />
{<br />
  // flash LED three times to announce start of program<br />
  pinMode( 2, OUTPUT );<br />
  digitalWrite( 2, LOW );<br />
  delay( 500 );<br />
  digitalWrite( 2, HIGH );<br />
  delay( 500 );<br />
  digitalWrite( 2, LOW );<br />
  delay( 500 );<br />
  digitalWrite( 2, HIGH );<br />
  delay( 500 );<br />
  digitalWrite( 2, LOW );<br />
  delay( 500 );<br />
  digitalWrite( 2, HIGH );<br />
  delay( 500 );<br />
  digitalWrite( 2, LOW );<br />
  delay( 500 );<br />
  digitalWrite( 2, HIGH );</p>
<p>  // start serial port at 9600 bps:<br />
  Serial.begin( 9600 );<br />
}</p>
<p>void loop()<br />
{<br />
  // read analog input, divide by 4 to fit it in the range 0-255:<br />
  potValue = analogRead( potPin );<br />
  potValue = potValue / 4;<br />
  Serial.print( potValue, BYTE );<br />
  // pause for 10 milliseconds:<br />
  delay( 10 );<br />
}<br />
</code></p></blockquote>
<p><a href="http://itp.nyu.edu/~ia303/PhysComp/week5/graph_serial_from_pot/applet/">Final Processing applet</a></p>
]]></content:encoded>
			<wfw:commentRss>http://itp.nyu.edu/~ia303/thunk/2008/10/09/physcomp-week-5-serial-out/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
