Want to stay informed? Share your e-mail address for news:

Click here for our GitHub Repository

Node.js for Microcontrollers

With these comparisons we would like to explain which advantages low.js offers and in which situations you should best use low.js.

low.js vs. Arduino

Programs written for the Arduino microcontroller board platform are called Sketches and are written in simplified C/C++ language with the Arduino API.

Arduino is widely used, so for almost any purpose somebody has already written a library and an example which can be used as a template for a new project.

Where it becomes difficult to use Arduino is:

These two flaws are strengths of low.js.

low.js vs. ESP-IDF

ESP-IDF is the low-level development framework for programming the ESP32 chips, provided by the chip maker Espressif itself.

Programming with ESP-IDF requires knowledge of C/C++ and of microcontrollers internals (interrupts, FreeRTOS). For a programmer with this knowledge, it is a very flexible framework to program with, allowing the user to get the most out of the ESP32 chips.

In fact, low.js itself is developed on top of a modified version of ESP-IDF.

low.js is far easier and less time consuming to program with than with ESP-IDF, often producing the same results with far less lines of code.

low.js vs. Espruino

Espruino is another JavaScript runtime for microcontrollers. It runs on far less powerful microcontrollers than low.js does. This comes at the cost of not taking advantage of the possibilities of the more powerful microcontrollers such as the ESP32:

low.js vs. MicroPython

MicroPython is a port of Python for microcontrollers, just as low.js is a port of Node.js for microcontrollers. With both microcontrollers can be programmed easily.

The arguments for low.js vs. MicroPython are the same as for Node.js vs. Python:

But, MicroPython is the better choice if your Python skills are better than your JavaScript skills already.