<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Arduino-Python 4-Axis Servo Control</title>
	<atom:link href="http://principialabs.com/arduino-python-4-axis-servo-control/feed/" rel="self" type="application/rss+xml" />
	<link>http://principialabs.com/arduino-python-4-axis-servo-control/</link>
	<description>design, build, test, iterate.</description>
	<lastBuildDate>Tue, 09 Mar 2010 12:21:47 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Brian</title>
		<link>http://principialabs.com/arduino-python-4-axis-servo-control/#comment-219</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Tue, 09 Mar 2010 12:21:47 +0000</pubDate>
		<guid isPermaLink="false">http://principialabs.com/?p=69#comment-219</guid>
		<description>&lt;p&gt;@John:  Thanks for stopping by.  Ethernet/ZigBee/WiFi would be &lt;em&gt;awesome&lt;/em&gt; ways to take this project to the next level.  I think it would be really cool to use this as a basis for a LAN robot or RC vehicle of some kind.&lt;/p&gt;

&lt;p&gt;I haven&#039;t played around with that stuff at all, but you&#039;d have to change all the communication stuff from serial to HTTP.  I&#039;d start by checking out the Arduino &lt;a href=&quot;http://arduino.cc/en/Reference/Ethernet&quot; rel=&quot;nofollow&quot;&gt;Ethernet library&lt;/a&gt;.You&#039;ll also have to change &lt;code&gt;servo.py&lt;/code&gt; significantly in order to talk to Arduino.&lt;/p&gt;

&lt;p&gt;I&#039;d probably head over to the &lt;a href=&quot;http://forums.adafruit.com/&quot; rel=&quot;nofollow&quot;&gt;Adafruit forums&lt;/a&gt; and see what others are saying.  They&#039;ll have more expertise over there!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@John:  Thanks for stopping by.  Ethernet/ZigBee/WiFi would be <em>awesome</em> ways to take this project to the next level.  I think it would be really cool to use this as a basis for a LAN robot or RC vehicle of some kind.</p>

<p>I haven&#8217;t played around with that stuff at all, but you&#8217;d have to change all the communication stuff from serial to HTTP.  I&#8217;d start by checking out the Arduino <a href="http://arduino.cc/en/Reference/Ethernet" rel="nofollow">Ethernet library</a>.You&#8217;ll also have to change <code>servo.py</code> significantly in order to talk to Arduino.</p>

<p>I&#8217;d probably head over to the <a href="http://forums.adafruit.com/" rel="nofollow">Adafruit forums</a> and see what others are saying.  They&#8217;ll have more expertise over there!</p>]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://principialabs.com/arduino-python-4-axis-servo-control/#comment-218</link>
		<dc:creator>John</dc:creator>
		<pubDate>Tue, 09 Mar 2010 04:13:40 +0000</pubDate>
		<guid isPermaLink="false">http://principialabs.com/?p=69#comment-218</guid>
		<description>&lt;p&gt;Hey Brian,  I&#039;m new to the arduino world but this 4 servo project will be a great start for me.  One question.  What if I wanted to use an ethernet shield rather than doing this over serial.  Any thoughts as to where I might look for ideas?&lt;/p&gt;

&lt;p&gt;Cheers&lt;/p&gt;

&lt;p&gt;John&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hey Brian,  I&#8217;m new to the arduino world but this 4 servo project will be a great start for me.  One question.  What if I wanted to use an ethernet shield rather than doing this over serial.  Any thoughts as to where I might look for ideas?</p>

<p>Cheers</p>

<p>John</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://principialabs.com/arduino-python-4-axis-servo-control/#comment-205</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Sun, 21 Feb 2010 20:23:10 +0000</pubDate>
		<guid isPermaLink="false">http://principialabs.com/?p=69#comment-205</guid>
		<description>&lt;p&gt;@Lucky: Thanks for your comments.  I&#039;m not sure what is going on with your setup, but if I were you, I would uncomment all the lines from &lt;code&gt;multijoystick.py&lt;/code&gt; which read:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;#output(str, e.dict[&#039;joy&#039;])
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;This will print out your joystick positions in Windows Command Prompt (terminal), so you can see what it&#039;s sending to the Arduino.&lt;/p&gt;

&lt;p&gt;Also, you might try experimenting with the &lt;code&gt;minPulse&lt;/code&gt; and &lt;code&gt;maxPulse&lt;/code&gt; variables in the &lt;code&gt;MultipleSerialServoControl&lt;/code&gt; sketch:&lt;/p&gt;

&lt;pre&gt;// Common servo setup values
int minPulse = 600;   // minimum servo position, us (microseconds)
int maxPulse = 2400;  // maximum servo position, us&lt;/pre&gt;

&lt;p&gt;Good luck!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@Lucky: Thanks for your comments.  I&#8217;m not sure what is going on with your setup, but if I were you, I would uncomment all the lines from <code>multijoystick.py</code> which read:</p>

<pre><code>#output(str, e.dict['joy'])
</code></pre>

<p>This will print out your joystick positions in Windows Command Prompt (terminal), so you can see what it&#8217;s sending to the Arduino.</p>

<p>Also, you might try experimenting with the <code>minPulse</code> and <code>maxPulse</code> variables in the <code>MultipleSerialServoControl</code> sketch:</p>

<pre>// Common servo setup values
int minPulse = 600;   // minimum servo position, us (microseconds)
int maxPulse = 2400;  // maximum servo position, us</pre>

<p>Good luck!</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Lucky</title>
		<link>http://principialabs.com/arduino-python-4-axis-servo-control/#comment-204</link>
		<dc:creator>Lucky</dc:creator>
		<pubDate>Sun, 21 Feb 2010 20:05:22 +0000</pubDate>
		<guid isPermaLink="false">http://principialabs.com/?p=69#comment-204</guid>
		<description>&lt;p&gt;Hi! 
How to modify program to change servo speed? I have a problem that in zero joystick position servo still rotates till the end in one direction. What it can be? it is not like stop rotating but continue.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi! 
How to modify program to change servo speed? I have a problem that in zero joystick position servo still rotates till the end in one direction. What it can be? it is not like stop rotating but continue.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Lucky</title>
		<link>http://principialabs.com/arduino-python-4-axis-servo-control/#comment-199</link>
		<dc:creator>Lucky</dc:creator>
		<pubDate>Tue, 16 Feb 2010 19:08:20 +0000</pubDate>
		<guid isPermaLink="false">http://principialabs.com/?p=69#comment-199</guid>
		<description>&lt;p&gt;Brian! you are genius! ;-)
I just want to remind for beginners who is using Windows XP: I had problems before because of using Python 2.6. If something does not work like pygame is not running - remember in Windows XP: you install Python 2.5. (not older)! then you install pyserial-2.5-rc2.win32, pygame-1.9.1.win32-py2.5, and run in parralel arduino 0018. After this joystick is detected automatically and you can play!&lt;/p&gt;

&lt;p&gt;&lt;pre&gt;1 joystick(s) detected.
Joystick 0: Saitek Cyborg X
Depress trigger (button 0) to quit.&lt;/pre&gt;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Brian! you are genius! ;-)
I just want to remind for beginners who is using Windows XP: I had problems before because of using Python 2.6. If something does not work like pygame is not running &#8211; remember in Windows XP: you install Python 2.5. (not older)! then you install pyserial-2.5-rc2.win32, pygame-1.9.1.win32-py2.5, and run in parralel arduino 0018. After this joystick is detected automatically and you can play!</p>

<p><pre>1 joystick(s) detected.
Joystick 0: Saitek Cyborg X
Depress trigger (button 0) to quit.</pre></p>]]></content:encoded>
	</item>
	<item>
		<title>By: Dude</title>
		<link>http://principialabs.com/arduino-python-4-axis-servo-control/#comment-193</link>
		<dc:creator>Dude</dc:creator>
		<pubDate>Thu, 11 Feb 2010 19:28:41 +0000</pubDate>
		<guid isPermaLink="false">http://principialabs.com/?p=69#comment-193</guid>
		<description>&lt;p&gt;@Brian: I&#039;m using XP so yes, ran as admin. I don&#039;t really think, XP has any permission tools going on when it comes to that. &lt;/p&gt;

&lt;p&gt;I&#039;m really lost here. It works just fine on my macbook. Weird, really.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@Brian: I&#8217;m using XP so yes, ran as admin. I don&#8217;t really think, XP has any permission tools going on when it comes to that. </p>

<p>I&#8217;m really lost here. It works just fine on my macbook. Weird, really.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://principialabs.com/arduino-python-4-axis-servo-control/#comment-192</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Thu, 11 Feb 2010 16:50:12 +0000</pubDate>
		<guid isPermaLink="false">http://principialabs.com/?p=69#comment-192</guid>
		<description>&lt;p&gt;@Dude: To me it looks like a permission error.  When you installed Python (and/or &lt;code&gt;serialwin32.py&lt;/code&gt;), did you do it as the Administrator?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@Dude: To me it looks like a permission error.  When you installed Python (and/or <code>serialwin32.py</code>), did you do it as the Administrator?</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Dude</title>
		<link>http://principialabs.com/arduino-python-4-axis-servo-control/#comment-190</link>
		<dc:creator>Dude</dc:creator>
		<pubDate>Wed, 10 Feb 2010 22:25:28 +0000</pubDate>
		<guid isPermaLink="false">http://principialabs.com/?p=69#comment-190</guid>
		<description>&lt;p&gt;This looks great! Tho i have problems with my PC:&lt;/p&gt;

&lt;p&gt;&lt;CODE&gt;Traceback (most recent call last):
  File &quot;C:&#92;Python26&#92;servo.py&quot;, line 20, in 
    ser = serial.Serial(usbport, 9600, timeout=1)
  File &quot;C:&#92;Python26&#92;lib&#92;site-packages&#92;serial&#92;serialwin32.py&quot;, line 30, in &lt;strong&gt;init&lt;/strong&gt;
    SerialBase.&lt;strong&gt;init&lt;/strong&gt;(self, *args, **kwargs)
  File &quot;C:&#92;Python26&#92;lib&#92;site-packages&#92;serial&#92;serialutil.py&quot;, line 201, in &lt;strong&gt;init&lt;/strong&gt;
    self.open()
  File &quot;C:&#92;Python26&#92;lib&#92;site-packages&#92;serial&#92;serialwin32.py&quot;, line 56, in open
    raise SerialException(&quot;could not open port %s: %s&quot; % (self.portstr, ctypes.WinError()))
SerialException: could not open port COM3: [Error 5] Access is denied.&lt;/CODE&gt;&lt;/p&gt;

&lt;p&gt;As far as i can tell the error means that COM3 port is in use by other program, but the thing is, its not. I don&#039;t know whats going on...&lt;/p&gt;

&lt;p&gt;The whole thing works just fine with my mac on the other hand.
Any ideas?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>This looks great! Tho i have problems with my PC:</p>

<p><code>Traceback (most recent call last):
  File &#8220;C:&#92;Python26&#92;servo.py&#8221;, line 20, in 
    ser = serial.Serial(usbport, 9600, timeout=1)
  File &#8220;C:&#92;Python26&#92;lib&#92;site-packages&#92;serial&#92;serialwin32.py&#8221;, line 30, in <strong>init</strong>
    SerialBase.<strong>init</strong>(self, *args, **kwargs)
  File &#8220;C:&#92;Python26&#92;lib&#92;site-packages&#92;serial&#92;serialutil.py&#8221;, line 201, in <strong>init</strong>
    self.open()
  File &#8220;C:&#92;Python26&#92;lib&#92;site-packages&#92;serial&#92;serialwin32.py&#8221;, line 56, in open
    raise SerialException(&#8220;could not open port %s: %s&#8221; % (self.portstr, ctypes.WinError()))
SerialException: could not open port COM3: [Error 5] Access is denied.</code></p>

<p>As far as i can tell the error means that COM3 port is in use by other program, but the thing is, its not. I don&#8217;t know whats going on&#8230;</p>

<p>The whole thing works just fine with my mac on the other hand.
Any ideas?</p>]]></content:encoded>
	</item>
	<item>
		<title>By: sanjay srkanth</title>
		<link>http://principialabs.com/arduino-python-4-axis-servo-control/#comment-189</link>
		<dc:creator>sanjay srkanth</dc:creator>
		<pubDate>Wed, 10 Feb 2010 19:57:05 +0000</pubDate>
		<guid isPermaLink="false">http://principialabs.com/?p=69#comment-189</guid>
		<description>&lt;p&gt;@brain Thanks a lot man&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@brain Thanks a lot man</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://principialabs.com/arduino-python-4-axis-servo-control/#comment-188</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Tue, 09 Feb 2010 16:12:39 +0000</pubDate>
		<guid isPermaLink="false">http://principialabs.com/?p=69#comment-188</guid>
		<description>&lt;p&gt;@sanjay:  Do you have &lt;code&gt;servo.py&lt;/code&gt; installed in the same directory as &lt;code&gt;multijoystick.py&lt;/code&gt;?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@sanjay:  Do you have <code>servo.py</code> installed in the same directory as <code>multijoystick.py</code>?</p>]]></content:encoded>
	</item>
</channel>
</rss>
