<?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: Python: interfacing with an arduino</title>
	<atom:link href="http://www.stealthcopter.com/blog/2010/02/python-interfacing-with-an-arduino/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.stealthcopter.com/blog/2010/02/python-interfacing-with-an-arduino/</link>
	<description>Android, Linux, Python and stealthcopters</description>
	<lastBuildDate>Wed, 08 Feb 2012 11:08:29 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: tonnytg</title>
		<link>http://www.stealthcopter.com/blog/2010/02/python-interfacing-with-an-arduino/comment-page-1/#comment-6323</link>
		<dc:creator>tonnytg</dc:creator>
		<pubDate>Mon, 14 Nov 2011 23:17:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.stealthcopter.com/blog/?p=204#comment-6323</guid>
		<description>Problem with python 3.2:

arduino.write(&#039;Y&#039;) don&#039;t work, i find people use raw_input() for this problem but python 3.2 don&#039;t have raw_input.

Erro : 
  File &quot;/usr/lib/python3.2/site-packages/serial/serialposix.py&quot;, line 467, in write
    t = len(data)

Do you know how?</description>
		<content:encoded><![CDATA[<p>Problem with python 3.2:</p>
<p>arduino.write(&#8216;Y&#8217;) don&#8217;t work, i find people use raw_input() for this problem but python 3.2 don&#8217;t have raw_input.</p>
<p>Erro :<br />
  File &#8220;/usr/lib/python3.2/site-packages/serial/serialposix.py&#8221;, line 467, in write<br />
    t = len(data)</p>
<p>Do you know how?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abhi</title>
		<link>http://www.stealthcopter.com/blog/2010/02/python-interfacing-with-an-arduino/comment-page-1/#comment-5621</link>
		<dc:creator>Abhi</dc:creator>
		<pubDate>Thu, 18 Aug 2011 12:48:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.stealthcopter.com/blog/?p=204#comment-5621</guid>
		<description>I am new to interfacing Arduino to Python. I tried the example you have provided on this site. 
When i run the code the output on the Python IDLE window is as follows :
&quot;
Trying... COM4
Failed to connect to COM4
Failed to send!!
&quot;
I am using Win7. According to the Arduino program the board is connected to the COM4 (that is also suggested by the device manager). 
What can i do in this case ?

There was an other question i had in mind: 
How does the python code identify what arduino code has to be uploaded and run. Or does it run the code that was previously uploaded? 

Thank you in advance,
Cheers</description>
		<content:encoded><![CDATA[<p>I am new to interfacing Arduino to Python. I tried the example you have provided on this site.<br />
When i run the code the output on the Python IDLE window is as follows :<br />
&#8220;<br />
Trying&#8230; COM4<br />
Failed to connect to COM4<br />
Failed to send!!<br />
&#8220;<br />
I am using Win7. According to the Arduino program the board is connected to the COM4 (that is also suggested by the device manager).<br />
What can i do in this case ?</p>
<p>There was an other question i had in mind:<br />
How does the python code identify what arduino code has to be uploaded and run. Or does it run the code that was previously uploaded? </p>
<p>Thank you in advance,<br />
Cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Syncing a DS1307 automatically using python &#124; My Arduino Project</title>
		<link>http://www.stealthcopter.com/blog/2010/02/python-interfacing-with-an-arduino/comment-page-1/#comment-5190</link>
		<dc:creator>Syncing a DS1307 automatically using python &#124; My Arduino Project</dc:creator>
		<pubDate>Sun, 19 Jun 2011 16:50:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.stealthcopter.com/blog/?p=204#comment-5190</guid>
		<description>[...] (c code). I did a bit of research about communicating between Arduino and python. Thanks to this page  it wasn&#8217;t hard to get started. With alot of trial and error (probably should have payed more [...]</description>
		<content:encoded><![CDATA[<p>[...] (c code). I did a bit of research about communicating between Arduino and python. Thanks to this page  it wasn&#8217;t hard to get started. With alot of trial and error (probably should have payed more [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon</title>
		<link>http://www.stealthcopter.com/blog/2010/02/python-interfacing-with-an-arduino/comment-page-1/#comment-4888</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Fri, 15 Apr 2011 22:19:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.stealthcopter.com/blog/?p=204#comment-4888</guid>
		<description>I am having problems. I have used your code for both Arduino and Python. When I use the Arudino Serial monitor to send a &#039;Y&#039; The LED comes on. When python sends it, the LED comes on for a second and then goes off again.

I have changed to pin 8 to ensure that it was not just flashing when it received data. But Pin 8 still works with the Serial Monitor, but again flashes on and off when I use Python.

I have altered the code on Arduino to make the LED flash a number of times when it recievies the &#039;Y&#039; and this happens, so I know the all code is working to the point where the LED just turns off.

I am using Windows Vista 64 Bit if that makes any difference.</description>
		<content:encoded><![CDATA[<p>I am having problems. I have used your code for both Arduino and Python. When I use the Arudino Serial monitor to send a &#8216;Y&#8217; The LED comes on. When python sends it, the LED comes on for a second and then goes off again.</p>
<p>I have changed to pin 8 to ensure that it was not just flashing when it received data. But Pin 8 still works with the Serial Monitor, but again flashes on and off when I use Python.</p>
<p>I have altered the code on Arduino to make the LED flash a number of times when it recievies the &#8216;Y&#8217; and this happens, so I know the all code is working to the point where the LED just turns off.</p>
<p>I am using Windows Vista 64 Bit if that makes any difference.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tracking Signups with Woot Lights &#124; Loggly</title>
		<link>http://www.stealthcopter.com/blog/2010/02/python-interfacing-with-an-arduino/comment-page-1/#comment-4779</link>
		<dc:creator>Tracking Signups with Woot Lights &#124; Loggly</dc:creator>
		<pubDate>Thu, 03 Mar 2011 06:20:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.stealthcopter.com/blog/?p=204#comment-4779</guid>
		<description>[...] The code for all this stuff is on Github. You&#8217;ll need to load up your Arduino with the serial.c file, which contains a simple serial protocol that brings a pin high on receiving a &#8216;Y&#8216; and low on receiving a &#8216;N&#8216;. More information on talking to Arduinos with Python is here. [...]</description>
		<content:encoded><![CDATA[<p>[...] The code for all this stuff is on Github. You&#8217;ll need to load up your Arduino with the serial.c file, which contains a simple serial protocol that brings a pin high on receiving a &#8216;Y&#8216; and low on receiving a &#8216;N&#8216;. More information on talking to Arduinos with Python is here. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wrybread</title>
		<link>http://www.stealthcopter.com/blog/2010/02/python-interfacing-with-an-arduino/comment-page-1/#comment-1834</link>
		<dc:creator>wrybread</dc:creator>
		<pubDate>Tue, 11 May 2010 05:17:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.stealthcopter.com/blog/?p=204#comment-1834</guid>
		<description>Fantabulous tutorial. Its funny how rare it is to read a tutorial that&#039;s not obfuscated by overly complicated details. This is just super clear and demonstrates everything needed to get the job done. Why aren&#039;t more tutorials on the intershnitzel like this?</description>
		<content:encoded><![CDATA[<p>Fantabulous tutorial. Its funny how rare it is to read a tutorial that&#8217;s not obfuscated by overly complicated details. This is just super clear and demonstrates everything needed to get the job done. Why aren&#8217;t more tutorials on the intershnitzel like this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Boddie</title>
		<link>http://www.stealthcopter.com/blog/2010/02/python-interfacing-with-an-arduino/comment-page-1/#comment-194</link>
		<dc:creator>David Boddie</dc:creator>
		<pubDate>Wed, 03 Feb 2010 14:31:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.stealthcopter.com/blog/?p=204#comment-194</guid>
		<description>Arduino programming is interesting, even if the scope for Python programming is restricted to the host computer. One related project I found recently is this Python-based IDE:

http://code.google.com/p/arduino-pyqt/

Of course, the language is still the Arduino variant of C++, but it&#039;s interesting to see work being done on tools for the Arduino.</description>
		<content:encoded><![CDATA[<p>Arduino programming is interesting, even if the scope for Python programming is restricted to the host computer. One related project I found recently is this Python-based IDE:</p>
<p><a href="http://code.google.com/p/arduino-pyqt/" rel="nofollow">http://code.google.com/p/arduino-pyqt/</a></p>
<p>Of course, the language is still the Arduino variant of C++, but it&#8217;s interesting to see work being done on tools for the Arduino.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anon</title>
		<link>http://www.stealthcopter.com/blog/2010/02/python-interfacing-with-an-arduino/comment-page-1/#comment-193</link>
		<dc:creator>Anon</dc:creator>
		<pubDate>Wed, 03 Feb 2010 13:50:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.stealthcopter.com/blog/?p=204#comment-193</guid>
		<description>Die-ci-mi-la. :)</description>
		<content:encoded><![CDATA[<p>Die-ci-mi-la. <img src='http://www.stealthcopter.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Python: interfacing with an arduino &#171; Arduinian Tales</title>
		<link>http://www.stealthcopter.com/blog/2010/02/python-interfacing-with-an-arduino/comment-page-1/#comment-191</link>
		<dc:creator>Python: interfacing with an arduino &#171; Arduinian Tales</dc:creator>
		<pubDate>Wed, 03 Feb 2010 11:12:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.stealthcopter.com/blog/?p=204#comment-191</guid>
		<description>[...] Python: interfacing with an&#160;arduino By d.g.  Nice simple example in interfacing Arduino with Python. Via [Stealthcopter] [...]</description>
		<content:encoded><![CDATA[<p>[...] Python: interfacing with an&nbsp;arduino By d.g.  Nice simple example in interfacing Arduino with Python. Via [Stealthcopter] [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

