The inner workings of Serial Communication Explained | Part 1
HTML-код
- Опубликовано: 19 июл 2024
- 🤩 FREE Arduino Crash Course 👇👇
bit.ly/get_Arduino_skills
Want to learn more? Check out our courses!
bit.ly/3B8YW3y
**Get the code, transcript, challenges, etc for this lesson on our website**
bit.ly/3B19py9
We designed this circuit board for beginners!
Kit-On-A-Shield: amzn.to/3lfWClU
SHOP OUR FAVORITE STUFF! (affiliate links)
---------------------------------------------------
Get your Free Trial of Altium PCB design Software
www.altium.com/yt/programming...
We use Rev Captions for our subtitles
bit.ly/39trLeB
Arduino UNO R3:
Amazon: amzn.to/37eP4ra
Newegg: bit.ly/3fahas8
Budget Arduino Kits:
Amazon:amzn.to/3C0VqsH
Newegg:bit.ly/3j4tISX
Multimeter Options:
Amazon: amzn.to/3rRo3E0
Newegg: bit.ly/3rJoekA
Helping Hands:
Amazon: amzn.to/3C8IYXZ
Newegg: bit.ly/3fb03X1
Soldering Stations:
Amazon: amzn.to/2VawmP4
Newegg: bit.ly/3BZ6oio
AFFILIATES & REFERRALS
---------------------------------------------------
►Audible Plus Free trial: amzn.to/3j5IGrV
►Join Honey- Save Money bit.ly/3xmj7rH
►Download Glasswire for Free:bit.ly/3iv1fql
FOLLOW US ELSEWHERE
---------------------------------------------------
Facebook: / programmingelectronics...
Twitter: / progelecacademy
Website: www.programmingelectronics.com/
Are you wondering what the heck serial communication is?
Maybe you have been using some functions from the Arduino Serial library, like Serial.begin() and Serial.print()
and they leave you wondering more about this serial communication thing - I mean, how does it actually work!?
In this lesson you will learn:
What is “serial communication”?
What is a USART anyway?
The nitty gritty of basic serial communication
The different roles of start bits, data frames, parity bits, and stop bits
What the heck baud rate it - and why it is SO crucial
The (lack of) significance of the baud rate 9600
DON’T GET SCARED!
OK - before we start, I want to warn you that this lesson is filled with technical terms, probably like 572 of them!
I know when you’re new to electronics, all this crazy sounding jargon can be confusing, and you might think it will all be way over your head.
And it might be all “over your head” for a while (it still might be over my head 😉 - but as you get more familiar with these terms, and see them used and explained in different ways, over time all the crazy stuff will start to sink in.
I’ll try to explain all the jargon along the way as best as I can, but just in case you miss something… here is a chart listing all the terms used here:
(see chart her! - bit.ly/3B19py9)
TERM DESCRIPTION
UART Universal Asynchronous Receiver/Transmitter
USART Universal Synchronous/Asynchronous Receiver/Transmitter
SPI Serial Peripheral Interface
I2C Inter-Integrated Circuit
ATMEGA328P Microcontroller The primary microcontroller used On Arduino UNO and MEGA - has built-in UART
ATmega16U2 Microcontroller A microcontroller used on the Arduino UNO and MEGA that has a built in USART. This microcontroller is used as a USB to serial converter.
RX Receive. Often, the connection designated to receive a signal is marked with RX.
TX Transmit. Often, the connection designated to transmit a signal is marked with TX.
USB Universal Serial Bus
TTL Transistor-transistor logic
ASCII American Standard Code For Information Interchange
WHAT THE HECK IS SERIAL COMMUNICATION?
In a nutshell, serial communication is a method of sending and receiving information one bit at a time.
Serial communication takes many different forms, we will only discuss one of them in detail here.
Just like there are many ways to communicate from one person to another, there are many ways to serially communicate from one device to another.
Probably the most familiar method of serial communication is over USB. If you didn’t know, USB stands for Universal Serial Bus.
USB is a serial communication protocol. A protocol is just a way of doing something. Maybe you have a protocol for what to do if you can’t find your phone…
Curse a couple times
Mentally walk through the places it could be
Look in the last room you were in
Blame the kids for losing your phone
Look on the bathroom shelf
Get one of your family members to call you, so you can hear it ring in the basement, buried in the laundry basket
USB is but one of many serial communication protocols that your Arduino can use. It’s also able to communicate using these common protocols…
Serial Peripheral Interface (SPI)
Inter-Integrated Circuit (I2C)
and “TTL serial” using a USART
This last method which uses a USART is by far the simplest method of serial communication and what we’ll use as the starting point for a fundamental understanding of how serial communication works.
The narrator in this series has a good speaking voice and a reassuring tone. That helps a lot. Looking forward to the next part of this.
Thanks for the kind note! Much appreciated!
Another one...knocked out of the park! Great video.
Thanks so much!
Video starts at 2:00
Informative 🔥❤️
Thanks so much for watching!
Have you released a follow up video for this at this stage? Keen to see! :D
Looks like it's the TTL video for part 2 right?
Yes - there is a part 2 and a part 3... We are going to release a combined version of all 3 as well...
Informative
Nice explained
Thank you!
Thanks
Thanks for watching!
But where's the next video? It should be linked as the first thing in your description. I arrived here after a search, this video is not playing in a playlist, and now I'm left confused, and will probably click on some other random video
I can't find part 2😭😭😭
Sorry about that! -> Here's a link for you: ruclips.net/video/9fxld9kGmjc/видео.html
Excuse me sir I want to talk to via social media so give us your ..
Which one? Check the links in the description to follow us on twitter or Facebook.