Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > General Electronics Chat


General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion?

Reply
 
Thread Tools Display Modes
Old 8th January 2008, 10:39 PM   (permalink)
Default Why do we still have serial ports?

Friends:

I just don't get it. It seems every embeddable device out there from micro controller boards, to ZigBees, to Blue Smirfs to ... ALL have serial ports, but no modern computer has these ports. (They all have USB)

Thus we are all forced to have an adapter on our cable and some drivers installed just to use them.

Why hasn't the industry realized this and changed accordingly?

Frustrated, -Migs
__________________
"Sometimes we forget that the world itself is paradise." Douglas Coupland, 'Microserfs'
"We either make ourselves miserable, or we make ourselves strong. The amount of work is the same." – Carlos Castaneda
"One single grateful thought raised to heaven is the most perfect prayer."- G. E. Lessing
Migs is offline  
Reply With Quote
Old 8th January 2008, 11:07 PM   (permalink)
Default Serial ports

Hi Migs,

PCs still do have at least one serial port. However they are omitted in Laptops. Even in times when they were built into Laptops the port wasn't complete. They just had RxD, TxD and GND which are insufficient programming an industrial SPS - they require a two-way communication.

The only way out is an extra USB to RS232 converter increasing the number of peripherals instead of reducing them.

Boncuk
Boncuk is offline  
Reply With Quote
Old 8th January 2008, 11:39 PM   (permalink)
Default

Personally, it drives me nuts that laptops *don't* come with a serial port anymore. It's the only thing I don't like about my new machine (well, that and the crappy speakers). The serial port is easy to program for, easy to build hardware for, and just easy to use in general. Plus, lots of stuff has it. No way do I want to have to get rid of all my older stuff just because there are newer things available.


Torben
Torben is offline  
Reply With Quote
Old 8th January 2008, 11:52 PM   (permalink)
Default

It's a pain working with a USB port is why.
dknguyen is offline  
Reply With Quote
Old 9th January 2008, 12:41 AM   (permalink)
Default

Quote:
Originally Posted by Boncuk
...
Even in times when they were built into Laptops the port wasn't complete. They just had RxD, TxD and GND which are insufficient programming an industrial SPS - they require a two-way communication.
This is most certainly not true. They may not have filled up a DB-9 connector but at least some of the modem control signals were there. How many of them do you need anyway if you're not talking to a Bell modem.
__________________
We never have time to do it right; but we always have time to do it over.
Papabravo is offline  
Reply With Quote
Old 9th January 2008, 01:21 AM   (permalink)
Default

because they are the mutts nuts ........ im using one in my project, and its such a pain that my laptop doesnt have a serial port, because i am using the uart of the pic for communication. because of this i need to use a usb-serial dongle and create a virtual serial port. i guess they use it on laptops to save space, and also, usb devices can power themselves off the pc. most serial devices cant
__________________
life\'s a bitch then u marry one. )
cyprio7 is offline  
Reply With Quote
Old 9th January 2008, 01:31 AM   (permalink)
Default

Serial ports are great. No complicated communications, they are extremely cheap to implement, and there is a massive installed base of equipment out there using them. Best of all, you get to forget about drivers, its not OS dependant, and very forgiving. Serial ports are like cash money. Everybody understands cash, and is willing to deal in cash.

We have GSM and CDMA wireless data modems at work that use a serial port to connect to anything from an $40,000 embedded system to the equivalent of a i386 pc installed in the 80's. They communicate flawlessly accross country without hassle.

Maybe it is really old technology, but sometimes when you just need to get a job done, a stone hammer is the tool for the job.
zevon8 is offline  
Reply With Quote
Old 9th January 2008, 02:29 AM   (permalink)
Default

Migs,

Once you have tried to use USB on a microcontroller then you will understand why (almost) everyone that has experience on a micro prefers RS232 type serial.

Mike.
Pommie is offline  
Reply With Quote
Old 9th January 2008, 08:30 AM   (permalink)
Default

You can use a PCI to SERIAL interface card. I have one in my computer.
They supports standard and nonstandard baud rates.

So better learn first RS232 Communication as Mike suggests.
__________________
Gayan

My Website
http://gsmicro.blogspot.com/
Gayan Soyza is offline  
Reply With Quote
Old 9th January 2008, 08:49 AM   (permalink)
Default

Quote:
Originally Posted by Pommie
Migs,

Once you have tried to use USB on a microcontroller then you will understand why (almost) everyone that has experience on a micro prefers RS232 type serial.

Mike.
Well said. RS232 style serial is so simple you can get it working on most any processor. USB takes a lot of processor by comparison.

Disclaimer: I have never tried bit banging serial on a 4 bit processor.
3v0 is offline  
Reply With Quote
Old 9th January 2008, 09:02 AM   (permalink)
Default

Technology obsolescence should not force us to replace each and every thing we have been so far using. They have give reasonable time and advance notices before abandoning older connector standards.

Somehow it has become an industry gimmick.

Certain software, for example, older version of Easy PC from Number One Systems of UK, becomes problematic the moment the parallel ports are abandoned in the PC and USB printers took over.
I know of some elderly person facing this issue right in UK, and for this purpose, we can't force him abandon his old software and purchase new versions.
__________________
Regards,
Sarma.
mvs sarma is online now  
Reply With Quote
Old 9th January 2008, 09:02 AM   (permalink)
Default

hi,
The advantage I find with RS232, is the distance/length of the [basic 3 core] interconnection cable.
A bog standard cable with RS232 can be used upto 100ft with no problems, longer, if extra care is taken.

Many industrial dataloggers still use RS232, with a full RS232 spec and a decent screened cable any noise problems are minimal.
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/
ericgibbs is online now  
Reply With Quote
Old 9th January 2008, 02:24 PM   (permalink)
Default

Don't look now, but USB is serial. Only the Centronics printer port is parallel. If you look at controllers, A-D converters, digital pots, etc., most have serial control input, not parallel. Cuts down on number of pins. Theory says that parallel should be faster because you're passing 8, 16 or 32 bits at a time instead of one. But the world is moving serial. Firewire, etc. You speak serially. It's only within the computer itself that everything goes parallel, and a lot of that is going serial in controllers.

Dean
__________________
Dean Huster, Electronics Curmudgeon
Contributing Editor emeritus, "Q & A", of the former "Poptronics" magazine (formerly "Popular Electronics" and "Electronics Now" magazines).

R.I.P.
Dean Huster is offline  
Reply With Quote
Old 9th January 2008, 03:39 PM   (permalink)
Default

I got a newer 939 gigabyte board and it's still got 1 parallel, and 2 serials, not that I really use them for anything. I do use the parallel every now and then for my old microtek scanner, my god you should see even a 3 ghz cpu and 1.5 gig memory computer act like a 386 when you scan using the parallel interface.
crusty is offline  
Reply With Quote
Old 9th January 2008, 04:45 PM   (permalink)
Default

Quote:
Originally Posted by Dean Huster
Theory says that parallel should be faster because you're passing 8, 16 or 32 bits at a time instead of one.
And theory is dead right. Just a shame that you can't guarantee them all arriving at the same time. Otherwise we wouldn't have to complain that our external drives transfer data back and worth way too slow.

Edit: Oh I just remembered. My motherboard lacks serial and parallel ports by default but it does have pins. Still - they're disappearing in favor of more USB and LAN ports.

Last edited by Frobozz; 9th January 2008 at 04:47 PM.
Frobozz is offline  
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Latest
Help with a project helz15 General Electronics Chat 39 15th October 2007 02:32 PM
serial ports not working... simrantogether General Electronics Chat 23 22nd September 2007 06:29 PM
Need help badly on Inchworm and MPLAB thushy Micro Controllers 14 11th March 2007 06:05 PM
Detect light through serial or parallel ports crchisholm Electronic Projects Design/Ideas/Reviews 5 16th March 2006 11:39 AM
Can a Basic Stamp support 2 serial ports? Scruit Electronic Projects Design/Ideas/Reviews 13 15th August 2003 02:07 PM



All times are GMT. The time now is 06:49 PM.


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