Live data from Hacker News

MicroPythonOS – An Android-like OS for microcontrollers

micropythonos.com

61–70 of 71 posts

Re: MicroPythonOS – An Android-like OS for microcontrollers

#61

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 yes…

Compared 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-p…

Depends... do you need wifi, screen and others always on? can you wake some on a timer? on user interaction? on interrupts?

https://lastminuteengineers.com/esp32-sleep-modes-power-cons...

You can use those sleep modes in micropython as well

https://randomnerdtutorials.com/micropython-esp32-deep-sleep...

Re: MicroPythonOS – An Android-like OS for microcontrollers

#62
post #56

Earlier quoted context omitted.

I've never had a problem, but I use it for microcontroller type things. Do you have any GitHub issues related to this?

I 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.…

I 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.

Re: MicroPythonOS – An Android-like OS for microcontrollers

#64
post #48

Hidden project members, masked domain info and offshore hosting designed to avoid dcma. No thanks.

But how do you know it's offshore to them?

In this scenario offshore means out of western jurisdiction. This is something hosting provider advertises.

Re: MicroPythonOS – An Android-like OS for microcontrollers

#65
post #50

Earlier quoted context omitted.

Rather you would say it draws 5 watts. If someone is interested in draw over a period, e.g. over one hour, you'd say it used 5Wh in that period.

> If someone is interested in draw over a period, e.g. over one hour, you'd say it used 5Wh in that period. Wh per hr? Let's just cut through the confusion and say it draws (J/s)Hr / Hr. :P More seriously, if you are interested in energy the "correct" SI unit is J although in electrical applications [k/Mega/Giga]Whr is common. If you are interested in energy draw over a period, aka power, the "correct" and common uni…

In the offgrid world we look constantly at batteries and they often express themselves in Wh. So it is a habit to measure anything else that way to avoid confusions.

Re: MicroPythonOS – An Android-like OS for microcontrollers

#66
post #58

Earlier quoted context omitted.

This 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.

Actually 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?

I am not your bro, and no you are not correct.

Re: MicroPythonOS – An Android-like OS for microcontrollers

#67

Earlier quoted context omitted.

Where 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.

I knew this comment was coming on HN. The answer, as the other commenter suggested, is that I’m providing feedback for technical communication. If your documentation or marketing materials are making me focus on unreadable font choices or poor color schemes, it’s not doing it’s job. Similarly, if your marketing materials are making me think about a convicted sex offender instead of your project, they’re not doing the…

[dead]

Re: MicroPythonOS – An Android-like OS for microcontrollers

#68
post #25

Does it run on M5Stack Tab5 or the CARDPUTER? Did anyone try?

Oh 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

I've added this to my "try someday list"

Re: MicroPythonOS – An Android-like OS for microcontrollers

#69

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.

This software stack targets a $17 ESP-S3 board that comes with an integrated touch screen, 8 MB of PSRAM and 16 MB of flash. https://www.waveshare.com/esp32-s3-touch-lcd-2.htm

The luckfox pico mini is $7 SBC with cortex A7 and 64MB of ram, that is what they should target.
Post reply on HN