Advantages Of Serial Communication Over Parallel Communication
May 26, 2016 - It is however possible to make parallel data transmission through only. However, for great distances, serial transmission is preferred: using.
Serial Communication – Introduction Hey folks! It’s now time for one of the most desired tutorials on maxEmbedded – the Serial Communication series!
In these series, we will discuss the basic concepts of serial communication; the loopback test, the USART/UART of AVR and then we will proceed towards implementing the SPI and I2C in AVR. This post will cover the basics of serial communication and will be mostly a theoretical topic. We will do some practical stuff from next tutorial onwards. Lets have a glance at the contents. Contents • • • • • • • • • • • • • • • • What is Communication? Before we move on to serial communication, lets discuss a bit about communication in general. In simple terms, communication is an exchange of ideas between two individuals.
Ideas can be anything and in any form – they could be written/spoken words, in form of media like audio/video, or if you like sci-fi, then it can also in form of telepathy!;) But what does communication between two microcontrollers mean? An exchange of data (bits)! There are many protocols for communication (which would be discussed later) but all of them are based on either serial communication or parallel communication. Why do we need Communication?
Lets take an example. As kids, we all must have played with those remote controlled toy cars and airplanes. It was pretty fun and fascinating at that time.
I am sure that most of us at that time didn’t try to figure out how it was possible! How could the remote control device in your hand control the car or the aeroplane? Well, of course, the device in your hand sends some data, which is received by the car/aeroplane. There is a microcontroller onboard the toy, which interprets the signals and acts accordingly. So far so good, but now it doesn’t end here.
As grown ups, there are a few more questions which should arise! Like how does the device send the signal?
From where is the signal being sent? What is actually being sent? Who receives it? How is it processed? Lets take another example. This one’s a more common example.
You have a file in your mobile and you would like to share it with your friend who is sitting next to you? How would you do it – Bluetooth, IR, NFC, LAN or email? Mostly people would use Bluetooth.
IR is obsolete, NFC is still in developmental phase and isn’t available in most devices, LAN needs a WiFi/LAN network whereas email requires an active Internet connection. The same questions can be put forth here as well – how is it send, from where is it sent and to where, what is being sent and how is it processed?!
I updated from Windows 8.1 Pro, which also was a free Windows upgrade from Windows 8. I have no internet access and all attempted reboots keeps going in circles and never boots. Klyuch dlya programmi plan evakuacii 10.
Well, this is why communication is required! And to answer all those questions, several communication protocols have been developed! Now lets discuss a little about serial and parallel communication. Serial Communication. Parallel Transfer Parallel communication is the process of sending/receiving multiple data bits at a time through parallel channels.
It is like you are firing using a shotgun to a target – where multiple bullets are fired from the same gun at a time!;) Serial vs Parallel Communication Now lets have a quick look at the differences between the two types of communications. Serial Communication Parallel Communication 1.
One data bit is transceived at a time 1. Multiple data bits are transceived at a time 2. Less number of cables required to transmit data 3. Higher number of cables required. Serial vs Parallel So these were the basic differences between serial and parallel communication. From the above differences, one would obviously think that parallel communication is far better than serial communication. But wait, these are just the basic differences. Before we proceed further, we need to be acquainted with a few terminologies: • Bit Rate: It is the number of bits that are transmitted (sent/received) per unit time.
• Clock Skew: In a parallel circuit, clock skew is the time difference in the arrival of two sequentially adjacent registers. To explain it further, let us take the machine gun example again. When, say around 5 people are firing at the same time, there is bound to be a time difference in the arrival of the bullet from the first shooter and that from the second shooter and so on. This time difference is what we call clock skew. This is better illustrated in the picture below: There is a time lag in the data bits through different channels of the same bus. Clock skew is inevitable due to differences in physical conditions of the channels, like temperature, resistance, path length, etc • Crosstalk: Phenomenon by which a signal transmitted on one channel of a transmission bus creates an undesired effect in another channel. Undesired capacitive, inductive, or conductive coupling is usually what is called crosstalk, from one circuit, part of a circuit, or channel, to another. Nalogovaya sistema rk prezentaciya. It can be seen from the following diagram that clock skew and crosstalk are inevitable.
- пятница 14 декабря
- 42