Re: Smallest/cheapest possible Python platform?



Roy Smith <roy@xxxxxxxxx> writes:
The Rasberry Pi certainly looks attractive, but isn't quite available
today. Can you run Python on an Arduino?

No. YOu want a 32-bit platform with an OS and perhaps 1 meg of memory.
And by the time you port Python to it unless it's there already, you may
as well have just written your application in C.

If you want something even cheaper than an Arduino, look at the TI
Launchpad. But you can't program that in Python either. There is
a standalone interactive Forth for it, if that's of any interest:
http://www.somersetweb.com/4E4th/EN.html

There are some fairly cheap ARM boards around that could run Python, but
they will be battery hungry compared to a Launchpad or Arduino, and
again, may not be worth the porting hassle if there's not an
already-done Python port.

Lua might be another scripting language of interest (www.lua.org). Sort
of the same idea as Python, not quite as nice, but smaller and easier to
embed. I think it wants around 50-100k of ram, still way out of the
Arduino range.
.



Relevant Pages

  • Re: Smallest/cheapest possible Python platform?
    ... controller in a battery-powered device and want to avoid writing in C ... Can you run Python on an Arduino? ... If you are on tight budget and depend so much on Python, ... I wouldn't touch Arduino unless I really had to. ...
    (comp.lang.python)
  • Nanpy 0.4 - Use your Arduino board with Python
    ... Actually Nanpy supports the main parts of OneWire, Lcd, ... With Nanpy you can write your Arduino programs using Python, ...
    (comp.lang.python.announce)
  • Re: Smallest/cheapest possible Python platform?
    ... Can you run Python on an Arduino? ... and the $129 price probably busts my budget. ... The Arduino uses an 8-bit micro-controller, ... I think you may need to either wait for the Rasberry Pi to become ...
    (comp.lang.python)
  • pyserial script doesnt execute properly
    ... Iam using python 2.5.4 ... i hav a small test script written to query a serial device (arduino) ...
    (comp.lang.python)