# How to connect custom board with node-red

**URL:** https://discourse.nodered.org/t/how-to-connect-custom-board-with-node-red/1304
**Category:** General
**Created:** [4 July 2018 05:11 UTC](https://discourse.nodered.org/t/how-to-connect-custom-board-with-node-red/1304 "2018-07-04T05:11:07Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![HemangGadhavi](https://avatars.discourse-cdn.com/v4/letter/h/e47c2d/32.png) [@HemangGadhavi](https://discourse.nodered.org/u/HemangGadhavi)
#### Post date: [4 July 2018 05:11 UTC](https://discourse.nodered.org/t/how-to-connect-custom-board-with-node-red/1304/1 "2018-07-04T05:11:07Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)
#### Post date: [4 July 2018 06:04 UTC](https://discourse.nodered.org/t/how-to-connect-custom-board-with-node-red/1304/2 "2018-07-04T06:04:56Z")

</div>

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

---

<div class="post-metadata">

### Author: ![HemangGadhavi](https://avatars.discourse-cdn.com/v4/letter/h/e47c2d/32.png) [@HemangGadhavi](https://discourse.nodered.org/u/HemangGadhavi)
#### Post date: [4 July 2018 06:10 UTC](https://discourse.nodered.org/t/how-to-connect-custom-board-with-node-red/1304/3 "2018-07-04T06:10:29Z")

</div>

Hi,  
Thank you for your replay…

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [4 July 2018 06:31 UTC](https://discourse.nodered.org/t/how-to-connect-custom-board-with-node-red/1304/4 "2018-07-04T06:31:14Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![HemangGadhavi](https://avatars.discourse-cdn.com/v4/letter/h/e47c2d/32.png) [@HemangGadhavi](https://discourse.nodered.org/u/HemangGadhavi)
#### Post date: [4 July 2018 06:49 UTC](https://discourse.nodered.org/t/how-to-connect-custom-board-with-node-red/1304/5 "2018-07-04T06:49:31Z")

</div>

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.?

---

<div class="post-metadata">

### Author: ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)
#### Post date: [4 July 2018 06:52 UTC](https://discourse.nodered.org/t/how-to-connect-custom-board-with-node-red/1304/6 "2018-07-04T06:52:46Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![HemangGadhavi](https://avatars.discourse-cdn.com/v4/letter/h/e47c2d/32.png) [@HemangGadhavi](https://discourse.nodered.org/u/HemangGadhavi)
#### Post date: [4 July 2018 07:16 UTC](https://discourse.nodered.org/t/how-to-connect-custom-board-with-node-red/1304/7 "2018-07-04T07:16:09Z")

</div>

Thanks for your quick replay.

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

---

<div class="post-metadata">

### Author: ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)
#### Post date: [4 July 2018 07:25 UTC](https://discourse.nodered.org/t/how-to-connect-custom-board-with-node-red/1304/8 "2018-07-04T07:25:04Z")

</div>

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](https://www.hivemq.com/blog/how-to-get-started-with-mqtt)

---

<div class="post-metadata">

### Author: ![HemangGadhavi](https://avatars.discourse-cdn.com/v4/letter/h/e47c2d/32.png) [@HemangGadhavi](https://discourse.nodered.org/u/HemangGadhavi)
#### Post date: [4 July 2018 07:30 UTC](https://discourse.nodered.org/t/how-to-connect-custom-board-with-node-red/1304/9 "2018-07-04T07:30:57Z")

</div>

Thank you…  
I will try on MQTT
