PDA

View Full Version : PIC16F877 and USB



Tomas
- 3rd March 2004, 17:22
Hi,
Is it possible to interface PIC16F877 to a computer using USB instade of RS232? How "hard" is it? Any examples i can take a look at?

Cheers
Tom.

NavMicroSystems
- 3rd March 2004, 19:07
See the 16F87x Datasheet

http://www.microchip.com/download/lit/pline/picmicro/families/16f87x/30292c.pdf

and the folloeing threads:

http://www.picbasic.co.uk/forum/showthread.php?s=&threadid=265

http://www.picbasic.co.uk/forum/showthread.php?s=&threadid=269

http://www.picbasic.co.uk/forum/showthread.php?s=&threadid=276

Tomas
- 3rd March 2004, 19:33
That helped a lot, thank you.

rabvar
- 19th July 2006, 22:25
i Want to do this if you have some information please send me.
Thanks.

sshez
- 21st July 2006, 14:35
Hi,

I'm quite new to PIC / PICBASIC and USB.

I've been using the PIC16F877 and the DLP-USB245M unit to achieve PIC to PC communications via the USB port. The DLP-USB245M is really easy to use and all the 'nasty USB' code is done in a virtual comm port software which they supply as a download from their website. You just treat it as if it was another MSCOMM port in your code (I'm using VB6 by the way).

See the following link:

http://www.ftdichip.com/Products/EvaluationKits/DIPModules.htm

I hope this helps - GOOD LUCK!! :-)

Simon

mister_e
- 21st July 2006, 19:35
OR buy a USB-to-Serial converter. If you don't want to mess with the SMD soldering and if it's for a single ended product, that's a fast solution.

On another hand you can still use a USB PIC like the PIC18F4550. Using Mecanique EasyHIDMaker save you many developpement, reading hours and so on.

FTDI are great so far. I know it exist some other.. that i don't remind.. OOps! For sure there's some user here who remind.

Good luck!