Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Raspberry Pi Pico DIY Workshop

You're reading from  Raspberry Pi Pico DIY Workshop

Product type Book
Published in May 2022
Publisher Packt
ISBN-13 9781801814812
Pages 376 pages
Edition 1st Edition
Languages
Authors (2):
Sai Yamanoor Sai Yamanoor
Profile icon Sai Yamanoor
Srihari Yamanoor Srihari Yamanoor
Profile icon Srihari Yamanoor
View More author details

Table of Contents (17) Chapters

Preface Section 1: An Introduction to the Pico
Chapter 1: Getting Started with the Raspberry Pi Pico Chapter 2: Serial Interfaces and Applications Chapter 3: Home Automation Projects Chapter 4: Fun with Gardening! Section 2: Learning by Making
Chapter 5: Building a Weather Station Chapter 6: Designing a Giant Seven-Segment Display Chapter 7: Designing a Visual Aid for Tracking Air Quality Section 3: Advanced Topics
Chapter 8: Building Wireless Nodes Chapter 9: Let's Build a Robot! Chapter 10: Designing TinyML Applications Chapter 11: Let's Build a Product! Chapter 12: Best Practices for Working with the Pico Other Books You May Enjoy

Using the UART interface to communicate between two Pico boards

In this section, we will discuss the Universal Asynchronous Receiver/Transmitter (UART) interface and its applications. We will be making use of two Pico boards to transmit a message from one Pico to another. The second Pico echoes back the incoming message. Before we jump into the example, let's take a quick look at the UART interface.

The UART interface

The UART interface is a communication protocol using two lines, namely a transmitter and a receiver (shown in the following figure). As the name suggests, the protocol is asynchronous; that is, there is no reference clock signal for the communication. The communication happens at a preset speed known as a baud rate. Typical baud rates include 9600, 19200, 38400, and so on.

The UART interface is used to communicate with sensors such as GPS sensors, dataloggers, and so on. The following figure shows the connection between two devices. The receiver (RX) of...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}