How to connect custom board with node-red

#1

Hi,

I am a beginner in node red.

I have a custom board which has a Qualcomm processor so, my question is how I connect this board with node red.

0 Likes

#2

If you can install nodejs on the board you should then be able to install node-red on the board by following the generic instructions on the website.
Otherwise you can “connect” the board to node-red using http,tcp or most likely mqtt

0 Likes

#3

Hi,
Thank you for your replay…

0 Likes

#4

Do you mean you want to run node red on the board or that you want to connect that board to something like a pi and run node red on the pi and get data from the custom board?

0 Likes

#5

Hi Colin,

My main application is to get the data of sensor which is connected to my custom board via I2c and these data is put on the server using node-red.

so any idea about this.?

0 Likes

#6

So you could use serial, http, tcp, mqtt.
How are you planning to connect your board to where you plan to run Node-RED? ethernet? wi-fi? serial connection?

0 Likes

#7

Thanks for your quick replay.

I plan to use a TCP connection over wi-fi, it is feasible?

0 Likes

#8

Perfectly feasible, theres a TCP-IN node you can look at in Node-RED

But personally I would look at MQTT

So YourBoard -> MQTT over wi-fi -> MQTT broker
and MQTT broker -> Node-RED MQTT-IN

Theres a great intro to MQTT at https://www.hivemq.com/blog/how-to-get-started-with-mqtt

0 Likes

#9

Thank you…
I will try on MQTT

0 Likes