Is micropython ready to be used in commercial projects? #10715
Replies: 11 comments 14 replies
-
The company I work for has been using MicroPython commercially in medical devices for a number of years. It's a legit choice for commercial projects. You may be interested in watching @andrewleech's Profiling Pathogens with (micro) Python from PyCon AU 2019 that explains a little about how MicroPython is used commercially by our company. Specifically to your concerns:
Hope that helps, and AMA... 😄 |
Beta Was this translation helpful? Give feedback.
-
Hello sir, im thinking of using mp too for a commercial product but im concerned about someone just connecting to the serial port and reading the files and ip address. How your company manages this? Did you solve the OTA thing? Regards |
Beta Was this translation helpful? Give feedback.
-
My checklist to determine if a framework is ready for production is:
I tend to give an opportunity to MP once a year and every time I conclude it is still far from ready. I see developers working hard but getting very low results, it seems when they fix something but break something else. A good ovreall metric would be to see 0 bugs open on a simple feature, like I2C, if this is being a challenge, you can imagine the rest is going to be in a worse state. Sorry for bringing up the bad news but the current approach of things is unsustainable. I would focus on just a few platforms, do less things but do them perfect. |
Beta Was this translation helpful? Give feedback.
-
While many of your arguments are justified I think in a professional / production context you would select a certain board and get fully acquainted with it. Then you would do extensive testing of that board and do your own tests of the features you need. With this approach the number of bug reports in this GitHub repo should not be a real obstacle for you. Of course we have a big number of boards and a fragmentation of developer efforts across these boards and many many features. This may lead to frustration. Especially given the hype that MP has in the IOT world. |
Beta Was this translation helpful? Give feedback.
-
I have been using MP for around 4 years and after 2000 devices deployed in
the wild ,so far so good.
I use Pycharm as development tool with a hal.py file to handle my esp32 and
MP specific stuff.
Then 99.5% of the code runs on my PC so I run tests etc etc
My 2 cents
…On Tue 20 Feb 2024 at 20:30, Robert Hammelrath ***@***.***> wrote:
You forgot the irony tag!
But I know the behavior you talk about. The only "justification" would be,
that issues are not severe if they are reported only once. So the might not
be important.
—
Reply to this email directly, view it on GitHub
<#10715 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAYEPRDCYFSLXUHH6F66VADYUT2WTAVCNFSM6AAAAAAUYR52VGVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DKMZUGM4DG>
.
You are receiving this because you are subscribed to this thread.Message
ID: <micropython/micropython/repo-discussions/10715/comments/8534383@
github.com>
|
Beta Was this translation helpful? Give feedback.
-
Can Micropython be used as a platform for teaching programming? Yes, that's a great idea! There are at least projects:
There is a simple Mu editor for these boards and many code examples on the Internet. Can Micropytho be used for rapid prototyping? I highly doubt it! The fact is that each of the above projects has a rather limited set for working with the internal and external peripherals of the microcontroller. This imposes serious limitations on the ability to use the system right out of the box. You need to look for libraries or write your own for specific hardware or peripheral microcontroller module. Can Micropytho be used for commercial applications? Definitely not worth it! Let me list the problems you will encounter:
|
Beta Was this translation helpful? Give feedback.
-
Micropython is 10+ years old, but I can't find even 10 successful commercial projects based on it. I'll explain to you why: This is a diagram of the learning curve in different languages by skill level, so that a successful commercial project could be written based on them. |
Beta Was this translation helpful? Give feedback.
-
In other words: "There are only two kinds of programming languages: the ones people complain about and the ones nobody uses" |
Beta Was this translation helpful? Give feedback.
-
A list, show a list of products. (The more specific and clear the answer is the better.) Plus I don't believe you are doing audio, I tried and had to give up because there are many things broken (i.e: can't do I2S and wifi, yo get lost of missing samples, bug still open) my opinion is that the code is a mess, no unit tests, maintainers prefer to be inefficient and ask for more money. |
Beta Was this translation helpful? Give feedback.
-
Next to no commercial projects in the market ever publish what coding platform is used behind the scenes! How many commercial products use stm cube? How many use riot? No one actually knows because this isn't published data. I know zephyr has a page showing off a handful of products based on it which is nice marketing certainly, but after that who knows. That being said it would be quite neat to get a similar page for micropython, it's fun to read about other success stories and would help answer questions like this discussion! Fwiw I work at Planet Innovation alongside @mattytrentini. As he said earlier we've released a number of products built on micropython. In our case we work on a lot of products and generally have 5 preferred platforms, embedded linux, embedded windows, micropython, zephyr and mobile. Depending on the project requirements we pick which one of these platforms fits best. Personally I find it much easier to design and architect / structure a larger bare metal project in micropython (add opposed to C/C++), with the ease of module reuse between projects one of its biggest benefits. Asyncio and memory safety are also huge benefits making multitasking much safer and easier than traditional threads. |
Beta Was this translation helpful? Give feedback.
-
We have a commercial product running micropython, although we don't advertise that, as the end customers don't really care what language the firmware is written in. Our device is a remote monitor for tanks/containers operating offshore and/or in hazardous areas. It is solar powered with GSM and satellite connectivity (via SWARM and ASTROCAST). Our product is also intrinsically safe and IECEX zone 0 certified, which means you can put it inside the fuel tank of your car/aircraft and not have to worry about a fiery death. It has been deployed in Australia, Europe and South America and we do OTA updates when required. Would it run faster and be more energy efficient if the firmware was written in completely in C, probably, would the product exist in the marketplace, probably not. Horses for courses...... |
Beta Was this translation helpful? Give feedback.
-
Hello, I have been focusing on the micropython project for several years now and I can see the progress in this project. But I still have some doubts. In my opinion, micropython can be an amazing tool for high-level programming on a microcontroller, because we have a very good hardware abstraction, data processing, IoT or machine learning (increasingly popular) is a good tool, but...
Thank you for your answers and best regards :)
Beta Was this translation helpful? Give feedback.
All reactions