# How to find the perfect hardware

**URL:** https://discourse.nodered.org/t/how-to-find-the-perfect-hardware/77393
**Category:** Hardware
**Created:** [9 April 2023 20:14 UTC](https://discourse.nodered.org/t/how-to-find-the-perfect-hardware/77393 "2023-04-09T20:14:02Z")
**Posts on this page:** 18
**Page:** 1

<div class="post-metadata">

### Author: ![Manuel\_o](https://avatars.discourse-cdn.com/v4/letter/m/977dab/32.png) [@Manuel\_o](https://discourse.nodered.org/u/Manuel_o)
#### Post date: [9 April 2023 20:14 UTC](https://discourse.nodered.org/t/how-to-find-the-perfect-hardware/77393/1 "2023-04-09T20:14:02Z")

</div>

Hello friends.

I am currently running my NR-program to read and control my pump. For this i talk to the pump via MODBUS (nodes) and send data (and recieve) to (from) my MQTT server that is running on a vm.

Right now i am using a Rasi 4. Since Rapys became quiet expensive, i look for alternatives.  
What my question is:. What parameters do you guys look for at your NR-progam to fit your hardware? Is it the size of the nodes? I look for the cheapest hardware, but that satisfied at the same time Node red that my program runs smooth

thank you

---

<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: [9 April 2023 20:39 UTC](https://discourse.nodered.org/t/how-to-find-the-perfect-hardware/77393/2 "2023-04-09T20:39:56Z")

</div>

> [@Manuel\_o](#):
>
> I am currently running my NR-program to read and control my pump.

Unless that is a complex task then I would have thought that would be easily performed pi a Pi Zero.

---

<div class="post-metadata">

### Author: ![edje11](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/edje11/32/572_2.png) [@edje11](https://discourse.nodered.org/u/edje11)
#### Post date: [10 April 2023 11:05 UTC](https://discourse.nodered.org/t/how-to-find-the-perfect-hardware/77393/3 "2023-04-10T11:05:57Z")

</div>

Switch myself now to an [Odroid-c4](https://www.hardkernel.com/shop/odroid-c4/) with [32Gb emcc](https://www.hardkernel.com/shop/32gb-emmc-module-c4-linux/) module.  
Nodered, Grafana, Influx, mosquitto it runs all smooth on this Odriod.  
Hardware preformance is comparable to the specs of an pi4. eMMC module is much faster then an SD card so the overall performance is faster.  
If you order one don't forget to order also the [emcc module to sd-card](https://www.hardkernel.com/shop/emmc-module-reader-board-for-os-upgrade/) for programming the eMMC module.

---

<div class="post-metadata">

### Author: ![jmorris644](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jmorris644/32/31964_2.png) [@jmorris644](https://discourse.nodered.org/u/jmorris644)
#### Post date: [10 April 2023 16:32 UTC](https://discourse.nodered.org/t/how-to-find-the-perfect-hardware/77393/4 "2023-04-10T16:32:13Z")

</div>

For your use case, although I am not sure of Modbus compatible yet, you should check out this thread  
[[https://discourse.nodered.org/t/node-red-mcu-plugin-v1-0-integrating-node-red-mcu-edition-into-the-node-red-editor](https://discourse.nodered.org/t/node-red-mcu-plugin-v1-0-integrating-node-red-mcu-edition-into-the-node-red-editor)]([https://MCU](https://MCU) plugin)

With this you can run node-red on an ESP32

---

<div class="post-metadata">

### Author: ![Manuel\_o](https://avatars.discourse-cdn.com/v4/letter/m/977dab/32.png) [@Manuel\_o](https://discourse.nodered.org/u/Manuel_o)
#### Post date: [11 April 2023 07:24 UTC](https://discourse.nodered.org/t/how-to-find-the-perfect-hardware/77393/5 "2023-04-11T07:24:19Z")

</div>

thank you for the tip. from what i see this module has not WLAN. or am i missing something.

---

<div class="post-metadata">

### Author: ![ralphwetzel](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ralphwetzel/32/53713_2.png) [@ralphwetzel](https://discourse.nodered.org/u/ralphwetzel)
#### Post date: [11 April 2023 08:18 UTC](https://discourse.nodered.org/t/how-to-find-the-perfect-hardware/77393/6 "2023-04-11T08:18:24Z")

</div>

Hi @Manuel_o

> [@jmorris644](#):
>
> With this you can run node-red on an ESP32

Looking at your use case, I can only underline the proposal of @jmorris644 ... as it is exactly the use case that triggered the creation of the [node-red-mcu-plugin](https://github.com/ralphwetzel/node-red-mcu-plugin).

I replaced the RasPi with an ESP32 & node-red-mcu ... running a [quite complex flow](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/1/019f22f08095b5a45b1a918f13c203e4c2048258.png) 24/7 without any issues.

---

<div class="post-metadata">

### Author: ![Manuel\_o](https://avatars.discourse-cdn.com/v4/letter/m/977dab/32.png) [@Manuel\_o](https://discourse.nodered.org/u/Manuel_o)
#### Post date: [11 April 2023 08:24 UTC](https://discourse.nodered.org/t/how-to-find-the-perfect-hardware/77393/7 "2023-04-11T08:24:48Z")

</div>

i will look into i and thought the whole weekend about it.

"problem" right now that i have (i am not quiet sure it it is doable) and need LAN and WLAN for my project at the same time. There is a ESP32 out there that has POE. (olimex POE ISO).

The problem (that i solved) with my raspi was, that my pump is connected with LAN and sends the data out via WLAN.

Long story short. I dont now, how and if it is possible to tell the ESP32 to use the LAN to communicate with the pump and have an active WLAN connection to send the data via node-red out to my MQTT server  
Thats the only reason i am still stepping back from an ESP32 (yet)

thank you

edit: CHATGPT gave me this answer:

> Yes, it is possible to use an ESP32-PoE from Olimex to simultaneously use LAN and WLAN. The ESP32-PoE has both an Ethernet port and Wi-Fi connectivity, which allows it to connect to a LAN network via Ethernet and a WLAN network via Wi-Fi at the same time.
> 
> To use the ESP32-PoE in this way, you can set up both the LAN and WLAN connections in your code. For example, you could use the Ethernet library to handle communication with your pump over the LAN connection using MODBUS, and the Wi-Fi library to send data to your MQTT server over the WLAN connection.

the question is if it is possible to run a programm on esp32 to use lan and wlan and use node red.

hmm gets tricky=)

---

<div class="post-metadata">

### Author: ![ralphwetzel](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ralphwetzel/32/53713_2.png) [@ralphwetzel](https://discourse.nodered.org/u/ralphwetzel)
#### Post date: [11 April 2023 08:30 UTC](https://discourse.nodered.org/t/how-to-find-the-perfect-hardware/77393/8 "2023-04-11T08:30:51Z")

</div>

We spent some time recently to help @BartButenaers run node-red-mcu on his WT32-ETH01 board.  
As @phoddie [indicated](https://github.com/Moddable-OpenSource/moddable/issues/1079#issuecomment-1499924502), there's the possibility to run both interfaces of such a board; there might be some additional work to do - but the way to go seems to be not too far ... as Peter had it already working.

---

<div class="post-metadata">

### Author: ![BartButenaers](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bartbutenaers/32/10476_2.png) [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)
#### Post date: [11 April 2023 08:49 UTC](https://discourse.nodered.org/t/how-to-find-the-perfect-hardware/77393/9 "2023-04-11T08:49:22Z")

</div>

Yes you could use a wt32-eth01, as described [here](https://discourse.nodered.org/t/tutorial-read-a-sensor-by-running-a-node-red-flow-on-an-esp32-via-node-red-mcu/77171).

---

<div class="post-metadata">

### Author: ![phoddie](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/phoddie/32/64232_2.png) [@phoddie](https://discourse.nodered.org/u/phoddie)
#### Post date: [11 April 2023 15:43 UTC](https://discourse.nodered.org/t/how-to-find-the-perfect-hardware/77393/10 "2023-04-11T15:43:17Z")

</div>

Just to confirm what @BartButenaers and @ralphwetzel note, the ESP32 running Node-RED MCU Edition is technically capable of doing this. There's just a little bit of setup and configuration work that needs to be done to make that easy to use. I'm happy to do that, if someone (you!?) are going to use it.

---

<div class="post-metadata">

### Author: ![jmorris644](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jmorris644/32/31964_2.png) [@jmorris644](https://discourse.nodered.org/u/jmorris644)
#### Post date: [12 April 2023 12:50 UTC](https://discourse.nodered.org/t/how-to-find-the-perfect-hardware/77393/11 "2023-04-12T12:50:39Z")

</div>

This additional work, it that for the MODBUS connectivity?

---

<div class="post-metadata">

### Author: ![ralphwetzel](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ralphwetzel/32/53713_2.png) [@ralphwetzel](https://discourse.nodered.org/u/ralphwetzel)
#### Post date: [12 April 2023 17:55 UTC](https://discourse.nodered.org/t/how-to-find-the-perfect-hardware/77393/12 "2023-04-12T17:55:01Z")

</div>

No.  
It is to allow `node-red-mcu` utilizing both network interfaces (LAN & WLAN) at the same time / in parallel.

EDIT: ... so it's perhaps as well a (partial) "Yes", as it seems to be Modbus via IP.

---

<div class="post-metadata">

### Author: ![phoddie](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/phoddie/32/64232_2.png) [@phoddie](https://discourse.nodered.org/u/phoddie)
#### Post date: [12 April 2023 18:48 UTC](https://discourse.nodered.org/t/how-to-find-the-perfect-hardware/77393/13 "2023-04-12T18:48:26Z")

</div>

There are a couple bits. One is a detail -- the setup code for the MCU currently waits for both the Ethernet and Wi-Fi network interfaces to be connected before launching the flow. That's not always the right behavior (for most projects, having one is enough).

The other bit is to get an MCU Modbus node in place. As noted in another reply, there's already some work there as part of the pzem-004t sensor.

One thing that's not clear to me, are you running Modbus over Serial or TCP. Both can work -- and in fact the ECMA-419 APIs we use to implement Serial and TCP communication are interchangeable (except for configuration differences, of course) so both should be possible.

---

<div class="post-metadata">

### Author: ![umtksa](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/umtksa/32/38322_2.png) [@umtksa](https://discourse.nodered.org/u/umtksa)
#### Post date: [16 April 2023 17:44 UTC](https://discourse.nodered.org/t/how-to-find-the-perfect-hardware/77393/14 "2023-04-16T17:44:07Z")

</div>

hello there,

after running on a raspberry pi I ported all my nodes to an instance running from my father inlaws old android phone.

you can run it on android via a terminal emulator called Termux or a native application with a one time payment.

I find that native android app is the easiest solution for me here is the app that I use  
[red-mobile](https://play.google.com/store/apps/details?id=com.okhiroyuki.redmobile) (not afiliated) 🖖

---

<div class="post-metadata">

### Author: ![magicfire](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/magicfire/32/93420_2.png) [@magicfire](https://discourse.nodered.org/u/magicfire)
#### Post date: [19 April 2023 04:17 UTC](https://discourse.nodered.org/t/how-to-find-the-perfect-hardware/77393/15 "2023-04-19T04:17:39Z")

</div>

We company has a product running native Node-RED, and the price is low to $45.  
If you are interest, please visit our website:  
[video](https://www.bilibili.com/video/BV1zR4y1Z7CH/)  
[where to buy A64 board](https://item.taobao.com/item.htm?ft=t&id=690591522104)  
[where to buy PN6400](https://item.taobao.com/item.htm?ft=t&id=698582740166)

---

<div class="post-metadata">

### Author: ![markost](https://avatars.discourse-cdn.com/v4/letter/m/3d9bf3/32.png) [@markost](https://discourse.nodered.org/u/markost)
#### Post date: [19 April 2023 04:33 UTC](https://discourse.nodered.org/t/how-to-find-the-perfect-hardware/77393/16 "2023-04-19T04:33:37Z")

</div>

2nd and 3rd link are login page, absolutely nothing about product...

---

<div class="post-metadata">

### Author: ![magicfire](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/magicfire/32/93420_2.png) [@magicfire](https://discourse.nodered.org/u/magicfire)
#### Post date: [19 April 2023 05:41 UTC](https://discourse.nodered.org/t/how-to-find-the-perfect-hardware/77393/17 "2023-04-19T05:41:27Z")

</div>

As we now only sell in China, the url is belong to Alibaba taobao.  
The brief data like this:  
PN6400: 4DI 4DO 2AO 4 AI /1x485 /1x232 / ubuntu16.04.7LTS  
A64: A53 CPU /1GB DDR /8GB eMMC/ WiFi/ BLE  
More information please email to me : [dingning@chvda.com](mailto:dingning@chvda.com).

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [18 June 2023 05:41 UTC](https://discourse.nodered.org/t/how-to-find-the-perfect-hardware/77393/18 "2023-06-18T05:41:41Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
