In this video, we'll talk about what is a hardware UART, how UART works, its advantages over a software UART, and how to work with it using the example of Arduino UNO, Arduino Nano and ATtiny2313. I will tell you what difficulties you can face when implementing a hardware UART on the ATtiny2313. Similar difficulties can arise with other AVR microcontrollers.
Let's analyze the situation when an error occurs during data transfer when using a hardware UART. And I will offer two ways to solve it: using an external clock source (quartz resonator) and a special sketch.
Video sketch https://drive.google.com/file/d/1LtWR...
ATtiny2313 (set of 2) http://alii.pub/62nd76
USBasp Programmer http://alii.pub/62nd67
Quartz Resonator Kit http://alii.pub/62uoka
0:00 What is UART
2:29 Software UART
3:18 Benefits of a hardware UART
6:29 An example of working with a hardware UART
7:41 Problem with hardware UART on ATtiny2213
9:20 The first solution is a quartz resonator
10:40 Second solution a special sketch