Skip to content

Latest commit

 

History

History

loopback

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Using UART on the Raspberry Pi Pico

Send data from the UART1 port to the UART0 port. Other things to try;

uart0 = UART(0)

which will open a UART connection at the default baudrate of 115200, and

uart0.readline()

which will read until the CR (\r) and NL (\n) characters, then return the line.

Wiring information

See Figure 1 for wiring instructions.

pico uart example
Figure 1. Wiring two of the Pico’s ports together. Be sure to wire UART0 TX to UART1 RX and UART0 RX to UART1 TX.

List of Files

A list of files with descriptions of their function;

uart.py

The example code.

Bill of Materials

Table 1. A list of materials required for the example

Item

Quantity

Details

Breadboard

1

generic part

Raspberry Pi Pico

1

https://www.raspberrypi.com/products/raspberry-pi-pico/