Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Robotics Chat


Robotics Chat Specific to discussions about robots and the making of.

Reply
 
Thread Tools Display Modes
Old 3rd October 2007, 03:44 PM   (permalink)
New Member
yashitkumarsingh has a little shameless behaviour in the past
Question Is serial communication faster or parallel???

why??
and also if parallel is faster than what about USB ....how can this be fast??
yashitkumarsingh is offline   Reply With Quote
Old 3rd October 2007, 03:49 PM   (permalink)
Super Moderator
 
Nigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to behold
Default

If you're talking about a PC?, then parallel is faster than serial, and USB is faster than parallel (and certainly USB2 is much faster).

But really a LOT depends what you're doing, and why you're asking?.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline   Reply With Quote
Old 3rd October 2007, 03:52 PM   (permalink)
New Member
yashitkumarsingh has a little shameless behaviour in the past
Default

yes, about PC...

but usb is used for transferring data serially , isnt it??
though i dont have much idea??

plz explain the cases??
yashitkumarsingh is offline   Reply With Quote
Old 3rd October 2007, 03:58 PM   (permalink)
Super Moderator
 
Nigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to behold
Default

Quote:
Originally Posted by yashitkumarsingh
yes, about PC...

but usb is used for transferring data serially , isnt it??
though i dont have much idea??

plz explain the cases??
Data is written to the disks in hard drives serially, and they are faster still, serial simply depends on how fast you send it!.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline   Reply With Quote
Old 3rd October 2007, 04:33 PM   (permalink)
Experienced Member
 
dknguyen is a splendid one to beholddknguyen is a splendid one to beholddknguyen is a splendid one to beholddknguyen is a splendid one to beholddknguyen is a splendid one to beholddknguyen is a splendid one to beholddknguyen is a splendid one to behold
Default

Ideally...parallel is faster since you are sending a bunch of bits at the same time instead of one after another...

However, in reality when parallel gets really fast, the bits that are sent at the same time don't arrive at the same time, and there is crosstalk because there are so many wires involved. What can happen then is you use differentially signalled serial communications (and other considerations) and then hike up the speed a LOT to surpass the speed of parallel which doesn't have the problem of getting all the bits to arrive at the same time relative to each other and doesn't have the problem of crosstalk because there are less wires.

THat's what's happening between the older harddrives and newer harddrives now- with old technology then parallel is faster, but with newer technology you can get faster speeds with serial. So in short, being parallel or serial doesn't determine speed- how you implement it does.
dknguyen is offline   Reply With Quote
Old 3rd October 2007, 11:59 PM   (permalink)
New Member
tboydva is on a distinguished road
Default

dknguyen,

Thanks for your answer to this question!!! I have posed this in hushed tones to all the tech people I know and noone was ever able to give me a plausible answer. I took computer science in 1979 and we learned (quite convincingly) that parallel was the faster transfer protocol (one byte transferred per clock cycle vs 8 clock cycles for serial). This was 1979 mind you, so a byte was a respectable amount of data to transfer. I've been curious why everything has become serial (from PATA to SATA)... I greatly appreciate your explanation. I'm surprised someone hasn't come up with some form of shielding for parallel transfers (but I guess 64 wires would get out of hand!). Thanks again.

Tom
tboydva is offline   Reply With Quote
Old 4th October 2007, 01:15 AM   (permalink)
3v0
Moderator
 
Blog Entries: 3
3v0 is a splendid one to behold3v0 is a splendid one to behold3v0 is a splendid one to behold3v0 is a splendid one to behold3v0 is a splendid one to behold3v0 is a splendid one to behold3v0 is a splendid one to behold
Default

dknguyen's answer was very good.

Quote:
I'm surprised someone hasn't come up with some form of shielding for parallel transfers (but I guess 64 wires would get out of hand!).
They have but you will not see it in consumer products because of the high cost.
3v0 is offline   Reply With Quote
Old 4th October 2007, 01:34 AM   (permalink)
Experienced Member
 
dknguyen is a splendid one to beholddknguyen is a splendid one to beholddknguyen is a splendid one to beholddknguyen is a splendid one to beholddknguyen is a splendid one to beholddknguyen is a splendid one to beholddknguyen is a splendid one to behold
Default

Cost is an issue too to switching to serial. It's just cheaper (and looks prettier). The cost of a serial (with it's slightly more complex signalling) and the better materials involved probably costs less than making a parallel interface that runs just as fast (even if you didn't have to spend money to overcome the crosstalk and timing problems) since the parallel interface changes all the circuitry at a fundamental level taking up more space and more circuitry (to handle each bit in the parallel interface).

Of course there might be a parallel interface somewhere really high end that uses the same high speed signalling used in the high-speed serial interfaces. But it probably costs a fortune.

It's also easier to bend 4-wire cables around the inside of your PC than a 32-pin ribbon cable.

Last edited by dknguyen; 4th October 2007 at 01:39 AM.
dknguyen is offline   Reply With Quote
Old 4th October 2007, 03:55 AM   (permalink)
Experienced Member
 
Leftyretro has a spectacular aura about
Default

Well certainly when asked as a academic questions, and assuming identical bit clock rates, one would have to say, for example, an 8 bit wide parallel interface will be at least 8 time faster then a serial interface.

For serial data one should also add the time needed to create the serial stream (the parallel to serial conversion done in UART or software) and to convert back to parallel data. The hardware costs should be somewhat less for the serial link but probably not 8 times cheaper if we are talking standard wiring costs.

So you take your trade-offs and make your choice. It's really a application + specifications and + budget driven decision, no?

I suspect the fastest buses in use (supercomputer?) most likely utilize parallel fiber optics channels.

Lefty
__________________
Measurement changes behavior
Leftyretro is offline   Reply With Quote
Old 9th October 2007, 12:43 AM   (permalink)
Experienced Member
mneary is a glorious beacon of lightmneary is a glorious beacon of lightmneary is a glorious beacon of lightmneary is a glorious beacon of lightmneary is a glorious beacon of light
Send a message via AIM to mneary
Default

Documents on the BlueGene/L (fastest supercomputer in the world) suggest that the communication among the 65,536 dual-processor modules is a combination of "Tree link" and gigabit ethernet. It isn't stated, but both would appear to be serial on copper. When it needs more than a gigabit/s it appears they use multiple serial links.
mneary is online now   Reply With Quote
Old 9th October 2007, 08:49 AM   (permalink)
Super Moderator
 
Nigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to behold
Default

Quote:
Originally Posted by mneary
It isn't stated, but both would appear to be serial on copper.
I would have thought it's likely - optical isn't much advantage because you've got to convert it either end.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline   Reply With Quote
Old 15th October 2007, 03:33 PM   (permalink)
New Member
donduvall is on a distinguished road
Default

Quote:
Originally Posted by mneary
When it needs more than a gigabit/s it appears they use multiple serial links.
Isn't multiple serial lines called parallel.
donduvall is offline   Reply With Quote
Old 15th October 2007, 06:45 PM   (permalink)
Experienced Member
 
dknguyen is a splendid one to beholddknguyen is a splendid one to beholddknguyen is a splendid one to beholddknguyen is a splendid one to beholddknguyen is a splendid one to beholddknguyen is a splendid one to beholddknguyen is a splendid one to behold
Default

Quote:
Originally Posted by donduvall
Isn't multiple serial lines called parallel.
No. THe data in a parallel interface is split up into chunks and sent down the parallel lines simultaenously. In a serial message, the chunks of a single message are sent down the same line sequentially.

In multiple serial lines, the data chunks sent down each line is not part of the same message (and therefore does not have to be time synced among the lines). All chunks that are part of the same message are sent down it's own dedicated line sequentially.

So suppose one line gets corrupted somehow, in parallel, the message is destroyed. In multiple serial lines, only one message is destroyed and the messages on the other lines are unaffected.

Last edited by dknguyen; 15th October 2007 at 06:49 PM.
dknguyen is offline   Reply With Quote
Old 25th October 2007, 06:41 PM   (permalink)
New Member
Lesh is on a distinguished road
Default

PCI Is a pretty darn fast parallel interface. 32 bits x 66 mhz is 2.1 Terrabits per second.
Lesh is offline   Reply With Quote
Old 26th October 2007, 02:42 AM   (permalink)
Experienced Member
mneary is a glorious beacon of lightmneary is a glorious beacon of lightmneary is a glorious beacon of lightmneary is a glorious beacon of lightmneary is a glorious beacon of light
Send a message via AIM to mneary
Default

Uh, almost. It's 2.1 gigabits.

And it's spelled terabits. Terrabits would be Earth bits.
mneary is online now   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Latest
searching for serial to parallel converters nomadaz666 Datasheet/Parts Requests 3 7th December 2007 02:29 AM
Need help badly on Inchworm and MPLAB thushy Micro Controllers 14 11th March 2007 06:05 PM
Serial to Parallel mstechca Electronic Projects Design/Ideas/Reviews 6 30th March 2005 04:40 AM
Serial communication problem tbrown Micro Controllers 12 13th February 2004 10:32 AM
Serial in, Parallel out.... pike Datasheet/Parts Requests 3 7th November 2003 09:34 PM



All times are GMT. The time now is 06:22 AM.


Electronic Circuits  |  Radio Controlled
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.