

Login into the Raspberry Pi and on console edit /boot/config.txt. In the section below, we will look at how to configure and use UART ports effectively for both the older and newer versions of Raspberry Pi.įollowing instructions are for Raspberry Pis that do not have onboard Bluetooth module and PL011 UART module is assigned to the BCM pins 14 and 15. The PL011 is a stable and high-performance UART.įor better and effective communication use PL011 UART instead of mini UART. This dependency on GPU frequency makes mini UART on newer pi's unstable for most serial applications. By default, Mini UART is available but linked to the core frequency of GPU.

In the newer version of Raspberry Pi's the PL011 is connected to the On-board Bluetooth module. In older versions of Raspberry Pi, the ones that do not have onboard wifi and Bluetooth module, the PL011 UART was allocated to BCM 14 and 15. This UART has better throughput than mini UART. Raspberry Pi has two in-built UART, which are as follows: UART(Universal Asynchronous Receiver/Transmitter) pins. These pins collectively are also known as Note that TxD or Raspberry pi connects to RxD of the external device and similarly for the other pins. While connecting it to external devices ensure that they also are 0-3.3V devices.

To make it crystal clear, here we are talking about the physical serial pins 8, TxD, also referred to as BCM 14 and physical pin 9, RxD also referred to as BCM 15.Īnother vital thing to note here is that these serial pins work at 0-3.3 Volts. Following article is an attempt to set up the serial communication from your Raspberry Pi.

That one encounters when using different Raspberry Pi models. Instead, it is confusing because online instructions are not very clear on the issues Setting Raspberry Pi Serial Ports is expected to be simple and straightforward. Raspberry Pi is capable of doing serial communication using the GPIO pins 14 and 15.
