Question:
Can I run an interpreted language (or one with a big dev footprint) on the Arduino? I can't write C or C++.
Answer:
Running interpreted languages directly on the Arduino
Yes, there are a few implementations of interpreted languages for the Arduino, including several ports of Forth on Arduino, a port of TinyBASIC, PyMite a subset of Python, and a purpose-built language called "Bitlash".
Running interpreted languages on some other computer that talks to the Arduino
However, most modern, dynamic scripting languages are too complex to fit in the Arduino's very limited RAM and program memory.
You can use these languages to communicate with the Arduino, but in general, code in these languages will not run on the board.
(Most of these languages *can* run on the Hardware.Yun).
Note: there are some marginal ways to turn interpreted languages into bytecode which may run on the Arduino if you have the correct set of compilers, linkers and libraries. But this is usually a non-trivial task with limited utility.
Often people use the "ROS" or "Firmata" protocol on the wire between the PC and the Arduino.
Some people make up their own custom protocol on the wire between the PC and the Arduino.
Title
Arduino Newsletter
We care about the privacy and personal data of our users.
To continue, please give us your consent:
Please confirm that you have read the privacy policy
Thank you for subscribing!
Curious to learn more?
Are you also a teacher, student, or professional that loves using Arduino in your day-to-day activities?
Then keep up-to-date with either our STEM or Professional monthly newsletters.
Arduino weekly newsletter (already subscribed)
Educators can benefit from the ever growing tech that shapes our environment through fun cool projects.
Why not awe your boss with highly innovative ways to help keep your enterprise connected at no extra cost?
Arduino Survey
We'd like to get to know you little better.
Please help us improve by answering this super short optional survey.