how does UART work??? (explained clearly)

how does UART work??? (explained clearly)

Continuous Load

6 лет назад

303,702 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@mirmos
@mirmos - 05.12.2023 22:03

thanks a lot! this is a clear explanation ^^

Ответить
@pdeepakjayan5515
@pdeepakjayan5515 - 08.10.2023 18:37

Sir, I am trying to receive gps data each second using interrupt function.What I understood is that,I had enabled the global interrupt in stm32 configuration for uart3, and whenever the interrupt triggers,the programs goes to the callback function which is hal_uart_rxcpltcallback.The program reaches the function..I do some processing again and then enable the interrupt again..The next sexond when the data arrives at 100ms after a pps signal(reference signal marked for 1 second),again interrupt is triggered , program goes to callback function, does the particular function, comes out of callback function.This happens in every 100th -130th millisecond of each second.I understood that whenever the codes enters the callback, ,the interrupt is diabled and we need to enable the interrupt again to receive the next data..Altogether 300bytes of data arrives from 100 to 130milliseconds..After 130 milisecond,if suppose some random data arrives, the interrupt may still trigger, since each time i enable the interrupt while coming out of callback function..how to stop receing the interrupt after 300millisecond? Can i use abort function?? Also can you please explain What is the differnce between isr function and callback function??Looking forward for your reply

Ответить
@u666sa
@u666sa - 18.09.2023 21:54

@continuousload3963 I've bought a USB-to-UART, it's called CH340G. It has GRD, RX, TX. I understand that. I've already used this thing to connect to my router (keenetic 1). On the dongle there is also VCC, 3.3 and 5V pins. I have no clue how to use those. On the router I also have 3.3V pin, but not using it has no effect. What's the deal with these 3 pins on the dongle?

Ответить
@surenbono6063
@surenbono6063 - 11.09.2023 23:27

..who say UART is no good for wireless communication ...check hc-12 with baud controlled clock...simply Serial.write(var,sizeof(var); to tx...last bit (10th bit) always HIGH

Ответить
@Eduard_Kolesnikov
@Eduard_Kolesnikov - 02.09.2023 04:37

Thank you man

Ответить
@tonypitsacota2513
@tonypitsacota2513 - 25.08.2023 11:32

Can you recommend your 1102? I am shopping for scopes now and it seems to be popular.

Ответить
@madakakarthik2687
@madakakarthik2687 - 05.08.2023 17:46

1.25x feels really normal in this video 😅

Ответить
@iamshivaramakrishna
@iamshivaramakrishna - 04.08.2023 14:39

Hello👋,
@Continuous Load YTchannel..

Thank you So much for sahring valuable information...👌
It's very helpful to easy and real understading of UART Protocol...
way of explaining and output showing on Digital oscilloscope.

Ответить
@muhammed5402
@muhammed5402 - 02.08.2023 14:15

Perfect explanation. thx

Ответить
@Bianchi77
@Bianchi77 - 21.07.2023 14:07

Nice info, well done, thanks for sharing it:)

Ответить
@JohnJohn-gy2st
@JohnJohn-gy2st - 28.05.2023 06:10

Hello

Ответить
@felixgspandl
@felixgspandl - 16.05.2023 18:30

Thx man you really helped me with my school presentation

Ответить
@anemicraptor
@anemicraptor - 08.05.2023 15:27

thank you!

Ответить
@shamvibhute136
@shamvibhute136 - 23.03.2023 06:43

good

Ответить
@marcwest5872
@marcwest5872 - 12.02.2023 08:02

You can set up a uart over wifi serial device just look up a an ESP8266 device I have loads of devices that use ESP8266 also check adafruit.

Ответить
@adampaech2469
@adampaech2469 - 21.01.2023 14:10

Very good video, thanks

Ответить
@jj74qformerlyjailbreak3
@jj74qformerlyjailbreak3 - 09.01.2023 08:01

What are all the dotted lines on that surface? I would learn more if I wasn’t so distracted by those visions. I’m sure I’ll get it. 😂

Ответить
@alexnoggle1874
@alexnoggle1874 - 21.11.2022 16:45

loved this video

Ответить
@danielgoodman3578
@danielgoodman3578 - 19.11.2022 06:47

I'm watching your video to help me review/understand UART before diving into learning how to use it on a dsPIC33.

But I notice quite clearly that you're left-handed. I am not, but my dad is. It is a foreign world to me. My dad may still have his left hander's coffee mug, which has a hole on one side (and thus a limit to how much you can fill it), restricting it to be used with the left hand. Right handers will spill coffee on themselves with it unless they awkwardly try to cover the hole with their lower lip.

Ответить
@deathsgaze5826
@deathsgaze5826 - 17.11.2022 23:21

I see the same waveform but then it continues on for some more 0s and 1s. Why?

Ответить
@ycombinator765
@ycombinator765 - 19.10.2022 23:32

exceptionally simple <3

Ответить
@MatthewSuffidy
@MatthewSuffidy - 09.10.2022 09:43

The serial in the arduino case is ttl level and not usual rs-232. That means it is inverted and in a different voltage range like 0-5v and not +/- 2.5 v or all the way to +/- 15 v.

Ответить
@s-max3277
@s-max3277 - 26.09.2022 01:27

Hello sir not understand one question. hare impossible convert this uart wired to uart no wired?

I need extend distance for one display connected with 4 wire.
Do you have solution?
Thank s👍

Ответить
@velialiyev3689
@velialiyev3689 - 12.09.2022 15:26

I WONDER HOW CAN I CONNECT MY Globisens LabDisc TO ARDUINO VIA USB CABLE? ARDUINO HAS TX AND RX PINS, LabDisc SUPPORTS UART PROTOCOL. BUT I DON'T KNOW HOW TO READ SIGNALS FROM LabDisc OUTPUT CABLE WHICH IS FOR CONNECTING TO LAPTOP.

IT WOULD BE FANTASTIC IF YOU SHARE A VIDEO ABOUT IT.

THANKS IN ADVANCE.

Ответить
@velialiyev3689
@velialiyev3689 - 12.09.2022 15:25

I WONDER HOW CAN I CONNECT MY Globisens LabDisc TO ARDUINO VIA USB CABLE? ARDUINO HAS TX AND RX PINS, LabDisc SUPPORTS UART PROTOCOL. BUT I DON'T KNOW HOW TO READ SIGHTINGS FROM LabDisc OUTPUT CABLE WHICH IS FOR CONNECTING TO LAPTOP.

IT WOULD BE FANTASTIC IF YOU SHARE A VIDEO ABOUT IT.

THANKS IN ADVANCE.

Ответить
@mr_whyy
@mr_whyy - 29.08.2022 12:07

Ground wire is not always there or required, for example in a differencial bus where the digital values are obtained by checking the voltage between two wires

Ответить
@zahidahmed3312
@zahidahmed3312 - 28.07.2022 22:32

Worst explanation

Ответить
@sanjidajui5146
@sanjidajui5146 - 14.07.2022 14:28

9600bps is voice band velocity ?

Ответить
@Thomas-bs2em
@Thomas-bs2em - 27.06.2022 20:33

Great explanation! Can you please publish the code that your Arduino is running for this demo? THX!

Ответить
@ShivamKumar-ky6vm
@ShivamKumar-ky6vm - 15.06.2022 01:09

AWEOME LECTURE

Ответить
@taghreedkhb7
@taghreedkhb7 - 18.05.2022 16:39

thank you so much

Ответить
@marklee1209
@marklee1209 - 08.05.2022 14:02

This is ace! I’ve used comms for years between devices, and taken that it’s always worked. Setup the correct comms settings and away it goes. but I’m now at a stage where I’ve got to take comms signal from an old device and manipulate it to deliver something readable. This has helped me understand how it is sent and received. Knowing this gives me some idea how to move forward from here. Thanks!

Ответить
@Chris-on5bt
@Chris-on5bt - 29.04.2022 04:04

Great video, Thank you!

Ответить
@Balasubramanian-dy5fp
@Balasubramanian-dy5fp - 21.04.2022 11:55

Awesome explanation!

Ответить
@SbnPranav
@SbnPranav - 17.03.2022 12:12

Hey I Know that Laptop you had in the video...Its the epic "Pavilion G4 Notebook".

Ответить
@cessromer7078
@cessromer7078 - 16.03.2022 05:46

I would like to know the source code you wrote in arduino IDE ?

Ответить
@ameiliaw8191
@ameiliaw8191 - 10.03.2022 13:29

Thank You

Ответить
@paramhansnabar7848
@paramhansnabar7848 - 27.02.2022 14:44

O wow 😂😂. No seriously this is the best explanation about data transmission. Thanks for making this video

Ответить
@grzesiek1x
@grzesiek1x - 25.02.2022 02:05

I have experimented with my Arduino and with oscilloscope device is really fascinating what we can do! I made my own code for communicating with my computer (very easy) and it works! People even don;t think that there are thousands of possibilities and only open mind is needed for ideas! People seem to be like sheeps. One man invents something and then everybody uses it but withut realising that there is not only one solution or way how to do it and how to communicate , send/ receive signals etc. Just my own reflection ;)

Ответить
@MsAsh6
@MsAsh6 - 20.02.2022 11:22

There is a difference between baud rate and bit rate blade rate is the rate is amount of the times a signal changes and bit rate is rate of bits send per second

Ответить
@chelsea028
@chelsea028 - 18.02.2022 23:16

very clearly explained with example

Ответить
@chelsea028
@chelsea028 - 18.02.2022 23:16

beautiful

Ответить
@louisparisi1
@louisparisi1 - 14.02.2022 00:57

Great vid, thanks

Ответить
@darieh4909
@darieh4909 - 14.01.2022 23:44

thanks !

Ответить
@xtremejennbase
@xtremejennbase - 07.12.2021 22:12

This is a perfect explanation of UART and I like how you covered baud rate and the fact that it transmits by LSB first.

Ответить
@smokeysky
@smokeysky - 05.11.2021 14:01

FFS it took me waaaay to long to realise the X in TX and RX means like; flip the cables cause you can't talk when you listening xD

Ответить
@ranellabjata5170
@ranellabjata5170 - 19.10.2021 01:41

Thanks sir

Ответить
@ulysses_grant
@ulysses_grant - 08.10.2021 16:34

Left-handed people explains it better. Cheers ma lad!

Ответить