USB peripheral using a PIC MCU

Started by Mourad Hadim July 10, 2003
Greetings,
I have used a PIC 16C84-04/P mico-controller to built a USB
peripheral for a remote control. The PIC is also needed for RF
transmissions between the remode and another unit. The USB port
seems to function but I am having problems in gettings its SCI talks
with the RF. I would appreciate it if anybody can send me some
insight to solve the problem.
Thank you very much.
Mourad



hello,
you have my attention, I am looking into setting up a stand
alone usb protocal with some PIC's for experimentation purposes. My
main problem at this point is understanding the 'enumeration'
method. Given this situation...When the computer is off, several
usb devices are plugged in. When the computer is turned on, the new
deviced are set to default port 0, how can the computer isolate one
of the new devices on port 0 if there are multiple devices set to
port 0. Any websites or help you can provide would be greately
appreciated.

Thanks,
Michael

--- In , "Mourad Hadim" <mhadim1@y...> wrote:
> Greetings,
> I have used a PIC 16C84-04/P mico-controller to built a USB
> peripheral for a remote control. The PIC is also needed for RF
> transmissions between the remode and another unit. The USB port
> seems to function but I am having problems in gettings its SCI
talks
> with the RF. I would appreciate it if anybody can send me some
> insight to solve the problem.
> Thank you very much.
> Mourad





You may be doing this the hard way. Microchip has release a product
called PICkit 1 FLASH Starter Kit (see their AN258). This is
available as a complete 8/14 pin USB FLASH programmer from
www.digikey.com for $36

In any event, AN258 has a lot of details and the code can be
downloaded. You can also buy the book referenced in the AN - I did.
It should arrive next week. --- In , "Michael Bloom" <michaelbloom72@y...>
wrote:
> hello,
> you have my attention, I am looking into setting up a stand
> alone usb protocal with some PIC's for experimentation purposes.
My
> main problem at this point is understanding the 'enumeration'
> method. Given this situation...When the computer is off, several
> usb devices are plugged in. When the computer is turned on, the
new
> deviced are set to default port 0, how can the computer isolate one
> of the new devices on port 0 if there are multiple devices set to
> port 0. Any websites or help you can provide would be greately
> appreciated.
>
> Thanks,
> Michael
>
> --- In , "Mourad Hadim" <mhadim1@y...> wrote:
> > Greetings,
> > I have used a PIC 16C84-04/P mico-controller to built a USB
> > peripheral for a remote control. The PIC is also needed for RF
> > transmissions between the remode and another unit. The USB port
> > seems to function but I am having problems in gettings its SCI
> talks
> > with the RF. I would appreciate it if anybody can send me some
> > insight to solve the problem.
> > Thank you very much.
> > Mourad




Hello,
I have used a reset swithch to direct the PIC needed for use to the
port 0. The switch part numebr ASKHF3J04. They are available at
Digit Key. Good Luck
Mourad

--- In , "Michael Bloom"
<michaelbloom72@y...> wrote:
> hello,
> you have my attention, I am looking into setting up a stand
> alone usb protocal with some PIC's for experimentation purposes.
My
> main problem at this point is understanding the 'enumeration'
> method. Given this situation...When the computer is off, several
> usb devices are plugged in. When the computer is turned on, the
new
> deviced are set to default port 0, how can the computer isolate
one
> of the new devices on port 0 if there are multiple devices set to
> port 0. Any websites or help you can provide would be greately
> appreciated.
>
> Thanks,
> Michael
>
> --- In , "Mourad Hadim" <mhadim1@y...>
wrote:
> > Greetings,
> > I have used a PIC 16C84-04/P mico-controller to built a USB
> > peripheral for a remote control. The PIC is also needed for RF
> > transmissions between the remode and another unit. The USB port
> > seems to function but I am having problems in gettings its SCI
> talks
> > with the RF. I would appreciate it if anybody can send me some
> > insight to solve the problem.
> > Thank you very much.
> > Mourad