# Can not get USB serial work with Node-Red

**URL:** <https://discourse.nodered.org/t/can-not-get-usb-serial-work-with-node-red/17964>\
**Category:** Hardware\
**Created:** [14 November 2019 15:34 UTC](https://discourse.nodered.org/t/can-not-get-usb-serial-work-with-node-red/17964 "2019-11-14T15:34:53Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![insanoff](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/insanoff/32/14291_2.png) [@insanoff](https://discourse.nodered.org/u/insanoff)\
**Post date:** [14 November 2019 15:34 UTC](https://discourse.nodered.org/t/can-not-get-usb-serial-work-with-node-red/17964/1 "2019-11-14T15:34:53Z")

</div>

Dear All, I am a newbie and it is my first time using Node-Red.

My Node-Red is running on Raspberry Pi 4. For learning purpose I am trying to read ESP32 device connected to RPi via USB. I am able to display the output in terminal using "screen /dev/ttyUSB0 115200". But the problem is, Node-Red can not recognize the serial input, showing:  
"serial port /dev/ttyUSB0 error: Error: Error: No such file or directory, cannot open /dev/ttyUSB0".  
Basically, it shows "not connected". Is there anything I am missing?  
When I run "sudo ls /dev/ttyU\*" command, I can see "/dev/ttyUSB0" listed.

Thanks!

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

---

<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 November 2019 21:38 UTC](https://discourse.nodered.org/t/can-not-get-usb-serial-work-with-node-red/17964/2 "2019-11-14T21:38:37Z")

</div>

In terminal run

```auto
node-red-stop
node-red-start

```

and copy/paste here the resulting output.

---

<div class="post-metadata">

**Author:** ![insanoff](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/insanoff/32/14291_2.png) [@insanoff](https://discourse.nodered.org/u/insanoff)\
**Post date:** [15 November 2019 15:09 UTC](https://discourse.nodered.org/t/can-not-get-usb-serial-work-with-node-red/17964/3 "2019-11-15T15:09:34Z")

</div>

Hi Collin, I did. Strange... The output is: `-bash: node-red-stop: command not found`.  
`node-red` commands do not work.

---

<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:** [15 November 2019 15:42 UTC](https://discourse.nodered.org/t/can-not-get-usb-serial-work-with-node-red/17964/4 "2019-11-15T15:42:52Z")

</div>

> [@insanoff](#):
>
> `node-red-stop: command not found` .

That suggests you did not install using the [recommended technique](https://nodered.org/docs/getting-started/raspberrypi)

---

<div class="post-metadata">

**Author:** ![insanoff](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/insanoff/32/14291_2.png) [@insanoff](https://discourse.nodered.org/u/insanoff)\
**Post date:** [15 November 2019 17:07 UTC](https://discourse.nodered.org/t/can-not-get-usb-serial-work-with-node-red/17964/5 "2019-11-15T17:07:47Z")

</div>

I have installed it using IOTstack.

---

<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:** [15 November 2019 17:13 UTC](https://discourse.nodered.org/t/can-not-get-usb-serial-work-with-node-red/17964/6 "2019-11-15T17:13:42Z")

</div>

We have not heard of that (here in the core project) - you may be better off talking direct with the owner of that project.

---

<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:** [15 November 2019 17:22 UTC](https://discourse.nodered.org/t/can-not-get-usb-serial-work-with-node-red/17964/7 "2019-11-15T17:22:13Z")

</div>

> [@dceejay](#):
>
> you may be better off talking direct with the owner of that project.

Or starting again using the script in the link I posted.

---

<div class="post-metadata">

**Author:** ![insanoff](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/insanoff/32/14291_2.png) [@insanoff](https://discourse.nodered.org/u/insanoff)\
**Post date:** [18 November 2019 15:23 UTC](https://discourse.nodered.org/t/can-not-get-usb-serial-work-with-node-red/17964/8 "2019-11-18T15:23:44Z")

</div>

My problem is solved. For more information please refer to the link: [https://github.com/gcgarner/IOTstack/issues/80](https://github.com/gcgarner/IOTstack/issues/80)
