PCB Heaven

General Category => Digital discussion => Topic started by: manley_V on March 01, 2008, 21:23:59 PM

Title: USB Interface
Post by: manley_V on March 01, 2008, 21:23:59 PM
Does anybody know anything about USB interface? Because sometime my old pc will join it's creator (in part) and i will not have any serial left to play. I will need it sooner or later. Is it too complicated?
Title: Re: USB Interface
Post by: kam on March 01, 2008, 22:09:39 PM
Man what subject you open!

yes, USB is very complicated.

Basically, depending on what you want to do, you will need also the appropriate drivers for this. If you google around you will find that USB has two different categories. The HID and the rest. The HID are Human Interface Devices like keyboard mouse etc. For these you do not really need any drivers for the computer but you will need to write a hell of a program for your processor, because you can only use USB using a processor.

Actually, there is a ready made routine for HID USB but i have never test it. I strongly strongly suggest that you buy a ready made USB interface that you can have some inputs and outputs. You can find some if you visit futurlec (.com).
Title: Re: USB Interface
Post by: ScubaCap on March 03, 2008, 00:56:18 AM
do you happen to have any sample code to study?
Title: Re: USB Interface
Post by: kam on March 03, 2008, 12:18:43 PM
Search at microchip and you will find them. They have ready progs for their pics.
Title: Re: USB Interface
Post by: Andre on March 03, 2008, 12:51:51 PM
Should i suggest a ready made usb to rs232 converter? Can be found everywhere in very low price...
Title: Re: USB Interface
Post by: manley_V on March 04, 2008, 23:57:14 PM
Should i suggest a ready made usb to rs232 converter? Can be found everywhere in very low price...

Yes sure. I know. I just wanted to know how this thing works.
Title: Re: USB Interface
Post by: kam on November 27, 2009, 10:12:01 AM
what exactly do you use?