Home     Contact     Forum     Projects     Experiments     Circuits     Theory     BLOG     PIC Tutorials     Time for Science     RSS     Terms of services     Privacy policy  
   
 Home     Forum     Projects     Experiments     Circuits     Theory     BLOG     PIC Tutorials     Time for Science   

Author Topic: USB Interface  (Read 5664 times)

0 Members and 1 Guest are viewing this topic.

manley_V

  • Guest
USB Interface
« 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?

kam

  • Administrator
  • Hero Member
  • *****
  • Posts: 1849
Re: USB Interface
« Reply #1 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).

ScubaCap

  • Guest
Re: USB Interface
« Reply #2 on: March 03, 2008, 00:56:18 AM »
do you happen to have any sample code to study?

kam

  • Administrator
  • Hero Member
  • *****
  • Posts: 1849
Re: USB Interface
« Reply #3 on: March 03, 2008, 12:18:43 PM »
Search at microchip and you will find them. They have ready progs for their pics.

Andre

  • Guest
Re: USB Interface
« Reply #4 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...

manley_V

  • Guest
Re: USB Interface
« Reply #5 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.

kam

  • Administrator
  • Hero Member
  • *****
  • Posts: 1849
Re: USB Interface
« Reply #6 on: November 27, 2009, 10:12:01 AM »
what exactly do you use?