Node Red on Raspberry pi - An IoT beast

Node Red - a drag and drop / flow programming mode editor with node js server on the back-end. The software is more event driven and non-blocking model.

It provides a browser-based flow editor that makes it easy to wire together flows using the wide range of nodes in the palette. Flows can be then deployed to the runtime in a single-click.

The best part of Node-Red is its integration of various sensor and hardware in raspberry pi. Node-Red can also be used for non IoT product or service development. But, on General scope, it paves way for easier IoT model products.


The programming Languages used inside node red are HTML, JS, JQuery and CSS - all these are for UI.

As you can integrate various other technologies inside a node js server like SQL lite or Influx db which leads to SQL querying too.

For securing the server, npm packages available to maintain username and password.

npm-packages is a huge repo having libraries for most hardwares. Node-Red can be integrated with PLC and used as an alternative to old style HMI to a web-based Dashboard with modern analytics.

Integration sensors in Node-Red is really more simple and helps in rapid development. For example, reading temperature data from a DHT11 sensor is very simple by connecting the sensor to raspberry pi as normal one.

using the command npm install node-dht-sensor or installing via Manage palette - from the palette add the rpi-dht and select the dht11 and get the output.

For me, personally this flow editing programming is very much interesting than normal programming mode. This programming is similar to visual mode of python.

If you need tutorials of Node-Red series, let us know in comments.

Post a Comment

0 Comments