Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 20:40 17 Sep 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : MicroPython

Author Message
JohnL
Senior Member

Joined: 10/01/2014
Location: Seychelles
Posts: 128
Posted: 03:05pm 26 Dec 2015
Copy link to clipboard 
Print this post

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.

 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025