SparkFun According to Pete 9-17-12: Serial Communication Demystified

  Рет қаралды 59,213

SparkFun Electronics

SparkFun Electronics

Күн бұрын

According to Pete is a bi-weekly video segment starring SparkFun Director of Engineering Pete Dokter. In this video series, Pete addresses common engineering questions, discusses current projects, and explores the wide world of embedded electronics!
Tags: ATP
Talent: Pete Dokter

Пікірлер: 47
@vaishakhmonti
@vaishakhmonti 7 жыл бұрын
Don't get fooled by the lackadaisical and even casual presentation. It's loaded guys. Loved the scope bit. Appreciate the effort man! Keep em coming.
@haochencui4066
@haochencui4066 8 жыл бұрын
Finally I understand serial communicaion. Thank you sir.
@75blackviking
@75blackviking 3 жыл бұрын
Thank you for the really helpful explanation! Great vid.
@johanburger6109
@johanburger6109 5 жыл бұрын
Well said mate well said, besides understanding something so that you can fix it you also need the knowledge to expand on design in the future
@psmith6689
@psmith6689 6 жыл бұрын
Much more enthusiastic than my embedded systems professor. As for the reason for multiple stop bits, my very old professor mentioned that it had something to do with older devices, specifically teletypewriters.
@atiqahmad5342
@atiqahmad5342 10 жыл бұрын
This is really very good video. I was trying understand the basics of serial communication and it helped me very much.thanks pete
@carlinhosff
@carlinhosff 12 жыл бұрын
the best explanation about UART I've ever saw! Can you give us, on the next one, a example of a microcontroller interfacing with a computer? Thx!
@ZaragonArt
@ZaragonArt 12 жыл бұрын
I believe two stop bits were originally for the original mechanical teletypes tto print the received character before receiving the next character.
@tomkeyser8384
@tomkeyser8384 9 жыл бұрын
Back in the OLD days.... Baud was 110, used for transmitting teletype. Actually before that baud was 33. Baud being is signal transitions. Back then being sent across telephone grade lines. really bad quality lines with analog repeaters that needed to be manually tuned, So, line noise and harmonics were horrible on these lines. Parity and stop bits were definitely required just to get a byte across the circuit reliably, usually being repeated several times.
@GordieGii
@GordieGii 4 жыл бұрын
I suspect the reason 2 stop bits is a thing is because back in the dark ages some receivers needed a little extra time at high voltage for the start bit detector circuit to reset or time to transfer from the shift register to the receive buffer before the next string of bits started coming in. Also, in my experience (mostly PLC and HMI programming software) the com parameters would be [baud] 8n1 (or 8o1) not 8/1/N, because that's the order the bits come in. (DPS) Great video.
@qzorn4440
@qzorn4440 3 жыл бұрын
hey dude your head is on backwards or maybe it's the hat? ha ha great video. i work on a x-ray camera that uses the RTS, CTS, DTR, DSR pins as pause and run. thanks a lot...:)
@selvalooks
@selvalooks 5 жыл бұрын
unforgettable explanation thanks !!!!
@Dirtdigger257
@Dirtdigger257 10 жыл бұрын
Great vid i got inspired half whey through broke out the oscilloscope measured the baud rate did the math and it all made sense. Then watch the rest of the video and you ended up doing what i just did lol. Thank for the vid you made it easy to understand.
@ITZMEEZYUBEEZY
@ITZMEEZYUBEEZY 9 жыл бұрын
This is the same technology used in cars (uart) Its how crankshaft/camshaft position sensors and wheel speed sensors communicate with the powertrain control module or body control modules.
@SparkofMagic
@SparkofMagic 12 жыл бұрын
Great Explanation. Thanks Pete. P.S. looking forward for the next video.
@MurrayPearson
@MurrayPearson 12 жыл бұрын
I assume the Arduino pins used are TX and RX (pin 1 and 0 on my Duemilanove clone)? Suppose you had three Arduinos and you wanted to talk between them with UARTs for some reason (obviously this can be handled with I2C, but we’ll ignore that for now), can you have multiple serial I/Os on one µcontroller?
@elkingthemc
@elkingthemc 4 жыл бұрын
loved this thank you!
@hertelfrank
@hertelfrank 12 жыл бұрын
Nicely presented!
@thijss1170
@thijss1170 12 жыл бұрын
This is better than my university class ...
@Mahbub_Nazmul_Eng
@Mahbub_Nazmul_Eng 7 жыл бұрын
Really it's a greag video to learn easily. Thanx sir.
@yellowcrescent
@yellowcrescent 12 жыл бұрын
Using a USART in synchronous mode is just like using a serial shift register or other synchronous serial comms (like SPI). Instead of just RX/TX, you've also got CLK (XCK), which is your clock line (baud rate)... One device is the master (clock generator), while the other(s) are the receivers which use the clock as the baud rate reference. Although you can do this without using a USART and bit-bang it just as well....
@carrierspace
@carrierspace 12 жыл бұрын
Can we get more videos like this please.
@nathanlilienthal1604
@nathanlilienthal1604 11 жыл бұрын
You do the same thing I do when spelling words. Love it. Also great videos.
@90chevytruck
@90chevytruck 12 жыл бұрын
How is that ATTEN oscilloscope?? Is it good compared to an Owon brand or Rigol?
@MurrayPearson
@MurrayPearson 12 жыл бұрын
Thanks, Lawrence. I was actually thinking of a star-shaped cluster of Arduinos - one master controller driving specialist subsystems on separate machines. It looks like this could implement that nicely - or, there’s always I2C. :-)
@MohammedGamal5
@MohammedGamal5 11 жыл бұрын
A-W-E-S-O-M-E : one byte at a time xD
@givenmahlangu9221
@givenmahlangu9221 5 жыл бұрын
😅🤣🤣
@sigalgalkin
@sigalgalkin 10 жыл бұрын
THANK YOU. ENJOY SUDY FROM YOU. I DO HAVE A QUSTION: will it work with lego (simens)? i do have a sierial adaptor and my computer have usb. thank you again
@4lifeNerdfighter
@4lifeNerdfighter 12 жыл бұрын
You need to also do a video on USB protocols.
@L1Christopher
@L1Christopher 7 жыл бұрын
TY Pete
@geetasitaprao5163
@geetasitaprao5163 6 жыл бұрын
truly inspiring...i want to study the communication between pc and smart ups connected by serial interface ,db9 at ups end and db25 at pc end...how can i monitor communication between them...
@kamotecues
@kamotecues 10 жыл бұрын
very informative. thank you sir
@lawrencejob
@lawrencejob 12 жыл бұрын
Yeah, it'll work but it will saturate the ports on the 'server' Arduino. Even without UART, you're making a very expensive project -> using multiple Arduinos (unless you have to) isn't very cost effective at all.
@mokmo23
@mokmo23 12 жыл бұрын
lookimg forward to the part on I2C
@lawrencejob
@lawrencejob 12 жыл бұрын
If you don't have a capable Arduino, check out (Google) 'Arduino Software Serial'. It only has two physical ports but, being a microcontroller, you can simulate it.
@wardcampbell5885
@wardcampbell5885 6 жыл бұрын
O my!... Now I know everything!
@Galfonz
@Galfonz 12 жыл бұрын
Avionics uses parity. Wouldn't want a bad byte to cause your plane to go down instead of up. The UART is 32 bits. Google ARINC-429
@johnrees44..G4EIJ
@johnrees44..G4EIJ 5 жыл бұрын
Many thanks from an 'old timer' who thought he understood serial☹️....
@yuanchenghe8592
@yuanchenghe8592 10 жыл бұрын
AAAAAAAAAAAAAAAAAAAAAAAWESOME!!!!!
@sagnikpradhan3594
@sagnikpradhan3594 7 жыл бұрын
I have never heard of USART..
@HemaBasha33
@HemaBasha33 11 жыл бұрын
U really really look like johnny depp :) nice video
@alcampbell
@alcampbell 5 жыл бұрын
i was gonna like this but your like hand said 666 LOL.
@dubbbear
@dubbbear 12 жыл бұрын
radical
@thenerdyouknowabout
@thenerdyouknowabout 12 жыл бұрын
Never used usart
@AxelWerner
@AxelWerner 12 жыл бұрын
dual isdn is just 128k max. in the us even less sinxe they often only got 56k per chan.
@angelogmassolin5056
@angelogmassolin5056 7 жыл бұрын
I know I really late on this one .... he has no idea on the history of data communications .... In the beginning ... machines or teletypes would send out the information bit by bit each bit was short and went out all messages were created on punched tape ... Paper tape and ir depended on the vintage the old machine used 5 bit for each character ... the they added more characters so that they could send more descriptive messages and went to the 8 bit code ASCII and there are many dielectric of ASCII .... the the computer , or electronic communications evolved and they invented the UART ... this has been around forever at the same time the USART was developed ... the reason for the UART is that machine to machine communications is very slow and computer to computer is very fast so they needed something to store the character until each bit was received and then sent to the next computer ... the BAUD rates hes is talking about .. WELL they were SLOW and started at 300 then went to 1200 the 2400 then 56000 then up and up 96000 then higher com lines in the past were bad and noisy so the slow speed to-day they are still noisy but at the sending end all is encoded from analogue to digital before it leave your home or place of business ... I could go on ... but that is enough for now ... OHHH the USART was ment to be used computer to computer where they could send the characters and clock them at computer speeds but they found it still not practical ....
SparkFun According to Pete 10-15-12: SPI & I2C
29:22
SparkFun Electronics
Рет қаралды 51 М.
SparkFun According to Pete 2-4-13: Voltage Regulators
31:14
SparkFun Electronics
Рет қаралды 21 М.
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
Serial Communication RS232 & RS485
12:58
RealTimeAutomation
Рет қаралды 507 М.
SparkFun According to Pete #37: Transistor Biasing Configurations Part 2
26:21
SparkFun Electronics
Рет қаралды 49 М.
SparkFun According to Pete 1-7-13: Filters
18:22
SparkFun Electronics
Рет қаралды 12 М.
What Is RS485 Serial Communication ?
4:07
IT and Automation Academy
Рет қаралды 28 М.
Connecting an LCD to our computer - 6502 part 4
28:10
Ben Eater
Рет қаралды 1,2 МЛН
OSI Model Deep Dive
31:52
Kevin Wallace Training, LLC
Рет қаралды 352 М.
SparkFun According to Pete #34: PCB Layout
29:39
SparkFun Electronics
Рет қаралды 109 М.
PROTOCOLS: UART - I2C - SPI - Serial communications #001
11:58
Electronoobs
Рет қаралды 1,4 МЛН
AT&T Archives: Similiarities of Wave Behavior (Bonus Edition)
28:03
AT&T Tech Channel
Рет қаралды 402 М.
Explosive Science - with Chris Bishop
1:00:52
The Royal Institution
Рет қаралды 2,3 МЛН
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН