PDA

View Full Version : USB device



Haitham Rifai
- 22nd November 2005, 14:12
Dear All

I wonder if it is possible to communicate a pic16f877 to a usb device, without the pc involvement. For instance I want to control a small car using a usb mouse, is it possible ?

Thank you

ardhuru
- 23rd November 2005, 16:04
No; not with PBP, anyway.

To begin with, the 16F877 has no USB support. Even if you do use a flash PIC with USB, that is *not* a host port; which means, with PBP, you can only connect it to a USB host such as a PC port. I guess one could write low level routines to make the PIC act as a host, but that would be complex, to say the least.

Regards,

Anand.

arthurok
- 5th December 2005, 10:07
usb isnt a simple protocall its similar to half duplex cdma ethernet
even the pic 18 isnt designed to be a host just a device connected to a host .

i believe that in the near future most coputers will be shipped with
no serial or parallel ports just ethernet , usb 2 and maybe firewire
actually you can connected everything just using usb 2 and converters +hubs if you run out of connections
stuff a bluetooth into a usb .
apple had this plan years ago when perfected its a great concept
pbp only allows you at the present time i believe to talk to a pc using usb emulating a serial port .
its not really the sophistication level we need in our modern times