Pages: [1]   Go Down
Author Topic: python on a micro!  (Read 1034 times)
0 Members and 1 Guest are viewing this topic.
Augsburg/Munich, Germany
Offline Offline
Jr. Member
**
Karma: 0
Posts: 68
"Stay hungry. Stay foolish."
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

well, the project is quite old (last update from 2003) and quite beta or gamma state...
But, imagine writing microcontroller programs in a nice & simple scripting language like python instead of C?
Do I see any geeks with glowing eyes now? smiley-cool
Ok, here you go:
http://www.python.org/pycon/papers/pymite/
It's called pymite and it needs 15kB of flash and 4 kB of RAM, so it's nothing for current arduino boards.
But an Atmega128, for what it's developed, gives plenty of playground space...

What are the thoughts of arduino developers on using a simpler language than C?

Oli
« Last Edit: February 26, 2006, 12:00:32 am by ozel » Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 7
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Python-on-a-Chip (http://pythononachip.org/) featuring the PyMite VM has been ported to the Arduino Mega.
Logged

SE USA
Offline Offline
Faraday Member
**
Karma: 40
Posts: 3783
@ssh0le
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I would rather stab my self in the ear than deal with ghost whitespaces killing my program

just an opinion though
Logged


UK
Offline Offline
Sr. Member
****
Karma: 0
Posts: 304
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I would rather stab my self in the ear than deal with ghost whitespaces killing my program
LMAO.

I kinda like the idea (not of whitespace killing programs, just of something like Python as an option) but am not sold just yet.

Before I used something like that, I'd be wondering whether a) has using C/C++ been any kind of problem for me and b) would I not prefer a Netduino.

But that's just me. I suppose even though I'm unlikely to use it, the idea of different language support on the Arduino sort of appeals.
Logged

Ohio
Offline Offline
Jr. Member
**
Karma: 0
Posts: 59
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

http://www.synapse-wireless.com/index.php?mainID=3&subID=3&type=product&prodID=3

Synapse Wireless makes "RF Engines" that run python. I consider them a smart XBee. They have two UARTs on them. The RF200 (soon to be released) uses an ATMega128RFA1 as the CPU. I have only worked with the RF100 series. The advantage over an XBee is that you don't need an arduino at every wireless location.

The RF Engines run python code that reads the sensors, filter the data, transmit is needed. They are very flexible.

Logged

SF Bay Area (USA)
Offline Offline
Tesla Member
***
Karma: 106
Posts: 6378
Strongly opinionated, but not official!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I would sort of expect that running python on a small microcontroller would run into the same sorts of problems that one can see with with C++; the neat features that you expected would make your life easier turn out to be "expensive", and you wind up with a usable subset that isn't much different than C.  ("Why yes, I can program in java and python and perl and C++ and they all end up looking like C!")

OTOH, BASIC interpreters have a long history of running on smallish micros (though usually with lots of RAM.)
Logged

Pages: [1]   Go Up
Jump to: