Python for microcontrollers


    On Kickstarter, fundraising for a project to create an Arduino-like board and a special version of the Python interpreter for it ends in two days.

    Micro Python is a Python implementation optimized to run on 32-bit ARM microcontrollers.
    Some implementation features:
    • Python 3.3 syntax is used;
    • can execute files, and also has a command line interface;
    • optimized memory usage, compilation and launch of "hello, world" require about 4 KB;
    • not all standard Python libraries are implemented;
    • assembly inserts can be used;
    • etc.


    Here is an example of a script that flashes an LED every two seconds:
    image

    Micro Python board - a board based on the STM32F405 microcontroller, which operates at a frequency of 168 MHz and has 1 MB flash memory and 192 KB of RAM. The board has a size of 33 by 40 mm. A microUSB connector, a microSD card slot are soldered on the board, there is an accelerometer and 30 input / output ports.
    image

    Now a little about financing.
    To date, more than 70 thousand pounds have already been collected (15 thousand were planned), so the author promises a few goodies:
    • Wi-Fi connection via CC3000 module;
    • Ethernet connection through the WIZ820io module;
    • Radio transmitter support NRF24L01 +.

    Today, the minimum investment to get a Micro Python board is £ 24.
    Judging by the fees, the campaign can be considered successful, which means that the project will be made publicly available under Open Source Software and Open Source Hardware licenses.

    upd A new video has appeared showing how to write a simple script and run it on the board.

    Also popular now: