PIC USB in and USB Out


Closed Thread
Results 1 to 3 of 3
  1. #1

    Post PIC USB in and USB Out

    Good day

    I've got an USB RFID scanner that connects to a PC as an HID (human interface device).
    When you scan a chip a 10 digit number will be sent to the PC as text.

    I want to cut the USB cable and connect my "own" pic circuit in the place where I have cut it.
    The scanner must then send the data to my PIC, then I would do some "if... then..." statements and send the same string to the PC.
    Any idea what PIC micro controller I will use or where do I start to develop such a circuit?
    So the scanner side will only receive USB data and on the PC side only send USB data.

  2. #2
    Join Date
    Mar 2006
    Location
    China
    Posts
    266


    Did you find this post helpful? Yes | No

    Default Re: PIC USB in and USB Out

    Hi,

    The main problem is to get the PIC as as a USB host for the RFid reader. There are solutions but probably you would be better off using either a newer PIC model that supports USBHOST or getting a FTDI chip to act as the host for you but having 2 USB could be difficult.

    Probably the smartest and easiest way is to use a FTDI chip as host for the RFID and then the PIC usb port to connect the PIC to the PC as device.

    Then you would get serial data or SPI from the FTDI chip things would be much easier.

  3. #3


    Did you find this post helpful? Yes | No

    Default Re: PIC USB in and USB Out

    Thank you very much Jumper!!!
    Is there a possibility of using a USB to RS232 and on the other side RS232 to USB converters, or isn't it that simple?

Similar Threads

  1. Replies: 17
    Last Post: - 15th March 2013, 23:11
  2. USB Electrical Layout?
    By wdmagic in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 11th March 2013, 12:04
  3. Super low cost USB solution
    By Jumper in forum General
    Replies: 2
    Last Post: - 18th January 2013, 11:21
  4. Wake from sleep with USB Interrupt
    By kduck63 in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 13th January 2013, 00:59
  5. Bidirectional Excel Data via USB
    By jmstrat in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 2nd January 2013, 08:04

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts