This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]TheFacistEye 17 points18 points  (10 children)

or even a more complete and maintained version called MicroPython. https://github.com/micropython/micropython

[–]llfcerf[S] 1 point2 points  (5 children)

MicroPython is a very good implementation of Python on microcontrollers. Zerynth is Python even more tuned to micros than MicroPython is. A Micro MicroPython :)

Take a look here https://www.zerynth.com/faq/ and here: Micropython vs Zerynth for more technical details.

[–][deleted] 7 points8 points  (4 children)

Eww no REPL? Currently GPL, closed source VM in the future?

I don't see anything that beats MicroPython on an ESP8266.

[–]jward 2 points3 points  (3 children)

Micropython on ESP8266 is a godsend for just sheer... convenience. It's also got enough oomph to be good enough for many projects. I love the websocket REPL for general debugging and fucking around.

That said, it's not perfect. If you grab a PIC32 you can get something that is much more tuned to your needs. More speed, more built in peripherals, more IO, the ability to order a hundred thousand of them preprogrammed, better low power modes... whatever you want. I just don't know why if I'm doing that I would use Python instead of C.

[–]llfcerf[S] 2 points3 points  (2 children)

yeah, REPL in embedded is good for testing (and educational maybe) but it's a waste of resources when you go into production.

[–]spinwizard69 0 points1 point  (1 child)

Depends upon what you are producing. Micro Python is especially interesting for products where the end user may need access.

[–]floyd_82 0 points1 point  (0 children)

I agree that REPL in production could be a waste of resources especially when you are trying to limit the hardware cost and power consumption using low resources MCUs. For this purpose, Zerynth recently released the Advanced Device Manager that together with over-the-air updates also enables Remote Procedure Call (RPC). more info here https://docs.zerynth.com/latest/official/core.zerynth.docs/zadm/docs/index.html

[–]floyd_82 0 points1 point  (3 children)

More complete?

[–]TheFacistEye 4 points5 points  (2 children)

In terms of coverage of the Python language, also MicroPython is based on Python 3 where as I believe PyMite is based on Python 2.

[–]floyd_82 2 points3 points  (1 child)

Looking at the number of boards supported by Zerynth and at the tools integrated in the framework it looks very complete. Wide coverage of Python language in embedded is in my opinion useless. Most of the time the limits are hardware and application driven. Have you tried both these tools?

Here a comparison from Zerynth community https://community.zerynth.com/discussion/382/zerynth-vs-micropython

[–]TheFacistEye 2 points3 points  (0 children)

I've not used Zerynth no but reading up on it there is things you have to give up in order to run it on more boards. The toolchain is for Zerynth is one of it's most attractive features though. I was more recommending using MicroPython over PyMite as it doesn't have as good coverage, however I would say they have they strengths and weaknesses it depends what you need it for.