How to use PIC18 with MCP USB Chip to do HID?


Results 1 to 9 of 9

Threaded View

  1. #9


    Did you find this post helpful? Yes | No

    Default Re: How to use PIC18 with MCP USB Chip to do HID?

    @Richard There are perfectly good examples of various HID devices in both samples and possibly the Wiki.

    I'm sure (well fairly) that as you are using a MicroChip device , you can use their VID. Just make sure that you don't use a PID that they are using.

    @picmilan If you are trying to do USB to serial wouldn't you be better off looking at CDC. I'm pretty sure that standard mouse drivers will not allow you to write to the mouse.


    Perhaps the following may help - HID is used because it does not require drivers to be written and installed on the PC. HID comes in may variants with the most commonly used for general projects to be vendor. In vendor mode (also called generic) the significance of the data read and written must be know by both PIC and PC. This is both flexible and powerful. Reports are fairly meningless in this mode.
    CDC is the USB Serial protocol and does require a driver on the PC. Microchip provide one for use with their devices which you can edit to suit the PID you select.

    I suggest you try the USB samples provided, making minor changes and hopefully get a feel for the joys of USB.
    Last edited by towlerg; - 16th June 2016 at 04:02.
    George

Similar Threads

  1. Olimex PIC-MCP-USB
    By Tawcafts in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 1st March 2012, 17:54
  2. PIC18 connect to USB thumb drive
    By Pic2008 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 27th April 2011, 18:15
  3. Usb hid
    By yatyas72 in forum USB
    Replies: 5
    Last Post: - 3rd December 2010, 15:45
  4. PIC18 USB Programmer
    By r0nd0m in forum Off Topic
    Replies: 1
    Last Post: - 23rd February 2009, 15:59
  5. PIC18 USB simple example needed
    By harryweb in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 29th September 2005, 22:20

Members who have read this thread : 0

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

Tags for this Thread

Posting Permissions

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