Author Topic: good board to get feet wet with USB HID  (Read 6428 times)

ieee488

  • Member
  • ***
  • Posts: 6
good board to get feet wet with USB HID
« on: February 14, 2020, 03:30:31 pm »
Which board would you recommend for getting "my feet wet" so to speak with USB HID ?

I purchased a Teensy LC ( www.pjrc.com) and have uploaded their USB Raw HID to it using the Arduino IDE.
It works although the device shows up twice in Windows 10 Device Manager.   ???


My goal is not a keyboard or a mouse, but for the board to send packets of information every 100 ms or so.



Jan Axelson

  • Administrator
  • Frequent Contributor
  • *****
  • Posts: 3033
    • Lakeview Research
Re: good board to get feet wet with USB HID
« Reply #1 on: February 14, 2020, 08:40:48 pm »
I would suggest any board with good support from the vendor and/or the community and an architecture and programming language you're familiar with.

Microchip is one of a number of vendors.

ieee488

  • Member
  • ***
  • Posts: 6
Re: good board to get feet wet with USB HID
« Reply #2 on: February 14, 2020, 11:15:44 pm »
Microchip's website is bit disorganized for my taste.
Is there a low-priced evaluation kit you can recommend from them?

I am doing this as a learning exercise, so I don't want to spend much money.

Thanks.

towlerg

  • Member
  • ***
  • Posts: 24
Re: good board to get feet wet with USB HID
« Reply #3 on: February 15, 2020, 06:39:39 am »
Do you need to buy an eval board? The hardware is dead simple, why not just use plugin breadboard. A 18F25K50 doesn't even need a crystal!

ieee488

  • Member
  • ***
  • Posts: 6
Re: good board to get feet wet with USB HID
« Reply #4 on: February 15, 2020, 10:01:09 am »
Do you need to buy an eval board? The hardware is dead simple, why not just use plugin breadboard. A 18F25K50 doesn't even need a crystal!

So, you don't believe that it is unnecessary to buy their PICDEM FA USB Demo Board : https://www.microchip.com/DevelopmentTools/ProductDetails/PartNO/DM163025-1 ?
It is a bit pricey for me.

If I just buy the 18F25K50, don't I need to buy a USB breakout board so I can connect up to my PC ?

I was hoping for a $20 kit.

Jan Axelson

  • Administrator
  • Frequent Contributor
  • *****
  • Posts: 3033
    • Lakeview Research
Re: good board to get feet wet with USB HID
« Reply #5 on: February 15, 2020, 11:46:35 am »
Take a look at this

https://www.pjrc.com/teensy/

ieee488

  • Member
  • ***
  • Posts: 6
Re: good board to get feet wet with USB HID
« Reply #6 on: February 15, 2020, 12:37:14 pm »
Take a look at this

https://www.pjrc.com/teensy/

I purchased the Teensy LC and have it in my possession.
I will work with it some more.

Thanks.

Jan Axelson

  • Administrator
  • Frequent Contributor
  • *****
  • Posts: 3033
    • Lakeview Research
Re: good board to get feet wet with USB HID
« Reply #7 on: February 16, 2020, 11:14:13 am »
Right, you said that! I think it's a good choice. Good luck with it.

Renate

  • Frequent Contributor
  • ****
  • Posts: 97
Re: good board to get feet wet with USB HID
« Reply #8 on: March 06, 2020, 10:03:30 pm »
I've implemented a lot of HID devices using the Teensy 2.0 (ATMega32u4, 8 bit AVR).
For something with Full Speed USB 2.0 the throughput is plenty.
Ok, this device is getting long in the tooth, but they're still selling them.

If I wanted High Speed USB 2.0 I'd go to the newer Teensy 4.0 (iMXRT1062, 600 MHz Cortex-M).
But that's a lot more complicated and a lot more power consumption.
Ok, if you are using the manufacturer's libraries it's not any more complicated.

Realistically, your Teensy LC is a fine choice.
Still, sending an HID report 10 times a second makes me want to grab the simplest device.