Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 1251

Python • Setup Raspberry Pi 5 Serial Over GPIO

$
0
0
I had quite a bit of trouble simply finding the information needed to implement what I wanted so I am going to post this to help anyone else interested. For the OS I am using Ubuntu 24.04.2 LTS. The default setting on the Raspberry Pi 5 has UART communication only going through the Debug pins. To activate it on the GPIO I simply added

Code:

dtoverlay=uart0-pi5\n dtoverlay=disable-bt
after '[all]' at the top of /boot/firmware/config.txt. Translation; typed in 'sudo nano /boot/firmware/config.txt and added

Code:

dtoverlay=uart0-pi5\n dtoverlay=disable-bt
after '[all]' at the top.

Statistics: Posted by Ike03 — Mon Mar 24, 2025 10:35 pm



Viewing all articles
Browse latest Browse all 1251

Trending Articles