Home > News > Node-RED, the visual programming tool for Internet of Things
11 May 2020

 

From the beginning of programming, one of the industry’s main challenges has been to facilitate the applications development to simplify the integration between the hardware devices, the software and us, the humans. Thanks to Node-RED we are much closer of this goal. Programming, without programming.

What is Node-RED and what is it for?

Node-RED is an open-source development tool based on visual programming that was created by IBM to connect hardware devices, APIs and online services.

Node-RED is a solid tool, easy to learn, and it does not require any programming knowledge. It has been consolidated as one of the main applications for real-time data management and transformation for IoT and Industry 4.0 solutions.

Node-RED allows to graphically connect predefined blocks, called nodes, to develop a concrete task. The nodes connection, usually a combination of input nodes, processing nodes and output nodes, when wired together, make up a flow.

Among all the available nodes we can find standard protocols as MQTT, REST, Modbus, OPC-UA, Bacnet, Websocket; and third party API integrations as Microsoft Azure, Amazon Web Services, Twitter, Facebook and many more.

 

Node-RED MQTT Modbus Flow Example

 

Where can I install Node-RED?

Node-RED is built on Node.js, taking full advantage of its power and assuring scalability, liability and low hardware requirements. These features allow to run Node-RED in personal computers, cloud servers and low-cost embedded hardware.

If you want to take your first steps in Node-RED you just need to click here to access to all the documentation. Follow step by step how to install the tool on your computer, your cloud services regular provider or your embedded device eManager.

 

Nodes library

The nature of the tool, being open source, and the facility to develop new nodes, come together into a nodes library which grows each day with new community contributions.

Nowadays we can find more than 2500 available nodes in the Node-RED official library, including Smart Home integrations, converters between IoT protocols, geolocation functions, OAuth2 authentication and many more.

 

Hello world in Node-RED

To conclude this article there is no better way than taking your first steps on Node-RED generating the classic Hello world. Below, we show step by step the process to achieve it:

Message creation with Inject node

  1. If you are running Node-RED on your computer, you can access http://127.0.0.1:1880 or whatever address or hostname you’re using
  2. If it is our first time in Node-RED, we will see a flow named Flow 1
  3. On the node palette on the left side of the Node-RED, we will select the Inject node and will drag it onto our flow
  4. In order to edit the node we will double click on it. After that, we will select string on the Payload field and we will write Hello world!
  5. Once we finish the previous steps, we click Done
Node-RED Hello world

Printing our message

  1. In order to add a destination for our message we will select the Debug node. We will click and drag it onto our flow. It’s very important to place it on the right-hand side of the Inject node
  2. To connect both nodes we just need to click the Inject node's output and drag it to the Debug node's input. A wire that links both nodes will be created
  3. Debug node will automatically print the message to the console window as we will see in the next step
Node-RED Hello world

Deployment

  1. In order to start our application you must click on Deploy button
  2. Now click the Debug tab in the right-hand side of the editor window
  3. Finally, to launch our message you will click on the blue button coming out from the left-hand side of the Inject node
  4. “Hello world” will appear on the Debug screen. Welcome to Node-RED!
Node-RED Hello world

 

As PickData, we firmly believe in solutions like Node-RED, because those allow you to focus on what really matters, bring our added value to the solutions and skip losing time between ins and outs of the usual programming.

If you are interested in learning more about topics related to Internet of Things, Big Data, Industry 4.0 and Analytics, do not hesitate to continue reading our publications in the News section.

 

Documentation and other information

    How to start

    Node-RED nodes library

    Hello world

    eManager, the industrial IoT controller with Node-RED integrated

 


Also, don’t forget to follow us on Twitter , Linkedin  and other social networks to be permanently updated.

 

Latest News

Main nodes for monitoring and industrial automation in Node-RED

13 May 2021

The Node-RED’s community is more alive than ever, and proof of that are the increasing numbers of available nodes and the number of manufacturing companies that opt for the integration of this software tool. This article will explore the main nodes to develop applications for the industrial automation and monitoring in Node-RED.

New eManager modules integrated with Node-RED; 5 Digital inputs + 2 Relays & Supercap (Battery)

02 Mar 2021

As we announced in previous blog entries, we are performing a full integration between eManager and Node-RED software, creating customized nodes for each of our expansion modules. Today we present two new modules which are already integrated in Node-RED: the module of 5 Digital inputs and 2 Power relays and the Supercap (battery) module.

Using Edge computing and Node-RED to implement IoT in your company

08 Feb 2021

It is relatively easy to put together an IoT proof of concept (PoC) that sends device data to the cloud, but the challenges get more complex when deploying enterprise-grade IoT at scale. These challenges include integration with factory and enterprise systems, data securitization and doing all of this without incrementing the project budget. Check how Node-RED and Edge computing can help on IoT company projects.

Discover the new eManager Pro with relays, digital and analog inputs

25 Jan 2021

eMOD’s solution welcomes a new model prepared to any kind of installation, the eManager Pro GPRS ACTIO 1072. It is an allrounder eManager Pro, with 10 digital inputs, 7 analog inputs and 2 relays. A device fully integrated with Node-RED to ease the integration with any IoT application.

IoT trends for 2021

22 Dec 2020

During the last years, Internet of Things has experienced a significant growth and 2020 has been its most successful year. The coronavirus crisis has raised the market regarding the remote control and monitoring needs for facilities, establishments and factories. In 2021, the sector will undergo a new evolution to achieve these new challenges caused by this new scenario.

The best IoT applications for LoRa™ Technology

04 Nov 2020

Nowadays, nobody will call into question that LoRa™ is a fundamental technology in the IoT world. It can be used on a great many different applications where long-distance device communication and cabling cost reduction are required in an efficient way. Even so, there are five applications where LoRa™ is truly beneficial at the level of both performance and costs reduction.

eManager and Node-RED cross paths with customized nodes

19 Oct 2020

As PickData, we firmly believe in solutions like Node-RED, because those allow you to focus on what really matters, bring our added value to the solutions. We have gone one step further on the integration of eManager and Node-RED creating customized nodes for each of our expansion modules.

NB-IoT vs LTE-M, the new IoT king of the 4G world

01 Sep 2020

During the last years, two Low Power Wide Area (LPWA) technologies have grown significantly in the world of the Internet of Things. NB-IoT and LTE-M will compete for the throne of the low bandwidth cellular communications in the coming years.

Why a cloud-based IoT platform is the best strategy for your business

14 Jul 2020

Cloud computing has significantly changed the data management during the last 10 years. Most of the companies have already implemented IoT solutions thanks to the power and reliability of cloud computing. Many people talk about scalability, low maintenance and cost-effectiveness, but cloud is much more than that.

eManager, the modular industrial controller with Node-RED integrated

27 May 2020

eManager is an OEM industrial controller which is equipped with a high-performance control unit with a Linux Yocto embedded and Node-RED software integrated. The device includes RS-232/485 serial communications, an Ethernet 10/100 port and Wi-Fi communications. Two versions, eManager and eManager Pro, with different options of CPU clock, flash storage or RAM memory. Both models can be expanded with a large list of expansion modules.

Contact

  • info@pickdata.net
  •   +34 935 117 505
  •   C/ Innovació, 3 – Polígono Industrial Can Mitjans -

08232 Viladecavalls (Barcelona)

Copyright © 2021 PickData

                   Privacy policy

                  Cookies policy

                         Newsletter