Didn’t find an answer to your question? Contact us if you would like to receive more information about Zerynth.
Just 60k-80k of flash, 3-5k RAM. Such footprint is achieved by writing the VM from scratch and choosing to remove the compiler and the repl from the microcontroller; to keep VM code at minimum the Zerynth uplinker has been developed; it is a firmware uploader that also links object code on the fly. This allows to flash a minimal VM on the microcontroller once and subsequently add to it only the necessary drivers embedded in bytecode.
No. Zerynth allows a mixed C/Python programming environment. This kind of “hybrid” programming is extremely powerful in scenarios where the project needs low-level code for time-critical tasks while keeping Python flexibility and readability for not time-critical sections.
Yes. The Zerynth Toolchain (ZTC) allows managing all the aspects of the typical Zerynth workflow. It can be used with a command line interface, like the common Linux, Windows or Mac terminals, or it can be integrated with a custom IDE. You can find more info in the dedicated section of the documentation.
Zerynth supports a subset of Python 3.4 and adds new embedded-friendly features. To make Zerynth suitable for microcontrollers constrained resources, support for generators, context managers and full-fledged closures has been made optional (will be compiled into the VM if needed). Moreover Zerynth has a new type, the shortarray, to handle 16-bit integer arrays. Also, Zerynth exceptions are lean and memory efficient, but still retaining the powerful debugging capabilities of tracebacks.
Yes. As Zerynth user you can create custom libraries for sensors and other components not yet supported. You are also free to create custom Zerynth Virtual Machines for your own hardware solutions if they are based on already supported chips. More info here.
In case your hardware mounts a not-supported chip, please contact us.
First of all, Zerynth provides only the software tools for programming the hardware. In particular, Zerynth is 100% “agnostic” towards hardware platforms. In fact, thanks to the Zerynth Virtual Machine, our tools are compatible with a wide range of 32bit MCU devices.
As a general sense, concerning the programming side of the most common prototyping platforms, the main advantage of Zerynth is that we provide an integrated stack that goes from the firmware development to the cloud connection.
Going to more detailed aspects, Zerynth offers the benefits of programming microprocessor-based boards like Raspberry Pi:
- Python language (or hybrid C/Python if necessary, and also Smart Idle times for Power Saving)
- Multi-threading support: in Zerynth each Python thread is a RTOS thread managed by a priority aware realtime scheduler
along with the great advantages of microcontroller-based boards:
- lower power consumption with respect to microprocessor-based boards
- lower hardware costs in the prototyping phase
- extremely lower hardware costs in the industrialization phase
All this, with a relatively tiny footprint of 60k-80k of flash, 3-5k ram
Basically 3 differences:
- Zerynth App is an element of a full stack, that starts from firmware programming, thanks to Zerynth Studio, to cloud connections, thanks to Zerynth ADM, to dashboard and GUI, thanks to Zerynth App. So you have a fully integrated environment for developing embedded and IoT projects.
- You can program the board in Python (instead of C/C++) and send events to your dashboard and visualize data through the Zerynth App. More info here
- You can’t build GUIs through a WYSIWYG editor, but you can start from simple GUIs to complete websites using JQWidgets, for example, or other libraries and frameworks. Note that templates are stored thanks to Zerynth ADM, and rendered through the Zerynth App as web page applications. More info here
No. Zerynth is 100% agnostic towards hardware platforms and cloud infrastructures. The stack is compatible with a wide range of 32bit MCU devices and with many proprietary cloud and monitoring systems, so you can use the third party tools that better fit your needs.
This is possible thanks to Zerynth Virtual Machine, the core element of our stack, that allows real hardware independence and code reuse on a wide range of 32-bit microcontrollers.
This is a very important advantage for Embedded Hardware Producer because Zerynth speeds up the adoption of new hardware and opens to the huge community of Python programmers.
The hardware independence feature is very important also for Product Designers and System Integrators. If you use Zerynth, when you switch from prototyping to production, you don’t need re-write the code for the new target board (probably cheaper than that one used for the prototype). The porting of boards, sensors, and cloud is an ongoing activity. Check out our services!
No. Zerynth has been developed from scratch, thanks to the support of a Kickstarter Campaign. Following you can see a more detailed comparison between Zerynth and Micropython.
- Zerynth has a smaller footprint
60k-80k of flash, 3-5k ram versus 80k-280k of flash and 8k of ram for MicroPython (see here). Such footprint is achieved by writing the VM from scratch and choosing to remove the compiler and the REPL from the microcontroller; the Zerynth Uplinker allows to flash a minimal VM on the microcontroller once and subsequently add to it only the necessary drivers embedded in bytecode. Zerynth is Python even more tuned to micros than MicroPython is. Let’s say that Zerynth is a Micro MicroPython.
- Zerynth features (multiple) RTOS for multithreading
In Zerynth each Python thread is a RTOS thread managed by a priority aware real-time scheduler; in MicroPython, in our best knowledge, there is a custom round robin scheduler. In Zerynth the RTOS threads written in C can live along the VM allowing for a mixed C/Python real-time environment.
- Zerynth supports C-Python programming
Existing C code (or C object code) can be easily mixed with Python scripts without VM recompilation. For example, the Broadcom SDK for the Particle Photon is embedded in bytecode and uplinked to a running VM. Existing C code can be included in MicroPython too, but a VM recompilation is needed.
- Zerynth supports a subset of Python 3.4 and adds new embedded-friendly features
To make Zerynth suitable for microcontrollers constrained resources, support for generators, context managers, and full-fledged closures has been made optional (will be compiled into the VM if needed). Moreover, Zerynth has a new type, the shortarray, to handle 16-bit integer arrays. Also, Zerynth exceptions are lean and memory efficient, but still retaining the powerful debugging capabilities of tracebacks.
- Zerynth has a cross-platform IDE built on a command line toolchain
Zerynth Studio takes away the burden of compiling the VM, of setting up various toolchains and tools (arm gcc, xtensa gcc, etc…) and gives an easy to use interface to code and debug embedded Python. For MicroPython no official IDE does exist. Zerynth is based on a command line toolchain to ease and automate the integration of the Zerynth workflow for programmers who prefer other development environments.
Yes. Zerynth is used by companies and teams to build amazing IoT and embedded solutions in different sectors. Once your solution ready, you’ll just need as many Zerynth VM licenses as the number of devices you’ll be releasing on the market, by flashing them through Zerynth Studio or in Mass Programming.
We explain it here. Basically, we needed a more recognizable name. Zerynthia the fascinating butterfly that inspired our new name. As caterpillars turn into beautiful butterflies after an intense transformation process, so great ideas can become perfect products if evolved using the right tools.