3 Replies Latest reply on Nov 15, 2016 10:05 AM by murkyconspiracy

    Custom USB device?

    murkyconspiracy

      I have been doing some research and can't find much on the topic of creating a custom USB HID device. Not using a teensy or arduino board. I have found some very basic things on the concepts of doing it, but nothing that I can take and just prototype from. I want to be able to buy a Controller Chip and write my own code for it, make it do what I want. My idea is to have a HID Device with a 3-way switch on the butt of it, toggling modes or functionality. I have programming skills in multiple languages so learning languages and software sided things come easily to me. The hardware aspect is what confuses me. If anyone could point me in the right direction, some book, or article or video it would be greatly appreciated.

        • Re: Custom USB device?
          John Beetem

          I saw a nice NXP talk a few years ago that featured a low-end ARM microcontroller with built-in HID device software.  I've never used the part myself, but it may be a good starting point.

           

          Here's the presentation

          1 of 1 people found this helpful
          • Re: Custom USB device?
            shabaz

            Hi Nicholas,

             

            There is a post here

            'StartUSB for PIC' Getting Started Guide

            which covers USB HID comms in both directions, using a PIC device, and source code for both ends.

            That could be a simple way of getting going (and presumably there is tons of information on PICs on the Internet,

            they are popular devices although I'm not very knowledgeable on them; regarding hardware if you didn't use the board there,

            then it would entail you getting a PIC programmer, and a PIC chip, a crystal, a USB socket a few passives and not much else).

            1 of 1 people found this helpful
              • Re: Custom USB device?
                murkyconspiracy

                Thank you! Both of these sources are great. Just what I was looking for! The StartUSB is a little pre-done, but its a great information source and starting point. Ill do some research on PIC devices and chips. Building my own from scratch is what I'm after, well aside from mining the material to make the components. It doesn't seem to be to difficult. Thanks guys!