Usb hid


Closed Thread
Results 1 to 6 of 6

Thread: Usb hid

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959

    Default

    Check out this thread ...

    USB HID Joystick for Dummies (Squibcakes)
    http://www.picbasic.co.uk/forum/showthread.php?t=11950
    DT

  2. #2
    bedmonson85's Avatar
    bedmonson85 Guest

    Default

    Quote Originally Posted by Darrel Taylor View Post
    Check out this thread ...

    USB HID Joystick for Dummies (Squibcakes)
    http://www.picbasic.co.uk/forum/showthread.php?t=11950
    Yes, that thread is really helpful. I also saw a page a few days ago that may be what you're looking for as well. It explains how this guy converted an old analog joystick to USB. It was almost exactly as you described:
    # 2-axis joystick
    # Throttle
    # 4 direction POV hat
    # 6 buttons

    Here's the link: http://www.helmpcb.com/Electronics/U...BJoystick.aspx

    His code is written in mikroC, but he does a really decent job describing the descriptors used and how to modify them.
    Last edited by bedmonson85; - 19th November 2010 at 16:23.

  3. #3
    Join Date
    Mar 2010
    Posts
    10

    Default Thanks for the help

    I have frequented this forum for the last year and I can't tell you how helpful it has been. I followed the USB CDC tutorial step by step when I created my board and interface to VB. As soon as I get a little free-time I will post the details of that project here.

    Thanks very much for pointing me to those links they are exactly what i am looking for.

    One last question....have any good suggestions for a bootloader? I will be using the 18F2550 and 4550 chip as I have a boatload of samples (Thank you Microchip!)

    I have considered writing my own.....but as a famous actor once said...."A man's gotta know his limits" and I just don't have the knowledge about writing to program memory. I have dissected the Sparkfun version and have figured everything out to the programming of the memory. I'm a little GRAY in that area. If anyone is willing to help with the writing I'd gladly pitch in. It's actually very simple just need to understand the bits that confuse me.

    Would be a great group project I think...hint...hint

    Thanks,
    Larry

  4. #4
    Join Date
    Oct 2003
    Location
    Australia
    Posts
    257

    Default

    Quote Originally Posted by yatyas72 View Post
    It's actually very simple just need to understand the bits that confuse me.
    Don't we all !! Hehehe that's made my day.

  5. #5
    Join Date
    Oct 2004
    Posts
    448

    Default

    About the bootloader; have you tried Microchip's HIDBootloader? I've found it to be fairly easy to use. Thats if you meant a USB bootloader.

    Otherwise, I have been happy with the one thats part of Microcode Studio.

    The Tiny bootloader is nice as well.

    The above 2 are serial port based.

    Regards,

    Anand

Members who have read this thread : 0

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