<?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:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>James Alliban</title>
	<atom:link href="http://jamesalliban.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://jamesalliban.wordpress.com</link>
	<description></description>
	<pubDate>Mon, 09 Jun 2008 22:11:30 +0000</pubDate>
	<generator>http://wordpress.org/?v=MU</generator>
	<language>en</language>
			<item>
		<title>Arduino &#62; Flash range sensor experiment</title>
		<link>http://jamesalliban.wordpress.com/2008/06/06/arduino-flash-range-sensor-experiment/</link>
		<comments>http://jamesalliban.wordpress.com/2008/06/06/arduino-flash-range-sensor-experiment/#comments</comments>
		<pubDate>Fri, 06 Jun 2008 09:29:54 +0000</pubDate>
		<dc:creator>jamesalliban</dc:creator>
		
		<category><![CDATA[Arduino]]></category>

		<category><![CDATA[Flash]]></category>

		<category><![CDATA[Range Sensor]]></category>

		<category><![CDATA[Touchscreen]]></category>

		<guid isPermaLink="false">http://jamesalliban.wordpress.com/?p=13</guid>
		<description><![CDATA[I&#8217;ve been playing around with the Arduino microcontroller recently and this is my first experiment. It&#8217;s a prototype for a future artwork that essentially acts as a primitive touchscreen device. I&#8217;ve used 2 PING))) Ultrasonic Range Sensors positioned at the top of my monitor. These measure the distance of any object placed in front of [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I&#8217;ve been playing around with the <a href="http://arduino.cc" target="_blank">Arduino</a> microcontroller recently and this is my first experiment. It&#8217;s a prototype for a future artwork that essentially acts as a primitive touchscreen device. I&#8217;ve used 2 PING))) Ultrasonic Range Sensors positioned at the top of my monitor. These measure the distance of any object placed in front of them. The Arduino board collects this data and passes it on to Flash via SerProxy.</p>
<p><span style='text-align:center; display: block;'>
<object type="application/x-shockwave-flash" width="400" height="300" data="http://www.vimeo.com/moogaloop.swf?clip_id=1125833&amp;server=www.vimeo.com&amp;fullscreen=1&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=01AAEA">
	<param name="quality" value="best" />
	<param name="allowfullscreen" value="true" />
	<param name="scale" value="showAll" />
	<param name="movie" value="http://www.vimeo.com/moogaloop.swf?clip_id=1125833&amp;server=www.vimeo.com&amp;fullscreen=1&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=01AAEA" />
</object>
</span></p>
<p><a href="http://www.vimeo.com/1125833" target="_blank">Click here to see the video on Vimeo</a><br />
<a href="http://www.youtube.com/watch?v=4VgqolVKOzM" target="_blank">Click here to see the video on YouTube</a></p>
<p>For this project I used a modified version of <a href="http://www.arduino.cc/en/Tutorial/UltrasoundSensor" target="_blank">David Cuartielles’  Arduino sketch</a> and <a href="https://developer.berlios.de/project/showfiles.php?group_id=3590" target="_blank">SerProxy</a> as a Serial-to-Network Proxy Server. Here is my serproxy.cfg code.</p>
<p><code><br />
# Config file for serproxy<br />
# See serproxy&#8217;s README file for documentation</p>
<p># Transform newlines coming from the serial port into nils<br />
# true (e.g. if using Flash) or false<br />
newlines_to_nils=true</p>
<p># Comm ports used<br />
comm_ports=3</p>
<p># Default settings<br />
comm_baud=9600<br />
comm_databits=8<br />
comm_stopbits=1<br />
comm_parity=none</p>
<p># Idle time out in seconds<br />
timeout=300</p>
<p># Port 3 settings (ttyS2)<br />
net_port3=5333<br />
</code></p>
<p>I spent quite a lot of time trying to use <a href="http://www.arduino.cc/playground/Interfacing/Firmata" target="_blank">Firmata</a>, and <a href="http://code.google.com/p/as3glue/" target="_blank">AS3Glue</a> but found that Firmata didn’t work with the PING Range Sensor. I’m fairly sure that AS3Glue requires the Board to be running Firmata so, as mentioned above, I settled for Arduino code from David Cuartielles. I wrote my own Actionscript to deal with the incoming data using the Socket and ByteArray classes. You can find an early rough version of this code <a href="http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1211534244/3" target="_blank">here</a>.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/jamesalliban.wordpress.com/13/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/jamesalliban.wordpress.com/13/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jamesalliban.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jamesalliban.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jamesalliban.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jamesalliban.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jamesalliban.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jamesalliban.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jamesalliban.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jamesalliban.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jamesalliban.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jamesalliban.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jamesalliban.wordpress.com&blog=3641564&post=13&subd=jamesalliban&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://jamesalliban.wordpress.com/2008/06/06/arduino-flash-range-sensor-experiment/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/jamesalliban-128.jpg" medium="image">
			<media:title type="html">jamesalliban</media:title>
		</media:content>
	</item>
		<item>
		<title>Wiimote Powered Self Portrait Generator</title>
		<link>http://jamesalliban.wordpress.com/2008/05/06/wiimote-powered-self-portrait-generator/</link>
		<comments>http://jamesalliban.wordpress.com/2008/05/06/wiimote-powered-self-portrait-generator/#comments</comments>
		<pubDate>Tue, 06 May 2008 09:26:21 +0000</pubDate>
		<dc:creator>jamesalliban</dc:creator>
		
		<category><![CDATA[Flash]]></category>

		<category><![CDATA[Webcam]]></category>

		<category><![CDATA[Wiimote]]></category>

		<category><![CDATA[installation]]></category>

		<guid isPermaLink="false">http://jamesalliban.wordpress.com/?p=10</guid>
		<description><![CDATA[This is my first experiment using the open source framework WiiFlash. It is an AIR application built using Flash in which the user can generate a Cubist self portrait by pointing a Wiimote at an Infrared light. Webcam footage is masked and layered using a variety of shapes and lines, the propeties of which can [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>This is my first experiment using the open source framework <a href="http://wiiflash.bytearray.org" target="_blank">WiiFlash</a>. It is an AIR application built using Flash in which the user can generate a Cubist self portrait by pointing a Wiimote at an Infrared light. Webcam footage is masked and layered using a variety of shapes and lines, the propeties of which can be altered using the Wiimote controls.</p>
<p><span style='text-align:center; display: block;'>
<object type="application/x-shockwave-flash" width="400" height="300" data="http://www.vimeo.com/moogaloop.swf?clip_id=980085&amp;server=www.vimeo.com&amp;fullscreen=1&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=01AAEA">
	<param name="quality" value="best" />
	<param name="allowfullscreen" value="true" />
	<param name="scale" value="showAll" />
	<param name="movie" value="http://www.vimeo.com/moogaloop.swf?clip_id=980085&amp;server=www.vimeo.com&amp;fullscreen=1&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=01AAEA" />
</object>
</span></p>
<p><a href="http://vimeo.com/980085" target="_blank">Click here to see the video on Vimeo</a><br />
<a href="http://www.youtube.com/watch?v=f7qtFL21vq4" target="_blank">Click here to see the video on YouTube</a></p>
<p>The controls are as follows:</p>
<p>B adds shapes to the stage<br />
A gives the pseudo random positioning effect<br />
+ increases the scale of the shapes<br />
- decreases the scale of the shapes<br />
up/right increases the alpha of the lines<br />
down/left decreases the alpha of the lines</p>
<p>The AIR app and source code will be available to download soon. You will however need a Wiimote, a bluetooth dongle, the <a href="http://wiiflash.bytearray.org" target="_blank">WiiFlash</a> server installed, a webcam and an Infrared light to use it.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/jamesalliban.wordpress.com/10/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/jamesalliban.wordpress.com/10/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jamesalliban.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jamesalliban.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jamesalliban.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jamesalliban.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jamesalliban.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jamesalliban.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jamesalliban.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jamesalliban.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jamesalliban.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jamesalliban.wordpress.com/10/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jamesalliban.wordpress.com&blog=3641564&post=10&subd=jamesalliban&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://jamesalliban.wordpress.com/2008/05/06/wiimote-powered-self-portrait-generator/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/jamesalliban-128.jpg" medium="image">
			<media:title type="html">jamesalliban</media:title>
		</media:content>
	</item>
		<item>
		<title>First post</title>
		<link>http://jamesalliban.wordpress.com/2008/05/04/first-post/</link>
		<comments>http://jamesalliban.wordpress.com/2008/05/04/first-post/#comments</comments>
		<pubDate>Sun, 04 May 2008 08:24:54 +0000</pubDate>
		<dc:creator>jamesalliban</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jamesalliban.wordpress.com/?p=7</guid>
		<description><![CDATA[Hello to you all.
I know, I know. Another flash blog. But this one is going to be cool I promise. But they all promise that. What will you offer that will make it so worthy of my fickle attention? Well, allow me to explain:
I like to move beyond the mouse and focus on the tangible [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Hello to you all.</p>
<p>I know, I know. Another flash blog. But this one is going to be cool I promise. <em>But they all promise that. What will you offer that will make it so worthy of my fickle attention? </em>Well, allow me to explain:</p>
<p>I like to move beyond the mouse and focus on the tangible side of Flash. Until recently, this was confined to using a webcam to create installation art but this is changing. The digital agency I work for, <a href="http://www.skive.co.uk" target="_blank">Skive</a>, recognised this hunger in me and have generously bought me lots of interesting toys to play with such as <a href="http://www.arduino.cc" target="_blank">Arduino</a> boards, Wiimotes (see <a href="http://wiiflash.bytearray.org" target="_blank">WiiFlash</a>), Bluetooth devices, touchscreen devices (on the way) and more webcams.</p>
<p>So this blog is going to be used to track my progress as I play with these funky devices. I&#8217;ll be posting video footage of completed artworks, cut down interactive versions of some pieces, smaller scale experiments, tutorials for using/setting up some of these gadgets, source code and possibly a few links to anything else of interest that I find on my travels.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/jamesalliban.wordpress.com/7/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/jamesalliban.wordpress.com/7/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jamesalliban.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jamesalliban.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jamesalliban.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jamesalliban.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jamesalliban.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jamesalliban.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jamesalliban.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jamesalliban.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jamesalliban.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jamesalliban.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jamesalliban.wordpress.com&blog=3641564&post=7&subd=jamesalliban&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://jamesalliban.wordpress.com/2008/05/04/first-post/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/jamesalliban-128.jpg" medium="image">
			<media:title type="html">jamesalliban</media:title>
		</media:content>
	</item>
	</channel>
</rss>