![]() |
Forum Index : Microcontroller and PC projects : MicroPython
Author | Message | ||||
JohnL Senior Member ![]() Joined: 10/01/2014 Location: SeychellesPosts: 128 |
http://micropython.org/ Have been keeping an eye on this for a while and finally got a chance to start playing with it on STM32F407 Discovery board during the last couple of days. You can buy their own board that works straight out of the box, maybe a bit pricey. It is a Python 3.4 written from ground up for microcontrollers that runs on bare metal, unlike Raspberry pi that needs an operating System to boot from SD card. I am very impressed with the ease, simplicity and power. It is an interpreter like Basic with a serial console for immediate control. Programming is extremely simple, in windows use Notepad (or more elaborate editor) as text editor, write program as text and save to board (appears as USB disk) as a text file. Board appears as a USB drive on PC . Some people don't like python for strict tab indents (white space) when writing programs. I don't see it as problem and have not had any problems with copy/paste code. proper indents make the code look neat and legible anyway. Python is probably a modern version of Basic that can be simpler than Basic or more complex depends on you ability and preference , with very simple and powerful features like string/array (Lists, Dictionaries) handling, file handling etc. Basic string handling looks ancient and complex in comparison. MicroPython is now fairly mature and stable, runs on variety of popular microcontroller boards. Plenty of documentation, tutorials and a good active forum. Most of the initial board setup info. is related to Linux and it took me a bit of time to get the right information on how to set up STM32f4 Discovery board on Windows 7. Looks like another good alternative for easy embedded controller programming. |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |