<?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>Flexpert to the rescue &#187; maze</title>
	<atom:link href="http://www.flexpert.be/tag/maze/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.flexpert.be</link>
	<description>Blog site about all things Adobe</description>
	<lastBuildDate>Sun, 05 Feb 2012 21:58:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Controlling Phidgets with an AIR application on Android</title>
		<link>http://www.flexpert.be/2010/07/controlling-phidgets-with-air-on-android/</link>
		<comments>http://www.flexpert.be/2010/07/controlling-phidgets-with-air-on-android/#comments</comments>
		<pubDate>Wed, 14 Jul 2010 08:29:40 +0000</pubDate>
		<dc:creator>Steven Peeters</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Flash Builder]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[interface]]></category>
		<category><![CDATA[maze]]></category>
		<category><![CDATA[motor controller]]></category>
		<category><![CDATA[Phidgets]]></category>
		<category><![CDATA[robots]]></category>
		<category><![CDATA[servo]]></category>

		<guid isPermaLink="false">http://www.flexpert.be/?p=556</guid>
		<description><![CDATA[Some time ago I was watching an episode of &#8220;Prototype This&#8221; and was thinking that these guys have an awesome job of creating mechanical prototypes and interfacing them with some fancy programming. That got me thinking about some things that seemed quite interesting to me and I started surfing the [...]]]></description>
			<content:encoded><![CDATA[<p>Some time ago I was watching an episode of &#8220;Prototype This&#8221; and was thinking that these guys have an awesome job of creating mechanical prototypes and interfacing them with some fancy programming. That got me thinking about some things that seemed quite interesting to me and I started surfing the web for some affordable hardware.</p>
<p>I then came across <a href="http://www.phidgets.com">Phidgets motor controllers</a> and I was immediately interested in it, mainly because it has an Flash/Flex Actionscript library that allows your Flash or Flex application to communicate with that controller. So I ordered one and started working on an application. What I came up with is a wooden maze that is placed on 4 servo motors and I can now control the maze by using a socket connection on mu Android phone running Android 2.1 (Eclair). I needed a special construction to get the rotational movement converted into a vertical movement to lift and tilt the maze and it kind of worked. I would have preferred to use linear motors instead, but they were just way too expensive for me. This did the trick as well. It was just a little harder to get the setup right. Just watch the video and keep in mind that this is merely a prototype.</p>
<p><center><br />
<script type="text/javascript">
    		var parameters =
    			{	id: "1"
    			,	src: "http://www.flexpert.be/tutorials/AIRonAndroid/PhidgetsMaze.flv"
    			,	autoPlay: "false"
    			,   width: "360"
    			,   height: "301"
				,	autoHideControlBar: "false"
				,	controlBarPosition: "bottom"
    			};
    		// Embed the player SWF:
    		swfobject.embedSWF
				( "/strobe/StrobeMediaPlayback.swf"
				, "player"
				, parameters["width"], parameters["height"]
				, "10.0.0"
				, {}
				, parameters
				, { allowFullScreen: "true" }
				, { name: "StrobeMediaPlayback" }
				);		
     </script></p>
<div id="player">
<p>Please install Flash Player 10.0 or higher</p>
</p></div>
<p></center></p>
<p>If you want to investigate this source code even further, you can download the source file <a href="http://www.flexpert.be/tutorials/AIRonAndroid/MazeController.mxml">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.flexpert.be/2010/07/controlling-phidgets-with-air-on-android/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
<enclosure url="http://www.flexpert.be/tutorials/AIRonAndroid/PhidgetsMaze.flv" length="32533517" type="video/x-flv" />
		</item>
	</channel>
</rss>

