<?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 Serial Servo Control</title>
	<atom:link href="http://principialabs.com/arduino-serial-servo-control/feed/" rel="self" type="application/rss+xml" />
	<link>http://principialabs.com/arduino-serial-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: lawrence</title>
		<link>http://principialabs.com/arduino-serial-servo-control/#comment-194</link>
		<dc:creator>lawrence</dc:creator>
		<pubDate>Fri, 12 Feb 2010 09:32:14 +0000</pubDate>
		<guid isPermaLink="false">http://principialabs.com/arduino-serial-servo-control-2/#comment-194</guid>
		<description>&lt;p&gt;i opened the serial monitor of arduino and i pressed the arrow keys and spacebar.it is not response at all....wht happen to my arduino?what i need to build this are only the arduino platform and the whole setup right??
am i missing sths ??sths i need to build this but i didnt know...thanks :)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>i opened the serial monitor of arduino and i pressed the arrow keys and spacebar.it is not response at all&#8230;.wht happen to my arduino?what i need to build this are only the arduino platform and the whole setup right??
am i missing sths ??sths i need to build this but i didnt know&#8230;thanks :)</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Khalid Khattak</title>
		<link>http://principialabs.com/arduino-serial-servo-control/#comment-122</link>
		<dc:creator>Khalid Khattak</dc:creator>
		<pubDate>Fri, 11 Dec 2009 12:24:18 +0000</pubDate>
		<guid isPermaLink="false">http://principialabs.com/arduino-serial-servo-control-2/#comment-122</guid>
		<description>&lt;p&gt;Can You help me in this topic at arduino forum
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1260432183&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Can You help me in this topic at arduino forum
<a href="http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1260432183" rel="nofollow">http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1260432183</a></p>]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew Rosenblum</title>
		<link>http://principialabs.com/arduino-serial-servo-control/#comment-32</link>
		<dc:creator>Andrew Rosenblum</dc:creator>
		<pubDate>Fri, 24 Oct 2008 01:48:04 +0000</pubDate>
		<guid isPermaLink="false">http://principialabs.com/arduino-serial-servo-control-2/#comment-32</guid>
		<description>&lt;p&gt;This was way cool! &lt;/p&gt;

&lt;p&gt;I used the servo motor in the article with an Arduino starter kit from AdaFruit.com. I was surprised how easy it was to get it all working.&lt;/p&gt;

&lt;p&gt;I was thinking of making a bot with wheels (stepper motor, not really sure how servos fit in) and IR sensor. The software would avoid objects and make some kind of map. It would be nice to connect wirelessly, too.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>This was way cool! </p>

<p>I used the servo motor in the article with an Arduino starter kit from AdaFruit.com. I was surprised how easy it was to get it all working.</p>

<p>I was thinking of making a bot with wheels (stepper motor, not really sure how servos fit in) and IR sensor. The software would avoid objects and make some kind of map. It would be nice to connect wirelessly, too.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://principialabs.com/arduino-serial-servo-control/#comment-31</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Sat, 15 Dec 2007 02:30:13 +0000</pubDate>
		<guid isPermaLink="false">http://principialabs.com/arduino-serial-servo-control-2/#comment-31</guid>
		<description>&lt;p&gt;Here&#039;s another cool little Python script I came up with that&#039;s a little more interesting to watch than the previous one.  Hopefully it&#039;s well-documented enough to let you figure out what it does.  Try it out!!&lt;/p&gt;

&lt;pre name=&quot;code&quot; class=&quot;python:collapse&quot;&gt;
#!/usr/bin/env python

#
# Hello Arduino!
# serial-servo-roxxor.py
# to be used with Arduino NewSerialServo sketch
#

import serial
import time

# open usb serial connection to arduino
ser = serial.Serial(&#039;/dev/ttyUSB0&#039;, 9600)
print &quot;\nUSB serial port open: &quot;, ser.portstr

# center the servo to start
ser.write(&quot; &quot;)
print &quot;Centering...\n&quot;
time.sleep(1)

# compute total length of sequence, in seconds
sec = 0

# perform 9 iterations, 10deg increments
i = 9
while i &gt;= 1:

    units = i + 1    # units to pulse servo
    deg   = i * 10   # degrees moved L/R of center
    wait  = i * 0.1  # variable wait time - large deflections need more time

    print &quot;Left&quot;, deg, &quot;deg&quot;
    for x in range(1,units):
        # move servo x units counterclock
        ser.write(&quot;,&quot;)
    # wait
    time.sleep(wait)
    #increment time counter
    sec += wait

    # center servo and wait
    ser.write(&quot; &quot;)
    print &quot;Center&quot;
    time.sleep(wait)
    #increment time counter
    sec += wait

    print &quot;Right&quot;, deg, &quot;deg&quot;
    for x in range(1,units):
        # move servo x units clockwise
        ser.write(&quot;.&quot;)
    # wait
    time.sleep(wait)
    #increment time counter
    sec += wait

    # center servo and wait
    ser.write(&quot; &quot;)
    print &quot;Center\n&quot;
    time.sleep(wait)
    #increment time counter
    sec += wait

    i -= 1

# close the connection
ser.close()
print &quot;\nPort closed.  Sequence complete in&quot;, sec, &quot;seconds.\n&quot;
&lt;/pre&gt;
</description>
		<content:encoded><![CDATA[<p>Here&#8217;s another cool little Python script I came up with that&#8217;s a little more interesting to watch than the previous one.  Hopefully it&#8217;s well-documented enough to let you figure out what it does.  Try it out!!</p>

<pre name="code" class="python:collapse">
#!/usr/bin/env python

#
# Hello Arduino!
# serial-servo-roxxor.py
# to be used with Arduino NewSerialServo sketch
#

import serial
import time

# open usb serial connection to arduino
ser = serial.Serial('/dev/ttyUSB0', 9600)
print "\nUSB serial port open: ", ser.portstr

# center the servo to start
ser.write(" ")
print "Centering...\n"
time.sleep(1)

# compute total length of sequence, in seconds
sec = 0

# perform 9 iterations, 10deg increments
i = 9
while i >= 1:

    units = i + 1    # units to pulse servo
    deg   = i * 10   # degrees moved L/R of center
    wait  = i * 0.1  # variable wait time - large deflections need more time

    print "Left", deg, "deg"
    for x in range(1,units):
        # move servo x units counterclock
        ser.write(",")
    # wait
    time.sleep(wait)
    #increment time counter
    sec += wait

    # center servo and wait
    ser.write(" ")
    print "Center"
    time.sleep(wait)
    #increment time counter
    sec += wait

    print "Right", deg, "deg"
    for x in range(1,units):
        # move servo x units clockwise
        ser.write(".")
    # wait
    time.sleep(wait)
    #increment time counter
    sec += wait

    # center servo and wait
    ser.write(" ")
    print "Center\n"
    time.sleep(wait)
    #increment time counter
    sec += wait

    i -= 1

# close the connection
ser.close()
print "\nPort closed.  Sequence complete in", sec, "seconds.\n"
</pre>]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://principialabs.com/arduino-serial-servo-control/#comment-30</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Wed, 12 Dec 2007 01:36:42 +0000</pubDate>
		<guid isPermaLink="false">http://principialabs.com/arduino-serial-servo-control-2/#comment-30</guid>
		<description>&lt;p&gt;Some exciting new developments are happening here.  After reading Tinkerlog&#039;s super-cool &quot;&lt;a href=&quot;http://tinkerlog.com/2007/12/04/arduino-xmas-hitcounter/&quot; rel=&quot;nofollow&quot;&gt;Arduino XMAS Hitcounter&lt;/a&gt;,&quot; I knew I had to learn how to get Python to talk to Arduino.  As it turns out, Python&#039;s &lt;a href=&quot;http://pyserial.sourceforge.net/&quot; rel=&quot;nofollow&quot;&gt;pySerial&lt;/a&gt; module is not part of the standard library, so I had to &lt;a href=&quot;http://sourceforge.net/projects/pyserial/&quot; rel=&quot;nofollow&quot;&gt;get it from Sourceforge&lt;/a&gt;.  Installation was a one-command affair.&lt;/p&gt;

&lt;p&gt;My Python &quot;Hello Arduino&quot; is reproduced below, and it&#039;s designed to provide the ASCII characters expected by the Arduino sketch NewSerialServo, printed above.  WHERE can I go from HERE?!?!&lt;/p&gt;

&lt;pre name=&quot;code&quot; class=&quot;python:collapse&quot;&gt;
#!/usr/bin/env python

#
# Hello Arduino!
# serial-servo.py
# to be used with Arduino NewSerialServo sketch
#

import serial
import time

# open usb serial connection to arduino
ser = serial.Serial(&#039;/dev/ttyUSB0&#039;, 9600)
print &quot;USB port: &quot;, ser.portstr

i = 5

while i &gt; 0:
    # center servo and wait 1 sec
    ser.write(&quot; &quot;)
    print &quot;Center&quot;
    time.sleep(1)
    # move servo 90deg counterclock, wait
    ser.write(&quot;,,,,,,,,,&quot;)
    print &quot;90 L&quot;
    time.sleep(1)
    # center servo and wait 1 sec
    ser.write(&quot; &quot;)
    print &quot;Center&quot;
    time.sleep(1)
    # move servo 90deg clockwise, wait
    ser.write(&quot;.........&quot;)
    print &quot;90 R&quot;
    time.sleep(1)
    i = i - 1

# close the connection
ser.close()
print &quot;Sequence complete.&quot;
&lt;/pre&gt;
</description>
		<content:encoded><![CDATA[<p>Some exciting new developments are happening here.  After reading Tinkerlog&#8217;s super-cool &#8220;<a href="http://tinkerlog.com/2007/12/04/arduino-xmas-hitcounter/" rel="nofollow">Arduino XMAS Hitcounter</a>,&#8221; I knew I had to learn how to get Python to talk to Arduino.  As it turns out, Python&#8217;s <a href="http://pyserial.sourceforge.net/" rel="nofollow">pySerial</a> module is not part of the standard library, so I had to <a href="http://sourceforge.net/projects/pyserial/" rel="nofollow">get it from Sourceforge</a>.  Installation was a one-command affair.</p>

<p>My Python &#8220;Hello Arduino&#8221; is reproduced below, and it&#8217;s designed to provide the ASCII characters expected by the Arduino sketch NewSerialServo, printed above.  WHERE can I go from HERE?!?!</p>

<pre name="code" class="python:collapse">
#!/usr/bin/env python

#
# Hello Arduino!
# serial-servo.py
# to be used with Arduino NewSerialServo sketch
#

import serial
import time

# open usb serial connection to arduino
ser = serial.Serial('/dev/ttyUSB0', 9600)
print "USB port: ", ser.portstr

i = 5

while i > 0:
    # center servo and wait 1 sec
    ser.write(" ")
    print "Center"
    time.sleep(1)
    # move servo 90deg counterclock, wait
    ser.write(",,,,,,,,,")
    print "90 L"
    time.sleep(1)
    # center servo and wait 1 sec
    ser.write(" ")
    print "Center"
    time.sleep(1)
    # move servo 90deg clockwise, wait
    ser.write(".........")
    print "90 R"
    time.sleep(1)
    i = i - 1

# close the connection
ser.close()
print "Sequence complete."
</pre>]]></content:encoded>
	</item>
</channel>
</rss>
