Newsletter / August 15th, 2019

With this newsletter we are highlighting some of the developments which were important for us in the last month. If you would like to receive future newsletters per e-mail, please register in the form in the top right of our low.js homepage.

What’s this about?

low.js is a port of Node.JS for (ESP32 based) microcontrollers. With low.js we are bringing ease of programming, scalability of programs and easy connectability to the Internet on to small devices.

You can find boards in any form factor to use low.js on
(BTW: If you need a custom board, just contact us)

News 1) OPC-UA client support

The main development which kept us busy was to implement a natively written, and thus fast low.js software module for communicating with OPC UA servers. The API is usable in the typical 100 % non-blocking low.js way.

With this, a low.js based controller such as the neonious one can be used as the brain of larger industrial machines. This allows to interface the machines in more modern ways: The machine can be controlled via a self-served website in a self-served Wifi access point. Or, the machine can be connected to the cloud. All with just a few lines of JavaScript code.

A typical PLC controller (Source: Wikipedia)

This solution is easier to program (according to our customers) than the PLC controllers which are often used instead and cheaper.

As an example, here in our low.js examples repository, you can find a ready to use low.js class to interface the B&R X20BC008U bus controller and read/write all GPIOs of attached X20DI* and X20DO* devices. All GPIOs of a device are read and written at once for most efficiency. GPIO reads are pushed to the microcontroller via subscriptions, so you can listen for them without using CPU.

News 2) Preinstalled goodies

We noticed that the ws module, which implements WebSockets, is very popular. For convenience, low.js installations now come with the ws module from npm preinstalled. It can of course be deinstalled with the built-in package manager.

This allowed us to update the preinstalled example program on the neonious one. The website it serves via the Wifi access point of the device now features a chat box where you can chat with everybody else who has the website open.

The website served by the preinstalled example program on the neonious one.

If you do not want to buy a neonious one, you can find the source code for the chat box example here in our low.js examples repository.

That’s it for now. Thank you for reading!