# Serial port / raspberry

**URL:** <https://discourse.nodered.org/t/serial-port-raspberry/5868>\
**Category:** General\
**Created:** [17 December 2018 07:38 UTC](https://discourse.nodered.org/t/serial-port-raspberry/5868 "2018-12-17T07:38:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![RogierQ](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/rogierq/32/3211_2.png) [@RogierQ](https://discourse.nodered.org/u/RogierQ)\
**Post date:** [17 December 2018 07:38 UTC](https://discourse.nodered.org/t/serial-port-raspberry/5868/1 "2018-12-17T07:38:16Z")

</div>

I have 8 arduino's connected to my pi  
after a few days randomly a serial port disconnects  
only way to solve this problem is doing a reboot and then it works again for few days / hours

is this a known problem or is there a trick to solve this or make the port reconnect?

---

<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:** [17 December 2018 07:41 UTC](https://discourse.nodered.org/t/serial-port-raspberry/5868/2 "2018-12-17T07:41:16Z")

</div>

i’ve has one thing attached via serial port that’s been stable for over a year.

What versions of node-red nodejs are you using?  
have you checked to see if there’s anything in the logs?

---

<div class="post-metadata">

**Author:** ![RogierQ](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/rogierq/32/3211_2.png) [@RogierQ](https://discourse.nodered.org/u/RogierQ)\
**Post date:** [17 December 2018 07:46 UTC](https://discourse.nodered.org/t/serial-port-raspberry/5868/3 "2018-12-17T07:46:18Z")

</div>

8.12.0 and 0.19.4

on another pi i have 4 similar setups running for more then a year too with 4 serial ports  
it seems to be the problem that it is more the 4 ports or because they are connected with hubs  
all ready changed the hubs with several different hubs ( powered ) but without any succes too

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [17 December 2018 08:34 UTC](https://discourse.nodered.org/t/serial-port-raspberry/5868/4 "2018-12-17T08:34:55Z")

</div>

When they disconnect are they still there but just as a differently numbered port ? If this is a linux system you may want to investigate fixing the name to the device using udev eg [https://www.silabs.com/community/interface/knowledge-base.entry.html/2016/06/06/fixed\_tty\_deviceass-XzTf](https://www.silabs.com/community/interface/knowledge-base.entry.html/2016/06/06/fixed_tty_deviceass-XzTf) or [http://hintshop.ludvig.co.nz/show/persistent-names-usb-serial-devices/](http://hintshop.ludvig.co.nz/show/persistent-names-usb-serial-devices/) etc

---

<div class="post-metadata">

**Author:** ![RogierQ](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/rogierq/32/3211_2.png) [@RogierQ](https://discourse.nodered.org/u/RogierQ)\
**Post date:** [17 December 2018 15:37 UTC](https://discourse.nodered.org/t/serial-port-raspberry/5868/5 "2018-12-17T15:37:34Z")

</div>

I need to test this, but all is build inside a table.  
They are when the problem starts connected and nothing is changed on the setup  
After reboot all ports are mapped to the correct port
