<p>Neither the <a href="https://help.prusa3d.com/article/octoprint-configuration-and-install_2182" rel="nofollow noreferrer">tutorial of Prusa</a> nor the <a href="https://octoprint.org/download/" rel="nofollow noreferrer">Octoprint setup instructions</a> mention this. But it's common Raspberry Pi knowledge, for everyone how experiments with the RPi.</p>
<p>The Serial interface that works over GPIO needs to be activated via</p>
<pre><code>sudo raspi-config
</code></pre>
<p>In the menu, go to &quot;Interface Options&quot; (3), then &quot;Serial Port&quot; (I6). Answer &quot;No&quot; for the login shell and &quot;Yes&quot; for the Serial port hardware. After that, reboot your Raspberry when being asked.</p>
<p>The Octoprint web interface should then detect <code>/dev/ttyS0</code> and be able to connect.</p>

CC BY-SA 4.0
2023-11-17T13:19:33.277Z
I *really* wish you would have added just a tiny bit of detail here. For example... "In the menu"... - In the menu of *what?* I have been scouring every menu I can find for octoprint / PUTTY and absolutely nowhere is there an "interface options" or "Serial Port". I have no idea what the (3) or (I6) is referencing. This seems like the info I need but the vagueness leaves me with more questions than answers.
abiss221
CC BY-SA 4.0
2023-11-17T13:47:08.867Z
@abiss221 - Thomas is referring to the menu(s) of the command line tool `raspi-config`.
Greenonline
CC BY-SA 4.0
2023-11-17T14:35:13.630Z
Thomas, please don't forget to check your answer as the "accepted answer".
Greenonline
CC BY-SA 4.0
2023-06-01T18:49:40.480Z
2023-06-01T18:49:40.480Z
Thomas Weller
<p>I am following the <a href="https://help.prusa3d.com/article/octoprint-configuration-and-install_2182" rel="nofollow noreferrer">tutorial of Prusa</a> for using Octoprint with my Prusa i3 MK3. I have a Raspbery Pi Zero and I'm using the built-in GPIO pins, not an USB connection.</p>
<ul>
<li>Wifi works. I can reach the Raspberry via HTTP and SSH</li>
<li>I have enabled [RPi Port] via the i3 menu</li>
</ul>
<p>But in the Octoprint website, there's no serial port to select. It just shows &quot;AUTO&quot; and after a while it displays an error message that there's no Serial port found.</p>
<p>Via SSH I can find quite some devices which look like Serial:</p>
<ul>
<li><code>/dev/serial1</code></li>
<li><code>/dev/tty#</code>, where # is a number</li>
<li><code>/dev/ttyAMA0</code></li>
<li><code>/dev/ttyprintk</code></li>
</ul>
<p>I haven't had any issues with Serial connection since 2019 and despite all warnings, the Pi Zero did a great job. However, after the last Octoprint update, Octoprint didn't come up any more, so I did a reinstall from scratch.</p>
<p>I'm using OctoPrint 1.9.0</p>

<prusa-i3><octoprint><serial-connection>
Octoprint does not detect Serial port of RPi zero
Thomas Weller
# Octoprint does not detect Serial port of RPi zero

(Asked by: username_0 on 2023-06-01)

I am following the [tutorial of Prusa](https://help.prusa3d.com/article/octoprint-configuration-and-install_2182) for using Octoprint with my Prusa i3 MK3. I have a Raspbery Pi Zero and I'm using the built-in GPIO pins, not an USB connection.

* Wifi works. I can reach the Raspberry via HTTP and SSH
* I have enabled [RPi Port] via the i3 menu

But in the Octoprint website, there's no serial port to select. It just shows "AUTO" and after a while it displays an error message that there's no Serial port found.

Via SSH I can find quite some devices which look like Serial:

* `/dev/serial1`
* `/dev/tty#`, where # is a number
* `/dev/ttyAMA0`
* `/dev/ttyprintk`

I haven't had any issues with Serial connection since 2019 and despite all warnings, the Pi Zero did a great job. However, after the last Octoprint update, Octoprint didn't come up any more, so I did a reinstall from scratch.

I'm using OctoPrint 1.9.0

**Tags:** prusa-i3, octoprint, serial-connection


---

## 1 answers

### Answer by username_0 on 2023-06-01. Score: 3 | Accepted answer

Neither the [tutorial of Prusa](https://help.prusa3d.com/article/octoprint-configuration-and-install_2182) nor the [Octoprint setup instructions](https://octoprint.org/download/) mention this. But it's common Raspberry Pi knowledge, for everyone how experiments with the RPi.

The Serial interface that works over GPIO needs to be activated via

```
sudo raspi-config

```

In the menu, go to "Interface Options" (3), then "Serial Port" (I6). Answer "No" for the login shell and "Yes" for the Serial port hardware. After that, reboot your Raspberry when being asked.

The Octoprint web interface should then detect `/dev/ttyS0` and be able to connect.

> **Comments:**
> **username_1**: I *really* wish you would have added just a tiny bit of detail here. For example... "In the menu"... - In the menu of *what?* I have been scouring every menu I can find for octoprint / PUTTY and absolutely nowhere is there an "interface options" or "Serial Port". I have no idea what the (3) or (I6) is referencing. This seems like the info I need but the vagueness leaves me with more questions than answers.  
> **username_2**: @username_1 - username_0 is referring to the menu(s) of the command line tool `raspi-config`.  
> **username_2**: username_0, please don't forget to check your answer as the "accepted answer".  

---

