Re: [Tutor] Pyduino

2009-09-08 Thread Alan Gauld

"Wayne"  wrote

Yes, this is true, but he was asking to use Python *instead* of the 
Arduino
language.  I really don't think it's too hard to learn the language, 
it's

really straightforward.


I'll echo that sentiment. Just following the tutorials you can pretty 
much
figure out everything you need to know. It's basically a simplified 
version

of C++.


caveat, if you don't know C or C++ there is a huge mountain of things to
learn in migrating from Python. If you already know any C-like langfuage
then the Arduino language is straightforward but from Python alone
you suddenly have braces and semi colons and type definitions and
a welter of other details to learn and understand.

I've only browsed the docs so am no expert but it looks like a pretty
close clone of C with some C++ bits added. But thats a big jump
from Python.

But arguably to get the most out of a tool like Arduino you probably
do need a language like C vthat is conceptuially closer to the machine
than to the user

--
Alan Gauld
Author of the Learn to Program web site
http://www.alan-g.me.uk/ 



___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] Pyduino

2009-09-08 Thread Kent Johnson
On Tue, Sep 8, 2009 at 10:11 AM, Douglas Philips wrote:
>> Check out:
>> http://us.pycon.org/2009/conference/schedule/event/73/
>> which has the video of the talk as well.
>> That was one of the many talks I didn't see in person, and is on my queue
>> to watch. Hmmm, just got bumped a lot higher on the queue since I've also
>> recently been bitten by the Arduino bug. :)
>
> For another microcontroller python, there is PyMite:
> http://us.pycon.org/2009/openspace/ForEmbeddedSystems/
> http://code.google.com/p/python-on-a-chip/

Which seems to be running on Arduino Mega:
http://groups.google.com/group/python-on-a-chip/web/step-by-step-on-running-pymite-on-arduino-mega

Kent
___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] Pyduino

2009-09-08 Thread Douglas Philips

Check out:
http://us.pycon.org/2009/conference/schedule/event/73/
which has the video of the talk as well.
That was one of the many talks I didn't see in person, and is on my  
queue to watch. Hmmm, just got bumped a lot higher on the queue  
since I've also recently been bitten by the Arduino bug. :)


For another microcontroller python, there is PyMite:
http://us.pycon.org/2009/openspace/ForEmbeddedSystems/
http://code.google.com/p/python-on-a-chip/

--Doug

___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] Pyduino

2009-09-08 Thread Douglas Philips

Check out:
http://us.pycon.org/2009/conference/schedule/event/73/
which has the video of the talk as well.
That was one of the many talks I didn't see in person, and is on my  
queue to watch. Hmmm, just got bumped a lot higher on the queue since  
I've also recently been bitten by the Arduino bug. :)


-Doug


___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] Pyduino

2009-09-08 Thread Wayne
On Tue, Sep 8, 2009 at 4:22 AM, Luke Paireepinart wrote:

> Yes, this is true, but he was asking to use Python *instead* of the Arduino
> language.  I really don't think it's too hard to learn the language, it's
> really straightforward.


I'll echo that sentiment. Just following the tutorials you can pretty much
figure out everything you need to know. It's basically a simplified version
of C++.

HTH,
Wayne
___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] Pyduino

2009-09-08 Thread Luke Paireepinart
Yes, this is true, but he was asking to use Python *instead* of the Arduino
language.  I really don't think it's too hard to learn the language, it's
really straightforward.

On Tue, Sep 8, 2009 at 9:13 AM, Michael Connors  wrote:

>
>>
>> You wouldn't want to run python on a 16 mhz processor, the interpreter
>> would use up all your resources. The Arduino language is not too hard
>> to learn.
>>
>>
>>
>
> I have followed some tutorials in the Arduino playground, for talking to
> the arduino from Python. You can do things like tell your LED to turn on and
> off based on a key press on your computers keyboard, and from there you can
> probably figure out how to do plenty of other things.
>
> The coding for the Arduino is still done in the native language, but the
> client you use to speak to the connected arduino would be written in Python.
>
> --
> Michael Connors
> Leiden
> The Netherlands
>
>
___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] Pyduino

2009-09-08 Thread Michael Connors
>
>
>
> You wouldn't want to run python on a 16 mhz processor, the interpreter
> would use up all your resources. The Arduino language is not too hard
> to learn.
>
>
>

I have followed some tutorials in the Arduino playground, for talking to the
arduino from Python. You can do things like tell your LED to turn on and off
based on a key press on your computers keyboard, and from there you can
probably figure out how to do plenty of other things.

The coding for the Arduino is still done in the native language, but the
client you use to speak to the connected arduino would be written in Python.

-- 
Michael Connors
Leiden
The Netherlands
___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] Pyduino

2009-09-07 Thread Luke Paireepinart
man, here I am always complaining about people replying directly to me, and
I go and do it to Joshua!meant to send this to the list.  sorry!

-- Forwarded message --
From: Luke Paireepinart 
Date: Tue, Sep 8, 2009 at 3:53 AM
Subject: Re: [Tutor] Pyduino
To: Joshua Harper 


You wouldn't want to run python on a 16 mhz processor, the interpreter
would use up all your resources. The Arduino language is not too hard
to learn.

On 9/7/09, Joshua Harper  wrote:
> I just bought an arduino and id like to use python instead of the arduino
> language, any tips, tutorials, anything, i googled but there isnt much on
it
> really...
>
> --
> - JH
>

--
Sent from my mobile device
___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] Pyduino

2009-09-07 Thread Chris Fuller
There are a few projects attempting something like this, but it is not easy to 
get a language like Python running on the minimalist resources found in a 
microcontroller.  Google "python microcontroller" (without the quotes).. you 
could also try the plural form to see if that brings up other hits.  In the 
best case, you are going to have a limited subset of the language in some 
way, I'm sure.

There is a fairly mature gcc toolchain for the Atmel AVR microcontrollers, so 
you can also use that.  At least for straight C, I dunno about C++, Fortran, 
Objective C, Ada, or the others.

Cheers

On Monday 07 September 2009 20:31, Joshua Harper wrote:
> I just bought an arduino and id like to use python instead of the arduino
> language, any tips, tutorials, anything, i googled but there isnt much on
> it really...
___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] Pyduino

2009-09-07 Thread bob gailer

Joshua Harper wrote:
I just bought an arduino and id like to use python instead of the 
arduino language, any tips, tutorials, anything, i googled but there 
isnt much on it really..

about 3,000,000 results?


--
Bob Gailer
Chapel Hill NC
919-636-4239
___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor