# Cannot connect serial port(uart) to Node red Raspberry Pi

**URL:** https://dietpi.com/forum/t/cannot-connect-serial-port-uart-to-node-red-raspberry-pi/15215
**Category:** General Discussion
**Created:** [11 December 2022 18:50 UTC](https://dietpi.com/forum/t/cannot-connect-serial-port-uart-to-node-red-raspberry-pi/15215 "2022-12-11T18:50:06Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![Jappe](https://dietpi.com/forum/user_avatar/dietpi.com/jappe/32/1788_2.png) [@Jappe](https://dietpi.com/forum/u/Jappe)
#### Post date: [11 December 2022 20:34 UTC](https://dietpi.com/forum/t/cannot-connect-serial-port-uart-to-node-red-raspberry-pi/15215/3 "2022-12-11T20:34:17Z")

</div>

You can check out this thread:  
[https://dietpi.com/forum/t/using-uart/2276/3?u=jappe](https://dietpi.com/forum/t/using-uart/2276/3)

```auto
dietpi-config > Advanced Options > Serial/UART

```

> - Enable serial console with **dietpi-config** should already do all steps for you, but to be sure:
> - Verify that **/DietPi/config.txt** contains the line **enable\_uart=1**.
> - Verify that **/DietPi/dietpi.txt** contains the line **CONFIG\_SERIAL\_CONSOLE\_ENABLE=1**.

> - By default on RPi3 the hardware UART (aka full UART) on /dev/ttyAMA0 is used by the Bluetooth device.
> - But if you disable Bluetooth completely, you can still use it for other tasks.
> - Otherwise the software UART (aka mini UART) is available on /dev/ttyS0 which is as well by default configured to be available on the GPIO ports, so being the primary UART, on RPi3.

> Instead of making the tty world-writeable, please add the nodered user to the tty group: usermod -aG tty nodered

---

_[View the full topic](https://dietpi.com/forum/t/cannot-connect-serial-port-uart-to-node-red-raspberry-pi/15215)._
