MENU

Fun & Interesting

UART | Raspberry Pi Pico Workshop: Chapter 4.2

Core Electronics 8,574 lượt xem 1 year ago
Video Not Working? Fix It Now

🔗 *The full course* : _https://core-electronics.com.au/courses/raspberry-pi-pico-workshop/_

*UART* or Universal Asynchronous Receiver Transmitter, is one of the most common *communication protocols* out there. It allows for 2 *devices* to be connected to each other and also for them to both send and receive data at the same time. In this video, we will be going over an example of this by connecting 2 *Picos* to each other and controlling the onboard *LED* on one with commands from another, and as we will see, this is incredibly easy in a *MicroPython* environment.

🔧🔨🧰 Hardware featured in this guide:

*Raspberry Pi Pico:*
_https://core-electronics.com.au/catalog/product/view/sku/CE08704_
*GPS Module:*
_https://core-electronics.com.au/catalog/product/view/sku/CE05949_

💡❓ If you have any questions about this content or want to share a project you're working on head over to our *maker forum:* _http://coreelec.io/forum_

0:00 What is UART?
1:14 2 Picos Talking Over UART Example
1:42 Wiring up UART
2:46 Writing Transmitting Code
4:38 Writing Receiving Code
6:43 Fixing the Byte String Format
7:22 Ascii Encoding and UART
8:42 The Pico's UART Peripherals
9:59 What can we use UART for?
11:18 3 Key Takeaways

🌏🦘 *Core Electronics* is located in the heart of Newcastle, Australia. We're powered by makers, for makers. Drop by if you are looking for:

• *Raspberry Pi* _https://core-electronics.com.au/raspberry-pi.html_
• *Arduino* _https://core-electronics.com.au/arduino.html_
• *Sparkfun* _https://core-electronics.com.au/brands/sparkfun-australia_
• *Adafruit* _https://core-electronics.com.au/brands/adafruit-australia_
• *Pololu* _https://core-electronics.com.au/brands/pololu-australia_
• *DFRobot* _https://core-electronics.com.au/brands/dfrobot-australia_

The following trademarks are owned by *Core Electronics Pty Ltd:*

"Core Electronics" and the Core Electronics logo
"Makerverse" and the Makerverse logo
"PiicoDev" and the PiicoDev logo
"GlowBit" and the GlowBit logo

Comment