HOW TO MAKE AN USB COMS BETWEEN A PIC AND A PC

Status
Not open for further replies.

MJVM

Newbie level 3
Joined
Feb 9, 2006
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,300
at90s2323-10

Here is my question:
Anybody knows HOW TO MAKE AN USB COMS BETWEEN A PIC AND A PC?
 

pic usb clock

For a newbie the best solution is DM163010 development kit from Microchip that shows the capabilities of the PIC16C745 and PIC16C765 USB microcontrollers.($125).
You can even try building yourself according to http://ww1.microchip.com/downloads/en/AppNotes/91095a.pdf

Later you can try modifying the PICDEM USB Board for PIC18 Full-Speed USB http://ww1.microchip.com/downloads/en/AppNotes/91095a.pdf
or even better use PICDEM Full Speed USB board **broken link removed**

If you have a PC application that uses RS232 communication and no changes to the existing software has to be made in order to control now your device through USB bus, then the simplest method is to emulate RS-232 over the USB bus and utilizes Windows driver included in Microsoft OS making driver development unnecessary.
More about this at : http://ww1.microchip.com/downloads/en/appnotes/00956b.pdf

But first of all you better get familiar with USB bus reading USB specification at : http://www.usb.org/developers/docs/
or if you preffer another approach read this book:
USB Complete : Everything You Need to Develop Custom USB Peripherals
5459438 Bytes at **broken link removed**
password for rar file: www.elektrotekno.com

Emulation of USB interface in microcontrollers, which not have USB support and implementing USB interface on firmware level is still possible as Igor Cesko already prooved :
h**p://www.cesko.host.sk/IgorPlugUSB/IgorPlug-USB%20(AVR)_eng.htm
But as Igor said :

Well, now is available ATTINY2313 at 20MIPS.

You can read about implementing USB 1.1 in firmware for Atmel AVR microcontrollers:
**broken link removed**
and claimed advantages over Igor's firmware-only implementations at bottom of this page:
**broken link removed**

Are you still eager to play with USB bus ?
 

igorplugusb registered rapidshare

use a microchip CPU with a USB core built in ,there are several to choose from
 

how to make a usb microcontroller

those are all good approaches. On the subject of USB to serial Serial I/O, I would look at the FT232R - minimal components and a fairly friendly ssop package. **broken link removed** If you already have a design that needs to add communications, this is a great way to go.

there are lots of design docs to help you and free drivers for the PC side. I believe they have also released Linux drivers.

Phil
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…