# Serial port fetching data

**URL:** <https://discourse.nodered.org/t/serial-port-fetching-data/15184>\
**Category:** General\
**Created:** [6 September 2019 05:49 UTC](https://discourse.nodered.org/t/serial-port-fetching-data/15184 "2019-09-06T05:49:55Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Iliyas](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/iliyas/32/19045_2.png) [@Iliyas](https://discourse.nodered.org/u/Iliyas)\
**Post date:** [6 September 2019 05:49 UTC](https://discourse.nodered.org/t/serial-port-fetching-data/15184/1 "2019-09-06T05:49:55Z")

</div>

Hell,  
I am able to read the data of my device in windows system through serial request but I am not able to read the data from ubuntu serial port....  
Can anybody try to help me out?

---

<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:** [6 September 2019 06:45 UTC](https://discourse.nodered.org/t/serial-port-fetching-data/15184/2 "2019-09-06T06:45:03Z")

</div>

Probably yes, but obviously not unless you give us more information about how you are trying to do it and what result you are seeing. As far as I know no-one here is telepathic.

---

<div class="post-metadata">

**Author:** ![Iliyas](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/iliyas/32/19045_2.png) [@Iliyas](https://discourse.nodered.org/u/Iliyas)\
**Post date:** [6 September 2019 06:49 UTC](https://discourse.nodered.org/t/serial-port-fetching-data/15184/3 "2019-09-06T06:49:56Z")

</div>

I have an RS-485 parking sensor through which I have to read the data from dell gateway through RS-485 port itself

So for testing I had converted RS-485 to USB then connected to my PC then through the below flow i fetched the data of it

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/1/10f972ee131e6f986bbbcfafb005dd373142a369.png)

---

<div class="post-metadata">

**Author:** ![Iliyas](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/iliyas/32/19045_2.png) [@Iliyas](https://discourse.nodered.org/u/Iliyas)\
**Post date:** [6 September 2019 06:53 UTC](https://discourse.nodered.org/t/serial-port-fetching-data/15184/4 "2019-09-06T06:53:02Z")

</div>

Then with same I had tried on my Gateway through using both the ports(RS-485 and USB) data is not able receive us.

---

<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:** [6 September 2019 06:59 UTC](https://discourse.nodered.org/t/serial-port-fetching-data/15184/5 "2019-09-06T06:59:35Z")

</div>

Try recovering data without using Node-RED to see if it is a serial port issue or a Node-RED issue.

---

<div class="post-metadata">

**Author:** ![Iliyas](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/iliyas/32/19045_2.png) [@Iliyas](https://discourse.nodered.org/u/Iliyas)\
**Post date:** [6 September 2019 07:02 UTC](https://discourse.nodered.org/t/serial-port-fetching-data/15184/6 "2019-09-06T07:02:57Z")

</div>

I have tried it is serial port issue, this is node-red forum but too I am raising a question here because I had got most of the solutions here itself.  
Can you please help me out with this?

---

<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:** [6 September 2019 07:20 UTC](https://discourse.nodered.org/t/serial-port-fetching-data/15184/7 "2019-09-06T07:20:37Z")

</div>

Test with PUTTY if you serial port is working in Ubuntu, if that is working then the next step is NR.

---

<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:** [6 September 2019 07:32 UTC](https://discourse.nodered.org/t/serial-port-fetching-data/15184/8 "2019-09-06T07:32:21Z")

</div>

check that the user has permission to use the serial port

---

<div class="post-metadata">

**Author:** ![Iliyas](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/iliyas/32/19045_2.png) [@Iliyas](https://discourse.nodered.org/u/Iliyas)\
**Post date:** [6 September 2019 07:39 UTC](https://discourse.nodered.org/t/serial-port-fetching-data/15184/9 "2019-09-06T07:39:18Z")

</div>

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/a/a71348eef4b135d21fce05130a6d8c33dca89503.jpeg)

It is opening the port but data it is not receiving

---

<div class="post-metadata">

**Author:** ![Iliyas](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/iliyas/32/19045_2.png) [@Iliyas](https://discourse.nodered.org/u/Iliyas)\
**Post date:** [6 September 2019 07:45 UTC](https://discourse.nodered.org/t/serial-port-fetching-data/15184/10 "2019-09-06T07:45:10Z")

</div>

@edje11 just have a look on this above screenshot
