Just putting my hand up to say that MicroPython is awesome (and runs on the RP2040). https://micropython.org. - Source: Hacker News / 3 months ago
If you really want to engage in the travesty that is shoehorning a high level scripting language into an environment that has 512 bytes of RAM and less clock cycles than an electric toothbrush, there is micropython. Source: 5 months ago
I favor micropython[0]. Besides being Python, which I prefer, it actually runs on m68k and RISC-V. 0. https://micropython.org/. - Source: Hacker News / 6 months ago
Needed for hobby project, maintained by very small team. Haven't decided on specific microcontroller. Needed for general bit-banging, speed and code size are not priorities. So far have considered MicroPython [0] [1] and Lua [2] [3], but open for suggestions for others. What are experiences? [0] https://micropython.org/. - Source: Hacker News / 8 months ago
Python is also a general-purpose programming language. It's typically used on desktop / laptop computers. But Micropython is a variant that can be used to program embedded devices. Source: 10 months ago
On bare metal/RTOS embedded platforms, the scripting language is used instead of C/C++ to program the device. Common examples are Lua and Micropython, but JavaScript and Ruby have also been used this way. Source: 11 months ago
I now use Python everywhere. Desktop (PySide), embedded (MicroPython), web dev (React via Transcrypt), mobile (Kivy), and just general scripting. I love the versatility of Python, the ease of reading it without the visual cruft of other languages, and the availability of existing libraries that do just about everything you can think of. I also agree with the OP on the welcoming attitude of the Python community.... Source: 11 months ago
It also runs MicroPython really nicely. Here's how: Getting started with MicroPython on the ESP8266. Source: 12 months ago
I would suggest that installing and using MicroPython to do this would be much easier. Source: 12 months ago
I already flashed esp32-20230426-v1.20.0.bin file I got from micropython.org, but for some bizzare reason I cannot seem to be able to connect to the board with anything that isn't Arduino IDE Serial Monitor. Serial connection is some noname esp32-cam-mb board. Source: 12 months ago
If you want to work with robots, try giving a search for embedded programming (you can even do it in a language similar to python: micropython). Source: 12 months ago
I'm aware of two versions of Python for microcontrollers. Micro Python and Circuit Python. Source: about 1 year ago
You can literally use python for microcontrollers https://micropython.org/ But it really isn't just a matter of what runs faster is better. It really depends what sort of area you want to work within as to what the best language to learn will be. Game development, C++, machine learning and AI, probably Go, Data Engineering, that'll likely be python. But equally for the most part each language can be used for any... Source: about 1 year ago
Boot.py and main.py comes from Micropython. Source: about 1 year ago
I was looking at using MicroPython, but the purpose of that one seems to be replacing my C firmware and using MicroPython as the firmware instead. Source: about 1 year ago
That is great information, but perhaps it would be even more interesting with a comparison focusing on supported features, standard library support, and so on. MicroPython [1] is designed for "real" embedding, i.e. In the "embedded development" sense, on microcontrollers and so on and seems quite successful in that niche. Those are often a smaller target than a game running on either a phone/tablet or PC,... - Source: Hacker News / about 1 year ago
The lowest friction way would probably be to get some microcontroller that can run MicroPython. Source: about 1 year ago
Http://www.dabeaz.com/python-distilled/ I would recommend compiling a debug build of Python and stepping through it while it executes your script, even if it takes you an entire day for a simple script. Python is a big dictionary sandwich. Everything is a dictionary, even dictionaries. What does A.b.c() do? You do not need to know the Python internals. The semantics are good enough, but the leak through... - Source: Hacker News / about 1 year ago
This. There’s a reason MicroPython ( https://micropython.org ) exists. It runs in 16kb of memory. Not everything has to be done with a chisel and stone in C. Source: over 1 year ago
There's a python implementation specifically targetting microcontrollers. Source: over 1 year ago
Look into MicroPython. You'll have better luck with weight and power consumption if you stick with microcontrollers instead of an SoC like a Pi. Source: over 1 year ago
Do you know an article comparing Micro Python to other products?
Suggest a link to a post with product alternatives.
This is an informative page about Micro Python. You can review and discuss the product here. The primary details have not been verified within the last quarter, and they might be outdated. If you think we are missing something, please use the means on this page to comment or suggest changes. All reviews and comments are highly encouranged and appreciated as they help everyone in the community to make an informed choice. Please always be kind and objective when evaluating a product and sharing your opinion.