| ▲ | MicroPythonOS – An Android-like OS for microcontrollers(micropythonos.com) |
| 125 points by alefnula 4 days ago | 31 comments |
| |
|
| ▲ | travisgriggs 7 hours ago | parent | next [-] |
| I work on the micros that aren’t plugged I to a grid. So solar and batteries and the like. In that world, power consumption is everything. Interrupts and aggressive sleeping of your processor are you biggest tool. Does anyone have any experience with current draw of typical pieces of “firmware” using this? I see that it’s on the larger side of what feels like micro, BUT tomorrows micro has been growing heaps over yesterdays micros for a long time, so I can ignore that. |
| |
| ▲ | askvictor 5 hours ago | parent [-] | | I haven't used MicropythonOS per se, but Micropython is pretty efficient, and can utilise interrupts and sleep modes |
|
|
| ▲ | tacticalturtle 8 hours ago | parent | prev | next [-] |
| Serious recommendation: I would not have R. Kelly anywhere on your project page. If you’re trying to give a 30 second elevator pitch about what your project does, you should not have a name be a guy spending 30+ years in prison for child sexual abuse. |
| |
| ▲ | tecleandor an hour ago | parent | next [-] | | Ooooops, I didn't notice it on a first quick look. Yeah, I'm with you. | |
| ▲ | MrGilbert 5 hours ago | parent | prev | next [-] | | Agree. There are other puns possible for wifi: Name: GoGoGadgetInternet
Password: Inspector
| | | |
| ▲ | kurisufag 4 hours ago | parent | prev [-] | | all work and no play makes jack a dull boy. having a little fun spurs good work and vice versa. | | |
|
|
| ▲ | q3k an hour ago | parent | prev | next [-] |
| Given my experience with micropython's reliability... no thanks. (in general actively using a heap in a constrained environment is just asking for trouble... fragmentation _will_ get you!) |
|
| ▲ | shakna 6 hours ago | parent | prev | next [-] |
| As an alternative: MicroHydra [0] Also, if you hate the REPL app, bug me to fix it. [0] https://github.com/echo-lalia/MicroHydra |
|
| ▲ | dlcarrier 8 hours ago | parent | prev | next [-] |
| …for very large definitions of microcontroller |
| |
|
| ▲ | spwa4 37 minutes ago | parent | prev | next [-] |
| I wish someone would make a wasm version of this. Should be doable and support many more languages. |
|
| ▲ | fxj 4 hours ago | parent | prev | next [-] |
| Does it run on M5Stack Tab5 or the CARDPUTER?
Did anyone try? |
|
| ▲ | Citizen_Lame 5 hours ago | parent | prev | next [-] |
| Hidden project members, masked domain info and offshore hosting designed to avoid dcma. No thanks. |
|
| ▲ | mystralBorne17 5 hours ago | parent | prev | next [-] |
| A great playground for learning embedded systems, even if not ideal for every production use case. |
|
| ▲ | bloqs 7 hours ago | parent | prev | next [-] |
| The R Kelly references show a total lack of social/societal awareness. remove asap |
|
| ▲ | kej 9 hours ago | parent | prev | next [-] |
| The name makes it seem like it's related to the MicroPython project, rather than just written in it, which feels slightly misleading to me. |
| |
| ▲ | askvictor 5 hours ago | parent | next [-] | | In a way, MicroPython already is an OS, in that it provides a bunch of services (filesystem, network, scheduling). It's up to you whether you want to access those through a script or a command line (repl) | |
| ▲ | lodovic 7 hours ago | parent | prev [-] | | It looks really nice, but agreeing on the naming - it's not really an actual OS, more like a dashboard toolkit, or a set of widgets. |
|
|
| ▲ | mrheosuper 7 hours ago | parent | prev | next [-] |
| Those tech bros should just...stop. SBC is already cheap enough that you can throwaway without caring anything. Stop bloating MCU with....useless stuff. If anyone suggest me "Python in mcu" professionally, i would never be able to trust them again. |
| |
| ▲ | pjmlp 6 hours ago | parent | next [-] | | We aren't in the 1980's any longer, most of these systems are way more powerful than a typical 16 bit home computer, and incrediblly as it sounds, those 16 bit home computers still had better tooling than most MCUs have nowadays. Anything that brings MCU tooling into the 21st century is very much welcomed. | | |
| ▲ | pkphilip 2 hours ago | parent [-] | | Agreed. It is really nice to have an OS like this. It will get a lot more people involved in the development. I would even think of scaling this up to more powerful processors and perhaps have it even on smartphones. |
| |
| ▲ | daemonologist 7 hours ago | parent | prev [-] | | The advantage of micropython is that you don't have to deal with all the poorly maintained toolchains and UART and flashing and whatnot; for a novice working on their own, that stuff is a nearly insurmountable barrier. That the syntax is Python doesn't make a whole lot of difference. I agree though, probably shouldn't be the first choice for a professional application. | | |
| ▲ | askvictor 5 hours ago | parent | next [-] | | It's actually a great first choice for a professional application, in that you can get a prototype up and running much faster than a native SDK, iterate quickly, and try things out on a repl. In fact, it's used in industrial settings, including in medical devices and energy distribution. | |
| ▲ | 01HNNWZ0MV43FF 7 hours ago | parent | prev [-] | | MicroPython's a bytecode interpreter so, other than the existing Python ecosystem being a huge boon (popularity being a form of strength), you could get many of the same benefits and more from wasm | | |
| ▲ | pjmlp 5 hours ago | parent | next [-] | | If we forget about the pain that most WASM toolchains happen to be. MicroPython, like most BASIC interpreters in 8 bit days, also allows for inline Assembly. As for running bytecode on MCU that is as old as MCU themselves, wasm doesn't bring anything to table. https://en.wikipedia.org/wiki/BASIC_Stamp | |
| ▲ | Rohansi 6 hours ago | parent | prev [-] | | You can actually opt-in to native compilation on a function level so it's not just a bytecode interpreter. You can also compile it yourself with additional functionality written in C/C++ and just use Python for the glue that isn't performance sensitive. |
|
|
|
|
| ▲ | p0w3n3d 6 hours ago | parent | prev [-] |
| "Android-like" term is pejorative these days. What do you mean? Closed app store with throwing out old software because so? |