Node-RED Programming
Program Brainboxes Ethernet devices using Node-RED visual flow programming.
- Node-RED Guides — practical Node-RED flow programming guides
- Node-RED Reference — Node-RED reference documentation
- Node-RED Concepts — background knowledge on Node-RED for Brainboxes
- Node-RED API — Node-RED node reference
Tutorials
📄️ How do I use the BB-400's Serial Port in Node-RED?
The only nodes required for this tutorial are:
📄️ How to affordably monitor power consumption of machines on a production line
| Downloads |
📄️ How do I set up Push Notifications on the BB-400?
This FAQ gives examples with different methods for a user to use push notifications. Push notifications are simple notifications which a user can setup for when a specific event has happened. An example of this would be, if one of the BB-400 inputs signal high, immediately send a notification via email.
📄️ How do I use Node-RED on the BB-400?
| Software/Equipment | Details |
📄️ How do I implement PWM on BB-400 using Node-RED and Firmata?
PWM (Pulse Width Modulation) is a way to control analog devices using digital output. PWM “fakes” an analog-like result by applying power in pulses, or short bursts of the regulated voltage:
📄️ Installing Node-RED on Windows (The Complete, Easy Setup Guide)
Node-RED Logo
📄️ How can I send IO count data to InfluxDB and Grafana?
This FAQ will explain how Node-RED can be used to send data to InfluxDB and how this data can be visualised in Grafana. We will describe fully the example of sending IO count data from the BB-400 to a database in InfluxDB and then we will produce graphical visualisations of this data.
📄️ How do I use Node-RED to read Analog Input Module ED-549 with Modbus TCP?
This FAQ explains different nodes inside Node-RED, which are used in creating an example for using a BB-400, with an ED-549. The end example is a flow which will be able to read the inputs of a Brainboxes ED-549.
📄️ How do I use Node-RED to control Analog Output Module ED-560 with Modbus TCP??
This FAQ explains how to use different nodes inside Node-RED, being used to show how to use a Brainboxes BB-400 (Neuron IoT Controller), with a Brainboxes ED-560 (Ethernet to 4xAnalogue Outputs). The end example is a flow which will be able to set the outputs of a Brainboxes ED-560.
📄️ Setting up NodeRED on a BB-400
| Software/Equipment | Details |
📄️ Using ASCII in Node-RED to control IO
Test
📄️ Using ModbusTCP with Node-Red to control IO
This FAQ will explain how Modbus TCP can be used with Node-RED to control the IO lines. Node-RED can be used on a PC or alternatively you can access a Node-RED instance on your BB-400.
📄️ Using REST in Node-RED to Control IO
This FAQ will describe how to use REST to control the IO lines using Node-RED. For more information on Node-RED please refer to the Node-RED FAQ , and for more information on WebSockets there is a Brainboxes FAQ What is the REST Protocol?
📄️ Using the BB-400 Serial Port in Node-RED
This FAQ will explain how to use read and write from the Serial port using a Node-RED instance on your BB-400.
📄️ How do I use WebSockets in Node-RED to control IO on a BB-400?
This FAQ will describe how to use WebSockets to control the IO lines using Node-RED.