# Tutorial: Enable GPIO Serial on RPi 3

**URL:** <https://community.particle.io/t/tutorial-enable-gpio-serial-on-rpi-3/30194>\
**Category:** Raspberry Pi\
**Created:** [March 5, 2017, 3:08am UTC](https://community.particle.io/t/tutorial-enable-gpio-serial-on-rpi-3/30194 "2017-03-05T03:08:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nrobinson2000](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/nrobinson2000/32/15624_2.png) [@nrobinson2000](https://community.particle.io/u/nrobinson2000)\
**Post date:** [March 5, 2017, 3:08am UTC](https://community.particle.io/t/tutorial-enable-gpio-serial-on-rpi-3/30194/1 "2017-03-05T03:08:01Z")

</div>

Hello everyone.

[Today I found a very nice tutorial to enable UART (GPIO) serial on Raspberry Pi 3 and Pi Zero W.][1]

To summarize, here are the commands I did to enable serial (/dev/ttyS0) on my Raspberry Pi 3:

```bash
$ sudo -s
$ echo "enable_uart=1" >> /boot/config.txt
$ systemctl stop serial-getty@ttyS0.service
$ systemctl disable serial-getty@ttyS0.service
$ nano /boot/cmdline.txt #Remove console=serial0,115200

```

After a reboot you should be able to use `/dev/ttyS0`

Quick test:

```bash
$ sudo apt install screen # Install screen if you don't have it already
$ sudo screen /dev/ttyS0 # Open the port for viewing

```

Now you should be able to connect any other device to the Raspberry Pi using serial.  
[1]: [http://spellfoundry.com/2016/05/29/configuring-gpio-serial-port-raspbian-jessie-including-pi-3/](http://spellfoundry.com/2016/05/29/configuring-gpio-serial-port-raspbian-jessie-including-pi-3/)

---

<div class="post-metadata">

**Author:** ![KyleG](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/kyleg/32/11077_2.png) [@KyleG](https://community.particle.io/u/KyleG)\
**Post date:** [March 5, 2017, 5:18pm UTC](https://community.particle.io/t/tutorial-enable-gpio-serial-on-rpi-3/30194/2 "2017-03-05T17:18:53Z")

</div>

Thanks for sharing this!
