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
 
LinkBack Thread Tools Display Modes
Old 11th November 2004, 11:26 PM   (permalink)
Default COM and USB port protocols

I'm hoping someone can help me!

I know that a COM port on a PC uses RS232 protocol to communicate with external devices etc. But what does USB use? Is it the same as RS232, or does it have a different protocol? If so, does anyone know what it is? Thanks.

Any info will be appreciated.
canadianpoet2012 is offline  
Old 12th November 2004, 12:19 AM   (permalink)
Default

the usb is a million times more complicated than RS232... Don't have any real helpful info for ya... but it's not anywhere near as simple and elegant as RS232. a whole lot faster, though, of course.
evandude is offline  
Old 12th November 2004, 01:07 AM   (permalink)
Default

USB uses.... I guess USB.

However, you can buy converters to plug into the USB which will give 1 (or more) RS232 ports. Also converters from USB to parallel (Printer).

JimB
JimB is offline  
Old 14th November 2004, 03:13 AM   (permalink)
Default

USB uses an encoding technique called NRZI, it's serial just like COM... only, different format, works at different voltage levels a different way, etc...


usb.org is a good place to find stuff, alot of it is mumbo jumbo advertising type of things... but you can find the full data sheet specs for USB on there if you look hard enough.
plot is offline  
Old 14th November 2004, 10:11 AM   (permalink)
Default

If you look on the Microchip website they have an application note for their USB capable PIC's (the 16C745) - this shows what's required at both the PC and PIC sides.

As already suggested, it's a LOT! more complicated than RS232.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is online now  
Reply

Bookmarks

Thread Tools
Display Modes





All times are GMT. The time now is 10:11 AM.


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

eXTReMe Tracker