AVR USART (Serial Communication) Explained

  Рет қаралды 35,748

Joel Castillo

Joel Castillo

Күн бұрын

Пікірлер: 52
@negativ3dB
@negativ3dB 4 жыл бұрын
Hands down the most informative video I have ever seen. You have made my class project that much easier to do.
@nickolaysosnitsky3420
@nickolaysosnitsky3420 4 жыл бұрын
Это потрясающе детальное и доходчивое объяснение!
@ranjana_official
@ranjana_official 8 жыл бұрын
Thanks. Best video to understand USART.
@narasimha4660
@narasimha4660 2 жыл бұрын
Very nice video with full of information
@zhirayrshirinyan2370
@zhirayrshirinyan2370 5 жыл бұрын
One of the best videos on this topic, Thank you very much.
@alaahesham250
@alaahesham250 6 жыл бұрын
You are wonderful , may all dreams come true
@AnharAbdalmottaleb--
@AnharAbdalmottaleb-- 4 жыл бұрын
hi :'D
@alaahesham250
@alaahesham250 4 жыл бұрын
@@AnharAbdalmottaleb-- woooow ...hi back :'D حازم حازم
@RSC2194
@RSC2194 7 жыл бұрын
Excelente todos tus videos
@joelcastillo1017
@joelcastillo1017 7 жыл бұрын
Gracias por tu comentario. Saludos!
@SavageStyle77
@SavageStyle77 7 жыл бұрын
Genius tutorial! Best work over there!
@thenightwhisper2872
@thenightwhisper2872 6 жыл бұрын
*Many Thanks*, perfect video with many useful information's
@andrewmasden6352
@andrewmasden6352 4 жыл бұрын
Awesome! Thank you.
@SimpleBrains
@SimpleBrains 7 жыл бұрын
Its a superb video Joel. Keep posting !
@kevinchahine7553
@kevinchahine7553 7 жыл бұрын
Really a great lesson
@Shim267
@Shim267 7 жыл бұрын
Very Informative. Thanks!
@abolfazlghobaadi
@abolfazlghobaadi 4 жыл бұрын
That was helpful, thanks!
@NiloofarKazemi1994
@NiloofarKazemi1994 8 жыл бұрын
Perfect! Thanks.
@ExplainedIn4Minutes
@ExplainedIn4Minutes 5 жыл бұрын
nice explanation
@knagalingam4091
@knagalingam4091 6 жыл бұрын
great video
@xNideaquiNideallax
@xNideaquiNideallax 8 жыл бұрын
muy buen video, enfocado y directo, muchas gracias like y sub nuevo :)
@mustafacagraltindal
@mustafacagraltindal 4 жыл бұрын
Thanks...
@AliG.G
@AliG.G 6 жыл бұрын
sick tutorial
@latino81
@latino81 7 жыл бұрын
Good video
@lyricallizard7817
@lyricallizard7817 7 жыл бұрын
great!
@roms_jr
@roms_jr 7 жыл бұрын
Valeu!
@ggarcia236
@ggarcia236 5 жыл бұрын
hi Joel, how can configure to work master and multiple slave (MPCM)?
@mahmudulrussel9408
@mahmudulrussel9408 8 жыл бұрын
It is awesome. Thanks for clear description. Have you any video lecture on USB like this?
@joelcastillo1017
@joelcastillo1017 8 жыл бұрын
Mahmudul Russel No I dont. sorry, thanks for the comment.
@quisyNeals
@quisyNeals 7 жыл бұрын
If I were trying to use two "rf" tranceivers to allow two microcontrollers to communicate with eachother (wirelessly), would the frequency of the mirocontrollers have to match the frequency of of the tranceivers. If so, how exactly would I go about that (like, step by step).
@joelcastillo1017
@joelcastillo1017 7 жыл бұрын
It depends, if the transceivers act like "buffers" then yes, they would have to have the same frequency (bps). I would check the datasheet and specs of the transceivers to be sure. Best of luck!
@quisyNeals
@quisyNeals 7 жыл бұрын
Joel Castillo Hello joel. Thank you for your reply. I am using hc-11's. I have done my very best to synchronize everything (including the baud rate, frequency, and the power supply). something is clearly being received by the receiving microcontroller, but it is not responding the way I programmed it to. This leads me to beleive that I have established communication, but the receiving microcontroller is not capable of interpreting the information correctly. I think this means that the there must be something wrong with the timing. I am using an atmega328p and the "c" programming language, and if you don't mind, I would like to send you the code I have for the transmitting microcontroller and the receiving microcontroller so that you can take a look at it, and show me what I am doing wrong. If I don't receive a reply, I will take the hint and leave you alone. Thanks again.
@joelcastillo1017
@joelcastillo1017 7 жыл бұрын
Sure, you can send me your code(s): my email is joel.castillo@gmail.com. I don't promise to answer soon though, but I'll check it once I get a chance. Regards
@nravikiran4661
@nravikiran4661 2 жыл бұрын
at 16.50 you have placed odd parity as 0, but we can put 1 also(you put 0 based on logic operation right, ) so even parity 0 odd parity 1 . no need to stick right , based on our logic we have to consider parity bit right?
@shahzaibishaque
@shahzaibishaque 5 жыл бұрын
Well explained. 1 question: Why we decrement variable?
@joelcastillo1017
@joelcastillo1017 5 жыл бұрын
Well, in this case I wanted to make a simple program that sends DATA that decrements every time it sends new information. So what this program does is send first a number 255, then 254, then 253, and so on, until it sends 1, then 0, and then it restarts again at 255.
@shahzaibishaque
@shahzaibishaque 5 жыл бұрын
@@joelcastillo1017 Thank you Sir! 🙃
@alibehrouz9833
@alibehrouz9833 6 жыл бұрын
greattttttttttttttttttttttt
@aravind2890
@aravind2890 8 жыл бұрын
thnk u very much sir ,good explaining ,can you tell me about avr programming .its my humble request
@michaelkhantal2223
@michaelkhantal2223 7 жыл бұрын
Great Video.. please sir were can I download your slides
@joelcastillo1017
@joelcastillo1017 7 жыл бұрын
Sure, I only ask that you use the creative commons licence, as indicated in the bottom of my video: creativecommons.org/licenses/by-nc/4.0/
@michaelkhantal2223
@michaelkhantal2223 7 жыл бұрын
Thank you very much sir...I actually do not want the video i just want your notes is it possible i can download?
@joelcastillo1017
@joelcastillo1017 7 жыл бұрын
Sure, it's actually the same. =)
@jd080657
@jd080657 8 жыл бұрын
Why the 50ms delay? This limits you to 20 characters per second. Is there a more precise way to do this, like wait for a status flag?
@joelcastillo1017
@joelcastillo1017 8 жыл бұрын
Yes, the best way to do it its by checking the flag but this was just an example.
@jd080657
@jd080657 8 жыл бұрын
Thanks Joel for your quick response. And by the way, this is a great video filled with all the details I was looking for. Thanks for making it.
@joelcastillo1017
@joelcastillo1017 8 жыл бұрын
+John deLassus no problem. Thanks for your comment.
@kevin62125
@kevin62125 7 жыл бұрын
what if i choose no parity, will the parity bits are going to be don't care or what?
@joelcastillo1017
@joelcastillo1017 7 жыл бұрын
If the microcontroller is generating the output (transferring data) then it is not going to calculate nor send the parity. If the microcontroller is going to read data (receiving) then it is going to assume no parity bit is going to be received, and thus, it could result in a Frame Error if the data received does contain a parity bit.
@kevin62125
@kevin62125 7 жыл бұрын
Joel Castillo thank you
@Adrian-Carstea
@Adrian-Carstea 7 жыл бұрын
nice tutorial, but you have a mistake in it, 0x3A = 0b111010 not 0b1111010, so the diagram is wrong for 0x3A but it's ok for 0x7A
@joelcastillo1017
@joelcastillo1017 7 жыл бұрын
Thanks for your comment, the info on the video is already corrected (there is a textbox that says it is actually 0x7A) but thanks for leting me know. Best regards
ATmega328. CPU & Registers Overview
23:05
Joel Castillo
Рет қаралды 18 М.
USART -  TechTalk 058
10:23
GHI Electronics
Рет қаралды 10 М.
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН
Understanding UART
6:11
Rohde & Schwarz
Рет қаралды 210 М.
The RS-232 protocol
26:10
Ben Eater
Рет қаралды 868 М.
Learning AVR-C Episode 10: Serial Communication (TX)
23:00
humanHardDrive
Рет қаралды 117 М.
PROTOCOLS: UART - I2C - SPI - Serial communications #001
11:58
Electronoobs
Рет қаралды 1,4 МЛН
AVR Timer/Counter 0 Explained. (Intro to C programming)
49:56
Joel Castillo
Рет қаралды 35 М.
Clock Recovery and Synchronization
17:38
All Electronics Channel
Рет қаралды 34 М.
AVR Instruction Set 2 - (1 of 2) Branches (Jumps and Calls)
30:15
Joel Castillo
Рет қаралды 11 М.
Understanding I2C
10:58
Rohde & Schwarz
Рет қаралды 119 М.