Hi all.
I need to communicate to my pic from my PC. Currently I do it via
PC-SerialPort to 16C73-UART, but since almost all new PCs use USB, I would
like to develop something that goes from PC-USB to my PIC.
Any Ideas or leads? Anyone familiar with the USB specification?
Any advice/ideas appreciated.
Hal
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
>Any Ideas or leads? Anyone familiar with the USB specification?
usb is nowhere near as friendly as RS232/485/whatever. The PIC end may not be too bad if you use the
new USB enabled pics - the source code I have looked at seemed pretty reasonable, but unless
microchip produce some nice PC side source code you will probably find that end of things a hard
slog.
Hi all.
I need to communicate to my pic from my PC. Currently I do it via
PC-SerialPort to 16C73-UART, but since almost all new PCs use USB, I would
like to develop something that goes from PC-USB to my PIC.
Any Ideas or leads? Anyone familiar with the USB specification?
Any advice/ideas appreciated.
Hal
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
> I need to communicate to my pic from my PC. Currently I do it via
> PC-SerialPort to 16C73-UART, but since almost all new PCs use USB, I would
> like to develop something that goes from PC-USB to my PIC.
USB is *much* more heavyweight than RS-232. Microchip has two PICs with USB
capability built in, and also has a stand alone USB chip. However, there is
still considerable software on both ends to implement a USB connection.
USB can be appropriate for a consumer product, because it is very easy to
use for the end user. The volumes are then often high enough so that the
considerable extra development effort can be justified. If you're doing a
one-off or private project, I would recommend sticking to RS-232 unless
there are techinical reasons not to.
> I need to communicate to my pic from my PC. Currently I do it via
> PC-SerialPort to 16C73-UART, but since almost all new PCs
> use USB, I would
> like to develop something that goes from PC-USB to my PIC.
I don't know all of your criteria, but if you would like to avoid the
trouble of USB development, the USBSIMM might be worth looking into.
> Hi all.
> I need to communicate to my pic from my PC. Currently I do it via
> PC-SerialPort to 16C73-UART, but since almost all new PCs use USB, I would
> like to develop something that goes from PC-USB to my PIC.
>
> Any Ideas or leads? Anyone familiar with the USB specification?
>
> Any advice/ideas appreciated.
Use a USB to RS232 Adaptor Cable 8-)
Although USB to Printer Port are a third of the price in the UK.
Philips and Dallas Semi make USB chips with standard serial\parallel
interfaces. You have to deal with some USB stuff but it's not that hard. If
you want more flexibility than simply a comm port (you could implement the
comm port Device Class (but you don't have to). The dallas chip is USB->1
wire, I haven't looked at it much and I believe it is still in
pre-production. Philips have the PDIUSBD11 which is a USB I\F with I2C
serial. It has some good features such as supporting full speed USB (there
are various features which can only be implemented in full speed devices).
The I2C interface is 1MHz, which IIRC gave about 500KByte\s actual data
throughput.
There is also a version of the Philips USB chip with a parallel (DMA
compliant) interface.
The parallel I\F version is only available in SMD packages (SOIC and SSOP I
believe) while the serial I\F is available in DIP.
They also have a USB 2.0 parallel I\F chip in development.
> I need to communicate to my pic from my PC. Currently I do it via
> PC-SerialPort to 16C73-UART, but since almost all new PCs use USB, I would
> like to develop something that goes from PC-USB to my PIC.
I would look seriously at one of the USB-RS232 converters that are available if
there is no RS232 port on your PC. It is just so much easier to handle RS232 at
the PIC.
-- http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads