H
hello
Guest
I heard it is really difficult to interface to a pc usb port,
Does anyone know how to do it?
Rex
Does anyone know how to do it?
Rex
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
I heard it is really difficult to interface to a pc usb port,
Does anyone know how to do it?
Rex
---I need to connect a PIC16F84 to a pc interface so that I can
give it instructions from the pc. I want to use the usb port.
Here are the issues I need to solve:
How do I connect a usb cable to a pcb
How do I send data with a pc
How do I receive data with the PIC
Needless to say, the solution must be
- free (except for parts) , as it is an educational exercise
- the software needs to be explained/documented for
the same reason.
I need to connect a PIC16F84 to a pc interface so that I can
give it instructions from the pc. I want to use the usb port.
Here are the issues I need to solve:
How do I connect a usb cable to a pcb
How do I send data with a pc
How do I receive data with the PIC
Needless to say, the solution must be
- free (except for parts) , as it is an educational exercise
- the software needs to be explained/documented for
the same reason.
You say that you need to connect a PIC16F84 to a PC via USB. You shouldI need to connect a PIC16F84 to a pc interface so that I can
give it instructions from the pc. I want to use the usb port.
Actually, the PIC16C745 has support for USB. The MicroChip PICkit(tm) FLASHI heard it is really difficult to interface to a pc usb port,
Does anyone know how to do it?
Rex
I was thinking in my mind of rs232, i.e. I was thinking I can use theYou say that you need to connect a PIC16F84 to a PC via USB. You should
know that this will be more than running a few wires from the '84 to the
PC.
USB is not as simple as, say, the PS2 keyboard interface. If you wish to
use the USB port, you will need to make the device that contains the
PIC16F84 into a USB device.
If it's from Microchip I am willing to pay."hello" <~~~~~~> wrote in message news:bkqjb30oud@enews3.newsguy.com...
I heard it is really difficult to interface to a pc usb port,
Does anyone know how to do it?
Rex
Actually, the PIC16C745 has support for USB. The MicroChip PICkit(tm) FLASH
STARTER KIT uses one for programming PIC flash chips. The surrounding
circuitry looks relatively straightforward, consisting of a few simple
discrete elements (I'm staring at one right now.) I'm guessing that
microchip has more information on this in their datasheet, possibly
including some design examples. They may even have a development kit (but
not for free, I'm afraid.)
Regards,
Bob Monsen
I have just had a look at pickit1 and you are right, the controller there"hello" <~~~~~~> wrote in message news:bkqjb30oud@enews3.newsguy.com...
I heard it is really difficult to interface to a pc usb port,
Does anyone know how to do it?
Rex
Actually, the PIC16C745 has support for USB. The MicroChip PICkit(tm) FLASH
STARTER KIT uses one for programming PIC flash chips. The surrounding
circuitry looks relatively straightforward, consisting of a few simple
discrete elements (I'm staring at one right now.) I'm guessing that
microchip has more information on this in their datasheet, possibly
including some design examples. They may even have a development kit (but
not for free, I'm afraid.)
Regards,
Bob Monsen
Look here:"Robert Monsen" <postmaster@BulkingPro.com> wrote in message
news:gpocb.145296$mp.72195@rwcrnsc51.ops.asp.att.net...
"hello" <~~~~~~> wrote in message news:bkqjb30oud@enews3.newsguy.com...
I heard it is really difficult to interface to a pc usb port,
Does anyone know how to do it?
Rex
Actually, the PIC16C745 has support for USB. The MicroChip PICkit(tm)
FLASH
STARTER KIT uses one for programming PIC flash chips. The surrounding
circuitry looks relatively straightforward, consisting of a few simple
discrete elements (I'm staring at one right now.) I'm guessing that
microchip has more information on this in their datasheet, possibly
including some design examples. They may even have a development kit
(but
not for free, I'm afraid.)
Regards,
Bob Monsen
I have just had a look at pickit1 and you are right, the controller there
directly controlls the USB.
Some problems to solve:
1. It seems there are some "supporting components", I can identify
several resistors, transistors, a diode, capacitors, an oscillator
2. It seems the usb itself is a 4 pin socket
3. the PIC is as you said pic16c745 and we cannot use the pickit1
to program it, i.e. we shall need the more expensive one which btw
still runs on the parallel port interface :-(
Let me know if you find more information. Thanks.
I heard it is really difficult to interface to a pc usb port,
Does anyone know how to do it?
Rex
Although USB does use serial communications, it is _much_ more complexI was thinking in my mind of rs232, i.e. I was thinking I can use the
ports of the PIC controller to send/receive
data. If that's what you mean by 'making the device into a usb device' then yes
this is what I want to do. It seems it is rather complex so I might just give it
a miss. Is it difficult even if I only want to use it as an on/off switch, i.e. no need
for high speed data transfer? Anyway, thanks to all the repliers for all the
ideas and all the links. Thanks.
Rex
the pc usb port to a serial connector on my pcb with pic on board ?It should be quite easy to make the PIC talk to a PC RS-232 serial
port. If your computer doesn't have a serial port, you can buy a USB
-> RS-232 adaptor, and connect the PIC to that adaptor. The adaptor
may look like two connectors and a bit of wire, but there is some
complex electronics inside the RS-232 connector.
Do you mean there is an adaptor that would allow me to connect from
Yes - these adaptors do exist (and I've seen a USB=>parallel portIt should be quite easy to make the PIC talk to a PC RS-232 serial
port. If your computer doesn't have a serial port, you can buy a USB
-> RS-232 adaptor, and connect the PIC to that adaptor. The adaptor
may look like two connectors and a bit of wire, but there is some
complex electronics inside the RS-232 connector.
Do you mean there is an adaptor that would allow me to connect from
the pc usb port to a serial connector on my pcb with pic on board ?
Are they expensive? And do they come with pc drivers ?
Check out http://www.ftdichip.com/It should be quite easy to make the PIC talk to a PC RS-232 serial
port. If your computer doesn't have a serial port, you can buy a USB
-> RS-232 adaptor, and connect the PIC to that adaptor. The adaptor
may look like two connectors and a bit of wire, but there is some
complex electronics inside the RS-232 connector.
Do you mean there is an adaptor that would allow me to connect from
the pc usb port to a serial connector on my pcb with pic on board ?
Are they expensive? And do they come with pc drivers ?