5 ms·
MicroPythonOS – An Android-like OS for microcontrollers
- deleted 1y ago[deleted]
- dlcarrier 1y ago…for very large definitions of microcontroller
- skatingaway 1y agoRight? If it needs >1MB flash lol no.
- kej 1y agoThe name makes it seem like it's related to the MicroPython project, rather than just written in it, which feels slightly misleading to me.
- lodovic 1y agoIt 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.
- askvictor 1y agoIn 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)
- tacticalturtle 1y agoSerious 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.
- MrGilbert 1y agoAgree. There are other puns possible for wifi: Name: GoGoGadgetInternet Password: Inspector
- heisenzombie 1y ago“PrettyFlyForAWiFi”
- kurisufag 1y agoall work and no play makes jack a dull boy. having a little fun spurs good work and vice versa.
- outadoc 1y agoYour definition of fun is scary
- aleatorianator 1y agoandor you are a coward. then again it's a scary time to be alive
- tecleandor 1y agoHey! Take it easy with me!
- deleted 1y ago[deleted]
- tecleandor 1y agoOoooops, I didn't notice it on a first quick look. Yeah, I'm with you.
- surajrmal 1y agoWhere do you draw the boundary? Can I no longer enjoy watching space jam because it contains songs by R Kelley? A WiFi SSID which is a pun from a popular song seems pretty far removed from promoting or celebrating R Kelley.
- bloqs 1y agoThe R Kelly references show a total lack of social/societal awareness. remove asap
- wokemindviruz 1y ago[dead]
- mrheosuper 1y agoThose 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.
- daemonologist 1y agoThe 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.
- 01HNNWZ0MV43FF 1y agoMicroPython'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
- Rohansi 1y agoYou 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.
- pjmlp 1y agoIf 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 https://en.wikipedia.org/wiki/BASIC_Stamp
- askvictor 1y agoIt'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.
- travisgriggs 1y agoI 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 1y agoI haven't used MicropythonOS per se, but Micropython is pretty efficient, and can utilise interrupts and sleep modes
- nunobrito 1y agoCompared to other microcontrollers: ESP32 is very power hungry. Shiny displays are very power hungry, Wi-Fi is power hungry. So expect to draw about 5 watts/hour continuously while in operation with all bells and whistles. With this said (I'm also using them for off-grid) you will need to put them to sleep and only use the display when absolutely needed for most scenarios. I've recently started using devices with e-paper display which at least solve that nuisance of the display power draw: https://www.waveshare.com/wiki/ESP32-S3-ePaper-1.54 https://www.waveshare.com/wiki/ESP32-S3-ePaper-1.54 The last thing to keep in mind is heating. They will warm quite a bit and you should consider a way to either keep them cooled or make them sleep enough to cooldown, otherwise they will reboot or stop working until they are cooled again.
- shakna 1y agoAs an alternative: MicroHydra [0] Also, if you hate the REPL app, bug me to fix it. [0] https://github.com/echo-lalia/MicroHydra https://github.com/echo-lalia/MicroHydra
- p0w3n3d 1y ago"Android-like" term is pejorative these days. What do you mean? Closed app store with throwing out old software because so?
- rangerelf 1y agoIf only you'd bothered to quote the rest of the sentence: "Android-like touch screen UI with gestures" Could have used also "IPad-like..." or "IPhone-like..." and it would have meant basically the same. Maybe author is more familiar with Android? PS: What's with all the outrage manufacturing?
- stephenanand1 1y ago[dead]
- Citizen_Lame 1y agoHidden project members, masked domain info and offshore hosting designed to avoid dcma. No thanks.
- fukka42 1y agoTo most of the world the United States is offshore. Recent developments have also made the US unreliable as a hosting provider.
- opless 1y agoIn countries other than the USA there are strict controls on personal information. The UK/European countries have GPDR for example.
- Citizen_Lame 1y agoThis has nothing to do with GDPR, but nice try. By default you need to provide your details for domain registration, to hide these details is optional. Nothing wrong with that, but coupled with hiding yourself on open source project as well and coupled with host which proudly advertises: Dedicated Servers & VPS with DMCA Ignored Hosting No, thanks. Probably Russkis but still.
- deleted 1y ago[deleted]
- joezydeco 1y agoHaving the support chat on Telegram is really sketchy. No thanks.
- opless 1y agoActually the entire whois database is "privacy protected" because of GPDR (if my memory is correct) Thankfully, because I used to get postal scams for the hundred or so domains I used to host. You good for tinfoil bro?
- 1y ago
- mystralBorne17 1y agoA great playground for learning embedded systems, even if not ideal for every production use case.
- fxj 1y agoDoes it run on M5Stack Tab5 or the CARDPUTER? Did anyone try?
- AstroJetson 1y agoOh that would be cool. The current list of hardware has two boards. So the answer to your specific question is "No." You might want to look at upyOS all it needs is micropython running. https://github.com/rbenrax/upyOS https://github.com/rbenrax/upyOS I've added this to my "try someday list"
- q3k 1y agoGiven 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!)
- nomel 1y agoI've never had a problem, but I use it for microcontroller type things. Do you have any GitHub issues related to this?
- tacticalturtle 1y agoI had a problem with the ESP32 implementation specifically. The micropython implementation itself runs as a task under ESP-IDF, rather than bare metal, which is the case on some other microcontrollers like rp2350. So it doesn’t have access to the full resources of the board - as a good chunk is reserved for IDF. I had a project where I had would make repeated API calls, which returned small to moderate json payloads. To avoid running out of heap, I had to constantly force python garbage collection. That took a long time, so I wasn’t able to call the APIs on the intervals I needed. Eventually I gave up and moved to using ESP IDF directly, which IMO was super easy to do - Espressif has made a great integration with VS Code. If anyone’s on ESP32, i would skip micropython.
- nomel 1y agoI don't think that deserves to be categorized as a "reliability" problem. I don't think that's technically a reliability problem. Sounds like it was reliable, with the problem being that it's much much slower than bare metal (a very well known thing), with the microcontroller not having the required processing power to service your task in that context. Dropping into C for performance critical code is something you sometimes need to do with python, regardless of platform, because it's slowwwwww anywhere it runs. You'll always hit a ceiling, and much much sooner on a microcontroller.
- yuye 1y ago>If anyone’s on ESP32, i would skip micropython. I've used MicroPython for prototyping. It's quite nice with its REPL. However, for more than a simple proof of concept I wouldn't use MicroPython at all, on any platform. My personal gatekeepey opinion is that if you want to learn embedded, you really should go for C. (C++ or Rust also exist, but C should be the first)
- spwa4 1y agoI wish someone would make a wasm version of this. Should be doable and support many more languages.
- sherinjosephroy 1y ago[flagged]
- Western0 1y agonice gui please make it in SDL3
- Western0 1y agoThis device no have a power. Your system can run solar panel and battery?