|
|
View previous topic :: View next topic |
Author |
Message |
avami
Joined: 10 Jun 2010 Posts: 11 Location: Mashhad
|
Make a USB connection |
Posted: Sat Sep 25, 2010 6:37 am |
|
|
Hi everybody
I want to connect a PIC micro-controller to PC and send data.
I think I have to way to run this: first use USB PIC such a 18f4550, second use a chip like Ft232.
I don't know which one of them is faster and easier !?
Could you please help me to make a USB connection? |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19553
|
|
Posted: Sat Sep 25, 2010 9:06 am |
|
|
A search here would find quite a bit about this.
'Faster'?. Fastest, would be direct connection to the PIC, but implementing a block I/O device (effectively a 'disk' type storage, rather than a RS232 emulation). This though is more work. Using the FTDI solution, or the 4550, as a serial emulation, both are likely to be limited by other things than the interface, if you want to actually do much with the data....
The FTDI drivers will give higher speed than the standard USB CDC drivers used by the PIC.
Easiest to implement, the FTDI solution, bought as a complete module, and directly connected to the PIC's serial interface lines. Zero code, and zero design work for the interface. Cheapest, the PIC on it's own. Not much hardware needed (USB connector, capacitor to the Vusb pin on the PIC, a couple of resistors for connection sense, and a crystal on the PIC, that is a multiple of 4MHz, up to 24MHz max.
Best Wishes |
|
|
avami
Joined: 10 Jun 2010 Posts: 11 Location: Mashhad
|
USB |
Posted: Wed Oct 13, 2010 6:08 am |
|
|
Ttelmah wrote: | A search here would find quite a bit about this.
'Faster'?. Fastest, would be direct connection to the PIC, but implementing a block I/O device (effectively a 'disk' type storage, rather than a RS232 emulation). This though is more work. Using the FTDI solution, or the 4550, as a serial emulation, both are likely to be limited by other things than the interface, if you want to actually do much with the data....
The FTDI drivers will give higher speed than the standard USB CDC drivers used by the PIC.
Easiest to implement, the FTDI solution, bought as a complete module, and directly connected to the PIC's serial interface lines. Zero code, and zero design work for the interface. Cheapest, the PIC on it's own. Not much hardware needed (USB connector, capacitor to the Vusb pin on the PIC, a couple of resistors for connection sense, and a crystal on the PIC, that is a multiple of 4MHz, up to 24MHz max.
Best Wishes |
Thanks
I could run it by USB2RS232 Module.
But I'm interested to learn USB PIC. |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|