# Rock pi 4 OS to work with node-red

**URL:** <https://discourse.nodered.org/t/rock-pi-4-os-to-work-with-node-red/68794>\
**Category:** Hardware\
**Created:** [10 October 2022 10:15 UTC](https://discourse.nodered.org/t/rock-pi-4-os-to-work-with-node-red/68794 "2022-10-10T10:15:19Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![addi](https://avatars.discourse-cdn.com/v4/letter/a/898d66/32.png) [@addi](https://discourse.nodered.org/u/addi)\
**Post date:** [10 October 2022 10:15 UTC](https://discourse.nodered.org/t/rock-pi-4-os-to-work-with-node-red/68794/1 "2022-10-10T10:15:19Z")

</div>

Hello!

Does anybody know what OS must have ROCK PI to work properly with node-red???

Thanks in advance

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [10 October 2022 12:21 UTC](https://discourse.nodered.org/t/rock-pi-4-os-to-work-with-node-red/68794/2 "2022-10-10T12:21:09Z")

</div>

Any OS should be fine. But with a debian based distro you will have the advantage of using the official PI installer script.

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [10 October 2022 12:27 UTC](https://discourse.nodered.org/t/rock-pi-4-os-to-work-with-node-red/68794/3 "2022-10-10T12:27:50Z")

</div>

as Steve says - the pi install script should get it going on a Debian based OS.

If you want to get GPIO pins working as well, that takes some manual hacking effort afterwards

And if your the first one to do this then your going to have to the one to work out how to do so

---

<div class="post-metadata">

**Author:** ![addi](https://avatars.discourse-cdn.com/v4/letter/a/898d66/32.png) [@addi](https://discourse.nodered.org/u/addi)\
**Post date:** [11 October 2022 10:23 UTC](https://discourse.nodered.org/t/rock-pi-4-os-to-work-with-node-red/68794/4 "2022-10-11T10:23:07Z")

</div>

Thanks a lot for supporting but I have got -  
Another question!:  
Now Ive already installed Node-RED version v3.0.2, Node.js version v14.20.1 on Linux 4.4.154-116-rockchip-g86a614bv15b3 arm64 LE  
I have got rock pi 4a v1.47  
And I can transfer and receive data via terminal using USB-RS485 dongle's  
But when I try do it via node red I cant receive any  
This Node-red project with dongles in this way I tested on RPI 4B and this worked fine  
What is porting specific ????

---

<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:** [11 October 2022 10:35 UTC](https://discourse.nodered.org/t/rock-pi-4-os-to-work-with-node-red/68794/5 "2022-10-11T10:35:44Z")

</div>

> [@addi](#):
>
> when I try do do it via node red I cant receive any

You have given us no information at all on what you are doing and in what way it doesn't work. We are not telepathic, so please give more information about exactly what doesn't work in node red, and how you are trying to do it.

---

<div class="post-metadata">

**Author:** ![addi](https://avatars.discourse-cdn.com/v4/letter/a/898d66/32.png) [@addi](https://discourse.nodered.org/u/addi)\
**Post date:** [11 October 2022 10:57 UTC](https://discourse.nodered.org/t/rock-pi-4-os-to-work-with-node-red/68794/6 "2022-10-11T10:57:48Z")

</div>

Thanks for your replay!

In node-red I use RS-485 block and USB port, - I send data to remote device and receive feedback from it  
It works in RPI  
But now I use the same project but with rock PI and Debian and it doesnt work - I dont receive any after data transfer from remote device  
After that I knew what current environment doesnt work well with China's chips whithin USB-RS485 dongle and I change dongle based on FTDI  
But the situations hasnt changed

---

<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:** [11 October 2022 11:22 UTC](https://discourse.nodered.org/t/rock-pi-4-os-to-work-with-node-red/68794/7 "2022-10-11T11:22:30Z")

</div>

> [@addi](#):
>
> RS-485 block

What node is that? node-red-contrib-something possibly?

---

<div class="post-metadata">

**Author:** ![addi](https://avatars.discourse-cdn.com/v4/letter/a/898d66/32.png) [@addi](https://discourse.nodered.org/u/addi)\
**Post date:** [11 October 2022 11:31 UTC](https://discourse.nodered.org/t/rock-pi-4-os-to-work-with-node-red/68794/8 "2022-10-11T11:31:33Z")

</div>

Sorry I confused - this "RS-485" block is, - node-red-node-serialport

---

<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:** [11 October 2022 13:21 UTC](https://discourse.nodered.org/t/rock-pi-4-os-to-work-with-node-red/68794/9 "2022-10-11T13:21:45Z")

</div>

Show us how you have configured the serial port in node-red.  
Do you get any errors shown?  
Is there any status text shown under the serial node?

---

<div class="post-metadata">

**Author:** ![addi](https://avatars.discourse-cdn.com/v4/letter/a/898d66/32.png) [@addi](https://discourse.nodered.org/u/addi)\
**Post date:** [11 October 2022 13:48 UTC](https://discourse.nodered.org/t/rock-pi-4-os-to-work-with-node-red/68794/10 "2022-10-11T13:48:39Z")

</div>

Thanks!  
The picture of settings is here:  
[http://dropmefiles.com/1XEkw](http://dropmefiles.com/1XEkw)  
I havent got any errors and can you explain, please, how can I set status text under the serial mode,- thats like the debug mode?

---

<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:** [11 October 2022 14:19 UTC](https://discourse.nodered.org/t/rock-pi-4-os-to-work-with-node-red/68794/11 "2022-10-11T14:19:36Z")

</div>

You can paste images here, you don't need to link to an image. Can you not do a screenshot rather than photographing it?

You don't set the text, I was asking if it showed anything.

Shut the pi down and remove the usb dongle, then reboot the pi and in a terminal run  
`tail -f /var/log/syslog`  
Then plug the dongle it and you should see it mounting the device. Copy/paste that text here if you don't understand it. Copy/paste please, not screenshot.

Also then run the commands  
`lsusb`  
and  
`ls -l /dev/serial/by-id`  
and show us what they say.

**[Edit]** Added `-l` to ls command to get additional info.

---

<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:** [14 October 2022 08:42 UTC](https://discourse.nodered.org/t/rock-pi-4-os-to-work-with-node-red/68794/12 "2022-10-14T08:42:54Z")

</div>

@addi, any further news on this?

---

<div class="post-metadata">

**Author:** ![addi](https://avatars.discourse-cdn.com/v4/letter/a/898d66/32.png) [@addi](https://discourse.nodered.org/u/addi)\
**Post date:** [17 October 2022 07:52 UTC](https://discourse.nodered.org/t/rock-pi-4-os-to-work-with-node-red/68794/13 "2022-10-17T07:52:35Z")

</div>

Sorry, now I set armbian and the problem was dissapered  
Bit later Ill try again on debian to finish the question

---

<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:** [16 December 2022 07:53 UTC](https://discourse.nodered.org/t/rock-pi-4-os-to-work-with-node-red/68794/14 "2022-12-16T07:53:25Z")

</div>

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