Categories

Micro Python: Python for microcontrollers

Posted on Thursday, November 28th, 2013 in dev boards by DP

16f4a69f378aad8601e1c182a6b70c04_large

Torsten came across an interesting project on Kickstarter called Micro Python by Damien George.  He writes:

It has some very nice new design ideas as well as a totally new way of dealing with uC. I often do prototyping of a certain algorithm in python because it is very easy to debug and test. After that, I go an implement it in the uC-architecture of choice.
Just think of that you could directly use the Python code.

In addition it is a very nice read about the internals of scripting
languages and what need to be considered to run them on a small architecture like a uC. The founder seems very knowledgeable about pythons internals. He rewrote many internals to optimize it for a uC environment. He managed to speed up the execution by tenfold and brings python execution time almost as close as its C equivalents!
Nonetheless, you can execute almost arbitrary python 3 code.

Via contact form. Thanks Torsten!

This entry was posted on Thursday, November 28th, 2013 at 2:00 pm and is filed under dev boards. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

3 Responses to “Micro Python: Python for microcontrollers”

  1. Jack says:

    I really look forward to being able to use Python in a micro when I want to try something out really quick. I’m not sure the development board will be the most useful to me, but the STM32F4-series has a lot of other options available for dev boards too. And there’s always the possibility of porting it elsewhere, too.

Leave a Reply

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Recent Comments

  • Edward Mallon: Like a great Hollywood franchise, I've finally put together the prequel - months after the I2C registers tutorial was released: https://edwardmallon.wordpress.com/2017/12/17/adding-sensors-to-an-arduino-data-logger/ This adds to the...
  • Drone: So these go for around $330 USD and NO published calibration procedure online or otherwise? Given what's inside - I don't think I'll be considering...
  • Pekka Akselin: This is ridiculous!? :-) We are back at 256(!) byte EPROMs that needed multiple, a handful, of voltages to run! :-(
  • KH: Let's try a back-of-envelope calc balancing energies. From MCP1700 datasheet, there are graphs for a 200mA load step. Estimate the energy shortfall as 12uJ. Say...
  • Daniel: It's been a week and my comment is still awaiting moderation. Apparently the CIA doesn't want their involvement known?